view gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits.cs @ 146:f3453f3e4591

Fixes #369: Clicking "Create" without unit selected causes errors * Disable the button from the start
author IBBoard <dev@ibboard.co.uk>
date Fri, 25 Nov 2011 20:37:59 +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 FrmAboutCredits
	{
		private global::Gtk.Table table1;
		private global::Gtk.Label label1;
		private global::Gtk.Label label2;
		private global::Gtk.Label label3;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblDevelopers;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTestersCommon;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTestersGtk;
		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnClose;
		
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits
			this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits";
			this.Icon = global::Gdk.Pixbuf.LoadFromResource ("App.ico");
			this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			this.SkipPagerHint = true;
			this.SkipTaskbarHint = true;
			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits.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)(3)), ((uint)(2)), false);
			this.table1.Name = "table1";
			this.table1.RowSpacing = ((uint)(6));
			this.table1.ColumnSpacing = ((uint)(6));
			// Container child table1.Gtk.Table+TableChild
			this.label1 = new global::Gtk.Label ();
			this.label1.Name = "label1";
			this.label1.Xpad = 3;
			this.label1.Ypad = 3;
			this.label1.Xalign = 0F;
			this.label1.Yalign = 0F;
			this.label1.LabelProp = "IBBoard (Main developer and project lead)";
			this.table1.Add (this.label1);
			global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
			w2.LeftAttach = ((uint)(1));
			w2.RightAttach = ((uint)(2));
			w2.XOptions = ((global::Gtk.AttachOptions)(4));
			w2.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.label2 = new global::Gtk.Label ();
			this.label2.Name = "label2";
			this.label2.Xpad = 3;
			this.label2.Ypad = 3;
			this.label2.Xalign = 0F;
			this.label2.Yalign = 0F;
			this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("HeWhoWatches");
			this.table1.Add (this.label2);
			global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
			w3.TopAttach = ((uint)(1));
			w3.BottomAttach = ((uint)(2));
			w3.LeftAttach = ((uint)(1));
			w3.RightAttach = ((uint)(2));
			w3.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.label3 = new global::Gtk.Label ();
			this.label3.Name = "label3";
			this.label3.Xpad = 3;
			this.label3.Ypad = 3;
			this.label3.Xalign = 0F;
			this.label3.Yalign = 0F;
			this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Snowblizz,\r\nFrostlee,\r\nLord_Archaon,\r\nFurrie,\r\nclutch110,\r\nMollo,\r\nHeWhoWatches");
			this.table1.Add (this.label3);
			global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
			w4.TopAttach = ((uint)(2));
			w4.BottomAttach = ((uint)(3));
			w4.LeftAttach = ((uint)(1));
			w4.RightAttach = ((uint)(2));
			w4.XOptions = ((global::Gtk.AttachOptions)(4));
			w4.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblDevelopers = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblDevelopers.Name = "lblDevelopers";
			this.lblDevelopers.Xpad = 3;
			this.lblDevelopers.Ypad = 3;
			this.lblDevelopers.Xalign = 0F;
			this.lblDevelopers.Yalign = 0F;
			this.lblDevelopers.LabelProp = global::Mono.Unix.Catalog.GetString ("developers:");
			this.table1.Add (this.lblDevelopers);
			global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblDevelopers]));
			w5.XOptions = ((global::Gtk.AttachOptions)(4));
			w5.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblTestersCommon = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblTestersCommon.Name = "lblTestersCommon";
			this.lblTestersCommon.Xpad = 3;
			this.lblTestersCommon.Ypad = 3;
			this.lblTestersCommon.Xalign = 0F;
			this.lblTestersCommon.Yalign = 0F;
			this.lblTestersCommon.LabelProp = global::Mono.Unix.Catalog.GetString ("testers (common):");
			this.table1.Add (this.lblTestersCommon);
			global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblTestersCommon]));
			w6.TopAttach = ((uint)(2));
			w6.BottomAttach = ((uint)(3));
			w6.XOptions = ((global::Gtk.AttachOptions)(4));
			w6.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblTestersGtk = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblTestersGtk.Name = "lblTestersGtk";
			this.lblTestersGtk.Xpad = 3;
			this.lblTestersGtk.Ypad = 3;
			this.lblTestersGtk.Xalign = 0F;
			this.lblTestersGtk.Yalign = 0F;
			this.lblTestersGtk.LabelProp = global::Mono.Unix.Catalog.GetString ("testers (GTK UI):");
			this.table1.Add (this.lblTestersGtk);
			global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblTestersGtk]));
			w7.TopAttach = ((uint)(1));
			w7.BottomAttach = ((uint)(2));
			w7.XOptions = ((global::Gtk.AttachOptions)(4));
			w7.YOptions = ((global::Gtk.AttachOptions)(4));
			w1.Add (this.table1);
			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
			w8.Position = 0;
			w8.Expand = false;
			w8.Fill = false;
			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits.ActionArea
			global::Gtk.HButtonBox w9 = this.ActionArea;
			w9.Name = "dialog1_ActionArea";
			w9.Spacing = 10;
			w9.BorderWidth = ((uint)(5));
			w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.bttnClose = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
			this.bttnClose.CanDefault = true;
			this.bttnClose.CanFocus = true;
			this.bttnClose.Name = "bttnClose";
			this.bttnClose.UseStock = true;
			this.bttnClose.UseUnderline = true;
			this.bttnClose.Label = "gtk-close";
			this.AddActionWidget (this.bttnClose, -7);
			global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.bttnClose]));
			w10.Expand = false;
			w10.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 376;
			this.DefaultHeight = 250;
			this.Show ();
		}
	}
}