<

Window Tiler

Published on
3,676 Points
476 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
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free