Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
comparison FrmAbout.cs @ 77:68804784bf6f
Re #86: Complete initial GTK# UI
* Add About dialog
* Make sure app builds as "WarFoundry-GTK.exe"
* Move all UI components to IBBoard.WarFoundry.GUI.GTK namespace
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 18 Dec 2010 16:42:51 +0000 |
parents | |
children | 9c9af2ce8c43 |
comparison
equal
deleted
inserted
replaced
76:7055b24cfc79 | 77:68804784bf6f |
---|---|
1 // This file (FrmAbout.cs) is a part of the IBBoard.WarFoundry.GUI.GTK project and is copyright 2010 IBBoard | |
2 // | |
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. | |
4 | |
5 using System; | |
6 using Gtk; | |
7 | |
8 namespace IBBoard.WarFoundry.GUI.GTK | |
9 { | |
10 public partial class FrmAbout : Gtk.Dialog | |
11 { | |
12 private static FrmAbout frm; | |
13 | |
14 public static FrmAbout GetForm() | |
15 { | |
16 if (frm == null) | |
17 { | |
18 frm = new FrmAbout(); | |
19 } | |
20 | |
21 return frm; | |
22 } | |
23 | |
24 private FrmAbout() | |
25 { | |
26 this.Build(); | |
27 } | |
28 | |
29 protected virtual void OkayClicked(object sender, System.EventArgs e) | |
30 { | |
31 Respond(ResponseType.Ok); | |
32 } | |
33 } | |
34 } | |
35 |