Window Tiler

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/

Window Tiler project download page on Bitbucket

2) Using your favourite compression tool extract the downloaded ZIP file to a convenient location

Extracted Window Tiler project files

3) Open the solution file (Tiler.sln) in Visual Studio 2017 and build project

Window Tiler solution open in Visual Studio 2017

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

Compiled Tiler.exe in project bin folder

Download The EXE

If you do not have Visual Studio 2017 or just want the EXE, you can download it from https://github.com/svermaak/downloads/raw/main/Tiler.zip

Leave a Reply