Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate FrmAboutCredits.cs @ 159:89e2442bbb60
Re #417: Improve install/first use experience
* Handle errors in GTK# interface
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 19 May 2012 20:26:44 +0100 |
parents | b4416ca69153 |
children |
rev | line source |
---|---|
94
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 // This file (FrmAboutCredits.cs) is a part of the IBBoard.WarFoundry.GUI.GTK project and is copyright 2010 IBBoard |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 using IBBoard.GtkSharp.Translatable; |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
6 using IBBoard.Lang; |
94
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 namespace IBBoard.WarFoundry.GUI.GTK |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 { |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 public partial class FrmAboutCredits : TranslatableDialog |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 { |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 public FrmAboutCredits() |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 { |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 this.Build(); |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
15 Translation.TranslationChanged += Retranslate; |
94
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 Translate(); |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 } |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
18 |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
19 private void Retranslate() |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
20 { |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
21 Translate(); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
22 } |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
23 |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
24 public override void Dispose() |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
25 { |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
26 Translation.TranslationChanged -= Retranslate; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
27 base.Dispose(); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
94
diff
changeset
|
28 } |
94
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 } |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 } |
26e4525b49cf
Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 |