comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs @ 5:65279b85446f

Re #1 - LGPL license all code * Add LGPL header to all files * Add COPYING.LGPL and COPYING.GPL with content of license Also * Moved all classes from IBBoard.WarFoundry to IBBoard.WarFoundry.GTK
author IBBoard <dev@ibboard.co.uk>
date Sun, 25 Jan 2009 14:52:18 +0000
parents
children cfc7683e73f9
comparison
equal deleted inserted replaced
4:8208a0fde4c2 5:65279b85446f
1 // ------------------------------------------------------------------------------
2 // <autogenerated>
3 // This code was generated by a tool.
4 // Mono Runtime Version: 2.0.50727.42
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </autogenerated>
9 // ------------------------------------------------------------------------------
10
11 namespace IBBoard.WarFoundry {
12
13
14 public partial class FrmChangeGameSystem {
15
16 private Gtk.HBox hbox1;
17
18 private Gtk.Label lblGameSystem;
19
20 private Gtk.ScrolledWindow GtkScrolledWindow;
21
22 private Gtk.TreeView lstGameSystems;
23
24 private Gtk.Button buttonCancel;
25
26 private Gtk.Button buttonOk;
27
28 protected virtual void Build() {
29 Stetic.Gui.Initialize(this);
30 // Widget IBBoard.WarFoundry.FrmChangeGameSystem
31 this.Name = "IBBoard.WarFoundry.FrmChangeGameSystem";
32 this.Title = Mono.Unix.Catalog.GetString("Change Game System");
33 this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico");
34 this.TypeHint = ((Gdk.WindowTypeHint)(1));
35 this.WindowPosition = ((Gtk.WindowPosition)(4));
36 this.Modal = true;
37 this.Resizable = false;
38 this.AllowGrow = false;
39 this.DefaultWidth = 400;
40 this.DefaultHeight = 300;
41 this.SkipPagerHint = true;
42 this.SkipTaskbarHint = true;
43 this.HasSeparator = false;
44 // Internal child IBBoard.WarFoundry.FrmChangeGameSystem.VBox
45 Gtk.VBox w1 = this.VBox;
46 w1.Name = "dialog1_VBox";
47 w1.Spacing = 6;
48 w1.BorderWidth = ((uint)(2));
49 // Container child dialog1_VBox.Gtk.Box+BoxChild
50 this.hbox1 = new Gtk.HBox();
51 this.hbox1.Name = "hbox1";
52 this.hbox1.Spacing = 6;
53 // Container child hbox1.Gtk.Box+BoxChild
54 this.lblGameSystem = new Gtk.Label();
55 this.lblGameSystem.Name = "lblGameSystem";
56 this.lblGameSystem.LabelProp = Mono.Unix.Catalog.GetString("Game System");
57 this.hbox1.Add(this.lblGameSystem);
58 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblGameSystem]));
59 w2.Position = 0;
60 w2.Expand = false;
61 w2.Fill = false;
62 // Container child hbox1.Gtk.Box+BoxChild
63 this.GtkScrolledWindow = new Gtk.ScrolledWindow();
64 this.GtkScrolledWindow.Name = "GtkScrolledWindow";
65 this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
66 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
67 this.lstGameSystems = new Gtk.TreeView();
68 this.lstGameSystems.WidthRequest = 250;
69 this.lstGameSystems.HeightRequest = 125;
70 this.lstGameSystems.CanFocus = true;
71 this.lstGameSystems.Name = "lstGameSystems";
72 this.lstGameSystems.HeadersVisible = false;
73 this.GtkScrolledWindow.Add(this.lstGameSystems);
74 this.hbox1.Add(this.GtkScrolledWindow);
75 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
76 w4.Position = 1;
77 w1.Add(this.hbox1);
78 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
79 w5.Position = 0;
80 // Internal child IBBoard.WarFoundry.FrmChangeGameSystem.ActionArea
81 Gtk.HButtonBox w6 = this.ActionArea;
82 w6.Name = "dialog1_ActionArea";
83 w6.Spacing = 6;
84 w6.BorderWidth = ((uint)(5));
85 w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
86 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
87 this.buttonCancel = new Gtk.Button();
88 this.buttonCancel.CanDefault = true;
89 this.buttonCancel.CanFocus = true;
90 this.buttonCancel.Name = "buttonCancel";
91 this.buttonCancel.UseStock = true;
92 this.buttonCancel.UseUnderline = true;
93 this.buttonCancel.Label = "gtk-cancel";
94 this.AddActionWidget(this.buttonCancel, -6);
95 Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonCancel]));
96 w7.Expand = false;
97 w7.Fill = false;
98 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
99 this.buttonOk = new Gtk.Button();
100 this.buttonOk.Sensitive = false;
101 this.buttonOk.CanDefault = true;
102 this.buttonOk.CanFocus = true;
103 this.buttonOk.Name = "buttonOk";
104 this.buttonOk.UseStock = true;
105 this.buttonOk.UseUnderline = true;
106 this.buttonOk.Label = "gtk-ok";
107 this.AddActionWidget(this.buttonOk, -5);
108 Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk]));
109 w8.Position = 1;
110 w8.Expand = false;
111 w8.Fill = false;
112 if ((this.Child != null)) {
113 this.Child.ShowAll();
114 }
115 this.Show();
116 this.lstGameSystems.RowActivated += new Gtk.RowActivatedHandler(this.lstGameSystemsRowActivated);
117 this.buttonCancel.Clicked += new System.EventHandler(this.OnCancel);
118 this.buttonOk.Clicked += new System.EventHandler(this.OnGameSystemOkayClicked);
119 }
120 }
121 }