Widow

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 6  →  ?path2? @ 7
/trunk/Widow/MainForm.cs
@@ -24,7 +24,7 @@
 
public RuleEditForm RuleEditForm { get; set; }
 
public Apply Apply { get; set; }
public WindowRescale WindowRescale { get; set; }
 
public AboutForm AboutForm { get; set; }
 
@@ -45,7 +45,7 @@
 
LoadWindows().ContinueWith(task =>
{
Apply = new Apply(this, Windows) {OnWindowCreate = Settings.Default.OnWindowCreate};
WindowRescale = new WindowRescale(this, Windows) {OnWindowCreate = Settings.Default.OnWindowCreate};
});
}
 
@@ -144,7 +144,7 @@
{
Settings.Default.OnWindowCreate = ((ToolStripMenuItem) sender).Checked;
 
Apply.OnWindowCreate = Settings.Default.OnWindowCreate;
WindowRescale.OnWindowCreate = Settings.Default.OnWindowCreate;
}
 
private void AboutToolStripMenuItem_Click(object sender, EventArgs e)
@@ -154,6 +154,11 @@
AboutForm.Show();
}
 
private void ApplyNowToolStripMenuItem_Click(object sender, EventArgs e)
{
WindowRescale.Apply();
}
 
#endregion
 
#region Private Methods