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.
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;
}
}
}
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
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!
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.
Comments (2)
Commented:
Endorsed!
Author
Commented: