Winify – Diff between revs 41 and 42
?pathlinks?
Rev 41 | Rev 42 | |||
---|---|---|---|---|
Line 173... | Line 173... | |||
173 | notification.Show(); |
173 | notification.Show(); |
|
174 | } |
174 | } |
|
Line 175... | Line 175... | |||
175 | |
175 | |
|
176 | private void SettingsForm_Closing(object sender, CancelEventArgs e) |
176 | private void SettingsForm_Closing(object sender, CancelEventArgs e) |
|
177 | { |
177 | { |
|
- | 178 | if (_settingsForm == null) |
||
- | 179 | { |
||
- | 180 | return; |
||
Line 178... | Line 181... | |||
178 | if (_settingsForm == null) return; |
181 | } |
|
179 | |
182 | |
|
180 | _settingsForm.Save -= SettingsForm_Save; |
183 | _settingsForm.Save -= SettingsForm_Save; |
|
181 | _settingsForm.Closing -= SettingsForm_Closing; |
184 | _settingsForm.Closing -= SettingsForm_Closing; |
|
182 | _settingsForm.Dispose(); |
185 | _settingsForm.Dispose(); |
|
Line 183... | Line 186... | |||
183 | _settingsForm = null; |
186 | _settingsForm = null; |
|
184 | } |
187 | } |
|
185 | |
188 | |
|
- | 189 | private void AboutToolStripMenuItem_Click(object sender, EventArgs e) |
||
- | 190 | { |
||
- | 191 | if (_aboutForm != null) |
||
Line 186... | Line 192... | |||
186 | private void AboutToolStripMenuItem_Click(object sender, EventArgs e) |
192 | { |
|
187 | { |
193 | return; |
|
188 | if (_aboutForm != null) return; |
194 | } |
|
189 | |
195 | |
|
Line 190... | Line 196... | |||
190 | _aboutForm = new AboutForm(); |
196 | _aboutForm = new AboutForm(); |
|
191 | _aboutForm.Closing += AboutForm_Closing; |
197 | _aboutForm.Closing += AboutForm_Closing; |
|
192 | _aboutForm.Show(); |
198 | _aboutForm.Show(); |
|
- | 199 | } |
||
- | 200 | |
||
- | 201 | private void AboutForm_Closing(object sender, CancelEventArgs e) |
||
Line 193... | Line 202... | |||
193 | } |
202 | { |
|
194 | |
203 | if (_aboutForm == null) |
|
195 | private void AboutForm_Closing(object sender, CancelEventArgs e) |
204 | { |
|
196 | { |
205 | return; |