Window Tiler

Shaun VermaakCOG Lead Engineer
CERTIFIED EXPERT
My name is Shaun Vermaak and I have always been fascinated with technology and how we use it to enhance our lives and business.
Published:
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
1,031 Views
Shaun VermaakCOG Lead Engineer
CERTIFIED EXPERT
My name is Shaun Vermaak and I have always been fascinated with technology and how we use it to enhance our lives and business.

Comments (2)

Andrew LeniartIT Professional, Freelance Journalist, Certified Editor
Author of the Year 2019
Distinguished Expert 2020

Commented:
Great and highly useful tool Shaun!

Endorsed!
Shaun VermaakCOG Lead Engineer
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Author

Commented:
Thank you Andrew!!!

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.