Widow – Diff between revs 1 and 5

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 1 Rev 5
Line 24... Line 24...
24   24  
Line 25... Line 25...
25 public RuleEditForm RuleEditForm { get; set; } 25 public RuleEditForm RuleEditForm { get; set; }
Line -... Line 26...
-   26  
-   27 public Apply Apply { get; set; }
26   28  
Line 27... Line 29...
27 public Apply Apply { get; set; } 29 public AboutForm AboutForm { get; set; }
Line 28... Line 30...
28   30  
Line 38... Line 40...
38 Settings.Default.SettingsSaving += Default_SettingsSaving; 40 Settings.Default.SettingsSaving += Default_SettingsSaving;
39 Settings.Default.PropertyChanged += Default_PropertyChanged; 41 Settings.Default.PropertyChanged += Default_PropertyChanged;
Line 40... Line 42...
40   42  
Line 41... Line -...
41 Natives.RegisterShellHookWindow(Handle); -  
42   -  
43 LoadWindows().ContinueWith(task => 43 Natives.RegisterShellHookWindow(Handle);
44 { -  
45 Apply = new Apply(this, Windows); 44  
Line 46... Line 45...
46 }); 45 LoadWindows().ContinueWith(task => { Apply = new Apply(this, Windows); });
47 } 46 }
48   47  
Line 135... Line 134...
135 Settings.Default.LaunchOnBoot = ((ToolStripMenuItem) sender).Checked; 134 Settings.Default.LaunchOnBoot = ((ToolStripMenuItem) sender).Checked;
Line 136... Line 135...
136   135  
137 LaunchOnBoot.Set(Settings.Default.LaunchOnBoot); 136 LaunchOnBoot.Set(Settings.Default.LaunchOnBoot);
Line -... Line 137...
-   137 }
-   138  
-   139 private void OnWindowCreateToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
-   140 {
-   141 Settings.Default.OnWindowCreate = ((ToolStripMenuItem) sender).Checked;
-   142  
-   143 Apply.OnWindowCreate = Settings.Default.OnWindowCreate;
-   144 }
-   145  
-   146 private void AboutToolStripMenuItem_Click(object sender, EventArgs e)
-   147 {
-   148 // Show the about form.
-   149 AboutForm = new AboutForm();
-   150 AboutForm.Show();
138 } 151 }
Line 139... Line 152...
139   152  
Line 140... Line 153...
140 #endregion 153 #endregion
Line 153... Line 166...
153 break; 166 break;
154 } 167 }
155 } 168 }
Line 156... Line 169...
156   169  
157 #endregion -  
158   -  
159 private void OnWindowCreateToolStripMenuItem_CheckedChanged(object sender, EventArgs e) -  
160 { -  
161 Settings.Default.OnWindowCreate = ((ToolStripMenuItem) sender).Checked; -  
162   -  
163 Apply.OnWindowCreate = Settings.Default.OnWindowCreate; -  
164 } 170 #endregion
165 } 171 }
166 } 172 }