view gtk-gui/IBBoard.WarFoundry.FrmChangeGameSystem.cs @ 4:8208a0fde4c2

Re #7 - Remove DTDs from GTK GUI project because they're API related rather than GUI related no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Fri, 26 Dec 2008 12:33:04 +0000
parents 1bb28f84d567
children
line wrap: on
line source

// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace IBBoard.WarFoundry {
    
    
    public partial class FrmChangeGameSystem {
        
        private Gtk.HBox hbox1;
        
        private Gtk.Label lblGameSystem;
        
        private Gtk.ScrolledWindow GtkScrolledWindow;
        
        private Gtk.TreeView lstGameSystems;
        
        private Gtk.Button buttonCancel;
        
        private Gtk.Button buttonOk;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget IBBoard.WarFoundry.FrmChangeGameSystem
            this.Name = "IBBoard.WarFoundry.FrmChangeGameSystem";
            this.Title = Mono.Unix.Catalog.GetString("Change Game System");
            this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico");
            this.TypeHint = ((Gdk.WindowTypeHint)(1));
            this.WindowPosition = ((Gtk.WindowPosition)(4));
            this.Modal = true;
            this.Resizable = false;
            this.AllowGrow = false;
            this.DefaultWidth = 400;
            this.DefaultHeight = 300;
            this.SkipPagerHint = true;
            this.SkipTaskbarHint = true;
            this.HasSeparator = false;
            // Internal child IBBoard.WarFoundry.FrmChangeGameSystem.VBox
            Gtk.VBox w1 = this.VBox;
            w1.Name = "dialog1_VBox";
            w1.Spacing = 6;
            w1.BorderWidth = ((uint)(2));
            // Container child dialog1_VBox.Gtk.Box+BoxChild
            this.hbox1 = new Gtk.HBox();
            this.hbox1.Name = "hbox1";
            this.hbox1.Spacing = 6;
            // Container child hbox1.Gtk.Box+BoxChild
            this.lblGameSystem = new Gtk.Label();
            this.lblGameSystem.Name = "lblGameSystem";
            this.lblGameSystem.LabelProp = Mono.Unix.Catalog.GetString("Game System");
            this.hbox1.Add(this.lblGameSystem);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblGameSystem]));
            w2.Position = 0;
            w2.Expand = false;
            w2.Fill = false;
            // Container child hbox1.Gtk.Box+BoxChild
            this.GtkScrolledWindow = new Gtk.ScrolledWindow();
            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
            this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
            this.lstGameSystems = new Gtk.TreeView();
            this.lstGameSystems.WidthRequest = 250;
            this.lstGameSystems.HeightRequest = 125;
            this.lstGameSystems.CanFocus = true;
            this.lstGameSystems.Name = "lstGameSystems";
            this.lstGameSystems.HeadersVisible = false;
            this.lstGameSystems.HeadersClickable = true;
            this.GtkScrolledWindow.Add(this.lstGameSystems);
            this.hbox1.Add(this.GtkScrolledWindow);
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
            w4.Position = 1;
            w1.Add(this.hbox1);
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
            w5.Position = 0;
            // Internal child IBBoard.WarFoundry.FrmChangeGameSystem.ActionArea
            Gtk.HButtonBox w6 = this.ActionArea;
            w6.Name = "dialog1_ActionArea";
            w6.Spacing = 6;
            w6.BorderWidth = ((uint)(5));
            w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
            this.buttonCancel = new Gtk.Button();
            this.buttonCancel.CanDefault = true;
            this.buttonCancel.CanFocus = true;
            this.buttonCancel.Name = "buttonCancel";
            this.buttonCancel.UseStock = true;
            this.buttonCancel.UseUnderline = true;
            this.buttonCancel.Label = "gtk-cancel";
            this.AddActionWidget(this.buttonCancel, -6);
            Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonCancel]));
            w7.Expand = false;
            w7.Fill = false;
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
            this.buttonOk = new Gtk.Button();
            this.buttonOk.Sensitive = false;
            this.buttonOk.CanDefault = true;
            this.buttonOk.CanFocus = true;
            this.buttonOk.Name = "buttonOk";
            this.buttonOk.UseStock = true;
            this.buttonOk.UseUnderline = true;
            this.buttonOk.Label = "gtk-ok";
            this.AddActionWidget(this.buttonOk, -5);
            Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk]));
            w8.Position = 1;
            w8.Expand = false;
            w8.Fill = false;
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
            this.lstGameSystems.RowActivated += new Gtk.RowActivatedHandler(this.lstGameSystemsRowActivated);
            this.buttonCancel.Clicked += new System.EventHandler(this.OnCancel);
            this.buttonOk.Clicked += new System.EventHandler(this.OnGameSystemOkayClicked);
        }
    }
}