Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
comparison FrmPreferences.Designer.cs @ 152:4b96e6a6c999
Fixes #275: error in language switching
* Unsubscribe the event listener on dispose
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 14 May 2010 19:46:29 +0000 |
parents | e0af96397e26 |
children |
comparison
equal
deleted
inserted
replaced
151:540c8aa6e565 | 152:4b96e6a6c999 |
---|---|
1 using IBBoard.Lang; | |
2 | |
1 namespace IBBoard.WarFoundry.GUI.WinForms | 3 namespace IBBoard.WarFoundry.GUI.WinForms |
2 { | 4 { |
3 partial class FrmPreferences | 5 partial class FrmPreferences |
4 { | 6 { |
5 /// <summary> | 7 /// <summary> |
16 if (disposing && (components != null)) | 18 if (disposing && (components != null)) |
17 { | 19 { |
18 components.Dispose(); | 20 components.Dispose(); |
19 } | 21 } |
20 base.Dispose(disposing); | 22 base.Dispose(disposing); |
23 | |
24 Translation.TranslationChanged -= new MethodInvoker(TranslateForm); | |
21 } | 25 } |
22 | 26 |
23 #region Windows Form Designer generated code | 27 #region Windows Form Designer generated code |
24 | 28 |
25 /// <summary> | 29 /// <summary> |