Widow

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 10  →  ?path2? @ 11
/trunk/Widow/MainForm.cs
@@ -109,6 +109,11 @@
 
private void NewToolStripMenuItem_Click(object sender, EventArgs e)
{
if (RuleEditForm != null)
{
return;
}
 
RuleEditForm = new RuleEditForm(this, Windows);
RuleEditForm.Closed += RuleEditForm_Closed;
RuleEditForm.Show();
@@ -155,9 +160,9 @@
AboutForm.Show();
}
 
private void ApplyNowToolStripMenuItem_Click(object sender, EventArgs e)
private async void ApplyNowToolStripMenuItem_Click(object sender, EventArgs e)
{
WindowManipulation.Apply();
await WindowManipulation.Apply();
}
 
private void OnEveryToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
@@ -194,5 +199,22 @@
}
 
#endregion
 
private void NotifyIcon1_DoubleClick(object sender, EventArgs e)
{
if (RuleEditForm != null)
{
return;
}
 
RuleEditForm = new RuleEditForm(this, Windows);
RuleEditForm.Closed += RuleEditForm_Closed;
RuleEditForm.Show();
}
 
private async void NotifyIcon1_Click(object sender, EventArgs e)
{
await WindowManipulation.Apply();
}
}
}