comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs @ 97:6d2c8ad0d8f1

Re #308: Make GTK# UI translatable * More standardisation of widget names with WinForms
author IBBoard <dev@ibboard.co.uk>
date Sun, 02 Jan 2011 15:50:29 +0000
parents 58779fcd0166
children 5b92d2be69d8
comparison
equal deleted inserted replaced
96:b4416ca69153 97:6d2c8ad0d8f1
4 { 4 {
5 public partial class FrmNewUnit 5 public partial class FrmNewUnit
6 { 6 {
7 private global::Gtk.VBox vbox2; 7 private global::Gtk.VBox vbox2;
8 private global::Gtk.HBox hbox1; 8 private global::Gtk.HBox hbox1;
9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblUnitType; 9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblUnitList;
10 private global::Gtk.ScrolledWindow GtkScrolledWindow; 10 private global::Gtk.ScrolledWindow GtkScrolledWindow;
11 private global::Gtk.TreeView lstUnitTypes; 11 private global::Gtk.TreeView lstUnitTypes;
12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblNewUnitWarning; 12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblNewUnitWarning;
13 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel; 13 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
14 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCreate; 14 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCreate;
35 // Container child vbox2.Gtk.Box+BoxChild 35 // Container child vbox2.Gtk.Box+BoxChild
36 this.hbox1 = new global::Gtk.HBox(); 36 this.hbox1 = new global::Gtk.HBox();
37 this.hbox1.Name = "hbox1"; 37 this.hbox1.Name = "hbox1";
38 this.hbox1.Spacing = 6; 38 this.hbox1.Spacing = 6;
39 // Container child hbox1.Gtk.Box+BoxChild 39 // Container child hbox1.Gtk.Box+BoxChild
40 this.lblUnitType = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); 40 this.lblUnitList = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
41 this.lblUnitType.Name = "lblUnitType"; 41 this.lblUnitList.Name = "lblUnitList";
42 this.lblUnitType.LabelProp = global::Mono.Unix.Catalog.GetString("unit type"); 42 this.lblUnitList.LabelProp = global::Mono.Unix.Catalog.GetString("unit type");
43 this.hbox1.Add(this.lblUnitType); 43 this.hbox1.Add(this.lblUnitList);
44 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblUnitType])); 44 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblUnitList]));
45 w2.Position = 0; 45 w2.Position = 0;
46 w2.Expand = false; 46 w2.Expand = false;
47 w2.Fill = false; 47 w2.Fill = false;
48 // Container child hbox1.Gtk.Box+BoxChild 48 // Container child hbox1.Gtk.Box+BoxChild
49 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); 49 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();