Widow – Diff between revs 9 and 11

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 9 Rev 11
Line 107... Line 107...
107 { 107 {
108 } 108 }
Line 109... Line 109...
109   109  
110 private void NewToolStripMenuItem_Click(object sender, EventArgs e) 110 private void NewToolStripMenuItem_Click(object sender, EventArgs e)
-   111 {
-   112 if (RuleEditForm != null)
-   113 {
-   114 return;
-   115 }
111 { 116  
112 RuleEditForm = new RuleEditForm(this, Windows); 117 RuleEditForm = new RuleEditForm(this, Windows);
113 RuleEditForm.Closed += RuleEditForm_Closed; 118 RuleEditForm.Closed += RuleEditForm_Closed;
114 RuleEditForm.Show(); 119 RuleEditForm.Show();
Line 153... Line 158...
153 // Show the about form. 158 // Show the about form.
154 AboutForm = new AboutForm(); 159 AboutForm = new AboutForm();
155 AboutForm.Show(); 160 AboutForm.Show();
156 } 161 }
Line 157... Line 162...
157   162  
158 private void ApplyNowToolStripMenuItem_Click(object sender, EventArgs e) 163 private async void ApplyNowToolStripMenuItem_Click(object sender, EventArgs e)
159 { 164 {
160 WindowManipulation.Apply(); 165 await WindowManipulation.Apply();
Line 161... Line 166...
161 } 166 }
162   167  
163 private void OnEveryToolStripMenuItem_CheckedChanged(object sender, EventArgs e) 168 private void OnEveryToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
Line 192... Line 197...
192 break; 197 break;
193 } 198 }
194 } 199 }
Line 195... Line 200...
195   200  
-   201 #endregion
-   202  
-   203 private void NotifyIcon1_DoubleClick(object sender, EventArgs e)
-   204 {
-   205 if (RuleEditForm != null)
-   206 {
-   207 return;
-   208 }
-   209  
-   210 RuleEditForm = new RuleEditForm(this, Windows);
-   211 RuleEditForm.Closed += RuleEditForm_Closed;
-   212 RuleEditForm.Show();
-   213 }
-   214  
-   215 private async void NotifyIcon1_Click(object sender, EventArgs e)
-   216 {
-   217 await WindowManipulation.Apply();
196 #endregion 218 }
197 } 219 }
198 } 220 }