view gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.cs @ 167:9808adf2d566 default tip

Re #419: Remove assumptions of a file-based install * Update GTK# GUI to use Streams version of XSLT export
author IBBoard <dev@ibboard.co.uk>
date Wed, 28 Nov 2012 20:25:53 +0000
parents 135491fd1830
children
line wrap: on
line source


// This file has been generated by the GUI designer. Do not modify.
namespace IBBoard.WarFoundry.GUI.GTK
{
	public partial class FrmReplaceEquipment
	{
		private global::Gtk.Table table1;
		private global::Gtk.ScrolledWindow GtkScrolledWindow;
		private global::Gtk.TreeView lstEquipment;
		private global::Gtk.HBox hbox2;
		private global::Gtk.Table table2;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquipAll;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblPercent;
		private global::Gtk.SpinButton numericAmount;
		private global::Gtk.SpinButton percentageAmount;
		private global::Gtk.RadioButton rbEquipAll;
		private global::Gtk.RadioButton rbEquipNumeric;
		private global::Gtk.RadioButton rbEquipPercent;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAmount;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblItem;
		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;
		
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment
			this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment";
			this.Title = global::Mono.Unix.Catalog.GetString ("Add equipment");
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			this.Modal = true;
			this.SkipPagerHint = true;
			this.SkipTaskbarHint = true;
			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Name = "dialog1_VBox";
			w1.BorderWidth = ((uint)(2));
			// Container child dialog1_VBox.Gtk.Box+BoxChild
			this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
			this.table1.Name = "table1";
			this.table1.RowSpacing = ((uint)(6));
			this.table1.ColumnSpacing = ((uint)(6));
			// Container child table1.Gtk.Table+TableChild
			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow.Name = "GtkScrolledWindow";
			this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
			this.lstEquipment = new global::Gtk.TreeView ();
			this.lstEquipment.CanFocus = true;
			this.lstEquipment.Name = "lstEquipment";
			this.lstEquipment.HeadersVisible = false;
			this.GtkScrolledWindow.Add (this.lstEquipment);
			this.table1.Add (this.GtkScrolledWindow);
			global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow]));
			w3.LeftAttach = ((uint)(1));
			w3.RightAttach = ((uint)(2));
			w3.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.hbox2 = new global::Gtk.HBox ();
			this.hbox2.Name = "hbox2";
			this.hbox2.Spacing = 6;
			// Container child hbox2.Gtk.Box+BoxChild
			this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
			this.table2.Name = "table2";
			this.table2.RowSpacing = ((uint)(6));
			this.table2.ColumnSpacing = ((uint)(6));
			// Container child table2.Gtk.Table+TableChild
			this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblEquipAll.Name = "lblEquipAll";
			this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString ("equip all");
			this.table2.Add (this.lblEquipAll);
			global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblEquipAll]));
			w4.TopAttach = ((uint)(2));
			w4.BottomAttach = ((uint)(3));
			w4.LeftAttach = ((uint)(1));
			w4.RightAttach = ((uint)(2));
			w4.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table2.Gtk.Table+TableChild
			this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblPercent.Name = "lblPercent";
			this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString ("%");
			this.table2.Add (this.lblPercent);
			global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblPercent]));
			w5.TopAttach = ((uint)(1));
			w5.BottomAttach = ((uint)(2));
			w5.LeftAttach = ((uint)(2));
			w5.RightAttach = ((uint)(3));
			w5.XOptions = ((global::Gtk.AttachOptions)(4));
			w5.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table2.Gtk.Table+TableChild
			this.numericAmount = new global::Gtk.SpinButton (0, 100, 1);
			this.numericAmount.CanFocus = true;
			this.numericAmount.Name = "numericAmount";
			this.numericAmount.Adjustment.PageIncrement = 10;
			this.numericAmount.ClimbRate = 1;
			this.numericAmount.Numeric = true;
			this.table2.Add (this.numericAmount);
			global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.numericAmount]));
			w6.LeftAttach = ((uint)(1));
			w6.RightAttach = ((uint)(2));
			w6.XOptions = ((global::Gtk.AttachOptions)(0));
			w6.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table2.Gtk.Table+TableChild
			this.percentageAmount = new global::Gtk.SpinButton (0, 100, 1);
			this.percentageAmount.CanFocus = true;
			this.percentageAmount.Name = "percentageAmount";
			this.percentageAmount.Adjustment.PageIncrement = 10;
			this.percentageAmount.ClimbRate = 1;
			this.percentageAmount.Digits = ((uint)(1));
			this.percentageAmount.Numeric = true;
			this.table2.Add (this.percentageAmount);
			global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.percentageAmount]));
			w7.TopAttach = ((uint)(1));
			w7.BottomAttach = ((uint)(2));
			w7.LeftAttach = ((uint)(1));
			w7.RightAttach = ((uint)(2));
			w7.XOptions = ((global::Gtk.AttachOptions)(0));
			w7.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table2.Gtk.Table+TableChild
			this.rbEquipAll = new global::Gtk.RadioButton ("");
			this.rbEquipAll.CanFocus = true;
			this.rbEquipAll.Name = "rbEquipAll";
			this.rbEquipAll.DrawIndicator = true;
			this.rbEquipAll.UseUnderline = true;
			this.rbEquipAll.Group = new global::GLib.SList (global::System.IntPtr.Zero);
			this.table2.Add (this.rbEquipAll);
			global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipAll]));
			w8.TopAttach = ((uint)(2));
			w8.BottomAttach = ((uint)(3));
			w8.XOptions = ((global::Gtk.AttachOptions)(4));
			w8.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table2.Gtk.Table+TableChild
			this.rbEquipNumeric = new global::Gtk.RadioButton ("");
			this.rbEquipNumeric.CanFocus = true;
			this.rbEquipNumeric.Name = "rbEquipNumeric";
			this.rbEquipNumeric.DrawIndicator = true;
			this.rbEquipNumeric.UseUnderline = true;
			this.rbEquipNumeric.Group = this.rbEquipAll.Group;
			this.table2.Add (this.rbEquipNumeric);
			global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipNumeric]));
			w9.XOptions = ((global::Gtk.AttachOptions)(4));
			w9.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table2.Gtk.Table+TableChild
			this.rbEquipPercent = new global::Gtk.RadioButton ("");
			this.rbEquipPercent.CanFocus = true;
			this.rbEquipPercent.Name = "rbEquipPercent";
			this.rbEquipPercent.DrawIndicator = true;
			this.rbEquipPercent.UseUnderline = true;
			this.rbEquipPercent.Group = this.rbEquipAll.Group;
			this.table2.Add (this.rbEquipPercent);
			global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipPercent]));
			w10.TopAttach = ((uint)(1));
			w10.BottomAttach = ((uint)(2));
			w10.XOptions = ((global::Gtk.AttachOptions)(4));
			w10.YOptions = ((global::Gtk.AttachOptions)(4));
			this.hbox2.Add (this.table2);
			global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table2]));
			w11.Position = 0;
			w11.Expand = false;
			w11.Fill = false;
			this.table1.Add (this.hbox2);
			global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2]));
			w12.TopAttach = ((uint)(1));
			w12.BottomAttach = ((uint)(2));
			w12.LeftAttach = ((uint)(1));
			w12.RightAttach = ((uint)(2));
			w12.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblAmount.Name = "lblAmount";
			this.lblAmount.LabelProp = global::Mono.Unix.Catalog.GetString ("amount:");
			this.table1.Add (this.lblAmount);
			global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblAmount]));
			w13.TopAttach = ((uint)(1));
			w13.BottomAttach = ((uint)(2));
			w13.XOptions = ((global::Gtk.AttachOptions)(4));
			w13.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblItem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblItem.Name = "lblItem";
			this.lblItem.LabelProp = global::Mono.Unix.Catalog.GetString ("equipment");
			this.table1.Add (this.lblItem);
			global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblItem]));
			w14.XOptions = ((global::Gtk.AttachOptions)(4));
			w14.YOptions = ((global::Gtk.AttachOptions)(4));
			w1.Add (this.table1);
			global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
			w15.Position = 0;
			w15.Expand = false;
			w15.Fill = false;
			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.ActionArea
			global::Gtk.HButtonBox w16 = this.ActionArea;
			w16.Name = "dialog1_ActionArea";
			w16.Spacing = 10;
			w16.BorderWidth = ((uint)(5));
			w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
			this.bttnCancel.CanDefault = true;
			this.bttnCancel.CanFocus = true;
			this.bttnCancel.Name = "bttnCancel";
			this.bttnCancel.UseStock = true;
			this.bttnCancel.UseUnderline = true;
			this.bttnCancel.Label = "gtk-cancel";
			this.AddActionWidget (this.bttnCancel, -6);
			global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.bttnCancel]));
			w17.Expand = false;
			w17.Fill = false;
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
			this.bttnOkay.CanDefault = true;
			this.bttnOkay.CanFocus = true;
			this.bttnOkay.Name = "bttnOkay";
			this.bttnOkay.UseStock = true;
			this.bttnOkay.UseUnderline = true;
			this.bttnOkay.Label = "gtk-ok";
			this.AddActionWidget (this.bttnOkay, -5);
			global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.bttnOkay]));
			w18.Position = 1;
			w18.Expand = false;
			w18.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 400;
			this.DefaultHeight = 300;
			this.Show ();
			this.rbEquipNumeric.Clicked += new global::System.EventHandler (this.RadioButtonClicked);
			this.percentageAmount.ValueChanged += new global::System.EventHandler (this.SpinButtonValueChanged);
			this.numericAmount.ValueChanged += new global::System.EventHandler (this.SpinButtonValueChanged);
			this.bttnCancel.Clicked += new global::System.EventHandler (this.CancelButtonClicked);
			this.bttnOkay.Clicked += new global::System.EventHandler (this.OkayButtonClicked);
		}
	}
}