Widow – Diff between revs 8 and 9

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 8 Rev 9
Line 23... Line 23...
23   23  
Line 24... Line 24...
24 public Windows.Windows Windows { get; set; } 24 public Windows.Windows Windows { get; set; }
Line 25... Line 25...
25   25  
Line 26... Line 26...
26 public RuleEditForm RuleEditForm { get; set; } 26 public RuleEditForm RuleEditForm { get; set; }
Line 27... Line 27...
27   27  
Line 44... Line 44...
44   44  
Line 45... Line 45...
45 Natives.RegisterShellHookWindow(Handle); 45 Natives.RegisterShellHookWindow(Handle);
46   46  
47 LoadWindows().ContinueWith(task => 47 LoadWindows().ContinueWith(task =>
48 { 48 {
49 WindowRescale = new WindowRescale(this, Windows) {OnWindowCreate = Settings.Default.OnWindowCreate}; 49 WindowManipulation = new WindowManipulation(this, Windows, Settings.Default);
Line 50... Line 50...
50 }); 50 });
51 } 51 }
Line 143... Line 143...
143   143  
144 private void OnWindowCreateToolStripMenuItem_CheckedChanged(object sender, EventArgs e) 144 private void OnWindowCreateToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
145 { 145 {
Line 146... Line 146...
146 Settings.Default.OnWindowCreate = ((ToolStripMenuItem) sender).Checked; 146 Settings.Default.OnWindowCreate = ((ToolStripMenuItem) sender).Checked;
147   147  
Line 148... Line 148...
148 WindowRescale.OnWindowCreate = Settings.Default.OnWindowCreate; 148 WindowManipulation.OnWindowCreate = Settings.Default.OnWindowCreate;
149 } 149 }
150   150  
Line 155... Line 155...
155 AboutForm.Show(); 155 AboutForm.Show();
156 } 156 }
Line 157... Line 157...
157   157  
158 private void ApplyNowToolStripMenuItem_Click(object sender, EventArgs e) 158 private void ApplyNowToolStripMenuItem_Click(object sender, EventArgs e)
159 { 159 {
160 WindowRescale.Apply(); 160 WindowManipulation.Apply();
Line 161... Line 161...
161 } 161 }
162   162  
163 private void OnEveryToolStripMenuItem_CheckedChanged(object sender, EventArgs e) 163 private void OnEveryToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
Line 170... Line 170...
170 } 170 }
Line 171... Line 171...
171   171  
172 Settings.Default.ApplyEveryTimeEnabled = toolStripMenuItem.Checked; 172 Settings.Default.ApplyEveryTimeEnabled = toolStripMenuItem.Checked;
Line 173... Line 173...
173 Settings.Default.ApplyEveryTime = time.ToString(CultureInfo.InvariantCulture); 173 Settings.Default.ApplyEveryTime = time.ToString(CultureInfo.InvariantCulture);
174   174  
175 WindowRescale.ApplyEveryTime = time; 175 WindowManipulation.ApplyEveryTime = time;
Line 176... Line 176...
176 WindowRescale.ApplyEveryTimeEnabled = toolStripMenuItem.Checked; 176 WindowManipulation.ApplyEveryTimeEnabled = toolStripMenuItem.Checked;
Line 177... Line 177...
177 } 177 }