Widow

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 4  →  ?path2? @ 5
/trunk/Widow/Form1.cs
@@ -26,6 +26,8 @@
 
public Apply Apply { get; set; }
 
public AboutForm AboutForm { get; set; }
 
#endregion
 
#region Constructors, Destructors and Finalizers
@@ -40,10 +42,7 @@
 
Natives.RegisterShellHookWindow(Handle);
 
LoadWindows().ContinueWith(task =>
{
Apply = new Apply(this, Windows);
});
LoadWindows().ContinueWith(task => { Apply = new Apply(this, Windows); });
}
 
/// <summary>
@@ -137,6 +136,20 @@
LaunchOnBoot.Set(Settings.Default.LaunchOnBoot);
}
 
private void OnWindowCreateToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
{
Settings.Default.OnWindowCreate = ((ToolStripMenuItem) sender).Checked;
 
Apply.OnWindowCreate = Settings.Default.OnWindowCreate;
}
 
private void AboutToolStripMenuItem_Click(object sender, EventArgs e)
{
// Show the about form.
AboutForm = new AboutForm();
AboutForm.Show();
}
 
#endregion
 
#region Private Methods
@@ -155,12 +168,5 @@
}
 
#endregion
 
private void OnWindowCreateToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
{
Settings.Default.OnWindowCreate = ((ToolStripMenuItem) sender).Checked;
 
Apply.OnWindowCreate = Settings.Default.OnWindowCreate;
}
}
}