<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Window Tiler

Published on
3,477 Points
277 Views
2 Endorsements
Last Modified:
Shaun Vermaak
My name is Shaun Vermaak and I have always been fascinated with technology and how we use it to enhance our lives and business.
Tiling windows is a great way to see multiple applications at once. Windows Tiler is a tool that automatically tiles open application windows as the open and close.

Introduction


I created Window Tiler out of the need to monitor multiple running applications.

For example, if I have to run a process that starts a bunch of processes, I can see each window as it is running because Window Tiler constantly retiles as application windows open and closes.


Demo Execution




The C# Code


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Tiler
{
public partial class frmMain : Form
{
public frmMain()
{
InitializeComponent();
}

private void tmrTiler_Tick(object sender, EventArgs e)
{
try
{
Shell32.Shell shell = new Shell32.Shell();
if (this.chkTileWindowsHorizontally.Checked)
{
shell.TileHorizontally();
}
else if (this.chkTileWindowsVertically.Checked)
{
shell.TileVertically();
}
}
catch
{

}
}

private void butStart_Click(object sender, EventArgs e)
{
tmrTiler.Interval = (int)(numTimer.Value * 1000);
tmrTiler.Enabled = true;
}

private void butStop_Click(object sender, EventArgs e)
{
tmrTiler.Enabled = false;
}

}
}


Building the application from Code (Visual Studio 2017)


1) Download the Visual Studio 2017 project from https://bitbucket.org/svermaak/tiler/downloads/



2) Using your favourite compression tool extract the downloaded ZIP file to a convenient location, typically your Visual Studio 2017 project folder under "My Documents"



3) Open the solution file (Tiler.sln) in Visual Studio 2017 and build project (F6 or Build Solution from Build menu)



4) You can find the compiled EXE from the BIN folder of the project folder



Download The EXE


If you do not have Visual Studio 2017 or just want the EXE, you can download it from http://blog.ittelligence.com/wp-content/uploads/2018/03/Tiler.zip





Please do not forget to press the "Thumb's Up" button if you think this article was helpful and valuable for EE members.


It also provides me with positive feedback. Thank you!


2
2 Comments
LVL 24

Expert Comment

by:Andrew Leniart
Great and highly useful tool Shaun!

Endorsed!
0
LVL 49

Author Comment

by:Shaun Vermaak
Thank you Andrew!!!
0

Featured Post

Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Progress
Starting up a Project

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month