Widow
/trunk/Widow/MainForm.cs |
@@ -25,7 +25,7 @@ |
|
public RuleEditForm RuleEditForm { get; set; } |
|
public WindowRescale WindowRescale { get; set; } |
public WindowManipulation WindowManipulation { get; set; } |
|
public AboutForm AboutForm { get; set; } |
|
@@ -46,7 +46,7 @@ |
|
LoadWindows().ContinueWith(task => |
{ |
WindowRescale = new WindowRescale(this, Windows) {OnWindowCreate = Settings.Default.OnWindowCreate}; |
WindowManipulation = new WindowManipulation(this, Windows, Settings.Default); |
}); |
} |
|
@@ -145,7 +145,7 @@ |
{ |
Settings.Default.OnWindowCreate = ((ToolStripMenuItem) sender).Checked; |
|
WindowRescale.OnWindowCreate = Settings.Default.OnWindowCreate; |
WindowManipulation.OnWindowCreate = Settings.Default.OnWindowCreate; |
} |
|
private void AboutToolStripMenuItem_Click(object sender, EventArgs e) |
@@ -157,7 +157,7 @@ |
|
private void ApplyNowToolStripMenuItem_Click(object sender, EventArgs e) |
{ |
WindowRescale.Apply(); |
WindowManipulation.Apply(); |
} |
|
private void OnEveryToolStripMenuItem_CheckedChanged(object sender, EventArgs e) |
@@ -172,8 +172,8 @@ |
Settings.Default.ApplyEveryTimeEnabled = toolStripMenuItem.Checked; |
Settings.Default.ApplyEveryTime = time.ToString(CultureInfo.InvariantCulture); |
|
WindowRescale.ApplyEveryTime = time; |
WindowRescale.ApplyEveryTimeEnabled = toolStripMenuItem.Checked; |
WindowManipulation.ApplyEveryTime = time; |
WindowManipulation.ApplyEveryTimeEnabled = toolStripMenuItem.Checked; |
} |
|
#endregion |