protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Nova4X.UI.SettingsWindow
     this.Name = "Nova4X.UI.SettingsWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Settings");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Nova4X.UI.SettingsWindow.Gtk.Container+ContainerChild
     this.vbox_SettingsRoot = new global::Gtk.VBox ();
     this.vbox_SettingsRoot.Name = "vbox_SettingsRoot";
     this.vbox_SettingsRoot.Spacing = 6;
     // Container child vbox_SettingsRoot.Gtk.Box+BoxChild
     this.table_SettingsMain = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false);
     this.table_SettingsMain.Name = "table_SettingsMain";
     this.table_SettingsMain.RowSpacing = ((uint)(6));
     this.table_SettingsMain.ColumnSpacing = ((uint)(6));
     this.table_SettingsMain.BorderWidth = ((uint)(5));
     // Container child table_SettingsMain.Gtk.Table+TableChild
     this.chkbtn_Debug = new global::Gtk.CheckButton ();
     this.chkbtn_Debug.CanFocus = true;
     this.chkbtn_Debug.Name = "chkbtn_Debug";
     this.chkbtn_Debug.Label = global::Mono.Unix.Catalog.GetString ("Debug Mode");
     this.chkbtn_Debug.DrawIndicator = true;
     this.chkbtn_Debug.UseUnderline = true;
     this.chkbtn_Debug.BorderWidth = ((uint)(16));
     this.table_SettingsMain.Add (this.chkbtn_Debug);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table_SettingsMain [this.chkbtn_Debug]));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table_SettingsMain.Gtk.Table+TableChild
     this.label_DebugMode = new global::Gtk.Label ();
     this.label_DebugMode.Name = "label_DebugMode";
     this.label_DebugMode.LabelProp = global::Mono.Unix.Catalog.GetString ("Debug Mode causes the game to put out a large amount of data that will make it rather hard to play. Such data, however, gives gurus of the religion of the Mono Runtime a great deal of insight into the workings of the universe.");
     this.label_DebugMode.Wrap = true;
     this.table_SettingsMain.Add (this.label_DebugMode);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table_SettingsMain [this.label_DebugMode]));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox_SettingsRoot.Add (this.table_SettingsMain);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox_SettingsRoot [this.table_SettingsMain]));
     w3.Position = 0;
     // Container child vbox_SettingsRoot.Gtk.Box+BoxChild
     this.statusbar_Settings = new global::Gtk.Statusbar ();
     this.statusbar_Settings.Name = "statusbar_Settings";
     this.statusbar_Settings.Spacing = 6;
     this.vbox_SettingsRoot.Add (this.statusbar_Settings);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox_SettingsRoot [this.statusbar_Settings]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.Add (this.vbox_SettingsRoot);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 742;
     this.DefaultHeight = 302;
     this.Show ();
     this.chkbtn_Debug.Clicked += new global::System.EventHandler (this.OnChkbtnDebugClicked);
 }
Пример #2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget gtktest.DataListWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
     this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new");
     w2.Add (this.newAction, null);
     this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open");
     w2.Add (this.openAction, null);
     this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete");
     w2.Add (this.deleteAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w2.Add (this.saveAction, null);
     this.UIManager.InsertActionGroup (w2, 0);
     this.Name = "gtktest.DataListWidget";
     // Container child gtktest.DataListWidget.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='saveAction' action='saveAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview1 = new global::Gtk.TreeView ();
     this.treeview1.CanFocus = true;
     this.treeview1.Name = "treeview1";
     this.GtkScrolledWindow.Add (this.treeview1);
     this.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w5.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
 }
Пример #3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About..."), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About...");
     w1.Add(this.AboutAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Title");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("LampManager.tray.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w3.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 682;
     this.DefaultHeight = 613;
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated);
 }
Пример #4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.fixed4           = new global::Gtk.Fixed();
     this.fixed4.Name      = "fixed4";
     this.fixed4.HasWindow = false;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 42;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.remains           = new global::Gtk.Label();
     this.remains.Name      = "remains";
     this.remains.LabelProp = global::Mono.Unix.Catalog.GetString("remains to maraphone start");
     this.statusbar1.Add(this.remains);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.statusbar1[this.remains]));
     w1.Position = 1;
     w1.Expand   = false;
     w1.Fill     = false;
     this.fixed4.Add(this.statusbar1);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed4[this.statusbar1]));
     w2.Y = 280;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = "";
     this.fixed4.Add(this.label10);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed4[this.label10]));
     w3.X = 476;
     w3.Y = 131;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.button15              = new global::Gtk.Button();
     this.button15.CanFocus     = true;
     this.button15.Name         = "button15";
     this.button15.UseUnderline = true;
     this.button15.Xalign       = 1F;
     this.button15.Yalign       = 1F;
     this.button15.Label        = global::Mono.Unix.Catalog.GetString("Show more");
     this.fixed4.Add(this.button15);
     global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed4[this.button15]));
     w4.X = 189;
     w4.Y = 116;
     this.Add(this.fixed4);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 476;
     this.DefaultHeight = 299;
     this.Show();
 }
Пример #5
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.button1 = new global::Gtk.Button ();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label = global::Mono.Unix.Catalog.GetString ("Find Music");
     this.vbox1.Add (this.button1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.button1]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned1 = new global::Gtk.HPaned ();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name = "hpaned1";
     this.hpaned1.Position = 10;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.libraryviewer1 = new global::aPlay_GUI.LibraryViewer ();
     this.libraryviewer1.Events = ((global::Gdk.EventMask)(256));
     this.libraryviewer1.Name = "libraryviewer1";
     this.hpaned1.Add (this.libraryviewer1);
     this.vbox1.Add (this.hpaned1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned1]));
     w3.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar3 = new global::Gtk.Statusbar ();
     this.statusbar3.Name = "statusbar3";
     this.statusbar3.Spacing = 6;
     this.vbox1.Add (this.statusbar3);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar3]));
     w4.Position = 2;
     w4.Expand = false;
     w4.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 400;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked);
 }
Пример #6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.Events = ((global::Gdk.EventMask)(768));
     this.ExtensionEvents = ((global::Gdk.ExtensionMode)(1));
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Xeno Torrent");
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Events = ((global::Gdk.EventMask)(768));
     this.vbox1.ExtensionEvents = ((global::Gdk.ExtensionMode)(1));
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Events = ((global::Gdk.EventMask)(768));
     this.GtkScrolledWindow.ExtensionEvents = ((global::Gdk.ExtensionMode)(1));
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.nodeview2 = new global::Gtk.NodeView ();
     this.nodeview2.CanFocus = true;
     this.nodeview2.Events = ((global::Gdk.EventMask)(256));
     this.nodeview2.Name = "nodeview2";
     this.nodeview2.HoverSelection = true;
     this.GtkScrolledWindow.Add (this.nodeview2);
     this.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w2.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 372;
     this.DefaultHeight = 227;
     this.Hide ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
Пример #7
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.combobox1      = global::Gtk.ComboBox.NewText();
     this.combobox1.Name = "combobox1";
     this.hbox1.Add(this.combobox1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.combobox1]));
     w1.Position = 0;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 537;
     this.DefaultHeight = 459;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Пример #8
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget XR.Baboon.SourcePage
     global::Stetic.BinContainer.Attach(this);
     this.Name = "XR.Baboon.SourcePage";
     // Container child XR.Baboon.SourcePage.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.header        = new global::XR.Baboon.SourceHeaderBlock();
     this.header.Events = ((global::Gdk.EventMask)(256));
     this.header.Name   = "header";
     this.vbox2.Add(this.header);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.header]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.scroller            = new global::Gtk.ScrolledWindow();
     this.scroller.CanFocus   = true;
     this.scroller.Name       = "scroller";
     this.scroller.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox2.Add(this.scroller);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scroller]));
     w2.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar         = new global::Gtk.Statusbar();
     this.statusbar.Name    = "statusbar";
     this.statusbar.Spacing = 6;
     this.vbox2.Add(this.statusbar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Пример #9
0
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget XR.Baboon.SourcePage
			global::Stetic.BinContainer.Attach (this);
			this.Name = "XR.Baboon.SourcePage";
			// Container child XR.Baboon.SourcePage.Gtk.Container+ContainerChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 6;
			// Container child vbox2.Gtk.Box+BoxChild
			this.header = new global::XR.Baboon.SourceHeaderBlock ();
			this.header.Events = ((global::Gdk.EventMask)(256));
			this.header.Name = "header";
			this.vbox2.Add (this.header);
			global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.header]));
			w1.Position = 0;
			w1.Expand = false;
			w1.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.scroller = new global::Gtk.ScrolledWindow ();
			this.scroller.CanFocus = true;
			this.scroller.Name = "scroller";
			this.scroller.ShadowType = ((global::Gtk.ShadowType)(1));
			this.vbox2.Add (this.scroller);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scroller]));
			w2.Position = 1;
			// Container child vbox2.Gtk.Box+BoxChild
			this.statusbar = new global::Gtk.Statusbar ();
			this.statusbar.Name = "statusbar";
			this.statusbar.Spacing = 6;
			this.vbox2.Add (this.statusbar);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar]));
			w3.Position = 2;
			w3.Expand = false;
			w3.Fill = false;
			this.Add (this.vbox2);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.Hide ();
		}
Пример #10
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.WidthRequest   = 640;
     this.HeightRequest  = 480;
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("ScreenJournal");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-record", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.DefaultWidth   = 640;
     this.DefaultHeight  = 480;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.BorderWidth = ((uint)(2));
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 1;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxrun         = new global::Gtk.VBox();
     this.vboxrun.Name    = "vboxrun";
     this.vboxrun.Spacing = 6;
     // Container child vboxrun.Gtk.Box+BoxChild
     this.runbutton              = new global::Gtk.Button();
     this.runbutton.Name         = "runbutton";
     this.runbutton.UseUnderline = true;
     // Container child runbutton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w2 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w3 = new global::Gtk.HBox();
     w3.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w4 = new global::Gtk.Image();
     w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-stop", global::Gtk.IconSize.Button);
     w3.Add(w4);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w6 = new global::Gtk.Label();
     w6.LabelProp    = global::Mono.Unix.Catalog.GetString("Start recording");
     w6.UseUnderline = true;
     w3.Add(w6);
     w2.Add(w3);
     this.runbutton.Add(w2);
     this.vboxrun.Add(this.runbutton);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxrun [this.runbutton]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vboxrun.Gtk.Box+BoxChild
     this.runbuttonrunning              = new global::Gtk.Button();
     this.runbuttonrunning.Name         = "runbuttonrunning";
     this.runbuttonrunning.UseUnderline = true;
     // Container child runbuttonrunning.Gtk.Container+ContainerChild
     global::Gtk.Alignment w11 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w12 = new global::Gtk.HBox();
     w12.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w13 = new global::Gtk.Image();
     w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-record", global::Gtk.IconSize.Button);
     w12.Add(w13);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w15 = new global::Gtk.Label();
     w15.LabelProp    = global::Mono.Unix.Catalog.GetString("Stop recording");
     w15.UseUnderline = true;
     w12.Add(w15);
     w11.Add(w12);
     this.runbuttonrunning.Add(w11);
     this.vboxrun.Add(this.runbuttonrunning);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxrun [this.runbuttonrunning]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     this.notebook1.Add(this.vboxrun);
     // Notebook tab
     this.runtab            = new global::Gtk.Label();
     this.runtab.CanDefault = true;
     this.runtab.Name       = "runtab";
     this.runtab.LabelProp  = global::Mono.Unix.Catalog.GetString("Run");
     this.notebook1.SetTabLabel(this.vboxrun, this.runtab);
     this.runtab.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxsettings             = new global::Gtk.VBox();
     this.vboxsettings.Name        = "vboxsettings";
     this.vboxsettings.BorderWidth = ((uint)(2));
     // Container child vboxsettings.Gtk.Box+BoxChild
     this.hbox2             = new global::Gtk.HBox();
     this.hbox2.Name        = "hbox2";
     this.hbox2.BorderWidth = ((uint)(2));
     // Container child hbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.folderchooserbutton = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Select A Folder"), ((global::Gtk.FileChooserAction)(2)));
     this.folderchooserbutton.WidthRequest = 1;
     this.folderchooserbutton.Name         = "folderchooserbutton";
     this.hbox1.Add(this.folderchooserbutton);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.folderchooserbutton]));
     w21.PackType = ((global::Gtk.PackType)(1));
     w21.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.directorybox               = new global::Gtk.Entry();
     this.directorybox.CanFocus      = true;
     this.directorybox.Name          = "directorybox";
     this.directorybox.IsEditable    = true;
     this.directorybox.InvisibleChar = '●';
     this.hbox1.Add(this.directorybox);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.directorybox]));
     w22.PackType = ((global::Gtk.PackType)(1));
     w22.Position = 1;
     this.hbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbox1]));
     w23.PackType = ((global::Gtk.PackType)(1));
     w23.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label3                = new global::Gtk.Label();
     this.label3.Name           = "label3";
     this.label3.LabelProp      = global::Mono.Unix.Catalog.GetString("Image save directory");
     this.label3.Justify        = ((global::Gtk.Justification)(1));
     this.label3.SingleLineMode = true;
     this.hbox2.Add(this.label3);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label3]));
     w24.PackType = ((global::Gtk.PackType)(1));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.vboxsettings.Add(this.hbox2);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vboxsettings [this.hbox2]));
     w25.Position = 0;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child vboxsettings.Gtk.Box+BoxChild
     this.hbox3             = new global::Gtk.HBox();
     this.hbox3.Name        = "hbox3";
     this.hbox3.BorderWidth = ((uint)(2));
     // Container child hbox3.Gtk.Box+BoxChild
     this.label4                = new global::Gtk.Label();
     this.label4.Name           = "label4";
     this.label4.LabelProp      = global::Mono.Unix.Catalog.GetString("Interval (seconds)");
     this.label4.Justify        = ((global::Gtk.Justification)(1));
     this.label4.SingleLineMode = true;
     this.hbox3.Add(this.label4);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label4]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.intervalbox = new global::Gtk.SpinButton(1D, 86400D, 1D);
     this.intervalbox.WidthRequest             = 60;
     this.intervalbox.CanFocus                 = true;
     this.intervalbox.Name                     = "intervalbox";
     this.intervalbox.Adjustment.PageIncrement = 1D;
     this.intervalbox.Adjustment.PageSize      = 30D;
     this.intervalbox.ClimbRate                = 1D;
     this.intervalbox.Numeric                  = true;
     this.intervalbox.Value                    = 1D;
     this.hbox3.Add(this.intervalbox);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.intervalbox]));
     w27.PackType = ((global::Gtk.PackType)(1));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vboxsettings.Add(this.hbox3);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxsettings [this.hbox3]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vboxsettings.Gtk.Box+BoxChild
     this.savesettingsbutton              = new global::Gtk.Button();
     this.savesettingsbutton.CanFocus     = true;
     this.savesettingsbutton.Name         = "savesettingsbutton";
     this.savesettingsbutton.UseUnderline = true;
     // Container child savesettingsbutton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w29 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w30 = new global::Gtk.HBox();
     w30.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w31 = new global::Gtk.Image();
     w31.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu);
     w30.Add(w31);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w33 = new global::Gtk.Label();
     w33.LabelProp    = global::Mono.Unix.Catalog.GetString("Save settings");
     w33.UseUnderline = true;
     w30.Add(w33);
     w29.Add(w30);
     this.savesettingsbutton.Add(w29);
     this.vboxsettings.Add(this.savesettingsbutton);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxsettings [this.savesettingsbutton]));
     w37.PackType = ((global::Gtk.PackType)(1));
     w37.Position = 2;
     w37.Expand   = false;
     w37.Fill     = false;
     this.notebook1.Add(this.vboxsettings);
     global::Gtk.Notebook.NotebookChild w38 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vboxsettings]));
     w38.Position = 1;
     // Notebook tab
     this.settingstab           = new global::Gtk.Label();
     this.settingstab.Name      = "settingstab";
     this.settingstab.LabelProp = global::Mono.Unix.Catalog.GetString("Settings");
     this.notebook1.SetTabLabel(this.vboxsettings, this.settingstab);
     this.settingstab.ShowAll();
     this.vbox1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1]));
     w39.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 1;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.statusbarlabel      = new global::Gtk.Label();
     this.statusbarlabel.Name = "statusbarlabel";
     this.statusbarlabel.Wrap = true;
     this.statusbar1.Add(this.statusbarlabel);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.statusbarlabel]));
     w40.Position = 0;
     w40.Expand   = false;
     w40.Fill     = false;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w41.Position = 1;
     w41.Expand   = false;
     w41.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.runbuttonrunning.Hide();
     this.runtab.HasDefault = true;
     this.Show();
     this.runbutton.Clicked                    += new global::System.EventHandler(this.OnRunbuttonClicked);
     this.runbuttonrunning.Clicked             += new global::System.EventHandler(this.OnRunbuttonClicked);
     this.folderchooserbutton.SelectionChanged += new global::System.EventHandler(this.OnFolderchooserbuttonSelectionChanged);
     this.savesettingsbutton.Clicked           += new global::System.EventHandler(this.OnSavesettingsbuttonClicked);
 }
Пример #11
0
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget gtk.frmCiv
			this.Name = "gtk.frmCiv";
			this.Title = global::Mono.Unix.Catalog.GetString ("frmCiv");
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			// Container child gtk.frmCiv.Gtk.Container+ContainerChild
			this.vbox1 = new global::Gtk.VBox ();
			this.vbox1.Name = "vbox1";
			this.vbox1.Spacing = 6;
			// Container child vbox1.Gtk.Box+BoxChild
			this.notebook1 = new global::Gtk.Notebook ();
			this.notebook1.CanFocus = true;
			this.notebook1.Name = "notebook1";
			this.notebook1.CurrentPage = 0;
			// Container child notebook1.Gtk.Notebook+NotebookChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 6;
			// Container child vbox2.Gtk.Box+BoxChild
			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow.Name = "GtkScrolledWindow";
			this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
			this.nvCiudades = new global::Gtk.NodeView ();
			this.nvCiudades.CanFocus = true;
			this.nvCiudades.Name = "nvCiudades";
			this.GtkScrolledWindow.Add (this.nvCiudades);
			this.vbox2.Add (this.GtkScrolledWindow);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
			w2.Position = 0;
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbuttonbox1 = new global::Gtk.HButtonBox ();
			this.hbuttonbox1.Name = "hbuttonbox1";
			// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
			this.cmdIrCiudad = new global::Gtk.Button ();
			this.cmdIrCiudad.CanFocus = true;
			this.cmdIrCiudad.Name = "cmdIrCiudad";
			this.cmdIrCiudad.UseUnderline = true;
			this.cmdIrCiudad.Label = global::Mono.Unix.Catalog.GetString ("_Ir a");
			this.hbuttonbox1.Add (this.cmdIrCiudad);
			global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.cmdIrCiudad]));
			w3.Expand = false;
			w3.Fill = false;
			this.vbox2.Add (this.hbuttonbox1);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbuttonbox1]));
			w4.Position = 1;
			w4.Expand = false;
			w4.Fill = false;
			this.notebook1.Add (this.vbox2);
			// Notebook tab
			this.label1 = new global::Gtk.Label ();
			this.label1.Name = "label1";
			this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Ciudades");
			this.notebook1.SetTabLabel (this.vbox2, this.label1);
			this.label1.ShowAll ();
			// Container child notebook1.Gtk.Notebook+NotebookChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 6;
			// Container child hbox1.Gtk.Box+BoxChild
			this.frame1 = new global::Gtk.Frame ();
			this.frame1.Name = "frame1";
			this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
			this.frame1.LabelXalign = 1F;
			// Container child frame1.Gtk.Container+ContainerChild
			this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
			this.GtkAlignment.Name = "GtkAlignment";
			this.GtkAlignment.LeftPadding = ((uint)(12));
			// Container child GtkAlignment.Gtk.Container+ContainerChild
			this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow1.WidthRequest = 0;
			this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
			this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
			this.nvAvances = new global::Gtk.NodeView ();
			this.nvAvances.WidthRequest = 200;
			this.nvAvances.CanFocus = true;
			this.nvAvances.Name = "nvAvances";
			this.GtkScrolledWindow1.Add (this.nvAvances);
			this.GtkAlignment.Add (this.GtkScrolledWindow1);
			this.frame1.Add (this.GtkAlignment);
			this.GtkLabel1 = new global::Gtk.Label ();
			this.GtkLabel1.Name = "GtkLabel1";
			this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Avances</b>");
			this.GtkLabel1.UseMarkup = true;
			this.frame1.LabelWidget = this.GtkLabel1;
			this.hbox1.Add (this.frame1);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frame1]));
			w9.Position = 0;
			w9.Expand = false;
			w9.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.frame2 = new global::Gtk.Frame ();
			this.frame2.Name = "frame2";
			this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
			this.frame2.LabelXalign = 1F;
			// Container child frame2.Gtk.Container+ContainerChild
			this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
			this.GtkAlignment1.Name = "GtkAlignment1";
			this.GtkAlignment1.LeftPadding = ((uint)(12));
			// Container child GtkAlignment1.Gtk.Container+ContainerChild
			this.hbox3 = new global::Gtk.HBox ();
			this.hbox3.Name = "hbox3";
			this.hbox3.Spacing = 6;
			// Container child hbox3.Gtk.Box+BoxChild
			this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow3.Name = "GtkScrolledWindow3";
			this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
			this.nvInvestigando = new global::Gtk.NodeView ();
			this.nvInvestigando.WidthRequest = 200;
			this.nvInvestigando.CanFocus = true;
			this.nvInvestigando.Name = "nvInvestigando";
			this.GtkScrolledWindow3.Add (this.nvInvestigando);
			this.hbox3.Add (this.GtkScrolledWindow3);
			global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.GtkScrolledWindow3]));
			w11.Position = 0;
			// Container child hbox3.Gtk.Box+BoxChild
			this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
			this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
			this.nvInvestDetalle = new global::Gtk.NodeView ();
			this.nvInvestDetalle.WidthRequest = 400;
			this.nvInvestDetalle.CanFocus = true;
			this.nvInvestDetalle.Name = "nvInvestDetalle";
			this.GtkScrolledWindow2.Add (this.nvInvestDetalle);
			this.hbox3.Add (this.GtkScrolledWindow2);
			global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.GtkScrolledWindow2]));
			w13.Position = 1;
			this.GtkAlignment1.Add (this.hbox3);
			this.frame2.Add (this.GtkAlignment1);
			this.GtkLabel2 = new global::Gtk.Label ();
			this.GtkLabel2.Name = "GtkLabel2";
			this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Investigando</b>");
			this.GtkLabel2.UseMarkup = true;
			this.frame2.LabelWidget = this.GtkLabel2;
			this.hbox1.Add (this.frame2);
			global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frame2]));
			w16.Position = 1;
			w16.Expand = false;
			w16.Fill = false;
			this.notebook1.Add (this.hbox1);
			global::Gtk.Notebook.NotebookChild w17 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.hbox1]));
			w17.Position = 1;
			// Notebook tab
			this.label2 = new global::Gtk.Label ();
			this.label2.Name = "label2";
			this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("_Avances");
			this.label2.UseUnderline = true;
			this.notebook1.SetTabLabel (this.hbox1, this.label2);
			this.label2.ShowAll ();
			// Container child notebook1.Gtk.Notebook+NotebookChild
			this.hbox4 = new global::Gtk.HBox ();
			this.hbox4.Name = "hbox4";
			this.hbox4.Spacing = 6;
			// Container child hbox4.Gtk.Box+BoxChild
			this.vbox3 = new global::Gtk.VBox ();
			this.vbox3.Name = "vbox3";
			this.vbox3.Spacing = 6;
			// Container child vbox3.Gtk.Box+BoxChild
			this.ArmadaSelector = new global::gtk.wgArmadaComboBox ();
			this.ArmadaSelector.Events = ((global::Gdk.EventMask)(256));
			this.ArmadaSelector.Name = "ArmadaSelector";
			this.vbox3.Add (this.ArmadaSelector);
			global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ArmadaSelector]));
			w18.Position = 0;
			w18.Expand = false;
			w18.Fill = false;
			// Container child vbox3.Gtk.Box+BoxChild
			this.ArmadaSeleccionadaInfo = new global::gtk.ArmadaWidget ();
			this.ArmadaSeleccionadaInfo.WidthRequest = 200;
			this.ArmadaSeleccionadaInfo.Events = ((global::Gdk.EventMask)(256));
			this.ArmadaSeleccionadaInfo.Name = "ArmadaSeleccionadaInfo";
			this.vbox3.Add (this.ArmadaSeleccionadaInfo);
			global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ArmadaSeleccionadaInfo]));
			w19.Position = 1;
			// Container child vbox3.Gtk.Box+BoxChild
			this.lbPos = new global::Gtk.Label ();
			this.lbPos.Name = "lbPos";
			this.vbox3.Add (this.lbPos);
			global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lbPos]));
			w20.Position = 2;
			w20.Expand = false;
			w20.Fill = false;
			this.hbox4.Add (this.vbox3);
			global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox3]));
			w21.Position = 0;
			w21.Expand = false;
			w21.Fill = false;
			// Container child hbox4.Gtk.Box+BoxChild
			this.vbox4 = new global::Gtk.VBox ();
			this.vbox4.Name = "vbox4";
			this.vbox4.Spacing = 6;
			// Container child vbox4.Gtk.Box+BoxChild
			this.expIr = new global::Gtk.Expander (null);
			this.expIr.CanFocus = true;
			this.expIr.Name = "expIr";
			this.expIr.Expanded = true;
			// Container child expIr.Gtk.Container+ContainerChild
			this.hbox5 = new global::Gtk.HBox ();
			this.hbox5.Name = "hbox5";
			this.hbox5.Spacing = 6;
			// Container child hbox5.Gtk.Box+BoxChild
			this.IrACB = new global::gtk.GeneralCombobox ();
			this.IrACB.Events = ((global::Gdk.EventMask)(256));
			this.IrACB.Name = "IrACB";
			this.hbox5.Add (this.IrACB);
			global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.IrACB]));
			w22.Position = 0;
			w22.Expand = false;
			w22.Fill = false;
			// Container child hbox5.Gtk.Box+BoxChild
			this.cmdIrA = new global::Gtk.Button ();
			this.cmdIrA.CanFocus = true;
			this.cmdIrA.Name = "cmdIrA";
			this.cmdIrA.UseUnderline = true;
			this.cmdIrA.Label = global::Mono.Unix.Catalog.GetString ("_Ir");
			this.hbox5.Add (this.cmdIrA);
			global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.cmdIrA]));
			w23.Position = 1;
			w23.Expand = false;
			w23.Fill = false;
			this.expIr.Add (this.hbox5);
			this.GtkLabel9 = new global::Gtk.Label ();
			this.GtkLabel9.Name = "GtkLabel9";
			this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("Ir a");
			this.GtkLabel9.UseUnderline = true;
			this.expIr.LabelWidget = this.GtkLabel9;
			this.vbox4.Add (this.expIr);
			global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.expIr]));
			w25.Position = 0;
			w25.Expand = false;
			w25.Fill = false;
			this.hbox4.Add (this.vbox4);
			global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox4]));
			w26.Position = 1;
			w26.Expand = false;
			w26.Fill = false;
			// Container child hbox4.Gtk.Box+BoxChild
			this.hbuttonbox2 = new global::Gtk.HButtonBox ();
			this.hbuttonbox2.Name = "hbuttonbox2";
			this.hbuttonbox2.BorderWidth = ((uint)(18));
			// Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
			this.cmdColonizar = new global::Gtk.Button ();
			this.cmdColonizar.CanFocus = true;
			this.cmdColonizar.Name = "cmdColonizar";
			this.cmdColonizar.UseUnderline = true;
			this.cmdColonizar.Label = global::Mono.Unix.Catalog.GetString ("_Colonizar");
			this.hbuttonbox2.Add (this.cmdColonizar);
			global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.cmdColonizar]));
			w27.Expand = false;
			w27.Fill = false;
			this.hbox4.Add (this.hbuttonbox2);
			global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hbuttonbox2]));
			w28.PackType = ((global::Gtk.PackType)(1));
			w28.Position = 2;
			this.notebook1.Add (this.hbox4);
			global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.hbox4]));
			w29.Position = 2;
			// Notebook tab
			this.label3 = new global::Gtk.Label ();
			this.label3.Name = "label3";
			this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Armadas");
			this.notebook1.SetTabLabel (this.hbox4, this.label3);
			this.label3.ShowAll ();
			this.vbox1.Add (this.notebook1);
			global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1]));
			w30.Position = 0;
			// Container child vbox1.Gtk.Box+BoxChild
			this.statusbar = new global::Gtk.Statusbar ();
			this.statusbar.Name = "statusbar";
			this.statusbar.Spacing = 6;
			// Container child statusbar.Gtk.Box+BoxChild
			this.Mens = new global::gtk.MensView ();
			this.Mens.Events = ((global::Gdk.EventMask)(256));
			this.Mens.Name = "Mens";
			this.statusbar.Add (this.Mens);
			global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.statusbar [this.Mens]));
			w31.Position = 1;
			w31.Expand = false;
			w31.Fill = false;
			// Container child statusbar.Gtk.Box+BoxChild
			this.cmdActualiza = new global::Gtk.Button ();
			this.cmdActualiza.CanFocus = true;
			this.cmdActualiza.Name = "cmdActualiza";
			this.cmdActualiza.UseUnderline = true;
			this.cmdActualiza.Label = global::Mono.Unix.Catalog.GetString ("Actualiza");
			this.statusbar.Add (this.cmdActualiza);
			global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.statusbar [this.cmdActualiza]));
			w32.PackType = ((global::Gtk.PackType)(1));
			w32.Position = 2;
			w32.Expand = false;
			w32.Fill = false;
			this.vbox1.Add (this.statusbar);
			global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar]));
			w33.Position = 1;
			w33.Expand = false;
			w33.Fill = false;
			this.Add (this.vbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 1002;
			this.DefaultHeight = 300;
			this.Show ();
			this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage);
			this.cmdIrCiudad.Activated += new global::System.EventHandler (this.OnCmdIrActivated);
			this.cmdIrCiudad.Clicked += new global::System.EventHandler (this.OnCmdIrActivated);
			this.nvInvestigando.CursorChanged += new global::System.EventHandler (this.OnNvInvestigandoCursorChanged);
			this.ArmadaSelector.onSelectionChanged += new global::System.EventHandler (this.OnArmadaSelectoronSelectionChanged);
			this.cmdIrA.Clicked += new global::System.EventHandler (this.OnCmdIrAClicked);
			this.cmdIrA.Activated += new global::System.EventHandler (this.OnCmdIrAClicked);
			this.cmdColonizar.Clicked += new global::System.EventHandler (this.OnCmdColonizarClicked);
			this.cmdColonizar.Activated += new global::System.EventHandler (this.OnCmdColonizarClicked);
			this.cmdActualiza.Clicked += new global::System.EventHandler (this.OnCmdActualizaClicked);
			this.cmdActualiza.Activated += new global::System.EventHandler (this.OnCmdActualizaClicked);
		}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget BoletoXV.SeleccaoRemessa
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.okAction = new global::Gtk.Action ("okAction", null, null, "gtk-ok");
     w1.Add (this.okAction, null);
     this.printAction = new global::Gtk.Action ("printAction", null, null, "gtk-print");
     w1.Add (this.printAction, null);
     this.removeAction = new global::Gtk.Action ("removeAction", null, null, "gtk-remove");
     w1.Add (this.removeAction, null);
     this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward");
     w1.Add (this.goForwardAction, null);
     this.undoAction = new global::Gtk.Action ("undoAction", null, null, "gtk-undo");
     w1.Add (this.undoAction, null);
     this.yesAction = new global::Gtk.Action ("yesAction", null, null, "gtk-yes");
     w1.Add (this.yesAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "BoletoXV.SeleccaoRemessa";
     this.Title = global::Mono.Unix.Catalog.GetString ("Seleção para Remessa");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-dnd-multiple", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Modal = true;
     this.Gravity = ((global::Gdk.Gravity)(5));
     // Container child BoletoXV.SeleccaoRemessa.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString (@"<ui><toolbar name='toolbar1'><toolitem name='okAction' action='okAction'/><separator/><toolitem name='removeAction' action='removeAction'/><separator/><toolitem name='undoAction' action='undoAction'/><separator/><toolitem name='goForwardAction' action='goForwardAction'/><separator/><toolitem name='printAction' action='printAction'/><separator/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox4.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Data de Vencimento");
     this.hbox2.Add (this.label2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.entry1 = new global::Gtk.Entry ();
     this.entry1.CanFocus = true;
     this.entry1.Name = "entry1";
     this.entry1.IsEditable = true;
     this.entry1.InvisibleChar = '●';
     this.hbox2.Add (this.entry1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entry1]));
     w4.Position = 1;
     w4.Expand = false;
     this.vbox5.Add (this.hbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     this.vbox4.Add (this.vbox5);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vbox5]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Razão Social");
     this.hbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.combobox1 = global::Gtk.ComboBox.NewText ();
     this.combobox1.Name = "combobox1";
     this.hbox1.Add (this.combobox1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.combobox1]));
     w8.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button1 = new global::Gtk.Button ();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label = global::Mono.Unix.Catalog.GetString ("Buscar");
     global::Gtk.Image w9 = new global::Gtk.Image ();
     w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find", global::Gtk.IconSize.Menu);
     this.button1.Image = w9;
     this.hbox1.Add (this.button1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     this.vbox4.Add (this.hbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox1]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     this.vbox1.Add (this.vbox4);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview = new global::Gtk.TreeView ();
     this.treeview.CanFocus = true;
     this.treeview.Name = "treeview";
     this.GtkScrolledWindow.Add (this.treeview);
     this.vbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w14.Position = 0;
     this.vbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w15.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.statusbar2 = new global::Gtk.Statusbar ();
     this.statusbar2.Name = "statusbar2";
     this.statusbar2.Spacing = 6;
     this.vbox3.Add (this.statusbar2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.statusbar2]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     this.vbox1.Add (this.vbox3);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3]));
     w17.Position = 2;
     w17.Expand = false;
     w17.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 627;
     this.DefaultHeight = 362;
     this.Show ();
 }
Пример #13
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", "_File", null, null);
     this.FileAction.ShortLabel = "_File";
     w1.Add (this.FileAction, "<Control><Mod2>f");
     this.OpenAction = new global::Gtk.Action ("OpenAction", "_Open", null, null);
     this.OpenAction.ShortLabel = "_Open";
     w1.Add (this.OpenAction, "<Control><Mod2>o");
     this.ExitAction = new global::Gtk.Action ("ExitAction", "E_xit", null, null);
     this.ExitAction.ShortLabel = "E_xit";
     w1.Add (this.ExitAction, "<Control><Mod2>x");
     this.AboutAction = new global::Gtk.Action ("AboutAction", "_About", null, null);
     this.AboutAction.ShortLabel = "_About";
     w1.Add (this.AboutAction, "<Control><Mod2>a");
     this.OpenAction1 = new global::Gtk.Action ("OpenAction1", "_Open", null, null);
     this.OpenAction1.ShortLabel = "_Open";
     w1.Add (this.OpenAction1, null);
     this.AboutAction1 = new global::Gtk.Action ("AboutAction1", "_About", null, null);
     this.AboutAction1.ShortLabel = "_About";
     w1.Add (this.AboutAction1, "<Control><Mod2>a");
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = "PnP";
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-justify-center", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.DefaultWidth = 640;
     this.DefaultHeight = 480;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='MenuBar'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction1' action='OpenAction1'/><menuitem name='ExitAction' action='ExitAction'/></menu><menuitem name='AboutAction1' action='AboutAction1'/></menubar></ui>");
     this.MenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/MenuBar")));
     this.MenuBar.Name = "MenuBar";
     this.vbox1.Add (this.MenuBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.MenuBar]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.TextView = new global::Gtk.TextView ();
     this.TextView.CanFocus = true;
     this.TextView.Name = "TextView";
     this.TextView.Editable = false;
     this.TextView.CursorVisible = false;
     this.GtkScrolledWindow.Add (this.TextView);
     this.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w4.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.ButtonHBox = new global::Gtk.HBox ();
     this.ButtonHBox.Name = "ButtonHBox";
     this.ButtonHBox.Homogeneous = true;
     this.ButtonHBox.Spacing = 6;
     // Container child ButtonHBox.Gtk.Box+BoxChild
     this.OpenButton = new global::Gtk.Button ();
     this.OpenButton.CanFocus = true;
     this.OpenButton.Name = "OpenButton";
     this.OpenButton.UseUnderline = true;
     this.OpenButton.Label = "Open";
     this.ButtonHBox.Add (this.OpenButton);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.OpenButton]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child ButtonHBox.Gtk.Box+BoxChild
     this.ExecButton = new global::Gtk.Button ();
     this.ExecButton.Sensitive = false;
     this.ExecButton.CanFocus = true;
     this.ExecButton.Name = "ExecButton";
     this.ExecButton.UseUnderline = true;
     this.ExecButton.Label = "Parse";
     this.ButtonHBox.Add (this.ExecButton);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.ExecButton]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child ButtonHBox.Gtk.Box+BoxChild
     this.ViewButton = new global::Gtk.Button ();
     this.ViewButton.Sensitive = false;
     this.ViewButton.CanFocus = true;
     this.ViewButton.Name = "ViewButton";
     this.ViewButton.UseUnderline = true;
     this.ViewButton.Label = "View";
     this.ButtonHBox.Add (this.ViewButton);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.ViewButton]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     // Container child ButtonHBox.Gtk.Box+BoxChild
     this.ExitButton = new global::Gtk.Button ();
     this.ExitButton.CanFocus = true;
     this.ExitButton.Name = "ExitButton";
     this.ExitButton.UseUnderline = true;
     this.ExitButton.Label = "Exit";
     this.ButtonHBox.Add (this.ExitButton);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.ExitButton]));
     w8.PackType = ((global::Gtk.PackType)(1));
     w8.Position = 3;
     w8.Expand = false;
     w8.Fill = false;
     // Container child ButtonHBox.Gtk.Box+BoxChild
     this.SaveButton = new global::Gtk.Button ();
     this.SaveButton.Sensitive = false;
     this.SaveButton.CanFocus = true;
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.UseUnderline = true;
     this.SaveButton.Label = "Save";
     this.ButtonHBox.Add (this.SaveButton);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.SaveButton]));
     w9.PackType = ((global::Gtk.PackType)(1));
     w9.Position = 4;
     w9.Expand = false;
     w9.Fill = false;
     this.vbox1.Add (this.ButtonHBox);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ButtonHBox]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.SBar = new global::Gtk.Statusbar ();
     this.SBar.Name = "SBar";
     this.SBar.Spacing = 6;
     this.vbox1.Add (this.SBar);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.SBar]));
     w11.PackType = ((global::Gtk.PackType)(1));
     w11.Position = 3;
     w11.Expand = false;
     w11.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.OpenAction.Activated += new global::System.EventHandler (this.OnOpenClicked);
     this.ExitAction.Activated += new global::System.EventHandler (this.OnExitClicked);
     this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutClicked);
     this.OpenAction1.Activated += new global::System.EventHandler (this.OnOpenClicked);
     this.AboutAction1.Activated += new global::System.EventHandler (this.OnAboutClicked);
     this.OpenButton.Clicked += new global::System.EventHandler (this.OnOpenButtonClicked);
     this.ExecButton.Clicked += new global::System.EventHandler (this.OnExecButtonClicked);
     this.ViewButton.Clicked += new global::System.EventHandler (this.OnViewButtonClicked);
     this.SaveButton.Clicked += new global::System.EventHandler (this.OnSaveButtonClicked);
     this.ExitButton.Clicked += new global::System.EventHandler (this.OnExitButtonClicked);
 }
Пример #14
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("База"), null, null);
     this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("База");
     w1.Add (this.Action, null);
     this.Action8 = new global::Gtk.Action ("Action8", global::Mono.Unix.Catalog.GetString ("Справочники"), null, null);
     this.Action8.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справочники");
     w1.Add (this.Action8, null);
     this.Action2 = new global::Gtk.Action ("Action2", global::Mono.Unix.Catalog.GetString ("Справка"), null, null);
     this.Action2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка");
     w1.Add (this.Action2, null);
     this.dialogAuthenticationAction = new global::Gtk.Action ("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString ("Изменить пароль"), null, "gtk-dialog-authentication");
     this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Изменить пароль");
     w1.Add (this.dialogAuthenticationAction, null);
     this.UsersAction = new global::Gtk.Action ("UsersAction", global::Mono.Unix.Catalog.GetString ("Пользователи"), null, "gtk-properties");
     this.UsersAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Пользователи");
     w1.Add (this.UsersAction, null);
     this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("В_ыход"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("В_ыход");
     w1.Add (this.quitAction, null);
     this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_О программе"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_О программе");
     w1.Add (this.aboutAction, null);
     this.Action3 = new global::Gtk.Action ("Action3", global::Mono.Unix.Catalog.GetString ("Марки авто"), null, null);
     this.Action3.ShortLabel = global::Mono.Unix.Catalog.GetString ("Марки авто");
     w1.Add (this.Action3, null);
     this.Action4 = new global::Gtk.Action ("Action4", global::Mono.Unix.Catalog.GetString ("Модели авто"), null, null);
     this.Action4.ShortLabel = global::Mono.Unix.Catalog.GetString ("Модели авто");
     w1.Add (this.Action4, null);
     this.Action5 = new global::Gtk.Action ("Action5", global::Mono.Unix.Catalog.GetString ("Производители"), null, null);
     this.Action5.ShortLabel = global::Mono.Unix.Catalog.GetString ("Производители");
     w1.Add (this.Action5, null);
     this.Action6 = new global::Gtk.Action ("Action6", global::Mono.Unix.Catalog.GetString ("Склады"), null, null);
     this.Action6.ShortLabel = global::Mono.Unix.Catalog.GetString ("Склады");
     w1.Add (this.Action6, null);
     this.Action7 = new global::Gtk.Action ("Action7", global::Mono.Unix.Catalog.GetString ("Статусы заказа"), null, null);
     this.Action7.ShortLabel = global::Mono.Unix.Catalog.GetString ("Статусы заказа");
     w1.Add (this.Action7, null);
     this.Action11 = new global::Gtk.Action ("Action11", global::Mono.Unix.Catalog.GetString ("Виды стёкл"), null, null);
     this.Action11.ShortLabel = global::Mono.Unix.Catalog.GetString ("Виды стёкл");
     w1.Add (this.Action11, null);
     this.Action10 = new global::Gtk.Action ("Action10", global::Mono.Unix.Catalog.GetString ("Виды работ"), null, null);
     this.Action10.ShortLabel = global::Mono.Unix.Catalog.GetString ("Виды работ");
     w1.Add (this.Action10, null);
     this.Action12 = new global::Gtk.Action ("Action12", global::Mono.Unix.Catalog.GetString ("Отчеты"), null, null);
     this.Action12.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отчеты");
     w1.Add (this.Action12, null);
     this.Action15 = new global::Gtk.Action ("Action15", global::Mono.Unix.Catalog.GetString ("Отчет по заказам"), null, null);
     this.Action15.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отчет по заказам");
     w1.Add (this.Action15, null);
     this.Action14 = new global::Gtk.Action ("Action14", global::Mono.Unix.Catalog.GetString ("Отчет за месяц"), null, null);
     this.Action14.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отчет за месяц");
     w1.Add (this.Action14, null);
     this.Action16 = new global::Gtk.Action ("Action16", global::Mono.Unix.Catalog.GetString ("Календарь на день"), null, null);
     this.Action16.ShortLabel = global::Mono.Unix.Catalog.GetString ("Календарь на день");
     w1.Add (this.Action16, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("QS: Мастерская автостекла");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menuMain'><menu name='Action' action='Action'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='UsersAction' action='UsersAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action8' action='Action8'><menuitem name='Action3' action='Action3'/><menuitem name='Action4' action='Action4'/><separator/><menuitem name='Action5' action='Action5'/><menuitem name='Action6' action='Action6'/><separator/><menuitem name='Action11' action='Action11'/><menuitem name='Action10' action='Action10'/><menuitem name='Action7' action='Action7'/></menu><menu name='Action12' action='Action12'><menuitem name='Action15' action='Action15'/><menuitem name='Action14' action='Action14'/><menuitem name='Action16' action='Action16'/></menu><menu name='Action2' action='Action2'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menuMain = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menuMain")));
     this.menuMain.Name = "menuMain";
     this.vbox1.Add (this.menuMain);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menuMain]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.notebookMain = new global::Gtk.Notebook ();
     this.notebookMain.CanFocus = true;
     this.notebookMain.Name = "notebookMain";
     this.notebookMain.CurrentPage = 0;
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.orderscalendar1 = new global::CarGlass.OrdersCalendar ();
     this.orderscalendar1.Events = ((global::Gdk.EventMask)(256));
     this.orderscalendar1.Name = "orderscalendar1";
     this.orderscalendar1.StartDate = new global::System.DateTime (0);
     this.notebookMain.Add (this.orderscalendar1);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Календарь Установка");
     this.notebookMain.SetTabLabel (this.orderscalendar1, this.label1);
     this.label1.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.orderscalendar2 = new global::CarGlass.OrdersCalendar ();
     this.orderscalendar2.Events = ((global::Gdk.EventMask)(256));
     this.orderscalendar2.Name = "orderscalendar2";
     this.orderscalendar2.StartDate = new global::System.DateTime (0);
     this.notebookMain.Add (this.orderscalendar2);
     global::Gtk.Notebook.NotebookChild w4 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.orderscalendar2]));
     w4.Position = 1;
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Календарь Тонировка");
     this.notebookMain.SetTabLabel (this.orderscalendar2, this.label2);
     this.label2.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Статус:");
     this.table1.Add (this.label4);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:");
     this.table1.Add (this.label5);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     this.table1.Add (this.label6);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox5.Add (this.table1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.table1]));
     w8.Position = 0;
     this.vbox2.Add (this.hbox5);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5]));
     w9.Position = 0;
     w9.Expand = false;
     w9.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewOrders = new global::Gtk.TreeView ();
     this.treeviewOrders.CanFocus = true;
     this.treeviewOrders.Name = "treeviewOrders";
     this.GtkScrolledWindow.Add (this.treeviewOrders);
     this.vbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w11.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.labelTotal = new global::Gtk.Label ();
     this.labelTotal.Name = "labelTotal";
     this.labelTotal.Xalign = 1F;
     this.labelTotal.LabelProp = global::Mono.Unix.Catalog.GetString ("label1");
     this.vbox2.Add (this.labelTotal);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelTotal]));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     this.notebookMain.Add (this.vbox2);
     global::Gtk.Notebook.NotebookChild w13 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox2]));
     w13.Position = 2;
     // Notebook tab
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Журнал заказов");
     this.notebookMain.SetTabLabel (this.vbox2, this.label3);
     this.label3.ShowAll ();
     this.hbox6.Add (this.notebookMain);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.notebookMain]));
     w14.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.chatvsliderMain = new global::QSChat.ChatVSlider ();
     this.chatvsliderMain.Events = ((global::Gdk.EventMask)(256));
     this.chatvsliderMain.Name = "chatvsliderMain";
     this.chatvsliderMain.IsHided = false;
     this.hbox6.Add (this.chatvsliderMain);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.chatvsliderMain]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     this.vbox1.Add (this.hbox6);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox6]));
     w16.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.labelUser = new global::Gtk.Label ();
     this.labelUser.Name = "labelUser";
     this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("label5");
     this.statusbar1.Add (this.labelUser);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelUser]));
     w17.Position = 0;
     w17.Expand = false;
     w17.Fill = false;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.labelStatus = new global::Gtk.Label ();
     this.labelStatus.Name = "labelStatus";
     this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     this.statusbar1.Add (this.labelStatus);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelStatus]));
     w18.Position = 2;
     w18.Expand = false;
     w18.Fill = false;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w19.Position = 2;
     w19.Expand = false;
     w19.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 863;
     this.DefaultHeight = 409;
     this.vbox2.Hide ();
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.dialogAuthenticationAction.Activated += new global::System.EventHandler (this.OnDialogAuthenticationActionActivated);
     this.UsersAction.Activated += new global::System.EventHandler (this.OnPropertiesActionActivated);
     this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated);
     this.Action3.Activated += new global::System.EventHandler (this.OnAction3Activated);
     this.Action4.Activated += new global::System.EventHandler (this.OnAction4Activated);
     this.Action5.Activated += new global::System.EventHandler (this.OnAction5Activated);
     this.Action6.Activated += new global::System.EventHandler (this.OnAction6Activated);
     this.Action7.Activated += new global::System.EventHandler (this.OnAction7Activated);
     this.Action11.Activated += new global::System.EventHandler (this.OnAction9Activated);
     this.Action10.Activated += new global::System.EventHandler (this.OnAction10Activated);
     this.Action15.Activated += new global::System.EventHandler (this.OnAction15Activated);
     this.Action14.Activated += new global::System.EventHandler (this.OnAction14Activated);
     this.Action16.Activated += new global::System.EventHandler (this.OnAction16Activated);
     this.notebookMain.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebookMainSwitchPage);
 }
Пример #15
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.Component.RenderingStateBar
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LongoMatch.Gui.Component.RenderingStateBar";
     // Container child LongoMatch.Gui.Component.RenderingStateBar.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar3               = new global::Gtk.Statusbar();
     this.statusbar3.Name          = "statusbar3";
     this.statusbar3.Spacing       = 6;
     this.statusbar3.HasResizeGrip = false;
     // Container child statusbar3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.statebutton              = new global::Gtk.Button();
     this.statebutton.CanFocus     = true;
     this.statebutton.Name         = "statebutton";
     this.statebutton.UseUnderline = true;
     this.statebutton.Label        = "";
     this.hbox1.Add(this.statebutton);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.statebutton]));
     w1.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressbar      = new global::Gtk.ProgressBar();
     this.progressbar.Name = "progressbar";
     this.hbox1.Add(this.progressbar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar]));
     w2.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.cancellbutton              = new global::Gtk.Button();
     this.cancellbutton.CanFocus     = true;
     this.cancellbutton.Name         = "cancellbutton";
     this.cancellbutton.UseUnderline = true;
     // Container child cancellbutton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w3 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w4 = new global::Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu);
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w7 = new global::Gtk.Label();
     w4.Add(w7);
     w3.Add(w4);
     this.cancellbutton.Add(w3);
     this.hbox1.Add(this.cancellbutton);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cancellbutton]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     this.statusbar3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.statusbar3 [this.hbox1]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox2.Add(this.statusbar3);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar3]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.cancellbutton.Hide();
     this.Hide();
 }
Пример #16
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.LoginAction = new global::Gtk.Action ("LoginAction", global::Mono.Unix.Catalog.GetString ("Login"), null, null);
     this.LoginAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Login");
     w1.Add (this.LoginAction, null);
     this.LoginAction1 = new global::Gtk.Action ("LoginAction1", global::Mono.Unix.Catalog.GetString ("Login"), null, null);
     this.LoginAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Login");
     w1.Add (this.LoginAction1, null);
     this.LogoutAction = new global::Gtk.Action ("LogoutAction", global::Mono.Unix.Catalog.GetString ("Logout"), null, null);
     this.LogoutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Logout");
     w1.Add (this.LogoutAction, null);
     this.UpdateAction = new global::Gtk.Action ("UpdateAction", global::Mono.Unix.Catalog.GetString ("Update"), null, null);
     this.UpdateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Update");
     w1.Add (this.UpdateAction, null);
     this.CheckOfUpdatesAction = new global::Gtk.Action ("CheckOfUpdatesAction", global::Mono.Unix.Catalog.GetString ("Check of updates"), null, null);
     this.CheckOfUpdatesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Check of updates");
     w1.Add (this.CheckOfUpdatesAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Drone Client");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-authentication", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString (@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'/><menu name='LoginAction' action='LoginAction'><menuitem name='LoginAction1' action='LoginAction1'/><menuitem name='LogoutAction' action='LogoutAction'/></menu><menu name='UpdateAction' action='UpdateAction'><menuitem name='CheckOfUpdatesAction' action='CheckOfUpdatesAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook2 = new global::Gtk.Notebook ();
     this.notebook2.CanFocus = true;
     this.notebook2.Name = "notebook2";
     this.notebook2.CurrentPage = 3;
     // Notebook tab
     global::Gtk.Label w3 = new global::Gtk.Label ();
     w3.Visible = true;
     this.notebook2.Add (w3);
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Tasks");
     this.notebook2.SetTabLabel (w3, this.label2);
     this.label2.ShowAll ();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Chat with Master and other drones");
     this.vbox2.Add (this.label5);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label5]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entry2 = new global::Gtk.Entry ();
     this.entry2.CanFocus = true;
     this.entry2.Name = "entry2";
     this.entry2.IsEditable = true;
     this.entry2.InvisibleChar = '●';
     this.hbox1.Add (this.entry2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entry2]));
     w5.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button1 = new global::Gtk.Button ();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label = global::Mono.Unix.Catalog.GetString ("Send");
     this.hbox1.Add (this.button1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.notebook2.Add (this.vbox2);
     global::Gtk.Notebook.NotebookChild w8 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox2]));
     w8.Position = 1;
     // Notebook tab
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Chat");
     this.notebook2.SetTabLabel (this.vbox2, this.label3);
     this.label3.ShowAll ();
     // Notebook tab
     global::Gtk.Label w9 = new global::Gtk.Label ();
     w9.Visible = true;
     this.notebook2.Add (w9);
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Report");
     this.notebook2.SetTabLabel (w9, this.label4);
     this.label4.ShowAll ();
     // Notebook tab
     global::Gtk.Label w10 = new global::Gtk.Label ();
     w10.Visible = true;
     this.notebook2.Add (w10);
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Ask Permission");
     this.notebook2.SetTabLabel (w10, this.label6);
     this.label6.ShowAll ();
     // Notebook tab
     global::Gtk.Label w11 = new global::Gtk.Label ();
     w11.Visible = true;
     this.notebook2.Add (w11);
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Extras");
     this.notebook2.SetTabLabel (w11, this.label7);
     this.label7.ShowAll ();
     this.vbox1.Add (this.notebook2);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook2]));
     w12.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("label8");
     this.statusbar1.Add (this.label8);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.label8]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w14.Position = 2;
     w14.Expand = false;
     w14.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 444;
     this.DefaultHeight = 515;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
Пример #17
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.WidthRequest   = 700;
     this.HeightRequest  = 364;
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Crypter");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-authentication", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(2));
     this.Resizable      = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.frame2 = new global::Gtk.Frame();
     this.frame2.WidthRequest = 325;
     this.frame2.Name         = "frame2";
     this.frame2.ShadowType   = ((global::Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment             = new global::Gtk.Alignment(0f, 0f, 1f, 1f);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.fileChooser      = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Seleccione un archivo"), ((global::Gtk.FileChooserAction)(0)));
     this.fileChooser.Name = "fileChooser";
     this.vbox4.Add(this.fileChooser);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.fileChooser]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.hbuttonbox9      = new global::Gtk.HButtonBox();
     this.hbuttonbox9.Name = "hbuttonbox9";
     this.hbox7.Add(this.hbuttonbox9);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.hbuttonbox9]));
     w2.Position = 0;
     // Container child hbox7.Gtk.Box+BoxChild
     this.btnDecrypt = new global::Gtk.Button();
     this.btnDecrypt.WidthRequest = 120;
     this.btnDecrypt.Sensitive    = false;
     this.btnDecrypt.CanFocus     = true;
     this.btnDecrypt.Name         = "btnDecrypt";
     this.btnDecrypt.UseUnderline = true;
     // Container child btnDecrypt.Gtk.Container+ContainerChild
     global::Gtk.Alignment w3 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w4 = new global::Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-sort-ascending", global::Gtk.IconSize.Menu);
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w7 = new global::Gtk.Label();
     w7.LabelProp    = global::Mono.Unix.Catalog.GetString("Desencriptar");
     w7.UseUnderline = true;
     w4.Add(w7);
     w3.Add(w4);
     this.btnDecrypt.Add(w3);
     this.hbox7.Add(this.btnDecrypt);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.btnDecrypt]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.hbuttonbox8      = new global::Gtk.HButtonBox();
     this.hbuttonbox8.Name = "hbuttonbox8";
     this.hbox7.Add(this.hbuttonbox8);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.hbuttonbox8]));
     w12.Position = 2;
     this.vbox4.Add(this.hbox7);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox7]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.GtkAlignment.Add(this.vbox4);
     this.frame2.Add(this.GtkAlignment);
     this.GtkLabel8           = new global::Gtk.Label();
     this.GtkLabel8.Name      = "GtkLabel8";
     this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Archivo existente:</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame2.LabelWidget  = this.GtkLabel8;
     this.hbox5.Add(this.frame2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.frame2]));
     w16.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.frame3            = new global::Gtk.Frame();
     this.frame3.Name       = "frame3";
     this.frame3.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new global::Gtk.Alignment(0f, 0f, 1f, 1f);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.folderChooser      = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Seleccione una carpeta"), ((global::Gtk.FileChooserAction)(2)));
     this.folderChooser.Name = "folderChooser";
     this.vbox5.Add(this.folderChooser);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.folderChooser]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre del archivo:");
     this.hbox9.Add(this.label4);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label4]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.txtFileName               = new global::Gtk.Entry();
     this.txtFileName.CanFocus      = true;
     this.txtFileName.Name          = "txtFileName";
     this.txtFileName.IsEditable    = true;
     this.txtFileName.InvisibleChar = '●';
     this.hbox9.Add(this.txtFileName);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.txtFileName]));
     w19.Position = 1;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0f;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString(".conf");
     this.hbox9.Add(this.label5);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label5]));
     w20.Position = 2;
     w20.Fill     = false;
     this.vbox5.Add(this.hbox9);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox9]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.hbuttonbox7      = new global::Gtk.HButtonBox();
     this.hbuttonbox7.Name = "hbuttonbox7";
     this.hbox6.Add(this.hbuttonbox7);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.hbuttonbox7]));
     w22.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.btnNewFile = new global::Gtk.Button();
     this.btnNewFile.WidthRequest = 120;
     this.btnNewFile.Sensitive    = false;
     this.btnNewFile.CanFocus     = true;
     this.btnNewFile.Name         = "btnNewFile";
     this.btnNewFile.UseUnderline = true;
     // Container child btnNewFile.Gtk.Container+ContainerChild
     global::Gtk.Alignment w23 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w24 = new global::Gtk.HBox();
     w24.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w25 = new global::Gtk.Image();
     w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu);
     w24.Add(w25);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w27 = new global::Gtk.Label();
     w27.LabelProp    = global::Mono.Unix.Catalog.GetString("Nuevo");
     w27.UseUnderline = true;
     w24.Add(w27);
     w23.Add(w24);
     this.btnNewFile.Add(w23);
     this.hbox6.Add(this.btnNewFile);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnNewFile]));
     w31.Position = 1;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.hbuttonbox6      = new global::Gtk.HButtonBox();
     this.hbuttonbox6.Name = "hbuttonbox6";
     this.hbox6.Add(this.hbuttonbox6);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.hbuttonbox6]));
     w32.Position = 2;
     this.vbox5.Add(this.hbox6);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox6]));
     w33.Position = 2;
     w33.Expand   = false;
     w33.Fill     = false;
     this.GtkAlignment2.Add(this.vbox5);
     this.frame3.Add(this.GtkAlignment2);
     this.GtkLabel12           = new global::Gtk.Label();
     this.GtkLabel12.Name      = "GtkLabel12";
     this.GtkLabel12.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Nuevo archivo:</b>");
     this.GtkLabel12.UseMarkup = true;
     this.frame3.LabelWidget   = this.GtkLabel12;
     this.hbox5.Add(this.frame3);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.frame3]));
     w36.Position = 1;
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5]));
     w37.Position = 0;
     w37.Expand   = false;
     w37.Fill     = false;
     w37.Padding  = ((uint)(10));
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.hbuttonbox11      = new global::Gtk.HButtonBox();
     this.hbuttonbox11.Name = "hbuttonbox11";
     this.hbox8.Add(this.hbuttonbox11);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hbuttonbox11]));
     w38.Position = 0;
     // Container child hbox8.Gtk.Box+BoxChild
     this.btnEncriptar = new global::Gtk.Button();
     this.btnEncriptar.WidthRequest = 150;
     this.btnEncriptar.Sensitive    = false;
     this.btnEncriptar.CanFocus     = true;
     this.btnEncriptar.Name         = "btnEncriptar";
     this.btnEncriptar.UseUnderline = true;
     // Container child btnEncriptar.Gtk.Container+ContainerChild
     global::Gtk.Alignment w39 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w40 = new global::Gtk.HBox();
     w40.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w41 = new global::Gtk.Image();
     w41.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-sort-descending", global::Gtk.IconSize.Menu);
     w40.Add(w41);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w43 = new global::Gtk.Label();
     w43.LabelProp    = global::Mono.Unix.Catalog.GetString("Encriptar");
     w43.UseUnderline = true;
     w40.Add(w43);
     w39.Add(w40);
     this.btnEncriptar.Add(w39);
     this.hbox8.Add(this.btnEncriptar);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnEncriptar]));
     w47.Position = 1;
     w47.Expand   = false;
     w47.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.hbuttonbox10      = new global::Gtk.HButtonBox();
     this.hbuttonbox10.Name = "hbuttonbox10";
     this.hbox8.Add(this.hbuttonbox10);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hbuttonbox10]));
     w48.Position = 2;
     this.vbox1.Add(this.hbox8);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8]));
     w49.Position = 1;
     w49.Expand   = false;
     w49.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.frame1            = new global::Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment5             = new global::Gtk.Alignment(0f, 0f, 1f, 1f);
     this.GtkAlignment5.Name        = "GtkAlignment5";
     this.GtkAlignment5.LeftPadding = ((uint)(12));
     this.GtkAlignment5.BorderWidth = ((uint)(6));
     // Container child GtkAlignment5.Gtk.Container+ContainerChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.lblConn           = new global::Gtk.Label();
     this.lblConn.Name      = "lblConn";
     this.lblConn.Xalign    = 1f;
     this.lblConn.LabelProp = global::Mono.Unix.Catalog.GetString("Cadena de conexión:");
     this.vbox3.Add(this.lblConn);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblConn]));
     w50.Position = 0;
     w50.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbuttonbox1             = new global::Gtk.VButtonBox();
     this.vbuttonbox1.Name        = "vbuttonbox1";
     this.vbuttonbox1.BorderWidth = ((uint)(18));
     this.vbox3.Add(this.vbuttonbox1);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vbuttonbox1]));
     w51.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.lblUser           = new global::Gtk.Label();
     this.lblUser.Name      = "lblUser";
     this.lblUser.Xalign    = 1f;
     this.lblUser.LabelProp = global::Mono.Unix.Catalog.GetString("Súper Usuario:");
     this.vbox3.Add(this.lblUser);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblUser]));
     w52.Position = 2;
     w52.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.lblPass           = new global::Gtk.Label();
     this.lblPass.Name      = "lblPass";
     this.lblPass.Xalign    = 1f;
     this.lblPass.LabelProp = global::Mono.Unix.Catalog.GetString("Contraseña:");
     this.vbox3.Add(this.lblPass);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblPass]));
     w53.Position = 3;
     w53.Fill     = false;
     this.hbox2.Add(this.vbox3);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3]));
     w54.Position = 0;
     w54.Expand   = false;
     w54.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.txvConn            = new global::Gtk.TextView();
     this.txvConn.Sensitive  = false;
     this.txvConn.CanFocus   = true;
     this.txvConn.Name       = "txvConn";
     this.txvConn.AcceptsTab = false;
     this.GtkScrolledWindow.Add(this.txvConn);
     this.vbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
     w56.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.txtUser               = new global::Gtk.Entry();
     this.txtUser.Sensitive     = false;
     this.txtUser.CanFocus      = true;
     this.txtUser.Name          = "txtUser";
     this.txtUser.IsEditable    = true;
     this.txtUser.WidthChars    = 36;
     this.txtUser.InvisibleChar = '●';
     this.hbox3.Add(this.txtUser);
     global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtUser]));
     w57.Position = 0;
     w57.Expand   = false;
     w57.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbuttonbox4      = new global::Gtk.HButtonBox();
     this.hbuttonbox4.Name = "hbuttonbox4";
     this.hbox3.Add(this.hbuttonbox4);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.hbuttonbox4]));
     w58.Position = 1;
     this.vbox2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w59.Position = 1;
     w59.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.txtPass               = new global::Gtk.Entry();
     this.txtPass.Sensitive     = false;
     this.txtPass.CanFocus      = true;
     this.txtPass.Name          = "txtPass";
     this.txtPass.IsEditable    = true;
     this.txtPass.WidthChars    = 36;
     this.txtPass.InvisibleChar = '●';
     this.hbox4.Add(this.txtPass);
     global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.txtPass]));
     w60.Position = 0;
     w60.Expand   = false;
     w60.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.hbuttonbox5             = new global::Gtk.HButtonBox();
     this.hbuttonbox5.Name        = "hbuttonbox5";
     this.hbuttonbox5.BorderWidth = ((uint)(12));
     this.hbox4.Add(this.hbuttonbox5);
     global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbuttonbox5]));
     w61.Position = 1;
     this.vbox2.Add(this.hbox4);
     global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4]));
     w62.Position = 2;
     w62.Expand   = false;
     w62.Fill     = false;
     this.hbox2.Add(this.vbox2);
     global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox2]));
     w63.Position = 1;
     this.GtkAlignment5.Add(this.hbox2);
     this.frame1.Add(this.GtkAlignment5);
     this.lblRecuadro           = new global::Gtk.Label();
     this.lblRecuadro.Name      = "lblRecuadro";
     this.lblRecuadro.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Datos del archivo: </b>");
     this.lblRecuadro.UseMarkup = true;
     this.frame1.LabelWidget    = this.lblRecuadro;
     this.vbox1.Add(this.frame1);
     global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
     w66.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusBar         = new global::Gtk.Statusbar();
     this.statusBar.Name    = "statusBar";
     this.statusBar.Spacing = 6;
     this.vbox1.Add(this.statusBar);
     global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusBar]));
     w67.Position = 3;
     w67.Expand   = false;
     w67.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 708;
     this.DefaultHeight = 411;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.fileChooser.SelectionChanged += new global::System.EventHandler(this.OnFileChooserSelectionChanged);
     this.btnDecrypt.Clicked           += new global::System.EventHandler(this.OnBtnDecryptClicked);
     this.txtFileName.TextInserted     += new global::Gtk.TextInsertedHandler(this.OnTxtFileNameTextInserted);
     this.btnNewFile.Clicked           += new global::System.EventHandler(this.OnBtnNewFileClicked);
     this.btnEncriptar.Clicked         += new global::System.EventHandler(this.OnBtnEncriptarClicked);
 }
Пример #18
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("moNotational Velocity");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(3));
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.searchbar               = new global::Gtk.Entry();
     this.searchbar.CanFocus      = true;
     this.searchbar.Name          = "searchbar";
     this.searchbar.IsEditable    = true;
     this.searchbar.InvisibleChar = '•';
     this.vbox1.Add(this.searchbar);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.searchbar]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 112;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.noteslist          = new global::Gtk.NodeView();
     this.noteslist.CanFocus = true;
     this.noteslist.Name     = "noteslist";
     this.GtkScrolledWindow1.Add(this.noteslist);
     this.vpaned1.Add(this.GtkScrolledWindow1);
     global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindow1]));
     w3.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.editor          = new global::Gtk.TextView();
     this.editor.CanFocus = true;
     this.editor.Name     = "editor";
     this.GtkScrolledWindow.Add(this.editor);
     this.vpaned1.Add(this.GtkScrolledWindow);
     this.vbox1.Add(this.vpaned1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vpaned1]));
     w6.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar         = new global::Gtk.Statusbar();
     this.statusbar.Name    = "statusbar";
     this.statusbar.Spacing = 6;
     this.vbox1.Add(this.statusbar);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 591;
     this.DefaultHeight = 415;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Пример #19
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget VAS.UI.Component.RenderingStateBarView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "VAS.UI.Component.RenderingStateBarView";
     // Container child VAS.UI.Component.RenderingStateBarView.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar3               = new global::Gtk.Statusbar();
     this.statusbar3.Name          = "statusbar3";
     this.statusbar3.Spacing       = 6;
     this.statusbar3.HasResizeGrip = false;
     // Container child statusbar3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.statebutton              = new global::Gtk.Button();
     this.statebutton.CanFocus     = true;
     this.statebutton.Name         = "statebutton";
     this.statebutton.UseUnderline = true;
     this.hbox1.Add(this.statebutton);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.statebutton]));
     w1.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressbar      = new global::Gtk.ProgressBar();
     this.progressbar.Name = "progressbar";
     this.hbox1.Add(this.progressbar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar]));
     w2.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.cancelbutton              = new global::Gtk.Button();
     this.cancelbutton.CanFocus     = true;
     this.cancelbutton.Name         = "cancelbutton";
     this.cancelbutton.UseUnderline = true;
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.cancelbutton.Image = w3;
     this.hbox1.Add(this.cancelbutton);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cancelbutton]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.statusbar3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.statusbar3 [this.hbox1]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox2.Add(this.statusbar3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar3]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.cancelbutton.Hide();
     this.Hide();
 }
Пример #20
0
    protected virtual void Build()
    {
        global::Stetic.Gui.Initialize(this);
        // Widget MainWIndow
        this.UIManager = new global::Gtk.UIManager();
        global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
        this.ArchivoAction            = new global::Gtk.Action("ArchivoAction", global::Mono.Unix.Catalog.GetString("Archivo"), null, null);
        this.ArchivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Archivo");
        w1.Add(this.ArchivoAction, null);
        this.EdicinAction            = new global::Gtk.Action("EdicinAction", global::Mono.Unix.Catalog.GetString("Edición"), null, null);
        this.EdicinAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edición");
        w1.Add(this.EdicinAction, null);
        this.BasesDeDatosAction            = new global::Gtk.Action("BasesDeDatosAction", global::Mono.Unix.Catalog.GetString("Bases de Datos"), null, null);
        this.BasesDeDatosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Bases de Datos");
        w1.Add(this.BasesDeDatosAction, null);
        this.OVAction            = new global::Gtk.Action("OVAction", global::Mono.Unix.Catalog.GetString("O.V"), null, null);
        this.OVAction.ShortLabel = global::Mono.Unix.Catalog.GetString("O.V");
        w1.Add(this.OVAction, null);
        this.AyudaAction            = new global::Gtk.Action("AyudaAction", global::Mono.Unix.Catalog.GetString("Ayuda"), null, null);
        this.AyudaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ayuda");
        w1.Add(this.AyudaAction, null);
        this.SalirAction            = new global::Gtk.Action("SalirAction", global::Mono.Unix.Catalog.GetString("Salir"), null, null);
        this.SalirAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir");
        w1.Add(this.SalirAction, null);
        this.closeAction            = new global::Gtk.Action("closeAction", global::Mono.Unix.Catalog.GetString("Salir"), null, "gtk-close");
        this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir");
        w1.Add(this.closeAction, null);
        this.addAction            = new global::Gtk.Action("addAction", global::Mono.Unix.Catalog.GetString("Añadir"), null, "gtk-add");
        this.addAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Añadir");
        w1.Add(this.addAction, null);
        this.UIManager.InsertActionGroup(w1, 0);
        this.AddAccelGroup(this.UIManager.AccelGroup);
        this.Name           = "MainWIndow";
        this.Title          = global::Mono.Unix.Catalog.GetString("IDNet Software");
        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
        // Container child MainWIndow.Gtk.Container+ContainerChild
        this.vbox1         = new global::Gtk.VBox();
        this.vbox1.Name    = "vbox1";
        this.vbox1.Spacing = 6;
        // Container child vbox1.Gtk.Box+BoxChild
        this.UIManager.AddUiFromString(@"<ui><menubar name='menubar2'><menu name='ArchivoAction' action='ArchivoAction'><menuitem name='closeAction' action='closeAction'/></menu><menu name='EdicinAction' action='EdicinAction'/><menu name='BasesDeDatosAction' action='BasesDeDatosAction'><menuitem name='addAction' action='addAction'/></menu><menu name='OVAction' action='OVAction'/><menu name='AyudaAction' action='AyudaAction'/></menubar></ui>");
        this.menubar2      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2")));
        this.menubar2.Name = "menubar2";
        this.vbox1.Add(this.menubar2);
        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar2]));
        w2.Position = 0;
        w2.Expand   = false;
        w2.Fill     = false;
        // Container child vbox1.Gtk.Box+BoxChild
        this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'/></ui>");
        this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
        this.toolbar1.Name      = "toolbar1";
        this.toolbar1.ShowArrow = false;
        this.vbox1.Add(this.toolbar1);
        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar1]));
        w3.Position = 1;
        w3.Expand   = false;
        w3.Fill     = false;
        // Container child vbox1.Gtk.Box+BoxChild
        this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
        this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
        this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
        // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
        this.statusView               = new global::Gtk.TextView();
        this.statusView.Buffer.Text   = @"Command: 001 - Solicitud de conexión con Pepe
Response: 004 - Conexión establecida
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Command: 002 - Solicitud de información sobre la BBDD empleados
Response: 005 - Información recibida
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Command: 003 - Solicitud de consulta sobre la BBDD empleados
Response: 006 - Consulta realizada
";
        this.statusView.CanFocus      = true;
        this.statusView.Name          = "statusView";
        this.statusView.Editable      = false;
        this.statusView.CursorVisible = false;
        this.statusView.AcceptsTab    = false;
        this.GtkScrolledWindow.Add(this.statusView);
        this.vbox1.Add(this.GtkScrolledWindow);
        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
        w5.Position = 2;
        // Container child vbox1.Gtk.Box+BoxChild
        this.hbox1         = new global::Gtk.HBox();
        this.hbox1.Name    = "hbox1";
        this.hbox1.Spacing = 6;
        // Container child hbox1.Gtk.Box+BoxChild
        this.vbox2         = new global::Gtk.VBox();
        this.vbox2.Name    = "vbox2";
        this.vbox2.Spacing = 6;
        // Container child vbox2.Gtk.Box+BoxChild
        this.button1              = new global::Gtk.Button();
        this.button1.CanFocus     = true;
        this.button1.Name         = "button1";
        this.button1.UseUnderline = true;
        this.button1.Label        = global::Mono.Unix.Catalog.GetString("GtkButton");
        this.vbox2.Add(this.button1);
        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.button1]));
        w6.Position = 0;
        w6.Expand   = false;
        w6.Fill     = false;
        // Container child vbox2.Gtk.Box+BoxChild
        this.button2              = new global::Gtk.Button();
        this.button2.CanFocus     = true;
        this.button2.Name         = "button2";
        this.button2.UseUnderline = true;
        this.button2.Label        = global::Mono.Unix.Catalog.GetString("GtkButton");
        this.vbox2.Add(this.button2);
        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.button2]));
        w7.Position = 1;
        w7.Expand   = false;
        w7.Fill     = false;
        // Container child vbox2.Gtk.Box+BoxChild
        this.button3              = new global::Gtk.Button();
        this.button3.CanFocus     = true;
        this.button3.Name         = "button3";
        this.button3.UseUnderline = true;
        this.button3.Label        = global::Mono.Unix.Catalog.GetString("GtkButton");
        this.vbox2.Add(this.button3);
        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.button3]));
        w8.Position = 2;
        w8.Expand   = false;
        w8.Fill     = false;
        this.hbox1.Add(this.vbox2);
        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
        w9.Position = 0;
        w9.Expand   = false;
        w9.Fill     = false;
        // Container child hbox1.Gtk.Box+BoxChild
        this.databasesTable               = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false);
        this.databasesTable.Name          = "databasesTable";
        this.databasesTable.RowSpacing    = ((uint)(6));
        this.databasesTable.ColumnSpacing = ((uint)(6));
        // Container child databasesTable.Gtk.Table+TableChild
        this.conexionLabel           = new global::Gtk.Label();
        this.conexionLabel.Name      = "conexionLabel";
        this.conexionLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Conexión");
        this.databasesTable.Add(this.conexionLabel);
        global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.databasesTable[this.conexionLabel]));
        w10.LeftAttach  = ((uint)(3));
        w10.RightAttach = ((uint)(4));
        w10.XOptions    = ((global::Gtk.AttachOptions)(4));
        w10.YOptions    = ((global::Gtk.AttachOptions)(4));
        // Container child databasesTable.Gtk.Table+TableChild
        this.nombreBBDDLabel           = new global::Gtk.Label();
        this.nombreBBDDLabel.Name      = "nombreBBDDLabel";
        this.nombreBBDDLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre BBDD");
        this.databasesTable.Add(this.nombreBBDDLabel);
        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.databasesTable[this.nombreBBDDLabel]));
        w11.XOptions = ((global::Gtk.AttachOptions)(4));
        w11.YOptions = ((global::Gtk.AttachOptions)(4));
        // Container child databasesTable.Gtk.Table+TableChild
        this.tipoBBDDLabel           = new global::Gtk.Label();
        this.tipoBBDDLabel.Name      = "tipoBBDDLabel";
        this.tipoBBDDLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Tipo BBDD");
        this.databasesTable.Add(this.tipoBBDDLabel);
        global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.databasesTable[this.tipoBBDDLabel]));
        w12.LeftAttach  = ((uint)(1));
        w12.RightAttach = ((uint)(2));
        w12.XOptions    = ((global::Gtk.AttachOptions)(4));
        w12.YOptions    = ((global::Gtk.AttachOptions)(4));
        // Container child databasesTable.Gtk.Table+TableChild
        this.usuarioLabel           = new global::Gtk.Label();
        this.usuarioLabel.Name      = "usuarioLabel";
        this.usuarioLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Usuario");
        this.databasesTable.Add(this.usuarioLabel);
        global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.databasesTable[this.usuarioLabel]));
        w13.LeftAttach  = ((uint)(2));
        w13.RightAttach = ((uint)(3));
        w13.XOptions    = ((global::Gtk.AttachOptions)(4));
        w13.YOptions    = ((global::Gtk.AttachOptions)(4));
        this.hbox1.Add(this.databasesTable);
        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.databasesTable]));
        w14.Position = 1;
        w14.Expand   = false;
        w14.Fill     = false;
        this.vbox1.Add(this.hbox1);
        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
        w15.Position = 3;
        w15.Expand   = false;
        w15.Fill     = false;
        // Container child vbox1.Gtk.Box+BoxChild
        this.statusbar2         = new global::Gtk.Statusbar();
        this.statusbar2.Name    = "statusbar2";
        this.statusbar2.Spacing = 6;
        // Container child statusbar2.Gtk.Box+BoxChild
        this.conexionesLabel           = new global::Gtk.Label();
        this.conexionesLabel.Name      = "conexionesLabel";
        this.conexionesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("0 conexiones");
        this.conexionesLabel.Justify   = ((global::Gtk.Justification)(2));
        this.statusbar2.Add(this.conexionesLabel);
        global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.statusbar2[this.conexionesLabel]));
        w16.Position = 1;
        w16.Expand   = false;
        w16.Fill     = false;
        // Container child statusbar2.Gtk.Box+BoxChild
        this.IDNetLabel           = new global::Gtk.Label();
        this.IDNetLabel.Name      = "IDNetLabel";
        this.IDNetLabel.LabelProp = global::Mono.Unix.Catalog.GetString("IDNet Software");
        this.IDNetLabel.Justify   = ((global::Gtk.Justification)(2));
        this.statusbar2.Add(this.IDNetLabel);
        global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.statusbar2[this.IDNetLabel]));
        w17.Position = 2;
        w17.Expand   = false;
        w17.Fill     = false;
        this.vbox1.Add(this.statusbar2);
        global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar2]));
        w18.Position = 4;
        w18.Expand   = false;
        w18.Fill     = false;
        this.Add(this.vbox1);
        if ((this.Child != null))
        {
            this.Child.ShowAll();
        }
        this.DefaultWidth  = 681;
        this.DefaultHeight = 485;
        this.Show();
        this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
    }
Пример #21
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.NewLanguageAction = new global::Gtk.Action ("NewLanguageAction", global::Mono.Unix.Catalog.GetString ("New Language"), null, null);
     this.NewLanguageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Language");
     w1.Add (this.NewLanguageAction, null);
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open");
     w1.Add (this.openAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save");
     w1.Add (this.saveAction, null);
     this.NewWordAction = new global::Gtk.Action ("NewWordAction", global::Mono.Unix.Catalog.GetString ("New word"), null, null);
     this.NewWordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New word");
     w1.Add (this.NewWordAction, "<Primary><Mod2>n");
     this.DeleteWordAction = new global::Gtk.Action ("DeleteWordAction", global::Mono.Unix.Catalog.GetString ("Delete word"), null, null);
     this.DeleteWordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Delete word");
     w1.Add (this.DeleteWordAction, "<Primary><Mod2>d");
     this.LanguagePropertiesAction = new global::Gtk.Action ("LanguagePropertiesAction", global::Mono.Unix.Catalog.GetString ("Language properties"), null, null);
     this.LanguagePropertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Language properties");
     w1.Add (this.LanguagePropertiesAction, "<Primary><Mod2>p");
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Lex 2: Electric Boogaloo");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewLanguageAction' action='NewLanguageAction'/><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='NewWordAction' action='NewWordAction'/><menuitem name='DeleteWordAction' action='DeleteWordAction'/><menuitem name='LanguagePropertiesAction' action='LanguagePropertiesAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("_Search");
     this.label6.UseUnderline = true;
     this.hbox3.Add (this.label6);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label6]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.searchEntry = new global::Gtk.Entry ();
     this.searchEntry.CanFocus = true;
     this.searchEntry.Name = "searchEntry";
     this.searchEntry.IsEditable = true;
     this.searchEntry.InvisibleChar = '•';
     this.hbox3.Add (this.searchEntry);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.searchEntry]));
     w4.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button2 = new global::Gtk.Button ();
     this.button2.CanFocus = true;
     this.button2.Name = "button2";
     this.button2.UseStock = true;
     this.button2.UseUnderline = true;
     this.button2.Label = "gtk-find";
     this.hbox3.Add (this.button2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button2]));
     w5.Position = 2;
     w5.Expand = false;
     w5.Fill = false;
     this.vbox1.Add (this.hbox3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned1 = new global::Gtk.HPaned ();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name = "hpaned1";
     this.hpaned1.Position = 296;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.wordList = new global::Gtk.TreeView ();
     this.wordList.CanFocus = true;
     this.wordList.Name = "wordList";
     this.GtkScrolledWindow1.Add (this.wordList);
     this.hpaned1.Add (this.GtkScrolledWindow1);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow1]));
     w8.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.currentWord = new global::LocalLexicon.WordWidget ();
     this.currentWord.Events = ((global::Gdk.EventMask)(256));
     this.currentWord.Name = "currentWord";
     this.hpaned1.Add (this.currentWord);
     this.vbox1.Add (this.hpaned1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
     w10.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w11.Position = 3;
     w11.Expand = false;
     w11.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 975;
     this.DefaultHeight = 738;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.NewLanguageAction.Activated += new global::System.EventHandler (this.OnNewActionActivated);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.NewWordAction.Activated += new global::System.EventHandler (this.OnNewWordActionActivated);
     this.DeleteWordAction.Activated += new global::System.EventHandler (this.OnDeleteWordActionActivated);
     this.LanguagePropertiesAction.Activated += new global::System.EventHandler (this.OnLanguagePropertiesActionActivated);
     this.searchEntry.Activated += new global::System.EventHandler (this.OnSearchEntryActivated);
     this.button2.Activated += new global::System.EventHandler (this.OnButton2Activated);
     this.wordList.CursorChanged += new global::System.EventHandler (this.OnWordListCursorChanged);
 }
Пример #22
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Template.TemplateWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.CloseAction            = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close");
     w1.Add(this.CloseAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.SettingsAction            = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null);
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings");
     w1.Add(this.SettingsAction, null);
     this.WindowStyleAction            = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null);
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style");
     w1.Add(this.WindowStyleAction, null);
     this.CustomStyleAction            = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0);
     this.CustomStyleAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE");
     w1.Add(this.CustomStyleAction, null);
     this.PlatformStyleAction                   = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction.Group             = this.CustomStyleAction.Group;
     this.PlatformStyleAction.Sensitive         = false;
     this.PlatformStyleAction.ShortLabel        = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction.Visible           = false;
     this.PlatformStyleAction.VisibleHorizontal = false;
     this.PlatformStyleAction.VisibleVertical   = false;
     this.PlatformStyleAction.VisibleOverflown  = false;
     w1.Add(this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction            = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0);
     this.DecoratedCustomStyleAction.Group      = this.PlatformStyleAction.Group;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE");
     w1.Add(this.DecoratedCustomStyleAction, null);
     this.PlatformStyleAction1            = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction1.Group      = this.PlatformStyleAction.Group;
     this.PlatformStyleAction1.Sensitive  = false;
     this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction1.Visible    = false;
     w1.Add(this.PlatformStyleAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Template.TemplateWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Decorated      = false;
     // Container child Template.TemplateWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("GtkButton");
     this.table1.Add(this.button1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.calendar2                = new global::Gtk.Calendar();
     this.calendar2.CanFocus       = true;
     this.calendar2.Name           = "calendar2";
     this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35));
     this.table1.Add(this.calendar2);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2]));
     w4.TopAttach    = ((uint)(6));
     w4.BottomAttach = ((uint)(7));
     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.combobox1 = global::Gtk.ComboBox.NewText();
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("young"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("strong"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("crazy"));
     this.combobox1.Name   = "combobox1";
     this.combobox1.Active = 0;
     this.table1.Add(this.combobox1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1]));
     w5.TopAttach    = ((uint)(3));
     w5.BottomAttach = ((uint)(4));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("young"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("strong"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("crazy"));
     this.comboboxentry1.Name   = "comboboxentry1";
     this.comboboxentry1.Active = 0;
     this.table1.Add(this.comboboxentry1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1]));
     w6.TopAttach    = ((uint)(4));
     w6.BottomAttach = ((uint)(5));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry1               = new global::Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.Text          = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '●';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // 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.textview1             = new global::Gtk.TextView();
     this.textview1.Buffer.Text = "Young, strong and crazy!";
     this.textview1.CanFocus    = true;
     this.textview1.Name        = "textview1";
     this.GtkScrolledWindow.Add(this.textview1);
     this.table1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w9.TopAttach    = ((uint)(6));
     w9.BottomAttach = ((uint)(7));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressbar1          = new global::Gtk.ProgressBar();
     this.progressbar1.Name     = "progressbar1";
     this.progressbar1.Fraction = 0.5D;
     this.table1.Add(this.progressbar1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1]));
     w11.TopAttach    = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton1          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name     = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10D;
     this.spinbutton1.ClimbRate = 1D;
     this.spinbutton1.Numeric   = true;
     this.table1.Add(this.spinbutton1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.togglebutton1              = new global::Gtk.ToggleButton();
     this.togglebutton1.CanFocus     = true;
     this.togglebutton1.Name         = "togglebutton1";
     this.togglebutton1.UseUnderline = true;
     this.togglebutton1.Label        = global::Mono.Unix.Catalog.GetString("GtkToggleButton");
     this.table1.Add(this.togglebutton1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1]));
     w13.TopAttach    = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton2               = new global::Gtk.CheckButton();
     this.checkbutton2.CanFocus      = true;
     this.checkbutton2.Name          = "checkbutton2";
     this.checkbutton2.Label         = global::Mono.Unix.Catalog.GetString("checkbutton2");
     this.checkbutton2.DrawIndicator = true;
     this.checkbutton2.UseUnderline  = true;
     this.vbox3.Add(this.checkbutton2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton3               = new global::Gtk.CheckButton();
     this.checkbutton3.CanFocus      = true;
     this.checkbutton3.Name          = "checkbutton3";
     this.checkbutton3.Label         = global::Mono.Unix.Catalog.GetString("checkbutton3");
     this.checkbutton3.DrawIndicator = true;
     this.checkbutton3.UseUnderline  = true;
     this.vbox3.Add(this.checkbutton3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton4               = new global::Gtk.CheckButton();
     this.checkbutton4.CanFocus      = true;
     this.checkbutton4.Name          = "checkbutton4";
     this.checkbutton4.Label         = global::Mono.Unix.Catalog.GetString("checkbutton4");
     this.checkbutton4.DrawIndicator = true;
     this.checkbutton4.UseUnderline  = true;
     this.vbox3.Add(this.checkbutton4);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.table1.Add(this.vbox3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3]));
     w17.TopAttach    = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton1               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton1"));
     this.radiobutton1.CanFocus      = true;
     this.radiobutton1.Name          = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline  = true;
     this.radiobutton1.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.vbox4.Add(this.radiobutton1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton2               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton2"));
     this.radiobutton2.CanFocus      = true;
     this.radiobutton2.Name          = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline  = true;
     this.radiobutton2.Group         = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton3               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton3"));
     this.radiobutton3.CanFocus      = true;
     this.radiobutton3.Name          = "radiobutton3";
     this.radiobutton3.DrawIndicator = true;
     this.radiobutton3.UseUnderline  = true;
     this.radiobutton3.Group         = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton3);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3]));
     w20.Position = 2;
     w20.Expand   = false;
     w20.Fill     = false;
     this.table1.Add(this.vbox4);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4]));
     w21.TopAttach    = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
     w22.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 483;
     this.DefaultHeight = 497;
     this.Show();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget DesktopAPP_APIPOST.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.TeenvioAction            = new global::Gtk.Action("TeenvioAction", global::Mono.Unix.Catalog.GetString("_Teenvio"), null, null);
     this.TeenvioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Teenvio");
     w1.Add(this.TeenvioAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.helpAction            = new global::Gtk.Action("helpAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-help");
     this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.helpAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction, null);
     this.ContactsAction            = new global::Gtk.Action("ContactsAction", global::Mono.Unix.Catalog.GetString("_Contacts"), null, null);
     this.ContactsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Contacts");
     w1.Add(this.ContactsAction, null);
     this.ListAction            = new global::Gtk.Action("ListAction", global::Mono.Unix.Catalog.GetString("List"), null, null);
     this.ListAction.ShortLabel = global::Mono.Unix.Catalog.GetString("List");
     w1.Add(this.ListAction, null);
     this.GroupsAction            = new global::Gtk.Action("GroupsAction", global::Mono.Unix.Catalog.GetString("Groups"), null, null);
     this.GroupsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Groups");
     w1.Add(this.GroupsAction, null);
     this.ImportAction            = new global::Gtk.Action("ImportAction", global::Mono.Unix.Catalog.GetString("Import"), null, null);
     this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Import");
     w1.Add(this.ImportAction, null);
     this.CampaingsAction            = new global::Gtk.Action("CampaingsAction", global::Mono.Unix.Catalog.GetString("Ca_mpaings"), null, null);
     this.CampaingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ca_mpaings");
     w1.Add(this.CampaingsAction, null);
     this.ListAction1            = new global::Gtk.Action("ListAction1", global::Mono.Unix.Catalog.GetString("List"), null, null);
     this.ListAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("List");
     w1.Add(this.ListAction1, null);
     this.NewAction            = new global::Gtk.Action("NewAction", global::Mono.Unix.Catalog.GetString("New"), null, null);
     this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New");
     w1.Add(this.NewAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "DesktopAPP_APIPOST.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Teenvio");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child DesktopAPP_APIPOST.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='TeenvioAction' action='TeenvioAction'><menuitem name='quitAction' action='quitAction'/></menu><menu name='ContactsAction' action='ContactsAction'><menuitem name='ListAction' action='ListAction'/><menuitem name='GroupsAction' action='GroupsAction'/><menuitem name='ImportAction' action='ImportAction'/></menu><menu name='CampaingsAction' action='CampaingsAction'><menuitem name='ListAction1' action='ListAction1'/><menuitem name='NewAction' action='NewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2             = new global::Gtk.HBox();
     this.hbox2.Name        = "hbox2";
     this.hbox2.Spacing     = 6;
     this.hbox2.BorderWidth = ((uint)(12));
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Last Campaigns");
     this.vbox3.Add(this.label3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label3]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.comboCampaigns      = global::Gtk.ComboBox.NewText();
     this.comboCampaigns.Name = "comboCampaigns";
     this.vbox3.Add(this.comboCampaigns);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.comboCampaigns]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox2.Add(this.vbox3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3]));
     w5.Position = 0;
     this.hbox2.Add(this.vbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.lblTableTitle           = new global::Gtk.Label();
     this.lblTableTitle.Name      = "lblTableTitle";
     this.lblTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Table");
     this.vbox4.Add(this.lblTableTitle);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblTableTitle]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.nodeviewTable          = new global::Gtk.NodeView();
     this.nodeviewTable.CanFocus = true;
     this.nodeviewTable.Name     = "nodeviewTable";
     this.GtkScrolledWindow.Add(this.nodeviewTable);
     this.vbox4.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow]));
     w9.Position = 1;
     this.hbox2.Add(this.vbox4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4]));
     w10.Position = 1;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w11.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1             = new global::Gtk.Statusbar();
     this.statusbar1.Name        = "statusbar1";
     this.statusbar1.Spacing     = 6;
     this.statusbar1.BorderWidth = ((uint)(1));
     // Container child statusbar1.Gtk.Box+BoxChild
     this.lblState           = new global::Gtk.Label();
     this.lblState.Name      = "lblState";
     this.lblState.Xalign    = 0F;
     this.lblState.LabelProp = global::Mono.Unix.Catalog.GetString("Ready");
     this.statusbar1.Add(this.lblState);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.lblState]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.lblStatusBarVersion           = new global::Gtk.Label();
     this.lblStatusBarVersion.Name      = "lblStatusBarVersion";
     this.lblStatusBarVersion.LabelProp = global::Mono.Unix.Catalog.GetString("Version:");
     this.statusbar1.Add(this.lblStatusBarVersion);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.lblStatusBarVersion]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w14.Position = 2;
     w14.Expand   = false;
     w14.Fill     = false;
     w14.Padding  = ((uint)(1));
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 607;
     this.DefaultHeight = 432;
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.quitAction.Activated  += new global::System.EventHandler(this.OnQuitActionActivated);
     this.ListAction1.Activated += new global::System.EventHandler(this.OnListAction1Activated);
 }
Пример #24
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget PackageViewerWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Select Transistor Package Directory"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Select Transistor Data Directory");
     w1.Add(this.openAction, null);
     this.saveAction            = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Export All Textures For Editing"), null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export All Files For Editing");
     w1.Add(this.saveAction, null);
     this.convertAction            = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("Convert Directory To Package"), null, "gtk-convert");
     this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Convert Files To Package");
     w1.Add(this.convertAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View");
     w1.Add(this.ViewAction, null);
     this.subtexturesAction            = new global::Gtk.ToggleAction("subtexturesAction", global::Mono.Unix.Catalog.GetString("Subtextures"), null, null);
     this.subtexturesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Subtextures");
     w1.Add(this.subtexturesAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "PackageViewerWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Psiga Package Viewer");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child PackageViewerWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='convertAction' action='convertAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='subtexturesAction' action='subtexturesAction'/></menu></menubar></ui>");
     this.menubar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar")));
     this.menubar.Name = "menubar";
     this.vbox1.Add(this.menubar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.packagewidget1        = new global::Psiga.PackageWidget();
     this.packagewidget1.Events = ((global::Gdk.EventMask)(256));
     this.packagewidget1.Name   = "packagewidget1";
     this.vbox1.Add(this.packagewidget1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.packagewidget1]));
     w3.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar         = new global::Gtk.Statusbar();
     this.statusbar.Name    = "statusbar";
     this.statusbar.Spacing = 6;
     // Container child statusbar.Gtk.Box+BoxChild
     this.progressbar      = new global::Gtk.ProgressBar();
     this.progressbar.Name = "progressbar";
     this.statusbar.Add(this.progressbar);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.statusbar [this.progressbar]));
     w4.Position = 1;
     this.vbox1.Add(this.statusbar);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar]));
     w5.PackType = ((global::Gtk.PackType)(1));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1550;
     this.DefaultHeight = 718;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Пример #25
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.open = new global::Gtk.Action ("open", null, null, "gtk-open");
     this.open.IsImportant = true;
     w1.Add (this.open, null);
     this.quit = new global::Gtk.Action ("quit", null, null, "gtk-quit");
     this.quit.IsImportant = true;
     w1.Add (this.quit, null);
     this.ForceHeapSnapshotAction = new global::Gtk.Action ("ForceHeapSnapshotAction", global::Mono.Unix.Catalog.GetString ("Force Heap Snapshot"), null, null);
     this.ForceHeapSnapshotAction.IsImportant = true;
     this.ForceHeapSnapshotAction.ShortLabel = "Memory snapshot";
     w1.Add (this.ForceHeapSnapshotAction, null);
     this.executeAction = new global::Gtk.Action ("executeAction", global::Mono.Unix.Catalog.GetString ("Run"), null, "gtk-execute");
     this.executeAction.IsImportant = true;
     this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run");
     w1.Add (this.executeAction, null);
     this.stopAction = new global::Gtk.Action ("stopAction", null, null, "gtk-stop");
     w1.Add (this.stopAction, null);
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.SnapshotAction = new global::Gtk.Action ("SnapshotAction", global::Mono.Unix.Catalog.GetString ("Snapshot"), null, null);
     this.SnapshotAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Snapshot");
     w1.Add (this.SnapshotAction, null);
     this.LoadHeapSnapshotsAction = new global::Gtk.Action ("LoadHeapSnapshotsAction", global::Mono.Unix.Catalog.GetString ("Load Heap Snapshots"), null, null);
     this.LoadHeapSnapshotsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Load Heap Snapshots");
     w1.Add (this.LoadHeapSnapshotsAction, null);
     this.ProfileAction = new global::Gtk.Action ("ProfileAction", global::Mono.Unix.Catalog.GetString ("Profile"), null, null);
     this.ProfileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Profile");
     w1.Add (this.ProfileAction, null);
     this.FileAction1 = new global::Gtk.Action ("FileAction1", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction1, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Heap Shot");
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction1' action='FileAction1'><menuitem name='open' action='open'/><separator/><menuitem name='quit' action='quit'/></menu><menu name='ProfileAction' action='ProfileAction'><menuitem name='executeAction' action='executeAction'/><menuitem name='stopAction' action='stopAction'/><separator/><menuitem name='ForceHeapSnapshotAction' action='ForceHeapSnapshotAction'/><menuitem name='LoadHeapSnapshotsAction' action='LoadHeapSnapshotsAction'/></menu><menu/></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='open' action='open'/><separator/><toolitem name='executeAction' action='executeAction'/><toolitem name='stopAction' action='stopAction'/><toolitem name='ForceHeapSnapshotAction' action='ForceHeapSnapshotAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.toolbar1.IconSize = ((global::Gtk.IconSize)(3));
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.viewer = new global::HeapShot.Gui.Widgets.ObjectMapViewer ();
     this.viewer.Events = ((global::Gdk.EventMask)(256));
     this.viewer.Name = "viewer";
     this.vbox1.Add (this.viewer);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.viewer]));
     w4.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 2;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w5.Position = 3;
     w5.Expand = false;
     w5.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 711;
     this.DefaultHeight = 466;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.open.Activated += new global::System.EventHandler (this.OnOpenActivated);
     this.quit.Activated += new global::System.EventHandler (this.OnQuitActivated);
     this.ForceHeapSnapshotAction.Activated += new global::System.EventHandler (this.OnMemorySnapshotActivated);
     this.executeAction.Activated += new global::System.EventHandler (this.OnExecuteActionActivated);
     this.stopAction.Activated += new global::System.EventHandler (this.OnStopActionActivated);
 }
Пример #26
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("SerialTest");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(10));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1             = new global::Gtk.Frame();
     this.frame1.Name        = "frame1";
     this.frame1.ShadowType  = ((global::Gtk.ShadowType)(2));
     this.frame1.BorderWidth = ((uint)(3));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     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));
     this.table1.BorderWidth   = ((uint)(9));
     // Container child table1.Gtk.Table+TableChild
     this.alignment1             = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name        = "alignment1";
     this.alignment1.LeftPadding = ((uint)(196));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.connectButton              = new global::Gtk.Button();
     this.connectButton.CanFocus     = true;
     this.connectButton.Name         = "connectButton";
     this.connectButton.UseStock     = true;
     this.connectButton.UseUnderline = true;
     this.connectButton.Label        = "gtk-connect";
     this.alignment1.Add(this.connectButton);
     this.table1.Add(this.alignment1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.alignment1]));
     w2.TopAttach    = ((uint)(2));
     w2.BottomAttach = ((uint)(3));
     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.baudRateComboBox = global::Gtk.ComboBox.NewText();
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("300"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("600"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("1200"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("2400"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("9600"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("14400"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("19200"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("38400"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("57600"));
     this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("115200"));
     this.baudRateComboBox.Name = "baudRateComboBox";
     this.table1.Add(this.baudRateComboBox);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.baudRateComboBox]));
     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.baudRateLabel           = new global::Gtk.Label();
     this.baudRateLabel.Name      = "baudRateLabel";
     this.baudRateLabel.Xalign    = 1F;
     this.baudRateLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Baud:");
     this.baudRateLabel.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.baudRateLabel);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.baudRateLabel]));
     w4.TopAttach    = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.XOptions     = ((global::Gtk.AttachOptions)(4));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.portLabel           = new global::Gtk.Label();
     this.portLabel.Name      = "portLabel";
     this.portLabel.Xalign    = 1F;
     this.portLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Port:");
     this.portLabel.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.portLabel);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.portLabel]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.portsComboBox      = global::Gtk.ComboBox.NewText();
     this.portsComboBox.Name = "portsComboBox";
     this.table1.Add(this.portsComboBox);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.portsComboBox]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.GtkAlignment.Add(this.table1);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel1           = new global::Gtk.Label();
     this.GtkLabel1.Name      = "GtkLabel1";
     this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Connection Settings</b>");
     this.GtkLabel1.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel1;
     this.vbox2.Add(this.frame1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     w9.Padding  = ((uint)(10));
     this.vbox1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     w10.Padding  = ((uint)(5));
     // Container child vbox1.Gtk.Box+BoxChild
     this.frame2            = new global::Gtk.Frame();
     this.frame2.Name       = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(2));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.table2               = new global::Gtk.Table(((uint)(12)), ((uint)(4)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 02");
     this.table2.Add(this.label1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 11");
     this.table2.Add(this.label10);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10]));
     w12.TopAttach    = ((uint)(9));
     w12.BottomAttach = ((uint)(10));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 12");
     this.table2.Add(this.label11);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11]));
     w13.TopAttach    = ((uint)(10));
     w13.BottomAttach = ((uint)(11));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 13");
     this.table2.Add(this.label12);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12]));
     w14.TopAttach    = ((uint)(11));
     w14.BottomAttach = ((uint)(12));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 03");
     this.table2.Add(this.label2);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2]));
     w15.TopAttach    = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 04");
     this.table2.Add(this.label3);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 05");
     this.table2.Add(this.label4);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4]));
     w17.TopAttach    = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 06");
     this.table2.Add(this.label5);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5]));
     w18.TopAttach    = ((uint)(4));
     w18.BottomAttach = ((uint)(5));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 07");
     this.table2.Add(this.label6);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6]));
     w19.TopAttach    = ((uint)(5));
     w19.BottomAttach = ((uint)(6));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 08");
     this.table2.Add(this.label7);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w20.TopAttach    = ((uint)(6));
     w20.BottomAttach = ((uint)(7));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 09");
     this.table2.Add(this.label8);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w21.TopAttach    = ((uint)(7));
     w21.BottomAttach = ((uint)(8));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 10");
     this.table2.Add(this.label9);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w22.TopAttach    = ((uint)(8));
     w22.BottomAttach = ((uint)(9));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pwmPinSlider10                          = new global::Gtk.HScale(null);
     this.pwmPinSlider10.CanFocus                 = true;
     this.pwmPinSlider10.Name                     = "pwmPinSlider10";
     this.pwmPinSlider10.Adjustment.Upper         = 255;
     this.pwmPinSlider10.Adjustment.PageIncrement = 10;
     this.pwmPinSlider10.Adjustment.StepIncrement = 1;
     this.pwmPinSlider10.DrawValue                = true;
     this.pwmPinSlider10.Digits                   = 0;
     this.pwmPinSlider10.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.table2.Add(this.pwmPinSlider10);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider10]));
     w23.TopAttach    = ((uint)(8));
     w23.BottomAttach = ((uint)(9));
     w23.LeftAttach   = ((uint)(2));
     w23.RightAttach  = ((uint)(3));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pwmPinSlider11                          = new global::Gtk.HScale(null);
     this.pwmPinSlider11.CanFocus                 = true;
     this.pwmPinSlider11.Name                     = "pwmPinSlider11";
     this.pwmPinSlider11.Adjustment.Upper         = 255;
     this.pwmPinSlider11.Adjustment.PageIncrement = 10;
     this.pwmPinSlider11.Adjustment.StepIncrement = 1;
     this.pwmPinSlider11.DrawValue                = true;
     this.pwmPinSlider11.Digits                   = 0;
     this.pwmPinSlider11.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.table2.Add(this.pwmPinSlider11);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider11]));
     w24.TopAttach    = ((uint)(9));
     w24.BottomAttach = ((uint)(10));
     w24.LeftAttach   = ((uint)(2));
     w24.RightAttach  = ((uint)(3));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pwmPinSlider3                          = new global::Gtk.HScale(null);
     this.pwmPinSlider3.CanFocus                 = true;
     this.pwmPinSlider3.Name                     = "pwmPinSlider3";
     this.pwmPinSlider3.Adjustment.Upper         = 255;
     this.pwmPinSlider3.Adjustment.PageIncrement = 10;
     this.pwmPinSlider3.Adjustment.StepIncrement = 1;
     this.pwmPinSlider3.DrawValue                = true;
     this.pwmPinSlider3.Digits                   = 0;
     this.pwmPinSlider3.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.table2.Add(this.pwmPinSlider3);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider3]));
     w25.TopAttach    = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.LeftAttach   = ((uint)(2));
     w25.RightAttach  = ((uint)(3));
     w25.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table2.Gtk.Table+TableChild
     this.pwmPinSlider5                          = new global::Gtk.HScale(null);
     this.pwmPinSlider5.CanFocus                 = true;
     this.pwmPinSlider5.Name                     = "pwmPinSlider5";
     this.pwmPinSlider5.Adjustment.Upper         = 255;
     this.pwmPinSlider5.Adjustment.PageIncrement = 10;
     this.pwmPinSlider5.Adjustment.StepIncrement = 1;
     this.pwmPinSlider5.DrawValue                = true;
     this.pwmPinSlider5.Digits                   = 0;
     this.pwmPinSlider5.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.table2.Add(this.pwmPinSlider5);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider5]));
     w26.TopAttach    = ((uint)(3));
     w26.BottomAttach = ((uint)(4));
     w26.LeftAttach   = ((uint)(2));
     w26.RightAttach  = ((uint)(3));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pwmPinSlider6                          = new global::Gtk.HScale(null);
     this.pwmPinSlider6.CanFocus                 = true;
     this.pwmPinSlider6.Name                     = "pwmPinSlider6";
     this.pwmPinSlider6.Adjustment.Upper         = 255;
     this.pwmPinSlider6.Adjustment.PageIncrement = 10;
     this.pwmPinSlider6.Adjustment.StepIncrement = 1;
     this.pwmPinSlider6.DrawValue                = true;
     this.pwmPinSlider6.Digits                   = 0;
     this.pwmPinSlider6.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.table2.Add(this.pwmPinSlider6);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider6]));
     w27.TopAttach    = ((uint)(4));
     w27.BottomAttach = ((uint)(5));
     w27.LeftAttach   = ((uint)(2));
     w27.RightAttach  = ((uint)(3));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pwmPinSlider9                          = new global::Gtk.HScale(null);
     this.pwmPinSlider9.CanFocus                 = true;
     this.pwmPinSlider9.Name                     = "pwmPinSlider9";
     this.pwmPinSlider9.Adjustment.Upper         = 255;
     this.pwmPinSlider9.Adjustment.PageIncrement = 10;
     this.pwmPinSlider9.Adjustment.StepIncrement = 1;
     this.pwmPinSlider9.DrawValue                = true;
     this.pwmPinSlider9.Digits                   = 0;
     this.pwmPinSlider9.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.table2.Add(this.pwmPinSlider9);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider9]));
     w28.TopAttach    = ((uint)(7));
     w28.BottomAttach = ((uint)(8));
     w28.LeftAttach   = ((uint)(2));
     w28.RightAttach  = ((uint)(3));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pwmValue10               = new global::Gtk.Entry();
     this.pwmValue10.CanFocus      = true;
     this.pwmValue10.Name          = "pwmValue10";
     this.pwmValue10.IsEditable    = true;
     this.pwmValue10.InvisibleChar = '•';
     this.table2.Add(this.pwmValue10);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue10]));
     w29.TopAttach    = ((uint)(8));
     w29.BottomAttach = ((uint)(9));
     w29.LeftAttach   = ((uint)(3));
     w29.RightAttach  = ((uint)(4));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pwmValue11               = new global::Gtk.Entry();
     this.pwmValue11.CanFocus      = true;
     this.pwmValue11.Name          = "pwmValue11";
     this.pwmValue11.IsEditable    = true;
     this.pwmValue11.InvisibleChar = '•';
     this.table2.Add(this.pwmValue11);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue11]));
     w30.TopAttach    = ((uint)(9));
     w30.BottomAttach = ((uint)(10));
     w30.LeftAttach   = ((uint)(3));
     w30.RightAttach  = ((uint)(4));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pwmValue3               = new global::Gtk.Entry();
     this.pwmValue3.CanFocus      = true;
     this.pwmValue3.Name          = "pwmValue3";
     this.pwmValue3.IsEditable    = true;
     this.pwmValue3.MaxLength     = 3;
     this.pwmValue3.InvisibleChar = '•';
     this.table2.Add(this.pwmValue3);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue3]));
     w31.TopAttach    = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.LeftAttach   = ((uint)(3));
     w31.RightAttach  = ((uint)(4));
     w31.XOptions     = ((global::Gtk.AttachOptions)(0));
     w31.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table2.Gtk.Table+TableChild
     this.pwmValue5               = new global::Gtk.Entry();
     this.pwmValue5.CanFocus      = true;
     this.pwmValue5.Name          = "pwmValue5";
     this.pwmValue5.IsEditable    = true;
     this.pwmValue5.InvisibleChar = '•';
     this.table2.Add(this.pwmValue5);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue5]));
     w32.TopAttach    = ((uint)(3));
     w32.BottomAttach = ((uint)(4));
     w32.LeftAttach   = ((uint)(3));
     w32.RightAttach  = ((uint)(4));
     w32.XOptions     = ((global::Gtk.AttachOptions)(0));
     w32.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table2.Gtk.Table+TableChild
     this.pwmValue6               = new global::Gtk.Entry();
     this.pwmValue6.CanFocus      = true;
     this.pwmValue6.Name          = "pwmValue6";
     this.pwmValue6.IsEditable    = true;
     this.pwmValue6.InvisibleChar = '•';
     this.table2.Add(this.pwmValue6);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue6]));
     w33.TopAttach    = ((uint)(4));
     w33.BottomAttach = ((uint)(5));
     w33.LeftAttach   = ((uint)(3));
     w33.RightAttach  = ((uint)(4));
     w33.XOptions     = ((global::Gtk.AttachOptions)(0));
     w33.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table2.Gtk.Table+TableChild
     this.pwmValue9               = new global::Gtk.Entry();
     this.pwmValue9.CanFocus      = true;
     this.pwmValue9.Name          = "pwmValue9";
     this.pwmValue9.IsEditable    = true;
     this.pwmValue9.InvisibleChar = '•';
     this.table2.Add(this.pwmValue9);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue9]));
     w34.TopAttach    = ((uint)(7));
     w34.BottomAttach = ((uint)(8));
     w34.LeftAttach   = ((uint)(3));
     w34.RightAttach  = ((uint)(4));
     w34.XOptions     = ((global::Gtk.AttachOptions)(0));
     w34.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin10              = new global::Gtk.ToggleButton();
     this.togglebuttonPin10.CanFocus     = true;
     this.togglebuttonPin10.Name         = "togglebuttonPin10";
     this.togglebuttonPin10.UseUnderline = true;
     this.togglebuttonPin10.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w35 = new global::Gtk.Image();
     w35.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin10.Image = w35;
     this.table2.Add(this.togglebuttonPin10);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin10]));
     w36.TopAttach    = ((uint)(8));
     w36.BottomAttach = ((uint)(9));
     w36.LeftAttach   = ((uint)(1));
     w36.RightAttach  = ((uint)(2));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin11              = new global::Gtk.ToggleButton();
     this.togglebuttonPin11.CanFocus     = true;
     this.togglebuttonPin11.Name         = "togglebuttonPin11";
     this.togglebuttonPin11.UseUnderline = true;
     this.togglebuttonPin11.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w37 = new global::Gtk.Image();
     w37.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin11.Image = w37;
     this.table2.Add(this.togglebuttonPin11);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin11]));
     w38.TopAttach    = ((uint)(9));
     w38.BottomAttach = ((uint)(10));
     w38.LeftAttach   = ((uint)(1));
     w38.RightAttach  = ((uint)(2));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin12              = new global::Gtk.ToggleButton();
     this.togglebuttonPin12.CanFocus     = true;
     this.togglebuttonPin12.Name         = "togglebuttonPin12";
     this.togglebuttonPin12.UseUnderline = true;
     this.togglebuttonPin12.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w39 = new global::Gtk.Image();
     w39.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin12.Image = w39;
     this.table2.Add(this.togglebuttonPin12);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin12]));
     w40.TopAttach    = ((uint)(10));
     w40.BottomAttach = ((uint)(11));
     w40.LeftAttach   = ((uint)(1));
     w40.RightAttach  = ((uint)(2));
     w40.XOptions     = ((global::Gtk.AttachOptions)(4));
     w40.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin13              = new global::Gtk.ToggleButton();
     this.togglebuttonPin13.CanFocus     = true;
     this.togglebuttonPin13.Name         = "togglebuttonPin13";
     this.togglebuttonPin13.UseUnderline = true;
     this.togglebuttonPin13.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w41 = new global::Gtk.Image();
     w41.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin13.Image = w41;
     this.table2.Add(this.togglebuttonPin13);
     global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin13]));
     w42.TopAttach    = ((uint)(11));
     w42.BottomAttach = ((uint)(12));
     w42.LeftAttach   = ((uint)(1));
     w42.RightAttach  = ((uint)(2));
     w42.XOptions     = ((global::Gtk.AttachOptions)(4));
     w42.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin2              = new global::Gtk.ToggleButton();
     this.togglebuttonPin2.CanFocus     = true;
     this.togglebuttonPin2.Name         = "togglebuttonPin2";
     this.togglebuttonPin2.UseUnderline = true;
     this.togglebuttonPin2.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w43 = new global::Gtk.Image();
     w43.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin2.Image = w43;
     this.table2.Add(this.togglebuttonPin2);
     global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin2]));
     w44.LeftAttach  = ((uint)(1));
     w44.RightAttach = ((uint)(2));
     w44.XOptions    = ((global::Gtk.AttachOptions)(4));
     w44.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin3              = new global::Gtk.ToggleButton();
     this.togglebuttonPin3.CanFocus     = true;
     this.togglebuttonPin3.Name         = "togglebuttonPin3";
     this.togglebuttonPin3.UseUnderline = true;
     this.togglebuttonPin3.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w45 = new global::Gtk.Image();
     w45.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin3.Image = w45;
     this.table2.Add(this.togglebuttonPin3);
     global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin3]));
     w46.TopAttach    = ((uint)(1));
     w46.BottomAttach = ((uint)(2));
     w46.LeftAttach   = ((uint)(1));
     w46.RightAttach  = ((uint)(2));
     w46.XOptions     = ((global::Gtk.AttachOptions)(4));
     w46.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin4              = new global::Gtk.ToggleButton();
     this.togglebuttonPin4.CanFocus     = true;
     this.togglebuttonPin4.Name         = "togglebuttonPin4";
     this.togglebuttonPin4.UseUnderline = true;
     this.togglebuttonPin4.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w47 = new global::Gtk.Image();
     w47.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin4.Image = w47;
     this.table2.Add(this.togglebuttonPin4);
     global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin4]));
     w48.TopAttach    = ((uint)(2));
     w48.BottomAttach = ((uint)(3));
     w48.LeftAttach   = ((uint)(1));
     w48.RightAttach  = ((uint)(2));
     w48.XOptions     = ((global::Gtk.AttachOptions)(4));
     w48.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin5              = new global::Gtk.ToggleButton();
     this.togglebuttonPin5.CanFocus     = true;
     this.togglebuttonPin5.Name         = "togglebuttonPin5";
     this.togglebuttonPin5.UseUnderline = true;
     this.togglebuttonPin5.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w49 = new global::Gtk.Image();
     w49.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin5.Image = w49;
     this.table2.Add(this.togglebuttonPin5);
     global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin5]));
     w50.TopAttach    = ((uint)(3));
     w50.BottomAttach = ((uint)(4));
     w50.LeftAttach   = ((uint)(1));
     w50.RightAttach  = ((uint)(2));
     w50.XOptions     = ((global::Gtk.AttachOptions)(4));
     w50.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin6              = new global::Gtk.ToggleButton();
     this.togglebuttonPin6.CanFocus     = true;
     this.togglebuttonPin6.Name         = "togglebuttonPin6";
     this.togglebuttonPin6.UseUnderline = true;
     this.togglebuttonPin6.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w51 = new global::Gtk.Image();
     w51.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin6.Image = w51;
     this.table2.Add(this.togglebuttonPin6);
     global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin6]));
     w52.TopAttach    = ((uint)(4));
     w52.BottomAttach = ((uint)(5));
     w52.LeftAttach   = ((uint)(1));
     w52.RightAttach  = ((uint)(2));
     w52.XOptions     = ((global::Gtk.AttachOptions)(4));
     w52.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin7              = new global::Gtk.ToggleButton();
     this.togglebuttonPin7.CanFocus     = true;
     this.togglebuttonPin7.Name         = "togglebuttonPin7";
     this.togglebuttonPin7.UseUnderline = true;
     this.togglebuttonPin7.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w53 = new global::Gtk.Image();
     w53.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin7.Image = w53;
     this.table2.Add(this.togglebuttonPin7);
     global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin7]));
     w54.TopAttach    = ((uint)(5));
     w54.BottomAttach = ((uint)(6));
     w54.LeftAttach   = ((uint)(1));
     w54.RightAttach  = ((uint)(2));
     w54.XOptions     = ((global::Gtk.AttachOptions)(4));
     w54.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin8              = new global::Gtk.ToggleButton();
     this.togglebuttonPin8.CanFocus     = true;
     this.togglebuttonPin8.Name         = "togglebuttonPin8";
     this.togglebuttonPin8.UseUnderline = true;
     this.togglebuttonPin8.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w55 = new global::Gtk.Image();
     w55.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin8.Image = w55;
     this.table2.Add(this.togglebuttonPin8);
     global::Gtk.Table.TableChild w56 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin8]));
     w56.TopAttach    = ((uint)(6));
     w56.BottomAttach = ((uint)(7));
     w56.LeftAttach   = ((uint)(1));
     w56.RightAttach  = ((uint)(2));
     w56.XOptions     = ((global::Gtk.AttachOptions)(4));
     w56.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.togglebuttonPin9              = new global::Gtk.ToggleButton();
     this.togglebuttonPin9.CanFocus     = true;
     this.togglebuttonPin9.Name         = "togglebuttonPin9";
     this.togglebuttonPin9.UseUnderline = true;
     this.togglebuttonPin9.Label        = global::Mono.Unix.Catalog.GetString("OFF");
     global::Gtk.Image w57 = new global::Gtk.Image();
     w57.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu);
     this.togglebuttonPin9.Image = w57;
     this.table2.Add(this.togglebuttonPin9);
     global::Gtk.Table.TableChild w58 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin9]));
     w58.TopAttach    = ((uint)(7));
     w58.BottomAttach = ((uint)(8));
     w58.LeftAttach   = ((uint)(1));
     w58.RightAttach  = ((uint)(2));
     w58.XOptions     = ((global::Gtk.AttachOptions)(4));
     w58.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.GtkAlignment1.Add(this.table2);
     this.frame2.Add(this.GtkAlignment1);
     this.GtkLabel14           = new global::Gtk.Label();
     this.GtkLabel14.Name      = "GtkLabel14";
     this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Control</b>");
     this.GtkLabel14.UseMarkup = true;
     this.frame2.LabelWidget   = this.GtkLabel14;
     this.vbox1.Add(this.frame2);
     global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame2]));
     w61.Position = 1;
     w61.Expand   = false;
     w61.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1             = new global::Gtk.Statusbar();
     this.statusbar1.Name        = "statusbar1";
     this.statusbar1.Homogeneous = true;
     this.statusbar1.Spacing     = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.statusCommandEntry               = new global::Gtk.Entry();
     this.statusCommandEntry.CanFocus      = true;
     this.statusCommandEntry.Name          = "statusCommandEntry";
     this.statusCommandEntry.IsEditable    = false;
     this.statusCommandEntry.InvisibleChar = '•';
     this.statusbar1.Add(this.statusCommandEntry);
     global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.statusCommandEntry]));
     w62.Position = 1;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w63.Position = 2;
     w63.Expand   = false;
     w63.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 512;
     this.DefaultHeight = 718;
     this.Show();
     this.DeleteEvent                 += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.portsComboBox.Changed       += new global::System.EventHandler(this.OnPortsComboBoxChanged);
     this.connectButton.Clicked       += new global::System.EventHandler(this.OnConnectButtonClicked);
     this.togglebuttonPin9.Toggled    += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin8.Toggled    += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin7.Toggled    += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin6.Toggled    += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin5.Toggled    += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin4.Toggled    += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin3.Toggled    += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin2.Toggled    += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin13.Toggled   += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin12.Toggled   += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin11.Toggled   += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.togglebuttonPin10.Toggled   += new global::System.EventHandler(this.OnToggleButtonPinToggled);
     this.pwmValue9.Changed           += new global::System.EventHandler(this.OnPwmEntryValueChanged);
     this.pwmValue6.Changed           += new global::System.EventHandler(this.OnPwmEntryValueChanged);
     this.pwmValue5.Changed           += new global::System.EventHandler(this.OnPwmEntryValueChanged);
     this.pwmValue3.Changed           += new global::System.EventHandler(this.OnPwmEntryValueChanged);
     this.pwmValue11.Changed          += new global::System.EventHandler(this.OnPwmEntryValueChanged);
     this.pwmValue10.Changed          += new global::System.EventHandler(this.OnPwmEntryValueChanged);
     this.pwmPinSlider9.ValueChanged  += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged);
     this.pwmPinSlider6.ValueChanged  += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged);
     this.pwmPinSlider5.ValueChanged  += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged);
     this.pwmPinSlider3.ValueChanged  += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged);
     this.pwmPinSlider11.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged);
     this.pwmPinSlider10.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged);
 }
Пример #27
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.WidthRequest   = 500;
     this.HeightRequest  = 500;
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Conversor de Bases\n");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(15));
     this.Resizable      = false;
     this.AllowGrow      = false;
     this.DefaultWidth   = 500;
     this.DefaultHeight  = 500;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.alignment3      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment3.Name = "alignment3";
     // Container child alignment3.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.textview2                  = new global::Gtk.TextView();
     this.textview2.Buffer.Text      = "Digite aqui o numero que deseja converter.";
     this.textview2.Sensitive        = false;
     this.textview2.CanFocus         = true;
     this.textview2.Name             = "textview2";
     this.textview2.Editable         = false;
     this.textview2.CursorVisible    = false;
     this.textview2.AcceptsTab       = false;
     this.textview2.WrapMode         = ((global::Gtk.WrapMode)(2));
     this.textview2.PixelsAboveLines = 5;
     this.hbox1.Add(this.textview2);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.textview2]));
     w1.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.num1 = new global::Gtk.Entry();
     global::Gtk.Tooltips w2 = new Gtk.Tooltips();
     w2.SetTip(this.num1, "Digite o numero para conversao.", "Digite o numero para conversao.");
     this.num1.WidthRequest  = 145;
     this.num1.CanFocus      = true;
     this.num1.Name          = "num1";
     this.num1.IsEditable    = true;
     this.num1.MaxLength     = 200;
     this.num1.InvisibleChar = '●';
     this.hbox1.Add(this.num1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.num1]));
     w3.Position = 1;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.textview3                  = new global::Gtk.TextView();
     this.textview3.Buffer.Text      = "Informe a base de origem do numero.";
     this.textview3.Sensitive        = false;
     this.textview3.CanFocus         = true;
     this.textview3.Name             = "textview3";
     this.textview3.Editable         = false;
     this.textview3.CursorVisible    = false;
     this.textview3.AcceptsTab       = false;
     this.textview3.WrapMode         = ((global::Gtk.WrapMode)(3));
     this.textview3.PixelsAboveLines = 6;
     this.hbox2.Add(this.textview3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.textview3]));
     w5.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.combobox1 = global::Gtk.ComboBox.NewText();
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("Base de origem"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("Binario"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("Octal"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("Decimal"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("Hexadecimal"));
     w2.SetTip(this.combobox1, "Base de Origem", "Base de Origem");
     this.combobox1.WidthRequest = 181;
     this.combobox1.Name         = "combobox1";
     this.combobox1.Active       = 0;
     this.hbox2.Add(this.combobox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.combobox1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.vbox2.Add(this.hbox2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.textview1                  = new global::Gtk.TextView();
     this.textview1.Buffer.Text      = "Informe a base de destino do numero";
     this.textview1.Sensitive        = false;
     this.textview1.CanFocus         = true;
     this.textview1.Name             = "textview1";
     this.textview1.Editable         = false;
     this.textview1.CursorVisible    = false;
     this.textview1.AcceptsTab       = false;
     this.textview1.WrapMode         = ((global::Gtk.WrapMode)(3));
     this.textview1.PixelsAboveLines = 6;
     this.hbox3.Add(this.textview1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.textview1]));
     w8.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.combobox2 = global::Gtk.ComboBox.NewText();
     this.combobox2.AppendText(global::Mono.Unix.Catalog.GetString("Base de destino"));
     this.combobox2.AppendText(global::Mono.Unix.Catalog.GetString("Binario"));
     this.combobox2.AppendText(global::Mono.Unix.Catalog.GetString("Octal"));
     this.combobox2.AppendText(global::Mono.Unix.Catalog.GetString("Decimal"));
     this.combobox2.AppendText(global::Mono.Unix.Catalog.GetString("Hexadecimal"));
     this.combobox2.WidthRequest = 181;
     this.combobox2.Name         = "combobox2";
     this.combobox2.Active       = 0;
     this.hbox3.Add(this.combobox2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.combobox2]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
     w10.Position = 2;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("Converter");
     this.hbox4.Add(this.button1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.button1]));
     w11.Position = 0;
     this.vbox2.Add(this.hbox4);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4]));
     w12.Position = 3;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox();
     this.vbox3.WidthRequest  = 500;
     this.vbox3.HeightRequest = 200;
     this.vbox3.Name          = "vbox3";
     this.vbox3.Spacing       = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow                 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name            = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType      = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow.WindowPlacement = ((global::Gtk.CornerType)(3));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview4 = new global::Gtk.TextView();
     this.textview4.WidthRequest  = 500;
     this.textview4.HeightRequest = 200;
     this.textview4.CanFocus      = true;
     this.textview4.Name          = "textview4";
     this.textview4.WrapMode      = ((global::Gtk.WrapMode)(3));
     this.GtkScrolledWindow.Add(this.textview4);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w14.Position = 0;
     this.vbox2.Add(this.vbox3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3]));
     w15.Position = 4;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.button2              = new global::Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     this.button2.Label        = global::Mono.Unix.Catalog.GetString("Sobre");
     this.statusbar1.Add(this.button2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.button2]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.vbox2.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar1]));
     w17.PackType = ((global::Gtk.PackType)(1));
     w17.Position = 5;
     w17.Expand   = false;
     w17.Fill     = false;
     this.alignment3.Add(this.vbox2);
     this.Add(this.alignment3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.num1.Changed    += new global::System.EventHandler(this.OnNum1Changed);
     this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked);
     this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked);
 }
Пример #28
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget NXTCamView.Gtk.Windows.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View");
     w1.Add(this.ViewAction, null);
     this.ToolsAction            = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tools");
     w1.Add(this.ToolsAction, null);
     this.WindowAction            = new global::Gtk.Action("WindowAction", global::Mono.Unix.Catalog.GetString("_Window"), null, null);
     this.WindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Window");
     w1.Add(this.WindowAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.aboutAction            = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.aboutAction, null);
     this.CheckAction            = new global::Gtk.Action("CheckAction", global::Mono.Unix.Catalog.GetString("Check "), null, null);
     this.CheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Check ");
     w1.Add(this.CheckAction, null);
     this.CaptureAction            = new global::Gtk.Action("CaptureAction", global::Mono.Unix.Catalog.GetString("Capture"), global::Mono.Unix.Catalog.GetString("Capture and image from the camera"), null);
     this.CaptureAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture");
     w1.Add(this.CaptureAction, null);
     this.openAction            = new global::Gtk.Action("openAction", null, null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open");
     w1.Add(this.openAction, null);
     this.saveAction            = new global::Gtk.Action("saveAction", null, null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save");
     w1.Add(this.saveAction, null);
     this.saveAsAction            = new global::Gtk.Action("saveAsAction", null, null, "gtk-save-as");
     this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save As");
     w1.Add(this.saveAsAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit");
     w1.Add(this.quitAction, null);
     this.ColorsAction            = new global::Gtk.Action("ColorsAction", global::Mono.Unix.Catalog.GetString("Colors"), null, null);
     this.ColorsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Colors");
     w1.Add(this.ColorsAction, null);
     this.TrackingAction            = new global::Gtk.Action("TrackingAction", global::Mono.Unix.Catalog.GetString("Tracking"), null, null);
     this.TrackingAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tracking");
     w1.Add(this.TrackingAction, null);
     this.PingAction            = new global::Gtk.Action("PingAction", global::Mono.Unix.Catalog.GetString("Ping"), null, null);
     this.PingAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ping");
     w1.Add(this.PingAction, null);
     this.connectAction = new global::Gtk.Action("connectAction", null, global::Mono.Unix.Catalog.GetString("Connect to NxtCam"), "gtk-connect");
     w1.Add(this.connectAction, null);
     this.disconnectAction = new global::Gtk.Action("disconnectAction", null, global::Mono.Unix.Catalog.GetString("Disconnect from NxtCam"), "gtk-disconnect");
     w1.Add(this.disconnectAction, null);
     this.EditAction            = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("_Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit");
     w1.Add(this.EditAction, null);
     this.preferencesAction            = new global::Gtk.Action("preferencesAction", global::Mono.Unix.Catalog.GetString("_Preferences"), global::Mono.Unix.Catalog.GetString("Open preferences"), "gtk-preferences");
     this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Preferences");
     w1.Add(this.preferencesAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "NXTCamView.Gtk.Windows.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("NXTCamView for Linux");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "camera", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child NXTCamView.Gtk.Windows.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='connectAction' action='connectAction'/><menuitem name='disconnectAction' action='disconnectAction'/><separator/><menuitem name='CaptureAction' action='CaptureAction'/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menu name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='ColorsAction' action='ColorsAction'/><menuitem name='TrackingAction' action='TrackingAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='PingAction' action='PingAction'/></menu><menu name='WindowAction' action='WindowAction'/><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='connectAction' action='connectAction'/><toolitem name='disconnectAction' action='disconnectAction'/><separator/><toolitem name='CaptureAction' action='CaptureAction'/><toolitem name='preferencesAction' action='preferencesAction'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar         = new global::Gtk.Statusbar();
     this.statusbar.Name    = "statusbar";
     this.statusbar.Spacing = 6;
     this.vbox1.Add(this.statusbar);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar]));
     w4.PackType = ((global::Gtk.PackType)(1));
     w4.Position = 3;
     w4.Expand   = false;
     w4.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 541;
     this.DefaultHeight = 300;
     this.Show();
     this.aboutAction.Activated       += new global::System.EventHandler(this.OnAboutActionActivated);
     this.CaptureAction.Activated     += new global::System.EventHandler(this.OnCaptureActionActivated);
     this.quitAction.Activated        += new global::System.EventHandler(this.OnQuitActionActivated);
     this.connectAction.Activated     += new global::System.EventHandler(this.OnConnectActionActivated);
     this.disconnectAction.Activated  += new global::System.EventHandler(this.OnDisconnectActionActivated);
     this.preferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated);
 }
Пример #29
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Locutus.View.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name          = "Locutus.View.MainWindow";
     this.Title         = global::Mono.Unix.Catalog.GetString("LTO Flash!");
     this.Icon          = global::Gdk.Pixbuf.LoadFromResource("LtoFlash.Resources.LTOFlashApplicationIcon.ico");
     this.DefaultWidth  = 1024;
     this.DefaultHeight = 768;
     // Container child Locutus.View.MainWindow.Gtk.Container+ContainerChild
     this._mainVBox         = new global::Gtk.VBox();
     this._mainVBox.Name    = "_mainVBox";
     this._mainVBox.Spacing = 6;
     // Container child _mainVBox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'_menubar\'/></ui>");
     this._menubar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/_menubar")));
     this._menubar.Name = "_menubar";
     this._mainVBox.Add(this._menubar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this._mainVBox[this._menubar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child _mainVBox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'_toolbar\'/></ui>");
     this._toolbar           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/_toolbar")));
     this._toolbar.Name      = "_toolbar";
     this._toolbar.ShowArrow = false;
     this._mainVBox.Add(this._toolbar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this._mainVBox[this._toolbar]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child _mainVBox.Gtk.Box+BoxChild
     this._mainHPaned          = new global::Gtk.HPaned();
     this._mainHPaned.CanFocus = true;
     this._mainHPaned.Name     = "_mainHPaned";
     this._mainHPaned.Position = 123;
     // Container child _mainHPaned.Gtk.Paned+PanedChild
     this._child1              = new global::Gtk.Button();
     this._child1.CanFocus     = true;
     this._child1.Name         = "_child1";
     this._child1.UseUnderline = true;
     this._child1.Label        = global::Mono.Unix.Catalog.GetString("placeholder");
     this._mainHPaned.Add(this._child1);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this._mainHPaned[this._child1]));
     w4.Resize = false;
     // Container child _mainHPaned.Gtk.Paned+PanedChild
     this._layoutsNotebook             = new global::Gtk.Notebook();
     this._layoutsNotebook.CanFocus    = true;
     this._layoutsNotebook.Name        = "_layoutsNotebook";
     this._layoutsNotebook.CurrentPage = 0;
     this._layoutsNotebook.TabPos      = ((global::Gtk.PositionType)(3));
     this._layoutsNotebook.ShowTabs    = false;
     // Notebook tab
     global::Gtk.Label w5 = new global::Gtk.Label();
     w5.Visible = true;
     this._layoutsNotebook.Add(w5);
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this._layoutsNotebook.SetTabLabel(w5, this.label1);
     this.label1.ShowAll();
     this._mainHPaned.Add(this._layoutsNotebook);
     this._mainVBox.Add(this._mainHPaned);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this._mainVBox[this._mainHPaned]));
     w7.Position = 2;
     // Container child _mainVBox.Gtk.Box+BoxChild
     this._statusbar         = new global::Gtk.Statusbar();
     this._statusbar.Name    = "_statusbar";
     this._statusbar.Spacing = 6;
     this._mainVBox.Add(this._statusbar);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this._mainVBox[this._statusbar]));
     w8.Position = 3;
     w8.Expand   = false;
     w8.Fill     = false;
     this.Add(this._mainVBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Пример #30
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Starter");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox9 = new global::Gtk.HBox ();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.labels_vbox = new global::Gtk.VBox ();
     this.labels_vbox.Name = "labels_vbox";
     this.labels_vbox.Homogeneous = true;
     this.labels_vbox.Spacing = 6;
     // Container child labels_vbox.Gtk.Box+BoxChild
     this.project_label = new global::Gtk.Label ();
     this.project_label.Name = "project_label";
     this.project_label.Xalign = 0F;
     this.project_label.LabelProp = global::Mono.Unix.Catalog.GetString ("Project:");
     this.labels_vbox.Add (this.project_label);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.project_label]));
     w1.Position = 0;
     w1.Fill = false;
     // Container child labels_vbox.Gtk.Box+BoxChild
     this.plarform_label = new global::Gtk.Label ();
     this.plarform_label.Name = "plarform_label";
     this.plarform_label.Xalign = 0F;
     this.plarform_label.LabelProp = global::Mono.Unix.Catalog.GetString ("Platform:");
     this.labels_vbox.Add (this.plarform_label);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.plarform_label]));
     w2.Position = 1;
     w2.Fill = false;
     // Container child labels_vbox.Gtk.Box+BoxChild
     this.build_label = new global::Gtk.Label ();
     this.build_label.Name = "build_label";
     this.build_label.Xalign = 0F;
     this.build_label.LabelProp = global::Mono.Unix.Catalog.GetString ("Build:");
     this.labels_vbox.Add (this.build_label);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.build_label]));
     w3.Position = 2;
     w3.Fill = false;
     // Container child labels_vbox.Gtk.Box+BoxChild
     this.host_label = new global::Gtk.Label ();
     this.host_label.Name = "host_label";
     this.host_label.Xalign = 0F;
     this.host_label.LabelProp = global::Mono.Unix.Catalog.GetString ("Host:");
     this.labels_vbox.Add (this.host_label);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.host_label]));
     w4.Position = 3;
     w4.Fill = false;
     this.hbox9.Add (this.labels_vbox);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.labels_vbox]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     w5.Padding = ((uint)(10));
     // Container child hbox9.Gtk.Box+BoxChild
     this.vbox7 = new global::Gtk.VBox ();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox10 = new global::Gtk.HBox ();
     this.hbox10.Name = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.project_entry = new global::Gtk.Entry ();
     this.project_entry.CanFocus = true;
     this.project_entry.Name = "project_entry";
     this.project_entry.IsEditable = true;
     this.project_entry.InvisibleChar = '●';
     this.hbox10.Add (this.project_entry);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.project_entry]));
     w6.Position = 0;
     // Container child hbox10.Gtk.Box+BoxChild
     this.project_button = new global::Gtk.Button ();
     this.project_button.CanFocus = true;
     this.project_button.Name = "project_button";
     this.project_button.UseUnderline = true;
     this.project_button.Label = global::Mono.Unix.Catalog.GetString ("...");
     this.hbox10.Add (this.project_button);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.project_button]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     this.vbox7.Add (this.hbox10);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox10]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.platform_combobox = global::Gtk.ComboBox.NewText ();
     this.platform_combobox.Name = "platform_combobox";
     this.vbox7.Add (this.platform_combobox);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.platform_combobox]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.build_combobox = global::Gtk.ComboBox.NewText ();
     this.build_combobox.Name = "build_combobox";
     this.vbox7.Add (this.build_combobox);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.build_combobox]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox11 = new global::Gtk.HBox ();
     this.hbox11.Name = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.host_entry = new global::Gtk.Entry ();
     this.host_entry.CanFocus = true;
     this.host_entry.Name = "host_entry";
     this.host_entry.Text = global::Mono.Unix.Catalog.GetString ("localhost");
     this.host_entry.IsEditable = true;
     this.host_entry.InvisibleChar = '●';
     this.hbox11.Add (this.host_entry);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.host_entry]));
     w11.Position = 0;
     // Container child hbox11.Gtk.Box+BoxChild
     this.button6 = new global::Gtk.Button ();
     this.button6.CanFocus = true;
     this.button6.Name = "button6";
     this.button6.UseUnderline = true;
     this.button6.Label = global::Mono.Unix.Catalog.GetString ("...");
     this.hbox11.Add (this.button6);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button6]));
     w12.Position = 1;
     w12.Expand = false;
     w12.Fill = false;
     this.vbox7.Add (this.hbox11);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox11]));
     w13.Position = 3;
     w13.Expand = false;
     w13.Fill = false;
     this.hbox9.Add (this.vbox7);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.vbox7]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     w14.Padding = ((uint)(10));
     this.vbox4.Add (this.hbox9);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9]));
     w15.Position = 0;
     w15.Expand = false;
     w15.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.run_button = new global::Gtk.Button ();
     this.run_button.CanFocus = true;
     this.run_button.Name = "run_button";
     this.run_button.UseUnderline = true;
     this.run_button.BorderWidth = ((uint)(27));
     this.run_button.Label = global::Mono.Unix.Catalog.GetString ("Run");
     this.vbox4.Add (this.run_button);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.run_button]));
     w16.Position = 1;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox4.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.statusbar1]));
     w17.Position = 2;
     w17.Expand = false;
     w17.Fill = false;
     this.Add (this.vbox4);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 301;
     this.DefaultHeight = 250;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.project_button.Clicked += new global::System.EventHandler (this.OnProjectButtonClicked);
     this.run_button.Clicked += new global::System.EventHandler (this.OnRunButtonClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget HFSGuardaDiretorio.gui.FrmImportarDiretorio
     this.WidthRequest   = 895;
     this.HeightRequest  = 572;
     this.Name           = "HFSGuardaDiretorio.gui.FrmImportarDiretorio";
     this.Title          = global::Mono.Unix.Catalog.GetString("Importando Diretório");
     this.TypeHint       = ((global::Gdk.WindowTypeHint)(4));
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Modal          = true;
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child HFSGuardaDiretorio.gui.FrmImportarDiretorio.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.memoImportaDir               = new global::Gtk.TextView();
     this.memoImportaDir.CanFocus      = true;
     this.memoImportaDir.Name          = "memoImportaDir";
     this.memoImportaDir.Editable      = false;
     this.memoImportaDir.CursorVisible = false;
     this.memoImportaDir.AcceptsTab    = false;
     this.GtkScrolledWindow.Add(this.memoImportaDir);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w2.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.pbImportar      = new global::Gtk.ProgressBar();
     this.pbImportar.Name = "pbImportar";
     this.vbox1.Add(this.pbImportar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.pbImportar]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.barraStatus1               = new global::Gtk.Statusbar();
     this.barraStatus1.Name          = "barraStatus1";
     this.barraStatus1.Spacing       = 6;
     this.barraStatus1.HasResizeGrip = false;
     this.hbox3.Add(this.barraStatus1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.barraStatus1]));
     w4.Position = 0;
     w4.Expand   = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.barraStatus2         = new global::Gtk.Statusbar();
     this.barraStatus2.Name    = "barraStatus2";
     this.barraStatus2.Spacing = 6;
     this.hbox3.Add(this.barraStatus2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.barraStatus2]));
     w5.Position = 1;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 895;
     this.DefaultHeight = 572;
     this.Show();
 }
Пример #32
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.WidthRequest = 525;
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Steg GUI");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.AllowGrow = false;
     this.AllowShrink = true;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook = new global::Gtk.Notebook ();
     this.notebook.CanFocus = true;
     this.notebook.Name = "notebook";
     this.notebook.CurrentPage = 0;
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame3 = new global::Gtk.Frame ();
     this.frame3.Name = "frame3";
     this.frame3.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox8 = new global::Gtk.VBox ();
     this.vbox8.Name = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.lblImageFile = new global::Gtk.Label ();
     this.lblImageFile.WidthRequest = 70;
     this.lblImageFile.Name = "lblImageFile";
     this.lblImageFile.LabelProp = global::Mono.Unix.Catalog.GetString ("Image File:");
     this.hbox2.Add (this.lblImageFile);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.lblImageFile]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.txtImageFilePathEmbed = new global::Gtk.Entry ();
     this.txtImageFilePathEmbed.CanFocus = true;
     this.txtImageFilePathEmbed.Name = "txtImageFilePathEmbed";
     this.txtImageFilePathEmbed.IsEditable = false;
     this.txtImageFilePathEmbed.InvisibleChar = '●';
     this.hbox4.Add (this.txtImageFilePathEmbed);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.txtImageFilePathEmbed]));
     w2.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.btnBrowseImageFile = new global::Gtk.Button ();
     this.btnBrowseImageFile.WidthRequest = 85;
     this.btnBrowseImageFile.CanFocus = true;
     this.btnBrowseImageFile.Name = "btnBrowseImageFile";
     this.btnBrowseImageFile.UseUnderline = true;
     this.btnBrowseImageFile.Label = global::Mono.Unix.Catalog.GetString ("Browse");
     this.hbox4.Add (this.btnBrowseImageFile);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnBrowseImageFile]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     this.hbox2.Add (this.hbox4);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbox4]));
     w4.Position = 1;
     this.vbox8.Add (this.hbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox2]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.hsepEmbedSrc = new global::Gtk.HSeparator ();
     this.hsepEmbedSrc.Name = "hsepEmbedSrc";
     this.vbox8.Add (this.hsepEmbedSrc);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hsepEmbedSrc]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.lblTextFile = new global::Gtk.Label ();
     this.lblTextFile.WidthRequest = 70;
     this.lblTextFile.Name = "lblTextFile";
     this.lblTextFile.LabelProp = global::Mono.Unix.Catalog.GetString ("Text File:");
     this.hbox3.Add (this.lblTextFile);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblTextFile]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.txtTextFilePathEmbed = new global::Gtk.Entry ();
     this.txtTextFilePathEmbed.CanFocus = true;
     this.txtTextFilePathEmbed.Name = "txtTextFilePathEmbed";
     this.txtTextFilePathEmbed.IsEditable = false;
     this.txtTextFilePathEmbed.InvisibleChar = '●';
     this.hbox5.Add (this.txtTextFilePathEmbed);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.txtTextFilePathEmbed]));
     w8.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.btnBrowseTextFile = new global::Gtk.Button ();
     this.btnBrowseTextFile.WidthRequest = 85;
     this.btnBrowseTextFile.CanFocus = true;
     this.btnBrowseTextFile.Name = "btnBrowseTextFile";
     this.btnBrowseTextFile.UseUnderline = true;
     this.btnBrowseTextFile.Label = global::Mono.Unix.Catalog.GetString ("Browse");
     this.hbox5.Add (this.btnBrowseTextFile);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.btnBrowseTextFile]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     this.hbox3.Add (this.hbox5);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox5]));
     w10.Position = 1;
     this.vbox8.Add (this.hbox3);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox3]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     this.GtkAlignment.Add (this.vbox8);
     this.frame3.Add (this.GtkAlignment);
     this.GtkLabelEmbedFiles = new global::Gtk.Label ();
     this.GtkLabelEmbedFiles.Name = "GtkLabelEmbedFiles";
     this.GtkLabelEmbedFiles.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Source Files</b>");
     this.GtkLabelEmbedFiles.UseMarkup = true;
     this.frame3.LabelWidget = this.GtkLabelEmbedFiles;
     this.vbox2.Add (this.frame3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame3]));
     w14.Position = 0;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame4 = new global::Gtk.Frame ();
     this.frame4.Name = "frame4";
     this.frame4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame4.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.lblPassword = new global::Gtk.Label ();
     this.lblPassword.WidthRequest = 70;
     this.lblPassword.Name = "lblPassword";
     this.lblPassword.LabelProp = global::Mono.Unix.Catalog.GetString ("Password:"******"txtPasswordEmbed";
     this.txtPasswordEmbed.IsEditable = true;
     this.txtPasswordEmbed.MaxLength = 16;
     this.txtPasswordEmbed.Visibility = false;
     this.txtPasswordEmbed.InvisibleChar = '●';
     this.hbox6.Add (this.txtPasswordEmbed);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.txtPasswordEmbed]));
     w16.Position = 1;
     this.GtkAlignment1.Add (this.hbox6);
     this.frame4.Add (this.GtkAlignment1);
     this.GtkLabelEncryptionEmbed = new global::Gtk.Label ();
     this.GtkLabelEncryptionEmbed.Name = "GtkLabelEncryptionEmbed";
     this.GtkLabelEncryptionEmbed.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Encryption</b>");
     this.GtkLabelEncryptionEmbed.UseMarkup = true;
     this.frame4.LabelWidget = this.GtkLabelEncryptionEmbed;
     this.vbox2.Add (this.frame4);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame4]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.fixedSpaceEmbed = new global::Gtk.Fixed ();
     this.fixedSpaceEmbed.Name = "fixedSpaceEmbed";
     this.fixedSpaceEmbed.HasWindow = false;
     this.hbox1.Add (this.fixedSpaceEmbed);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixedSpaceEmbed]));
     w20.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnEmbedClear = new global::Gtk.Button ();
     this.btnEmbedClear.WidthRequest = 100;
     this.btnEmbedClear.CanFocus = true;
     this.btnEmbedClear.Name = "btnEmbedClear";
     this.btnEmbedClear.UseUnderline = true;
     this.btnEmbedClear.Label = global::Mono.Unix.Catalog.GetString ("Clear");
     this.hbox1.Add (this.btnEmbedClear);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnEmbedClear]));
     w21.Position = 1;
     w21.Expand = false;
     w21.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnEmbed = new global::Gtk.Button ();
     this.btnEmbed.WidthRequest = 100;
     this.btnEmbed.CanFocus = true;
     this.btnEmbed.Name = "btnEmbed";
     this.btnEmbed.UseUnderline = true;
     this.btnEmbed.Label = global::Mono.Unix.Catalog.GetString ("Embed");
     this.hbox1.Add (this.btnEmbed);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnEmbed]));
     w22.Position = 2;
     w22.Expand = false;
     w22.Fill = false;
     w22.Padding = ((uint)(10));
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w23.Position = 2;
     w23.Expand = false;
     w23.Fill = false;
     this.notebook.Add (this.vbox2);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.WidthRequest = 75;
     this.label1.HeightRequest = 20;
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Embed");
     this.notebook.SetTabLabel (this.vbox2, this.label1);
     this.label1.ShowAll ();
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.hbox8 = new global::Gtk.HBox ();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.lblImageFileExtract = new global::Gtk.Label ();
     this.lblImageFileExtract.WidthRequest = 70;
     this.lblImageFileExtract.Name = "lblImageFileExtract";
     this.lblImageFileExtract.LabelProp = global::Mono.Unix.Catalog.GetString ("Image File:");
     this.hbox8.Add (this.lblImageFileExtract);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.lblImageFileExtract]));
     w25.Position = 0;
     w25.Expand = false;
     w25.Fill = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.txtImageFileExtract = new global::Gtk.Entry ();
     this.txtImageFileExtract.CanFocus = true;
     this.txtImageFileExtract.Name = "txtImageFileExtract";
     this.txtImageFileExtract.IsEditable = false;
     this.txtImageFileExtract.InvisibleChar = '●';
     this.hbox8.Add (this.txtImageFileExtract);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.txtImageFileExtract]));
     w26.Position = 1;
     // Container child hbox8.Gtk.Box+BoxChild
     this.btnBrowseExtractImageFile = new global::Gtk.Button ();
     this.btnBrowseExtractImageFile.WidthRequest = 85;
     this.btnBrowseExtractImageFile.CanFocus = true;
     this.btnBrowseExtractImageFile.Name = "btnBrowseExtractImageFile";
     this.btnBrowseExtractImageFile.UseUnderline = true;
     this.btnBrowseExtractImageFile.Label = global::Mono.Unix.Catalog.GetString ("Browse");
     this.hbox8.Add (this.btnBrowseExtractImageFile);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnBrowseExtractImageFile]));
     w27.Position = 2;
     w27.Expand = false;
     w27.Fill = false;
     this.GtkAlignment2.Add (this.hbox8);
     this.frame1.Add (this.GtkAlignment2);
     this.GtkLabelExtractFiles = new global::Gtk.Label ();
     this.GtkLabelExtractFiles.Name = "GtkLabelExtractFiles";
     this.GtkLabelExtractFiles.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Source Files</b>");
     this.GtkLabelExtractFiles.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabelExtractFiles;
     this.vbox3.Add (this.frame1);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame1]));
     w30.Position = 0;
     w30.Expand = false;
     w30.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator ();
     this.hseparator1.Name = "hseparator1";
     this.vbox3.Add (this.hseparator1);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator1]));
     w31.Position = 1;
     w31.Expand = false;
     w31.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame2 = new global::Gtk.Frame ();
     this.frame2.Name = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment3 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.hbox9 = new global::Gtk.HBox ();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.lblPasswordExtract = new global::Gtk.Label ();
     this.lblPasswordExtract.WidthRequest = 70;
     this.lblPasswordExtract.Name = "lblPasswordExtract";
     this.lblPasswordExtract.LabelProp = global::Mono.Unix.Catalog.GetString ("Password:"******"txtPasswordEncrypt";
     this.txtPasswordEncrypt.IsEditable = true;
     this.txtPasswordEncrypt.MaxLength = 16;
     this.txtPasswordEncrypt.Visibility = false;
     this.txtPasswordEncrypt.InvisibleChar = '●';
     this.hbox9.Add (this.txtPasswordEncrypt);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.txtPasswordEncrypt]));
     w33.Position = 1;
     this.GtkAlignment3.Add (this.hbox9);
     this.frame2.Add (this.GtkAlignment3);
     this.GtkLabelEncryptionExtract = new global::Gtk.Label ();
     this.GtkLabelEncryptionExtract.Name = "GtkLabelEncryptionExtract";
     this.GtkLabelEncryptionExtract.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Encryption</b>");
     this.GtkLabelEncryptionExtract.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabelEncryptionExtract;
     this.vbox4.Add (this.frame2);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.frame2]));
     w36.Position = 0;
     w36.Expand = false;
     w36.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.fixed1 = new global::Gtk.Fixed ();
     this.fixed1.Name = "fixed1";
     this.fixed1.HasWindow = false;
     this.hbox7.Add (this.fixed1);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.fixed1]));
     w37.Position = 0;
     // Container child hbox7.Gtk.Box+BoxChild
     this.btnExtractClear = new global::Gtk.Button ();
     this.btnExtractClear.WidthRequest = 100;
     this.btnExtractClear.CanFocus = true;
     this.btnExtractClear.Name = "btnExtractClear";
     this.btnExtractClear.UseUnderline = true;
     this.btnExtractClear.Label = global::Mono.Unix.Catalog.GetString ("Clear");
     this.hbox7.Add (this.btnExtractClear);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.btnExtractClear]));
     w38.Position = 1;
     w38.Expand = false;
     w38.Fill = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.btnExtract = new global::Gtk.Button ();
     this.btnExtract.WidthRequest = 100;
     this.btnExtract.CanFocus = true;
     this.btnExtract.Name = "btnExtract";
     this.btnExtract.UseUnderline = true;
     this.btnExtract.Label = global::Mono.Unix.Catalog.GetString ("Extract");
     this.hbox7.Add (this.btnExtract);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.btnExtract]));
     w39.Position = 2;
     w39.Expand = false;
     w39.Fill = false;
     w39.Padding = ((uint)(10));
     this.vbox4.Add (this.hbox7);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox7]));
     w40.Position = 1;
     w40.Expand = false;
     w40.Fill = false;
     this.vbox3.Add (this.vbox4);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox4]));
     w41.Position = 2;
     w41.Expand = false;
     w41.Fill = false;
     this.notebook.Add (this.vbox3);
     global::Gtk.Notebook.NotebookChild w42 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.vbox3]));
     w42.Position = 1;
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.WidthRequest = 75;
     this.label2.HeightRequest = 20;
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Extract");
     this.notebook.SetTabLabel (this.vbox3, this.label2);
     this.label2.ShowAll ();
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.lblAboutHeader = new global::Gtk.Label ();
     this.lblAboutHeader.HeightRequest = 50;
     this.lblAboutHeader.Name = "lblAboutHeader";
     this.lblAboutHeader.LabelProp = global::Mono.Unix.Catalog.GetString ("Steg GUI");
     this.vbox6.Add (this.lblAboutHeader);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.lblAboutHeader]));
     w43.Position = 0;
     w43.Expand = false;
     w43.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.lblLicense = new global::Gtk.Label ();
     this.lblLicense.Name = "lblLicense";
     this.lblLicense.LabelProp = global::Mono.Unix.Catalog.GetString ("This project is licensed under the MIT License.\nPlease see License.txt for more d" +
     "etails.");
     this.lblLicense.Justify = ((global::Gtk.Justification)(2));
     this.vbox6.Add (this.lblLicense);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.lblLicense]));
     w44.Position = 1;
     w44.Expand = false;
     w44.Fill = false;
     this.vbox5.Add (this.vbox6);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox6]));
     w45.Position = 0;
     w45.Expand = false;
     w45.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hseparator2 = new global::Gtk.HSeparator ();
     this.hseparator2.Name = "hseparator2";
     this.vbox5.Add (this.hseparator2);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hseparator2]));
     w46.Position = 1;
     w46.Expand = false;
     w46.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.vbox7 = new global::Gtk.VBox ();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.vbox9 = new global::Gtk.VBox ();
     this.vbox9.Name = "vbox9";
     this.vbox9.Spacing = 6;
     // Container child vbox9.Gtk.Box+BoxChild
     this.hbox10 = new global::Gtk.HBox ();
     this.hbox10.Name = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.lblProjectPage = new global::Gtk.Label ();
     this.lblProjectPage.WidthRequest = 80;
     this.lblProjectPage.Name = "lblProjectPage";
     this.lblProjectPage.LabelProp = global::Mono.Unix.Catalog.GetString ("Project Page:");
     this.lblProjectPage.Wrap = true;
     this.hbox10.Add (this.lblProjectPage);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.lblProjectPage]));
     w47.Position = 0;
     w47.Expand = false;
     w47.Fill = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.lblProjectLink = new global::Gtk.Label ();
     this.lblProjectLink.Name = "lblProjectLink";
     this.lblProjectLink.LabelProp = global::Mono.Unix.Catalog.GetString ("https://github.com/ertseyhan/Steg.git");
     this.lblProjectLink.Selectable = true;
     this.hbox10.Add (this.lblProjectLink);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.lblProjectLink]));
     w48.Position = 1;
     w48.Expand = false;
     w48.Fill = false;
     this.vbox9.Add (this.hbox10);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hbox10]));
     w49.Position = 0;
     w49.Expand = false;
     w49.Fill = false;
     this.vbox7.Add (this.vbox9);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.vbox9]));
     w50.Position = 0;
     w50.Expand = false;
     w50.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox11 = new global::Gtk.HBox ();
     this.hbox11.Name = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.lblContributor = new global::Gtk.Label ();
     this.lblContributor.WidthRequest = 80;
     this.lblContributor.Name = "lblContributor";
     this.lblContributor.LabelProp = global::Mono.Unix.Catalog.GetString ("Contributor:");
     this.lblContributor.Wrap = true;
     this.hbox11.Add (this.lblContributor);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.lblContributor]));
     w51.Position = 0;
     w51.Expand = false;
     w51.Fill = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.lblContributorText = new global::Gtk.Label ();
     this.lblContributorText.Name = "lblContributorText";
     this.lblContributorText.LabelProp = global::Mono.Unix.Catalog.GetString ("Ertuğrul Seyhan");
     this.hbox11.Add (this.lblContributorText);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.lblContributorText]));
     w52.Position = 1;
     w52.Expand = false;
     w52.Fill = false;
     this.vbox7.Add (this.hbox11);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox11]));
     w53.Position = 1;
     w53.Expand = false;
     w53.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.vbox10 = new global::Gtk.VBox ();
     this.vbox10.Name = "vbox10";
     this.vbox10.Spacing = 6;
     // Container child vbox10.Gtk.Box+BoxChild
     this.hbox12 = new global::Gtk.HBox ();
     this.hbox12.Name = "hbox12";
     this.hbox12.Spacing = 6;
     // Container child hbox12.Gtk.Box+BoxChild
     this.lblContact = new global::Gtk.Label ();
     this.lblContact.WidthRequest = 80;
     this.lblContact.Name = "lblContact";
     this.lblContact.LabelProp = global::Mono.Unix.Catalog.GetString ("Contact:");
     this.lblContact.Wrap = true;
     this.hbox12.Add (this.lblContact);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.lblContact]));
     w54.Position = 0;
     w54.Expand = false;
     w54.Fill = false;
     // Container child hbox12.Gtk.Box+BoxChild
     this.lblContactText = new global::Gtk.Label ();
     this.lblContactText.Name = "lblContactText";
     this.lblContactText.LabelProp = global::Mono.Unix.Catalog.GetString ("*****@*****.**");
     this.hbox12.Add (this.lblContactText);
     global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.lblContactText]));
     w55.Position = 1;
     w55.Expand = false;
     w55.Fill = false;
     this.vbox10.Add (this.hbox12);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox12]));
     w56.Position = 0;
     w56.Expand = false;
     w56.Fill = false;
     this.vbox7.Add (this.vbox10);
     global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.vbox10]));
     w57.Position = 2;
     w57.Expand = false;
     w57.Fill = false;
     this.vbox5.Add (this.vbox7);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox7]));
     w58.Position = 2;
     w58.Expand = false;
     w58.Fill = false;
     this.notebook.Add (this.vbox5);
     global::Gtk.Notebook.NotebookChild w59 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.vbox5]));
     w59.Position = 2;
     // Notebook tab
     this.label3 = new global::Gtk.Label ();
     this.label3.WidthRequest = 75;
     this.label3.HeightRequest = 20;
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("About");
     this.notebook.SetTabLabel (this.vbox5, this.label3);
     this.label3.ShowAll ();
     this.vbox1.Add (this.notebook);
     global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook]));
     w60.Position = 0;
     w60.Expand = false;
     w60.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusBar = new global::Gtk.Statusbar ();
     this.statusBar.Name = "statusBar";
     this.statusBar.Spacing = 6;
     this.statusBar.HasResizeGrip = false;
     this.vbox1.Add (this.statusBar);
     global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusBar]));
     w61.Position = 1;
     w61.Expand = false;
     w61.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 525;
     this.DefaultHeight = 257;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.btnBrowseImageFile.Clicked += new global::System.EventHandler (this.OnBtnBrowseImageFileClicked);
     this.btnBrowseTextFile.Clicked += new global::System.EventHandler (this.OnBtnBrowseTextFileClicked);
     this.btnEmbedClear.Clicked += new global::System.EventHandler (this.OnBtnEmbedClearClicked);
     this.btnEmbed.Clicked += new global::System.EventHandler (this.OnBtnEmbedClicked);
     this.btnBrowseExtractImageFile.Clicked += new global::System.EventHandler (this.OnBtnBrowseExtractImageFileClicked);
     this.btnExtractClear.Clicked += new global::System.EventHandler (this.OnBtnExtractClearClicked);
     this.btnExtract.Clicked += new global::System.EventHandler (this.OnBtnExtractClicked);
 }
Пример #33
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("Файл"), null, null);
     this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Файл");
     w1.Add (this.Action, null);
     this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("В_ыход"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("В_ыход");
     w1.Add (this.quitAction, null);
     this.Action14 = new global::Gtk.Action ("Action14", global::Mono.Unix.Catalog.GetString ("Справочники"), null, null);
     this.Action14.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справочники");
     w1.Add (this.Action14, null);
     this.Action16 = new global::Gtk.Action ("Action16", global::Mono.Unix.Catalog.GetString ("Справка"), null, null);
     this.Action16.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка");
     w1.Add (this.Action16, null);
     this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_О программе"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_О программе");
     w1.Add (this.aboutAction, null);
     this.Action9 = new global::Gtk.Action ("Action9", global::Mono.Unix.Catalog.GetString ("Номенклатура"), null, null);
     this.Action9.ShortLabel = global::Mono.Unix.Catalog.GetString ("Номенклатура");
     w1.Add (this.Action9, null);
     this.Action11 = new global::Gtk.Action ("Action11", global::Mono.Unix.Catalog.GetString ("Каркасы"), null, null);
     this.Action11.ShortLabel = global::Mono.Unix.Catalog.GetString ("Виды оснований");
     w1.Add (this.Action11, null);
     this.Action10 = new global::Gtk.Action ("Action10", global::Mono.Unix.Catalog.GetString ("Выставки"), null, null);
     this.Action10.ShortLabel = global::Mono.Unix.Catalog.GetString ("Типы компонентов");
     w1.Add (this.Action10, null);
     this.Action12 = new global::Gtk.Action ("Action12", global::Mono.Unix.Catalog.GetString ("Отделка кубов"), null, null);
     this.Action12.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отделка кубов");
     w1.Add (this.Action12, null);
     this.Action13 = new global::Gtk.Action ("Action13", global::Mono.Unix.Catalog.GetString ("Отделка фасадов"), null, null);
     this.Action13.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отделка фасадов");
     w1.Add (this.Action13, null);
     this.dialogAuthenticationAction = new global::Gtk.ToggleAction ("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString ("Административный режим"), null, "gtk-dialog-authentication");
     this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Административный режим");
     w1.Add (this.dialogAuthenticationAction, null);
     this.ActionPassword = new global::Gtk.Action ("ActionPassword", global::Mono.Unix.Catalog.GetString ("Изменить пароль"), null, "gtk-dialog-authentication");
     this.ActionPassword.ShortLabel = global::Mono.Unix.Catalog.GetString ("Изменить пароль");
     w1.Add (this.ActionPassword, null);
     this.Action15 = new global::Gtk.Action ("Action15", global::Mono.Unix.Catalog.GetString ("Кубы"), null, null);
     this.Action15.ShortLabel = global::Mono.Unix.Catalog.GetString ("Кубы");
     w1.Add (this.Action15, null);
     this.ActionSite = new global::Gtk.Action ("ActionSite", global::Mono.Unix.Catalog.GetString ("Посетить сайт"), null, null);
     this.ActionSite.ShortLabel = global::Mono.Unix.Catalog.GetString ("Посетить сайт");
     w1.Add (this.ActionSite, null);
     this.ActionHistory = new global::Gtk.Action ("ActionHistory", global::Mono.Unix.Catalog.GetString ("История версий"), null, null);
     this.ActionHistory.ShortLabel = global::Mono.Unix.Catalog.GetString ("История версий");
     w1.Add (this.ActionHistory, null);
     this.goUpAction = new global::Gtk.Action ("goUpAction", global::Mono.Unix.Catalog.GetString ("Проверить обновление..."), null, "gtk-go-up");
     this.goUpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Проверить обновление...");
     w1.Add (this.goUpAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("QS: Конфигуратор шкафа");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("CupboardDesigner.icons.logo.ico");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='Action' action='Action'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='ActionPassword' action='ActionPassword'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action14' action='Action14'><menuitem name='Action9' action='Action9'/><menuitem name='Action15' action='Action15'/><menuitem name='Action11' action='Action11'/><separator/><menuitem name='Action10' action='Action10'/><separator/><menuitem name='Action12' action='Action12'/><menuitem name='Action13' action='Action13'/></menu><menu name='Action16' action='Action16'><menuitem name='ActionSite' action='ActionSite'/><menuitem name='ActionHistory' action='ActionHistory'/><menuitem name='goUpAction' action='goUpAction'/><separator/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск:");
     this.hbox5.Add (this.label6);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label6]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.entrySearch = new global::Gtk.Entry ();
     this.entrySearch.CanFocus = true;
     this.entrySearch.Name = "entrySearch";
     this.entrySearch.IsEditable = true;
     this.entrySearch.InvisibleChar = '●';
     this.hbox5.Add (this.entrySearch);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.entrySearch]));
     w4.Position = 1;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonClearSearch = new global::Gtk.Button ();
     this.buttonClearSearch.CanFocus = true;
     this.buttonClearSearch.Name = "buttonClearSearch";
     this.buttonClearSearch.UseUnderline = true;
     global::Gtk.Image w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonClearSearch.Image = w5;
     this.hbox5.Add (this.buttonClearSearch);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonClearSearch]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox1.Add (this.hbox5);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox5]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewOrders = new global::Gtk.TreeView ();
     this.treeviewOrders.CanFocus = true;
     this.treeviewOrders.Name = "treeviewOrders";
     this.GtkScrolledWindow.Add (this.treeviewOrders);
     this.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w9.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonAdd = new global::Gtk.Button ();
     this.buttonAdd.CanFocus = true;
     this.buttonAdd.Name = "buttonAdd";
     this.buttonAdd.UseUnderline = true;
     this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString ("Новый заказ");
     global::Gtk.Image w10 = new global::Gtk.Image ();
     w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAdd.Image = w10;
     this.hbox4.Add (this.buttonAdd);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonAdd]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonEdit = new global::Gtk.Button ();
     this.buttonEdit.Sensitive = false;
     this.buttonEdit.CanFocus = true;
     this.buttonEdit.Name = "buttonEdit";
     this.buttonEdit.UseUnderline = true;
     this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString ("Изменить");
     global::Gtk.Image w12 = new global::Gtk.Image ();
     w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonEdit.Image = w12;
     this.hbox4.Add (this.buttonEdit);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonEdit]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCopy = new global::Gtk.Button ();
     this.buttonCopy.Sensitive = false;
     this.buttonCopy.CanFocus = true;
     this.buttonCopy.Name = "buttonCopy";
     this.buttonCopy.UseUnderline = true;
     this.buttonCopy.Label = global::Mono.Unix.Catalog.GetString ("Копировать");
     global::Gtk.Image w14 = new global::Gtk.Image ();
     w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-copy", global::Gtk.IconSize.Menu);
     this.buttonCopy.Image = w14;
     this.hbox4.Add (this.buttonCopy);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCopy]));
     w15.Position = 2;
     w15.Expand = false;
     w15.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonDel = new global::Gtk.Button ();
     this.buttonDel.Sensitive = false;
     this.buttonDel.CanFocus = true;
     this.buttonDel.Name = "buttonDel";
     this.buttonDel.UseUnderline = true;
     this.buttonDel.Label = global::Mono.Unix.Catalog.GetString ("Удалить");
     global::Gtk.Image w16 = new global::Gtk.Image ();
     w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.buttonDel.Image = w16;
     this.hbox4.Add (this.buttonDel);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonDel]));
     w17.Position = 3;
     w17.Expand = false;
     w17.Fill = false;
     this.vbox1.Add (this.hbox4);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4]));
     w18.Position = 3;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.labelStatus = new global::Gtk.Label ();
     this.labelStatus.Name = "labelStatus";
     this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     this.statusbar1.Add (this.labelStatus);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelStatus]));
     w19.Position = 2;
     w19.Expand = false;
     w19.Fill = false;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w20.Position = 4;
     w20.Expand = false;
     w20.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 725;
     this.DefaultHeight = 465;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated);
     this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated);
     this.Action9.Activated += new global::System.EventHandler (this.OnAction9Activated);
     this.Action11.Activated += new global::System.EventHandler (this.OnAction4Activated);
     this.Action10.Activated += new global::System.EventHandler (this.OnAction5Activated);
     this.Action12.Activated += new global::System.EventHandler (this.OnAction8Activated);
     this.Action13.Activated += new global::System.EventHandler (this.OnAction7Activated);
     this.dialogAuthenticationAction.Toggled += new global::System.EventHandler (this.OnDialogAuthenticationActionToggled);
     this.ActionPassword.Activated += new global::System.EventHandler (this.OnActionPasswordActivated);
     this.Action15.Activated += new global::System.EventHandler (this.OnAction15Activated);
     this.ActionSite.Activated += new global::System.EventHandler (this.OnActionSiteActivated);
     this.ActionHistory.Activated += new global::System.EventHandler (this.OnActionHistoryActivated);
     this.goUpAction.Activated += new global::System.EventHandler (this.OnActionUpdateActivated);
     this.entrySearch.Changed += new global::System.EventHandler (this.OnEntrySearchChanged);
     this.buttonClearSearch.Clicked += new global::System.EventHandler (this.OnButtonClearSearchClicked);
     this.treeviewOrders.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewOrdersRowActivated);
     this.buttonAdd.Clicked += new global::System.EventHandler (this.OnButtonAddClicked);
     this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked);
     this.buttonCopy.Clicked += new global::System.EventHandler (this.OnButtonCopyClicked);
     this.buttonDel.Clicked += new global::System.EventHandler (this.OnButtonDelClicked);
 }
Пример #34
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.stopAction = new global::Gtk.Action ("stopAction", global::Mono.Unix.Catalog.GetString ("_Stop"), null, "gtk-stop");
     this.stopAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Stop");
     w1.Add (this.stopAction, null);
     this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new");
     w1.Add (this.newAction, null);
     this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play");
     w1.Add (this.mediaPlayAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("aXon WorkBench");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-home", global::Gtk.IconSize.Dialog);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar2\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" +
     "m name=\'stopAction\' action=\'stopAction\'/></menu></menubar></ui>");
     this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.vbox1.Add (this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar1\'><toolitem name=\'newAction\' action=\'newAction\'/><tool" +
     "item name=\'mediaPlayAction\' action=\'mediaPlayAction\'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vpaned1 = new global::Gtk.VPaned ();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name = "vpaned1";
     this.vpaned1.Position = 1;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.vpaned2 = new global::Gtk.VPaned ();
     this.vpaned2.CanFocus = true;
     this.vpaned2.Name = "vpaned2";
     this.vpaned2.Position = 1;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.frame5 = new global::Gtk.Frame ();
     this.frame5.Name = "frame5";
     this.frame5.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame5.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     this.frame5.Add (this.GtkAlignment2);
     this.GtkLabel5 = new global::Gtk.Label ();
     this.GtkLabel5.Name = "GtkLabel5";
     this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Jobs</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame5.LabelWidget = this.GtkLabel5;
     this.vpaned2.Add (this.frame5);
     global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.frame5]));
     w5.Resize = false;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.frame4 = new global::Gtk.Frame ();
     this.frame4.Name = "frame4";
     this.frame4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame4.Gtk.Container+ContainerChild
     this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.WidthRequest = 400;
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.txtProgress = new global::Gtk.TextView ();
     this.txtProgress.CanFocus = true;
     this.txtProgress.Name = "txtProgress";
     this.GtkScrolledWindow1.Add (this.txtProgress);
     this.GtkAlignment.Add (this.GtkScrolledWindow1);
     this.frame4.Add (this.GtkAlignment);
     this.GtkLabel3 = new global::Gtk.Label ();
     this.GtkLabel3.Name = "GtkLabel3";
     this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Progress Messages</b>");
     this.GtkLabel3.UseMarkup = true;
     this.frame4.LabelWidget = this.GtkLabel3;
     this.vpaned2.Add (this.frame4);
     this.vpaned1.Add (this.vpaned2);
     global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vpaned2]));
     w10.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.frame3 = new global::Gtk.Frame ();
     this.frame3.Name = "frame3";
     this.frame3.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.txtLog = new global::Gtk.TextView ();
     this.txtLog.CanFocus = true;
     this.txtLog.Name = "txtLog";
     this.GtkScrolledWindow.Add (this.txtLog);
     this.GtkAlignment1.Add (this.GtkScrolledWindow);
     this.frame3.Add (this.GtkAlignment1);
     this.GtkLabel4 = new global::Gtk.Label ();
     this.GtkLabel4.Name = "GtkLabel4";
     this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Message Log</b>");
     this.GtkLabel4.UseMarkup = true;
     this.frame3.LabelWidget = this.GtkLabel4;
     this.vpaned1.Add (this.frame3);
     this.hbox1.Add (this.vpaned1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vpaned1]));
     w15.Position = 0;
     w15.Expand = false;
     w15.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.notebook = new global::Gtk.Notebook ();
     this.notebook.CanFocus = true;
     this.notebook.Name = "notebook";
     this.notebook.CurrentPage = 0;
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     this.hbox2.Add (this.vbox3);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
     w16.Position = 1;
     this.notebook.Add (this.hbox2);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Welcome");
     this.notebook.SetTabLabel (this.hbox2, this.label1);
     this.label1.ShowAll ();
     this.hbox1.Add (this.notebook);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.notebook]));
     w18.Position = 1;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w19.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w20.Position = 3;
     w20.Expand = false;
     w20.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 913;
     this.DefaultHeight = 353;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.DestroyEvent += new global::Gtk.DestroyEventHandler (this.OnDestroy);
     this.stopAction.Activated += new global::System.EventHandler (this.StopApp);
     this.newAction.Activated += new global::System.EventHandler (this.AddNewJob);
     this.mediaPlayAction.Activated += new global::System.EventHandler (this.RunTasks);
 }
Пример #35
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File");
     w1.Add (this.FileAction, null);
     this.AnalysisAction = new global::Gtk.Action ("AnalysisAction", global::Mono.Unix.Catalog.GetString ("_Analysis"), null, null);
     this.AnalysisAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Analysis");
     w1.Add (this.AnalysisAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.HelpAction, null);
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open Image"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open");
     w1.Add (this.openAction, null);
     this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.quitAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Stegalicious");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='AnalysisAction' action='AnalysisAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     global::Gtk.Viewport w3 = new global::Gtk.Viewport ();
     w3.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport ();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport2.Gtk.Container+ContainerChild
     this.originalImage = new global::Gtk.Image ();
     this.originalImage.Name = "originalImage";
     w4.Add (this.originalImage);
     this.GtkScrolledWindow2.Add (w4);
     this.GtkAlignment.Add (this.GtkScrolledWindow2);
     this.frame1.Add (this.GtkAlignment);
     this.GtkLabel4 = new global::Gtk.Label ();
     this.GtkLabel4.Name = "GtkLabel4";
     this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Original Image</b>");
     this.GtkLabel4.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel4;
     w3.Add (this.frame1);
     this.GtkScrolledWindow.Add (w3);
     this.hbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow]));
     w11.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.frame2 = new global::Gtk.Frame ();
     this.frame2.Name = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w12 = new global::Gtk.Viewport ();
     w12.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow3.Name = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     global::Gtk.Viewport w13 = new global::Gtk.Viewport ();
     w13.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport3.Gtk.Container+ContainerChild
     this.image2 = new global::Gtk.Image ();
     this.image2.Name = "image2";
     w13.Add (this.image2);
     this.GtkScrolledWindow3.Add (w13);
     this.GtkAlignment1.Add (this.GtkScrolledWindow3);
     w12.Add (this.GtkAlignment1);
     this.GtkScrolledWindow1.Add (w12);
     this.frame2.Add (this.GtkScrolledWindow1);
     this.GtkLabel5 = new global::Gtk.Label ();
     this.GtkLabel5.Name = "GtkLabel5";
     this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Output Image</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel5;
     this.hbox1.Add (this.frame2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frame2]));
     w20.Position = 1;
     w20.Expand = false;
     w20.Fill = false;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w21.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.frame3 = new global::Gtk.Frame ();
     this.frame3.Name = "frame3";
     this.frame3.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     this.frame3.Add (this.GtkAlignment2);
     this.GtkLabel6 = new global::Gtk.Label ();
     this.GtkLabel6.Name = "GtkLabel6";
     this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Information</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame3.LabelWidget = this.GtkLabel6;
     this.hbox2.Add (this.frame3);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.frame3]));
     w23.Position = 0;
     w23.Expand = false;
     w23.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.frame4 = new global::Gtk.Frame ();
     this.frame4.Name = "frame4";
     this.frame4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame4.Gtk.Container+ContainerChild
     this.GtkAlignment3 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     this.frame4.Add (this.GtkAlignment3);
     this.GtkLabel7 = new global::Gtk.Label ();
     this.GtkLabel7.Name = "GtkLabel7";
     this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Options</b>");
     this.GtkLabel7.UseMarkup = true;
     this.frame4.LabelWidget = this.GtkLabel7;
     this.hbox2.Add (this.frame4);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.frame4]));
     w25.Position = 1;
     w25.Expand = false;
     w25.Fill = false;
     this.vbox2.Add (this.hbox2);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w26.Position = 1;
     this.vbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w27.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w28.Position = 2;
     w28.Expand = false;
     w28.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 882;
     this.DefaultHeight = 688;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
 }
Пример #36
0
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget tacticalProxy
		this.UIManager = new global::Gtk.UIManager ();
		global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
		this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play");
		w1.Add (this.mediaPlayAction, null);
		this.Action = new global::Gtk.Action ("Action", null, null, null);
		w1.Add (this.Action, null);
		this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
		this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("&File");
		w1.Add (this.FileAction, null);
		this.connectAction = new global::Gtk.Action ("connectAction", global::Mono.Unix.Catalog.GetString ("Start Listening"), global::Mono.Unix.Catalog.GetString ("Start Listening"), "gtk-connect");
		this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Start Listening");
		w1.Add (this.connectAction, null);
		this.disconnectAction = new global::Gtk.Action ("disconnectAction", global::Mono.Unix.Catalog.GetString ("Stop Listening"), null, "gtk-disconnect");
		this.disconnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Stop Listening");
		w1.Add (this.disconnectAction, null);
		this.mediaPlayAction1 = new global::Gtk.Action ("mediaPlayAction1", global::Mono.Unix.Catalog.GetString ("Start Capture"), null, "gtk-media-play");
		this.mediaPlayAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Start Capture");
		w1.Add (this.mediaPlayAction1, null);
		this.stopAction = new global::Gtk.Action ("stopAction", global::Mono.Unix.Catalog.GetString ("Stop Capture"), null, "gtk-stop");
		this.stopAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Stop Capture");
		w1.Add (this.stopAction, null);
		this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null);
		this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("&Edit");
		w1.Add (this.EditAction, null);
		this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("Preferences"), null, "gtk-preferences");
		this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Preferences");
		w1.Add (this.preferencesAction, null);
		this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null);
		this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View");
		w1.Add (this.ViewAction, null);
		this.findAction = new global::Gtk.Action ("findAction", global::Mono.Unix.Catalog.GetString ("Create Filter"), null, "gtk-find");
		this.findAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create Filter");
		w1.Add (this.findAction, null);
		this.mediaPlayAction2 = new global::Gtk.ToggleAction ("mediaPlayAction2", global::Mono.Unix.Catalog.GetString ("Toggle Listening"), global::Mono.Unix.Catalog.GetString ("Toggle Listening"), "gtk-media-play");
		this.mediaPlayAction2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Toggle Listening");
		w1.Add (this.mediaPlayAction2, null);
		this.mediaRecordAction = new global::Gtk.ToggleAction ("mediaRecordAction", global::Mono.Unix.Catalog.GetString ("Toggle Capture"), global::Mono.Unix.Catalog.GetString ("Toggle Capture"), "gtk-media-record");
		this.mediaRecordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Toggle Capture");
		w1.Add (this.mediaRecordAction, null);
		this.UIManager.InsertActionGroup (w1, 0);
		this.AddAccelGroup (this.UIManager.AccelGroup);
		this.Name = "tacticalProxy";
		this.Title = global::Mono.Unix.Catalog.GetString ("tProxy");
		this.Icon = global::Gdk.Pixbuf.LoadFromResource ("meticulus.controls.gtk.images.tacticalProxy.png");
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		this.AllowShrink = true;
		this.DefaultWidth = 800;
		this.DefaultHeight = 600;
		// Container child tacticalProxy.Gtk.Container+ContainerChild
		this.vbox1 = new global::Gtk.VBox ();
		this.vbox1.Name = "vbox1";
		// Container child vbox1.Gtk.Box+BoxChild
		this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='connectAction' action='connectAction'/><menuitem name='disconnectAction' action='disconnectAction'/><menuitem name='mediaPlayAction1' action='mediaPlayAction1'/><menuitem name='stopAction' action='stopAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='findAction' action='findAction'/></menu></menubar></ui>");
		this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
		this.menubar1.Name = "menubar1";
		this.vbox1.Add (this.menubar1);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
		w2.Position = 0;
		w2.Expand = false;
		w2.Fill = false;
		// Container child vbox1.Gtk.Box+BoxChild
		this.toolbar3 = new global::meticulus.controls.gtk.toolbar ();
		this.toolbar3.HeightRequest = 50;
		this.toolbar3.Events = ((global::Gdk.EventMask)(256));
		this.toolbar3.Name = "toolbar3";
		this.toolbar3.small = false;
		this.vbox1.Add (this.toolbar3);
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar3]));
		w3.Position = 1;
		w3.Expand = false;
		w3.Fill = false;
		// Container child vbox1.Gtk.Box+BoxChild
		this.proxy_transaction_nodeview1 = new global::meticulus.controls.gtk.proxy_transaction_nodeview ();
		this.proxy_transaction_nodeview1.Events = ((global::Gdk.EventMask)(256));
		this.proxy_transaction_nodeview1.Name = "proxy_transaction_nodeview1";
		this.proxy_transaction_nodeview1.scroll_lock = false;
		this.proxy_transaction_nodeview1.capture = false;
		this.vbox1.Add (this.proxy_transaction_nodeview1);
		global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.proxy_transaction_nodeview1]));
		w4.Position = 2;
		// Container child vbox1.Gtk.Box+BoxChild
		this.statusbar1 = new global::Gtk.Statusbar ();
		this.statusbar1.Name = "statusbar1";
		this.statusbar1.Spacing = 6;
		this.vbox1.Add (this.statusbar1);
		global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
		w5.Position = 3;
		w5.Expand = false;
		w5.Fill = false;
		this.Add (this.vbox1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.connectAction.Activated += new global::System.EventHandler (this.OnConnectActionActivated);
		this.disconnectAction.Activated += new global::System.EventHandler (this.OnDisconnectActionActivated);
		this.mediaPlayAction1.Activated += new global::System.EventHandler (this.OnMediaPlayAction1Activated);
		this.stopAction.Activated += new global::System.EventHandler (this.OnStopActionActivated);
		this.preferencesAction.Activated += new global::System.EventHandler (this.OnPropertiesActionActivated);
		this.findAction.Activated += new global::System.EventHandler (this.OnFindActionActivated);
		this.mediaPlayAction2.Activated += new global::System.EventHandler (this.OnMediaPlayAction2Activated);
		this.mediaRecordAction.Activated += new global::System.EventHandler (this.OnMediaRecordActionActivated);
	}
Пример #37
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = "Apsim - UQ HPC";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 3;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = "Run on QRIS-HPC";
     this.vbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.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.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = "Username";
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = "Password";
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.password               = new global::Gtk.Entry();
     this.password.CanFocus      = true;
     this.password.Name          = "password";
     this.password.IsEditable    = true;
     this.password.WidthChars    = 10;
     this.password.Visibility    = false;
     this.password.InvisibleChar = '●';
     this.table1.Add(this.password);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.password]));
     w4.TopAttach    = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.username               = new global::Gtk.Entry();
     this.username.CanFocus      = true;
     this.username.Name          = "username";
     this.username.IsEditable    = true;
     this.username.WidthChars    = 10;
     this.username.InvisibleChar = '●';
     this.table1.Add(this.username);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.username]));
     w5.LeftAttach  = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.hbox2.Add(this.table1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table1]));
     w6.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton1               = new global::Gtk.RadioButton("tinaroo");
     this.radiobutton1.CanFocus      = true;
     this.radiobutton1.Name          = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline  = true;
     this.radiobutton1.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.vbox4.Add(this.radiobutton1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.radiobutton1]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton2               = new global::Gtk.RadioButton("awoonga");
     this.radiobutton2.CanFocus      = true;
     this.radiobutton2.Name          = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline  = true;
     this.radiobutton2.Group         = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.radiobutton2]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     this.hbox2.Add(this.vbox4);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4]));
     w9.Position = 2;
     this.vbox3.Add(this.hbox2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = "Filename";
     this.hbox4.Add(this.label7);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label7]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.fileEntry               = new global::Gtk.Entry();
     this.fileEntry.CanFocus      = true;
     this.fileEntry.Name          = "fileEntry";
     this.fileEntry.IsEditable    = true;
     this.fileEntry.InvisibleChar = '●';
     this.hbox4.Add(this.fileEntry);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.fileEntry]));
     w12.Position = 1;
     // Container child hbox4.Gtk.Box+BoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = "Browse";
     this.hbox4.Add(this.button1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.button1]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.hbox3.Add(this.hbox4);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox4]));
     w14.Position = 0;
     this.vbox3.Add(this.hbox3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.hbox1.Add(this.vbox3);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
     w16.Position = 0;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = "Directory";
     this.hbox5.Add(this.label8);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label8]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.dirEntry               = new global::Gtk.Entry();
     this.dirEntry.CanFocus      = true;
     this.dirEntry.Name          = "dirEntry";
     this.dirEntry.IsEditable    = true;
     this.dirEntry.InvisibleChar = '●';
     this.hbox5.Add(this.dirEntry);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.dirEntry]));
     w19.Position = 1;
     // Container child hbox5.Gtk.Box+BoxChild
     this.button2              = new global::Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     this.button2.Label        = "Browse";
     this.hbox5.Add(this.button2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.button2]));
     w20.Position = 2;
     w20.Expand   = false;
     w20.Fill     = false;
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox5]));
     w21.Position = 2;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.simsPerJobEntry               = new global::Gtk.Entry();
     this.simsPerJobEntry.CanFocus      = true;
     this.simsPerJobEntry.Name          = "simsPerJobEntry";
     this.simsPerJobEntry.IsEditable    = true;
     this.simsPerJobEntry.WidthChars    = 4;
     this.simsPerJobEntry.MaxLength     = 6;
     this.simsPerJobEntry.InvisibleChar = '●';
     this.hbox6.Add(this.simsPerJobEntry);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.simsPerJobEntry]));
     w22.Position = 0;
     w22.Expand   = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = "Simulations / job";
     this.hbox6.Add(this.label9);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label9]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.hoursPerJobEntry               = new global::Gtk.Entry();
     this.hoursPerJobEntry.CanFocus      = true;
     this.hoursPerJobEntry.Name          = "hoursPerJobEntry";
     this.hoursPerJobEntry.IsEditable    = true;
     this.hoursPerJobEntry.WidthChars    = 4;
     this.hoursPerJobEntry.MaxLength     = 6;
     this.hoursPerJobEntry.InvisibleChar = '●';
     this.hbox6.Add(this.hoursPerJobEntry);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.hoursPerJobEntry]));
     w24.Position = 2;
     w24.Expand   = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = "Machine Hours / job";
     this.hbox6.Add(this.label11);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label11]));
     w25.Position = 3;
     w25.Expand   = false;
     w25.Fill     = false;
     this.vbox1.Add(this.hbox6);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox6]));
     w26.Position = 3;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = "Version";
     this.hbox8.Add(this.label10);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label10]));
     w27.Position = 0;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vbox1.Add(this.hbox8);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox8]));
     w28.Position = 4;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.versionComboBox = global::Gtk.ComboBox.NewText();
     this.versionComboBox.WidthRequest = 250;
     this.versionComboBox.Name         = "versionComboBox";
     this.hbox9.Add(this.versionComboBox);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.versionComboBox]));
     w29.Position = 0;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.button5              = new global::Gtk.Button();
     this.button5.CanFocus     = true;
     this.button5.Name         = "button5";
     this.button5.UseUnderline = true;
     this.button5.Label        = "Update";
     this.hbox9.Add(this.button5);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.button5]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     this.vbox1.Add(this.hbox9);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox9]));
     w31.Position = 5;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.button3              = new global::Gtk.Button();
     this.button3.CanFocus     = true;
     this.button3.Name         = "button3";
     this.button3.UseUnderline = true;
     this.button3.Label        = "Cancel";
     this.hbox7.Add(this.button3);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button3]));
     w32.Position = 0;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.button8              = new global::Gtk.Button();
     this.button8.Sensitive    = false;
     this.button8.CanFocus     = true;
     this.button8.Name         = "button8";
     this.button8.UseUnderline = true;
     this.button8.Label        = "Resume";
     this.hbox7.Add(this.button8);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button8]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.button4              = new global::Gtk.Button();
     this.button4.CanFocus     = true;
     this.button4.Name         = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label        = "Go";
     this.hbox7.Add(this.button4);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button4]));
     w34.Position = 2;
     w34.Expand   = false;
     w34.Fill     = false;
     this.vbox1.Add(this.hbox7);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox7]));
     w35.Position = 6;
     w35.Expand   = false;
     w35.Fill     = false;
     this.notebook1.Add(this.vbox1);
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = "Setup";
     this.notebook1.SetTabLabel(this.vbox1, this.label2);
     this.label2.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = "Run on QRIS-HPC";
     this.vbox5.Add(this.label12);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label12]));
     w37.Position = 0;
     w37.Expand   = false;
     w37.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.logWindow          = new global::Gtk.TextView();
     this.logWindow.CanFocus = true;
     this.logWindow.Name     = "logWindow";
     this.logWindow.Editable = false;
     this.GtkScrolledWindow.Add(this.logWindow);
     this.vbox5.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow]));
     w39.Position = 1;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox11         = new global::Gtk.HBox();
     this.hbox11.Name    = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.button7              = new global::Gtk.Button();
     this.button7.CanFocus     = true;
     this.button7.Name         = "button7";
     this.button7.UseUnderline = true;
     this.button7.Label        = "Save log";
     this.hbox11.Add(this.button7);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button7]));
     w40.Position = 0;
     w40.Fill     = false;
     this.vbox5.Add(this.hbox11);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox11]));
     w41.Position = 2;
     w41.Expand   = false;
     w41.Fill     = false;
     this.notebook1.Add(this.vbox5);
     global::Gtk.Notebook.NotebookChild w42 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox5]));
     w42.Position = 1;
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = "Progress";
     this.notebook1.SetTabLabel(this.vbox5, this.label3);
     this.label3.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.LabelProp = "Run on QRIS-HPC";
     this.vbox6.Add(this.label13);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label13]));
     w43.Position = 0;
     w43.Expand   = false;
     w43.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label14           = new global::Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.LabelProp = "Job in preparation";
     this.vbox6.Add(this.label14);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label14]));
     w44.Position = 1;
     w44.Expand   = false;
     w44.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox10         = new global::Gtk.HBox();
     this.hbox10.Name    = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.button6              = new global::Gtk.Button();
     this.button6.Sensitive    = false;
     this.button6.CanFocus     = true;
     this.button6.Name         = "button6";
     this.button6.UseUnderline = true;
     this.button6.Label        = "Download outputs";
     this.hbox10.Add(this.button6);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.button6]));
     w45.Position = 1;
     w45.Expand   = false;
     w45.Fill     = false;
     this.vbox6.Add(this.hbox10);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox10]));
     w46.Position = 2;
     w46.Expand   = false;
     w46.Fill     = false;
     this.notebook1.Add(this.vbox6);
     global::Gtk.Notebook.NotebookChild w47 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox6]));
     w47.Position = 2;
     // Notebook tab
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = "Download";
     this.notebook1.SetTabLabel(this.vbox6, this.label4);
     this.label4.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.helpWindow          = new global::Gtk.TextView();
     this.helpWindow.CanFocus = true;
     this.helpWindow.Name     = "helpWindow";
     this.helpWindow.Editable = false;
     this.GtkScrolledWindow1.Add(this.helpWindow);
     this.vbox7.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.GtkScrolledWindow1]));
     w49.Position = 0;
     this.notebook1.Add(this.vbox7);
     global::Gtk.Notebook.NotebookChild w50 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox7]));
     w50.Position = 3;
     // Notebook tab
     this.label15           = new global::Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.LabelProp = "Help";
     this.notebook1.SetTabLabel(this.vbox7, this.label15);
     this.label15.ShowAll();
     this.vbox2.Add(this.notebook1);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook1]));
     w51.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar         = new global::Gtk.Statusbar();
     this.statusbar.Name    = "statusbar";
     this.statusbar.Spacing = 6;
     this.vbox2.Add(this.statusbar);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar]));
     w52.Position = 1;
     w52.Expand   = false;
     w52.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 413;
     this.DefaultHeight = 385;
     this.Show();
     this.DeleteEvent          += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.notebook1.SelectPage += new global::Gtk.SelectPageHandler(this.OnNotebook1SelectPage);
     this.button1.Clicked      += new global::System.EventHandler(this.onChooseFile);
     this.button2.Clicked      += new global::System.EventHandler(this.onChooseDirectory);
     this.button3.Clicked      += new global::System.EventHandler(this.OnCancelEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget DBusExplorer.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.SelectBus            = new global::Gtk.Action("SelectBus", global::Mono.Unix.Catalog.GetString("_Select Bus"), null, null);
     this.SelectBus.ShortLabel = global::Mono.Unix.Catalog.GetString("Select Bus");
     w1.Add(this.SelectBus, "<Control><Mod2>s");
     this.SessionBus            = new global::Gtk.RadioAction("SessionBus", global::Mono.Unix.Catalog.GetString("S_ession Bus"), null, null, 0);
     this.SessionBus.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.SessionBus.ShortLabel = global::Mono.Unix.Catalog.GetString("Session Bus");
     w1.Add(this.SessionBus, null);
     this.SystemBus            = new global::Gtk.RadioAction("SystemBus", global::Mono.Unix.Catalog.GetString("S_ystem Bus"), null, null, 0);
     this.SystemBus.Group      = this.SessionBus.Group;
     this.SystemBus.ShortLabel = global::Mono.Unix.Catalog.GetString("System Bus");
     w1.Add(this.SystemBus, null);
     this.quit            = new global::Gtk.Action("quit", global::Mono.Unix.Catalog.GetString("_Quitter"), null, "gtk-quit");
     this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quitter");
     w1.Add(this.quit, null);
     this.quit1            = new global::Gtk.Action("quit1", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quit1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quit1, null);
     this.Help            = new global::Gtk.Action("Help", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.Help.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.Help, null);
     this.about            = new global::Gtk.Action("about", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.about.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w1.Add(this.about, null);
     this.View            = new global::Gtk.Action("View", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.View.ShortLabel = global::Mono.Unix.Catalog.GetString("_View");
     w1.Add(this.View, null);
     this.CustomBus            = new global::Gtk.Action("CustomBus", global::Mono.Unix.Catalog.GetString("C_ustom Bus..."), null, null);
     this.CustomBus.ShortLabel = global::Mono.Unix.Catalog.GetString("C_ustom Bus...");
     w1.Add(this.CustomBus, null);
     this.Tools            = new global::Gtk.Action("Tools", global::Mono.Unix.Catalog.GetString("_Tools"), null, null);
     this.Tools.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools");
     w1.Add(this.Tools, null);
     this.Languages            = new global::Gtk.Action("Languages", global::Mono.Unix.Catalog.GetString("Languages"), null, null);
     this.Languages.ShortLabel = global::Mono.Unix.Catalog.GetString("Languages");
     w1.Add(this.Languages, null);
     this.C            = new global::Gtk.ToggleAction("C", global::Mono.Unix.Catalog.GetString("C#"), null, null);
     this.C.ShortLabel = global::Mono.Unix.Catalog.GetString("C#");
     w1.Add(this.C, null);
     this.NewTabAction            = new global::Gtk.Action("NewTabAction", global::Mono.Unix.Catalog.GetString("New _tab"), null, null);
     this.NewTabAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New _tab");
     w1.Add(this.NewTabAction, "<Control><Mod2>t");
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "DBusExplorer.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("D-Bus Explorer");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("DBusExplorer.data.dbus-explorer.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.AllowShrink    = true;
     this.DefaultHeight  = 600;
     // Container child DBusExplorer.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewTabAction' action='NewTabAction'/><menu name='SelectBus' action='SelectBus'><menuitem name='SessionBus' action='SessionBus'/><menuitem name='SystemBus' action='SystemBus'/><menuitem name='CustomBus' action='CustomBus'/></menu><menuitem name='quit1' action='quit1'/></menu><menu name='Help' action='Help'><menuitem name='about' action='about'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Spacing     = 6;
     this.hbox1.BorderWidth = ((uint)(5));
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Bus name : ");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     w3.Padding  = ((uint)(6));
     // Container child hbox1.Gtk.Box+BoxChild
     this.busCbCont      = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f);
     this.busCbCont.Name = "busCbCont";
     // Container child busCbCont.Gtk.Container+ContainerChild
     this.busCb      = global::Gtk.ComboBox.NewText();
     this.busCb.Name = "busCb";
     this.busCbCont.Add(this.busCb);
     this.hbox1.Add(this.busCbCont);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.busCbCont]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.alignment4              = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f);
     this.alignment4.Name         = "alignment4";
     this.alignment4.LeftPadding  = ((uint)(62));
     this.alignment4.RightPadding = ((uint)(208));
     // Container child alignment4.Gtk.Container+ContainerChild
     this.spinnerBox         = new global::Gtk.HBox();
     this.spinnerBox.Name    = "spinnerBox";
     this.spinnerBox.Spacing = 6;
     // Container child spinnerBox.Gtk.Box+BoxChild
     this.spinnerAlign      = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f);
     this.spinnerAlign.Name = "spinnerAlign";
     this.spinnerBox.Add(this.spinnerAlign);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.spinnerAlign]));
     w6.Position = 0;
     // Container child spinnerBox.Gtk.Box+BoxChild
     this.alignment6      = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f);
     this.alignment6.Name = "alignment6";
     // Container child alignment6.Gtk.Container+ContainerChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Parsing ...");
     this.alignment6.Add(this.label4);
     this.spinnerBox.Add(this.alignment6);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.alignment6]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     this.alignment4.Add(this.spinnerBox);
     this.hbox1.Add(this.alignment4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.alignment4]));
     w10.Position = 2;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     w11.Padding  = ((uint)(1));
     // Container child vbox1.Gtk.Box+BoxChild
     this.buses_Nb             = new global::Gtk.Notebook();
     this.buses_Nb.CanFocus    = true;
     this.buses_Nb.Name        = "buses_Nb";
     this.buses_Nb.CurrentPage = 0;
     this.buses_Nb.BorderWidth = ((uint)(3));
     // Notebook tab
     global::Gtk.Label w12 = new global::Gtk.Label();
     w12.Visible = true;
     this.buses_Nb.Add(w12);
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("(No Title)");
     this.buses_Nb.SetTabLabel(w12, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.buses_Nb);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buses_Nb]));
     w13.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 798;
     this.Show();
     this.SessionBus.Activated   += new global::System.EventHandler(this.OnSessionBusActivated);
     this.SystemBus.Activated    += new global::System.EventHandler(this.OnSystemBusActivated);
     this.quit.Activated         += new global::System.EventHandler(this.OnDeleteEvent);
     this.quit1.Activated        += new global::System.EventHandler(this.OnDeleteEvent);
     this.about.Activated        += new global::System.EventHandler(this.OnAboutActivated);
     this.CustomBus.Activated    += new global::System.EventHandler(this.OnCustomBusActivated);
     this.NewTabAction.Activated += new global::System.EventHandler(this.OnNewTabActionActivated);
     this.buses_Nb.SwitchPage    += new global::Gtk.SwitchPageHandler(this.OnBusesNbSwitchPage);
 }
Пример #39
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.WidthRequest   = 500;
     this.HeightRequest  = 500;
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Tabela de Conversao");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(5));
     this.Resizable      = false;
     this.DefaultWidth   = 500;
     this.DefaultHeight  = 500;
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.vbox1.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vseparator1]));
     w1.Position = 0;
     w1.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.textview3                  = new global::Gtk.TextView();
     this.textview3.Buffer.Text      = "Digite o limite para criacao da tabela.";
     this.textview3.Sensitive        = false;
     this.textview3.Name             = "textview3";
     this.textview3.Editable         = false;
     this.textview3.AcceptsTab       = false;
     this.textview3.Justification    = ((global::Gtk.Justification)(2));
     this.textview3.PixelsAboveLines = 6;
     this.hbox1.Add(this.textview3);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.textview3]));
     w2.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entry1               = new global::Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '●';
     this.hbox1.Add(this.entry1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entry1]));
     w3.Position = 1;
     w3.Expand   = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("Criar Tabela");
     this.vbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button1]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview4               = new global::Gtk.TextView();
     this.textview4.CanFocus      = true;
     this.textview4.Name          = "textview4";
     this.textview4.Justification = ((global::Gtk.Justification)(3));
     this.textview4.WrapMode      = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow.Add(this.textview4);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w7.Position = 3;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.prgMain = new global::Gtk.ProgressBar();
     this.prgMain.WidthRequest  = 388;
     this.prgMain.HeightRequest = 0;
     this.prgMain.Name          = "prgMain";
     this.statusbar1.Add(this.prgMain);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.prgMain]));
     w8.Position = 1;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.button2              = new global::Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     this.button2.Label        = global::Mono.Unix.Catalog.GetString("Sobre");
     this.statusbar1.Add(this.button2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.button2]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w10.Position = 4;
     w10.Expand   = false;
     w10.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked);
     this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked);
 }
Пример #40
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget GestRhum.MainView
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.ParamtresAction = new global::Gtk.Action ("ParamtresAction", global::Mono.Unix.Catalog.GetString ("Paramètres"), null, null);
     this.ParamtresAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Paramètres");
     w1.Add (this.ParamtresAction, null);
     this.AProposAction = new global::Gtk.Action ("AProposAction", global::Mono.Unix.Catalog.GetString ("A propos"), null, null);
     this.AProposAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("A propos");
     w1.Add (this.AProposAction, null);
     this.SeDconnecterAction = new global::Gtk.Action ("SeDconnecterAction", global::Mono.Unix.Catalog.GetString ("Se déconnecter"), null, null);
     this.SeDconnecterAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Se déconnecter");
     w1.Add (this.SeDconnecterAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "GestRhum.MainView";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainView");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child GestRhum.MainView.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='ParamtresAction' action='ParamtresAction'><menuitem name='SeDconnecterAction' action='SeDconnecterAction'/></menu><menu name='AProposAction' action='AProposAction'/></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookOperation = new global::Gtk.Notebook ();
     this.notebookOperation.CanFocus = true;
     this.notebookOperation.Name = "notebookOperation";
     this.notebookOperation.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w3 = new global::Gtk.Label ();
     w3.Visible = true;
     this.notebookOperation.Add (w3);
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("page1");
     this.notebookOperation.SetTabLabel (w3, this.label5);
     this.label5.ShowAll ();
     this.vbox1.Add (this.notebookOperation);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookOperation]));
     w4.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.labelSessionPersonne = new global::Gtk.Label ();
     this.labelSessionPersonne.Name = "labelSessionPersonne";
     this.labelSessionPersonne.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     this.statusbar1.Add (this.labelSessionPersonne);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelSessionPersonne]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     w5.Padding = ((uint)(6));
     // Container child statusbar1.Gtk.Box+BoxChild
     this.labelDateDuJour = new global::Gtk.Label ();
     this.labelDateDuJour.Name = "labelDateDuJour";
     this.labelDateDuJour.LabelProp = global::Mono.Unix.Catalog.GetString ("label3");
     this.statusbar1.Add (this.labelDateDuJour);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelDateDuJour]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     w6.Padding = ((uint)(6));
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 712;
     this.DefaultHeight = 397;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.SeDconnecterAction.Activated += new global::System.EventHandler (this.OnSeDconnecterActionActivated);
 }
Пример #41
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File");
     w1.Add (this.FileAction, null);
     this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("_New"), global::Mono.Unix.Catalog.GetString ("Creates new pipe"), "gtk-new");
     this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_New");
     w1.Add (this.NewAction, "<Control>n");
     this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("_Open"), global::Mono.Unix.Catalog.GetString ("Opens existing pipe"), "gtk-open");
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open");
     w1.Add (this.OpenAction, "<Control>o");
     this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("_Save"), global::Mono.Unix.Catalog.GetString ("Saves pipe"), "gtk-floppy");
     this.SaveAction.Sensitive = false;
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save");
     w1.Add (this.SaveAction, "<Control>s");
     this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save _As"), global::Mono.Unix.Catalog.GetString ("Saves pipe as new file"), "gtk-save-as");
     this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save _As");
     w1.Add (this.SaveAsAction, "<Control>q");
     this.ImportAction = new global::Gtk.Action ("ImportAction", global::Mono.Unix.Catalog.GetString ("_Import"), global::Mono.Unix.Catalog.GetString ("Imports PCL formatted pipe from the clipboard"), "gtk-go-down");
     this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Import");
     w1.Add (this.ImportAction, null);
     this.ExportAction = new global::Gtk.Action ("ExportAction", global::Mono.Unix.Catalog.GetString ("_Export"), global::Mono.Unix.Catalog.GetString ("Exports PCL formatted pipe to the clipboard"), "gtk-go-up");
     this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Export");
     w1.Add (this.ExportAction, null);
     this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("E_xit"), global::Mono.Unix.Catalog.GetString ("Quits application"), "gtk-quit");
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("E_xit");
     w1.Add (this.ExitAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("_Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Edit");
     w1.Add (this.EditAction, null);
     this.CutAction = new global::Gtk.Action ("CutAction", global::Mono.Unix.Catalog.GetString ("Cu_t"), null, "gtk-cut");
     this.CutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cu_t");
     w1.Add (this.CutAction, "<Control>x");
     this.CopyAction = new global::Gtk.Action ("CopyAction", global::Mono.Unix.Catalog.GetString ("_Copy"), null, "gtk-copy");
     this.CopyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Copy");
     w1.Add (this.CopyAction, "<Control>c");
     this.PasteAction = new global::Gtk.Action ("PasteAction", global::Mono.Unix.Catalog.GetString ("_Paste"), null, "gtk-paste");
     this.PasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Paste");
     w1.Add (this.PasteAction, "<Control>v");
     this.DeleteAction = new global::Gtk.Action ("DeleteAction", global::Mono.Unix.Catalog.GetString ("_Delete"), null, "gtk-delete");
     this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Delete");
     w1.Add (this.DeleteAction, null);
     this.SelectAllAction = new global::Gtk.Action ("SelectAllAction", global::Mono.Unix.Catalog.GetString ("Select _All"), null, "gtk-select-all");
     this.SelectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Select _All");
     w1.Add (this.SelectAllAction, "<Control>a");
     this.PreferencesAction = new global::Gtk.Action ("PreferencesAction", global::Mono.Unix.Catalog.GetString ("Prefere_nces"), null, "gtk-preferences");
     this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Prefere_nces");
     w1.Add (this.PreferencesAction, null);
     this.PipeAction = new global::Gtk.Action ("PipeAction", global::Mono.Unix.Catalog.GetString ("_Pipe"), null, null);
     this.PipeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Pipe");
     w1.Add (this.PipeAction, null);
     this.RunAction = new global::Gtk.Action ("RunAction", global::Mono.Unix.Catalog.GetString ("_Run"), global::Mono.Unix.Catalog.GetString ("Runs entire pipe"), "gtk-media-play");
     this.RunAction.Sensitive = false;
     this.RunAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Run");
     w1.Add (this.RunAction, "<Control>r");
     this.RunToLineAction = new global::Gtk.Action ("RunToLineAction", global::Mono.Unix.Catalog.GetString ("Run _To Line"), global::Mono.Unix.Catalog.GetString ("Runs pipe to current line only"), "gtk-media-record");
     this.RunToLineAction.Sensitive = false;
     this.RunToLineAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run _To Line");
     w1.Add (this.RunToLineAction, "<Control>t");
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.HelpAction, null);
     this.UserGuideAction = new global::Gtk.Action ("UserGuideAction", global::Mono.Unix.Catalog.GetString ("_User Guide"), null, "gtk-help");
     this.UserGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_User Guide");
     w1.Add (this.UserGuideAction, "F1");
     this.SupportForumAction = new global::Gtk.Action ("SupportForumAction", global::Mono.Unix.Catalog.GetString ("Support _Forum"), null, null);
     this.SupportForumAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Support _Forum");
     w1.Add (this.SupportForumAction, null);
     this.VisitOurHomepageAction = new global::Gtk.Action ("VisitOurHomepageAction", global::Mono.Unix.Catalog.GetString ("Visit Our Homepage"), null, "gtk-home");
     this.VisitOurHomepageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visit Our Homepage");
     w1.Add (this.VisitOurHomepageAction, null);
     this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, "gtk-about");
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction, null);
     this.QuickStartTutorialAction = new global::Gtk.Action ("QuickStartTutorialAction", global::Mono.Unix.Catalog.GetString ("Quick Start Tutorial"), global::Mono.Unix.Catalog.GetString ("Display quick start tutorial"), null);
     this.QuickStartTutorialAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quick Start Tutorial");
     w1.Add (this.QuickStartTutorialAction, null);
     this.FontAction = new global::Gtk.Action ("FontAction", global::Mono.Unix.Catalog.GetString ("_Font"), null, null);
     this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Font");
     w1.Add (this.FontAction, null);
     this.AppendStrAction = new global::Gtk.Action ("AppendStrAction", global::Mono.Unix.Catalog.GetString ("AppendStr"), null, "gtk-add");
     this.AppendStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("AppendStr");
     w1.Add (this.AppendStrAction, null);
     this.BottomLinesAction = new global::Gtk.Action ("BottomLinesAction", global::Mono.Unix.Catalog.GetString ("BottomLines"), null, "gtk-goto-bottom");
     this.BottomLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("BottomLines");
     w1.Add (this.BottomLinesAction, null);
     this.CallAction = new global::Gtk.Action ("CallAction", global::Mono.Unix.Catalog.GetString ("Call"), null, null);
     this.CallAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Call");
     w1.Add (this.CallAction, null);
     this.CountCharsAction = new global::Gtk.Action ("CountCharsAction", global::Mono.Unix.Catalog.GetString ("CountChars"), null, null);
     this.CountCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("CountChars");
     w1.Add (this.CountCharsAction, null);
     this.CountLinesAction = new global::Gtk.Action ("CountLinesAction", global::Mono.Unix.Catalog.GetString ("CountLines"), null, null);
     this.CountLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("CountLines");
     w1.Add (this.CountLinesAction, null);
     this.DelBlankLinesAction = new global::Gtk.Action ("DelBlankLinesAction", global::Mono.Unix.Catalog.GetString ("DelBlankLines"), null, null);
     this.DelBlankLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DelBlankLines");
     w1.Add (this.DelBlankLinesAction, null);
     this.DelCharsAction = new global::Gtk.Action ("DelCharsAction", global::Mono.Unix.Catalog.GetString ("DelChars"), null, null);
     this.DelCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DelChars");
     w1.Add (this.DelCharsAction, null);
     this.ExclLinesAction = new global::Gtk.Action ("ExclLinesAction", global::Mono.Unix.Catalog.GetString ("ExclLines"), null, null);
     this.ExclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("ExclLines");
     w1.Add (this.ExclLinesAction, null);
     this.InclLinesAction = new global::Gtk.Action ("InclLinesAction", global::Mono.Unix.Catalog.GetString ("InclLines"), null, null);
     this.InclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InclLines");
     w1.Add (this.InclLinesAction, null);
     this.InsLineNoAction = new global::Gtk.Action ("InsLineNoAction", global::Mono.Unix.Catalog.GetString ("InsLineNo"), null, null);
     this.InsLineNoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InsLineNo");
     w1.Add (this.InsLineNoAction, null);
     this.InsStrAction = new global::Gtk.Action ("InsStrAction", global::Mono.Unix.Catalog.GetString ("InsStr"), null, null);
     this.InsStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InsStr");
     w1.Add (this.InsStrAction, null);
     this.WrapTextAction = new global::Gtk.ToggleAction ("WrapTextAction", global::Mono.Unix.Catalog.GetString ("_Wrap Text"), null, null);
     this.WrapTextAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Wrap Text");
     w1.Add (this.WrapTextAction, null);
     this.InsertCursorColAction = new global::Gtk.Action ("InsertCursorColAction", global::Mono.Unix.Catalog.GetString ("Insert Cursor Col"), null, "gtk-add");
     this.InsertCursorColAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert Cursor Col");
     w1.Add (this.InsertCursorColAction, null);
     this.DemosAction = new global::Gtk.Action ("DemosAction", global::Mono.Unix.Catalog.GetString ("_Demos"), null, null);
     this.DemosAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Demos");
     w1.Add (this.DemosAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("PipeWrench");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_standard-filter", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><menuitem name='ExportAction' action='ExportAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='CutAction' action='CutAction'/><menuitem name='CopyAction' action='CopyAction'/><menuitem name='PasteAction' action='PasteAction'/><menuitem name='DeleteAction' action='DeleteAction'/><menuitem name='SelectAllAction' action='SelectAllAction'/><separator/><menuitem name='InsertCursorColAction' action='InsertCursorColAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='PipeAction' action='PipeAction'><menuitem name='RunAction' action='RunAction'/><menuitem name='RunToLineAction' action='RunToLineAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='UserGuideAction' action='UserGuideAction'/><menuitem name='DemosAction' action='DemosAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='NewAction' action='NewAction'/><toolitem name='OpenAction' action='OpenAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='SaveAsAction' action='SaveAsAction'/><separator/><toolitem name='ImportAction' action='ImportAction'/><toolitem name='ExportAction' action='ExportAction'/><separator/><toolitem name='RunAction' action='RunAction'/><toolitem name='RunToLineAction' action='RunToLineAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar1.IconSize = ((global::Gtk.IconSize)(3));
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned1 = new global::Gtk.HPaned ();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name = "hpaned1";
     this.hpaned1.Position = 178;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.CommandsFrame = new global::Gtk.Frame ();
     this.CommandsFrame.Name = "CommandsFrame";
     this.CommandsFrame.BorderWidth = ((uint)(3));
     // Container child CommandsFrame.Gtk.Container+ContainerChild
     this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(6));
     this.GtkAlignment.TopPadding = ((uint)(6));
     this.GtkAlignment.RightPadding = ((uint)(6));
     this.GtkAlignment.BottomPadding = ((uint)(6));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport ();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='CommandsToolbar'/></ui>");
     this.CommandsToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/CommandsToolbar")));
     this.CommandsToolbar.Name = "CommandsToolbar";
     this.CommandsToolbar.Orientation = ((global::Gtk.Orientation)(1));
     this.CommandsToolbar.ShowArrow = false;
     this.CommandsToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.CommandsToolbar.IconSize = ((global::Gtk.IconSize)(2));
     w4.Add (this.CommandsToolbar);
     this.scrolledwindow1.Add (w4);
     this.GtkAlignment.Add (this.scrolledwindow1);
     this.CommandsFrame.Add (this.GtkAlignment);
     this.GtkLabel6 = new global::Gtk.Label ();
     this.GtkLabel6.Name = "GtkLabel6";
     this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Commands</b>");
     this.GtkLabel6.UseMarkup = true;
     this.CommandsFrame.LabelWidget = this.GtkLabel6;
     this.hpaned1.Add (this.CommandsFrame);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.CommandsFrame]));
     w9.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vpaned1 = new global::Gtk.VPaned ();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name = "vpaned1";
     this.vpaned1.Position = 156;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.PipeFrame = new global::Gtk.Frame ();
     this.PipeFrame.Name = "PipeFrame";
     this.PipeFrame.BorderWidth = ((uint)(3));
     // Container child PipeFrame.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(6));
     this.GtkAlignment2.TopPadding = ((uint)(6));
     this.GtkAlignment2.RightPadding = ((uint)(6));
     this.GtkAlignment2.BottomPadding = ((uint)(6));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.PipeTextView = new global::Gtk.TextView ();
     this.PipeTextView.TooltipMarkup = "Enter pipe commands here";
     this.PipeTextView.CanFocus = true;
     this.PipeTextView.Name = "PipeTextView";
     this.PipeTextView.AcceptsTab = false;
     this.PipeTextView.RightMargin = 3;
     this.GtkScrolledWindow.Add (this.PipeTextView);
     this.vbox3.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w11.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Arguments");
     this.hbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ArgsEntry = new global::Gtk.Entry ();
     this.ArgsEntry.TooltipMarkup = "Enter any pipe arguments here";
     this.ArgsEntry.CanFocus = true;
     this.ArgsEntry.Name = "ArgsEntry";
     this.ArgsEntry.IsEditable = true;
     this.ArgsEntry.InvisibleChar = '●';
     this.hbox1.Add (this.ArgsEntry);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ArgsEntry]));
     w13.Position = 1;
     this.vbox3.Add (this.hbox1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     this.GtkAlignment2.Add (this.vbox3);
     this.PipeFrame.Add (this.GtkAlignment2);
     this.GtkLabel10 = new global::Gtk.Label ();
     this.GtkLabel10.Name = "GtkLabel10";
     this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Pipe</b>");
     this.GtkLabel10.UseMarkup = true;
     this.PipeFrame.LabelWidget = this.GtkLabel10;
     this.vpaned1.Add (this.PipeFrame);
     global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.PipeFrame]));
     w17.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.TextFrame = new global::Gtk.Frame ();
     this.TextFrame.Name = "TextFrame";
     this.TextFrame.BorderWidth = ((uint)(3));
     // Container child TextFrame.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(6));
     this.GtkAlignment1.TopPadding = ((uint)(6));
     this.GtkAlignment1.RightPadding = ((uint)(6));
     this.GtkAlignment1.BottomPadding = ((uint)(6));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.TextNotebook = new global::Gtk.Notebook ();
     this.TextNotebook.CanFocus = true;
     this.TextNotebook.Name = "TextNotebook";
     this.TextNotebook.CurrentPage = 1;
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.InputTextView = new global::Gtk.TextView ();
     this.InputTextView.Buffer.Text = "replace this text\nwith the text you\nwant to edit.";
     this.InputTextView.TooltipMarkup = "Copy the text to process here";
     this.InputTextView.CanFocus = true;
     this.InputTextView.Name = "InputTextView";
     this.InputTextView.AcceptsTab = false;
     this.InputTextView.RightMargin = 3;
     this.GtkScrolledWindow1.Add (this.InputTextView);
     this.vbox2.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1]));
     w19.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("File");
     this.hbox2.Add (this.label2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w20.Position = 0;
     w20.Expand = false;
     w20.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileEntry = new global::Gtk.Entry ();
     this.InputFileEntry.TooltipMarkup = "Use browse button to select input text file";
     this.InputFileEntry.CanFocus = true;
     this.InputFileEntry.Name = "InputFileEntry";
     this.InputFileEntry.IsEditable = false;
     this.InputFileEntry.InvisibleChar = '●';
     this.hbox2.Add (this.InputFileEntry);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileEntry]));
     w21.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileBrowseButton = new global::Gtk.Button ();
     this.InputFileBrowseButton.TooltipMarkup = "Browse for input text file";
     this.InputFileBrowseButton.CanFocus = true;
     this.InputFileBrowseButton.Name = "InputFileBrowseButton";
     this.InputFileBrowseButton.UseUnderline = true;
     this.InputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString ("...");
     this.hbox2.Add (this.InputFileBrowseButton);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileBrowseButton]));
     w22.Position = 2;
     w22.Expand = false;
     w22.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileClearButton = new global::Gtk.Button ();
     this.InputFileClearButton.TooltipMarkup = "Clear input text file";
     this.InputFileClearButton.CanFocus = true;
     this.InputFileClearButton.Name = "InputFileClearButton";
     this.InputFileClearButton.UseUnderline = true;
     this.InputFileClearButton.Label = global::Mono.Unix.Catalog.GetString ("Clear");
     this.hbox2.Add (this.InputFileClearButton);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileClearButton]));
     w23.Position = 3;
     w23.Expand = false;
     w23.Fill = false;
     this.vbox2.Add (this.hbox2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w24.Position = 1;
     w24.Expand = false;
     w24.Fill = false;
     this.TextNotebook.Add (this.vbox2);
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.OutputTextView = new global::Gtk.TextView ();
     this.OutputTextView.TooltipMarkup = "Edited text is output here";
     this.OutputTextView.CanFocus = true;
     this.OutputTextView.Name = "OutputTextView";
     this.OutputTextView.AcceptsTab = false;
     this.OutputTextView.RightMargin = 3;
     this.GtkScrolledWindow2.Add (this.OutputTextView);
     this.vbox4.Add (this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2]));
     w27.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("File");
     this.hbox3.Add (this.label3);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3]));
     w28.Position = 0;
     w28.Expand = false;
     w28.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileEntry = new global::Gtk.Entry ();
     this.OutputFileEntry.TooltipMarkup = "Use browse button to select output text file";
     this.OutputFileEntry.CanFocus = true;
     this.OutputFileEntry.Name = "OutputFileEntry";
     this.OutputFileEntry.IsEditable = false;
     this.OutputFileEntry.InvisibleChar = '●';
     this.hbox3.Add (this.OutputFileEntry);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileEntry]));
     w29.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileBrowseButton = new global::Gtk.Button ();
     this.OutputFileBrowseButton.TooltipMarkup = "Browse for output text file";
     this.OutputFileBrowseButton.CanFocus = true;
     this.OutputFileBrowseButton.Name = "OutputFileBrowseButton";
     this.OutputFileBrowseButton.UseUnderline = true;
     this.OutputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString ("...");
     this.hbox3.Add (this.OutputFileBrowseButton);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileBrowseButton]));
     w30.Position = 2;
     w30.Expand = false;
     w30.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileClearButton = new global::Gtk.Button ();
     this.OutputFileClearButton.TooltipMarkup = "Clear output text file";
     this.OutputFileClearButton.CanFocus = true;
     this.OutputFileClearButton.Name = "OutputFileClearButton";
     this.OutputFileClearButton.UseUnderline = true;
     this.OutputFileClearButton.Label = global::Mono.Unix.Catalog.GetString ("Clear");
     this.hbox3.Add (this.OutputFileClearButton);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileClearButton]));
     w31.Position = 3;
     w31.Expand = false;
     w31.Fill = false;
     this.vbox4.Add (this.hbox3);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3]));
     w32.Position = 1;
     w32.Expand = false;
     w32.Fill = false;
     this.TextNotebook.Add (this.vbox4);
     global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.vbox4]));
     w33.Position = 1;
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow3.Name = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.ErrorsTextView = new global::Gtk.TextView ();
     this.ErrorsTextView.TooltipMarkup = "Errors are reported here";
     this.ErrorsTextView.CanFocus = true;
     this.ErrorsTextView.Name = "ErrorsTextView";
     this.ErrorsTextView.Editable = false;
     this.ErrorsTextView.AcceptsTab = false;
     this.ErrorsTextView.RightMargin = 3;
     this.GtkScrolledWindow3.Add (this.ErrorsTextView);
     this.TextNotebook.Add (this.GtkScrolledWindow3);
     global::Gtk.Notebook.NotebookChild w35 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.GtkScrolledWindow3]));
     w35.Position = 2;
     this.GtkAlignment1.Add (this.TextNotebook);
     this.TextFrame.Add (this.GtkAlignment1);
     this.GtkLabel14 = new global::Gtk.Label ();
     this.GtkLabel14.Name = "GtkLabel14";
     this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Text</b>");
     this.GtkLabel14.UseMarkup = true;
     this.TextFrame.LabelWidget = this.GtkLabel14;
     this.vpaned1.Add (this.TextFrame);
     this.hpaned1.Add (this.vpaned1);
     this.vbox1.Add (this.hpaned1);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
     w40.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.TheStatusBar = new global::Gtk.Statusbar ();
     this.TheStatusBar.Name = "TheStatusBar";
     this.TheStatusBar.Spacing = 6;
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.StatusBarCursorPosLabel = new global::Gtk.Label ();
     this.StatusBarCursorPosLabel.Name = "StatusBarCursorPosLabel";
     this.StatusBarCursorPosLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("(0, 0)");
     this.TheStatusBar.Add (this.StatusBarCursorPosLabel);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarCursorPosLabel]));
     w41.Position = 0;
     w41.Expand = false;
     w41.Fill = false;
     w41.Padding = ((uint)(4));
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.vseparator1 = new global::Gtk.VSeparator ();
     this.vseparator1.Name = "vseparator1";
     this.TheStatusBar.Add (this.vseparator1);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.vseparator1]));
     w42.Position = 1;
     w42.Expand = false;
     w42.Fill = false;
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.StatusBarTextLabel = new global::Gtk.Label ();
     this.StatusBarTextLabel.Name = "StatusBarTextLabel";
     this.StatusBarTextLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("    ");
     this.TheStatusBar.Add (this.StatusBarTextLabel);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarTextLabel]));
     w43.Position = 2;
     w43.Expand = false;
     w43.Fill = false;
     w43.Padding = ((uint)(4));
     this.vbox1.Add (this.TheStatusBar);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.TheStatusBar]));
     w44.Position = 3;
     w44.Expand = false;
     w44.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 488;
     this.DefaultHeight = 458;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.NewAction.Activated += new global::System.EventHandler (this.NewAction_OnActivated);
     this.OpenAction.Activated += new global::System.EventHandler (this.OpenAction_OnActivated);
     this.SaveAction.Activated += new global::System.EventHandler (this.SaveAction_OnActivated);
     this.SaveAsAction.Activated += new global::System.EventHandler (this.SaveAsAction_OnActivated);
     this.ImportAction.Activated += new global::System.EventHandler (this.ImportAction_OnActivated);
     this.ExportAction.Activated += new global::System.EventHandler (this.ExportAction_OnActivated);
     this.ExitAction.Activated += new global::System.EventHandler (this.OnExit);
     this.CutAction.Activated += new global::System.EventHandler (this.Cut_OnActivated);
     this.CopyAction.Activated += new global::System.EventHandler (this.Copy_OnActivated);
     this.PasteAction.Activated += new global::System.EventHandler (this.Paste_OnActivated);
     this.DeleteAction.Activated += new global::System.EventHandler (this.Delete_OnActivated);
     this.SelectAllAction.Activated += new global::System.EventHandler (this.SelectAll_OnActivated);
     this.PreferencesAction.Activated += new global::System.EventHandler (this.Preferences_OnActivated);
     this.RunAction.Activated += new global::System.EventHandler (this.RunAction_OnActivated);
     this.RunToLineAction.Activated += new global::System.EventHandler (this.RunToLineAction_OnActivated);
     this.UserGuideAction.Activated += new global::System.EventHandler (this.UserGuide_OnActivated);
     this.AboutAction.Activated += new global::System.EventHandler (this.About_OnActivated);
     this.InsertCursorColAction.Activated += new global::System.EventHandler (this.InsertCursorCol_OnActivated);
     this.DemosAction.Activated += new global::System.EventHandler (this.Demos_OnActivated);
     this.PipeTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor);
     this.PipeTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent);
     this.PipeTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused);
     this.PipeTextView.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.PipeTextView_OnKeyReleaseEvent);
     this.InputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent);
     this.InputTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor);
     this.InputTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused);
     this.InputFileEntry.Changed += new global::System.EventHandler (this.InputFileEntry_OnChanged);
     this.InputFileBrowseButton.Clicked += new global::System.EventHandler (this.InputFileBrowseButton_OnClicked);
     this.InputFileClearButton.Clicked += new global::System.EventHandler (this.InputFileClearButton_Clicked);
     this.OutputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent);
     this.OutputTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor);
     this.OutputTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused);
     this.OutputFileEntry.Changed += new global::System.EventHandler (this.OutputFileEntry_OnChanged);
     this.OutputFileBrowseButton.Clicked += new global::System.EventHandler (this.OutputFileBrowseButton_OnClicked);
     this.OutputFileClearButton.Clicked += new global::System.EventHandler (this.OutputFileClearButton_Clicked);
 }
Пример #42
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.EditAction            = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit");
     w1.Add(this.EditAction, null);
     this.OpenAction            = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("Open"), null, null);
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open");
     w1.Add(this.OpenAction, null);
     this.FileAction1            = new global::Gtk.Action("FileAction1", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction1, null);
     this.OpenAction1            = new global::Gtk.Action("OpenAction1", global::Mono.Unix.Catalog.GetString("Open"), null, null);
     this.OpenAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Open");
     w1.Add(this.OpenAction1, null);
     this.EditAction1            = new global::Gtk.Action("EditAction1", global::Mono.Unix.Catalog.GetString("Edit"), null, null);
     this.EditAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit");
     w1.Add(this.EditAction1, null);
     this.FileAction2            = new global::Gtk.Action("FileAction2", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction2, null);
     this.OpenAction2            = new global::Gtk.Action("OpenAction2", global::Mono.Unix.Catalog.GetString("Open"), null, null);
     this.OpenAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Open");
     w1.Add(this.OpenAction2, null);
     this.CheckAction            = new global::Gtk.Action("CheckAction", global::Mono.Unix.Catalog.GetString("Check"), null, null);
     this.CheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Check");
     w1.Add(this.CheckAction, null);
     this.Action            = new global::Gtk.Action("Action", global::Mono.Unix.Catalog.GetString("-"), null, null);
     this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString("-");
     w1.Add(this.Action, null);
     this.SaveAction            = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("Save"), null, null);
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save");
     w1.Add(this.SaveAction, null);
     this.SaveAsAction            = new global::Gtk.Action("SaveAsAction", global::Mono.Unix.Catalog.GetString("Save as"), null, null);
     this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save as");
     w1.Add(this.SaveAsAction, null);
     this.Action1            = new global::Gtk.Action("Action1", global::Mono.Unix.Catalog.GetString("-"), null, null);
     this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString("-");
     w1.Add(this.Action1, null);
     this.ExitAction            = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null);
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
     w1.Add(this.ExitAction, null);
     this.EditAction2            = new global::Gtk.Action("EditAction2", global::Mono.Unix.Catalog.GetString("Edit"), null, null);
     this.EditAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit");
     w1.Add(this.EditAction2, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View");
     w1.Add(this.ViewAction, null);
     this.OptionsAction            = new global::Gtk.Action("OptionsAction", global::Mono.Unix.Catalog.GetString("Options"), null, null);
     this.OptionsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Options");
     w1.Add(this.OptionsAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar2'><menu name='FileAction2' action='FileAction2'><menuitem name='OpenAction2' action='OpenAction2'/><menuitem name='CheckAction' action='CheckAction'/><menuitem name='Action' action='Action'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><menuitem name='Action1' action='Action1'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction2' action='EditAction2'/><menu name='ViewAction' action='ViewAction'/><menu name='OptionsAction' action='OptionsAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar2      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.vbox1.Add(this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.fixed1           = new global::Gtk.Fixed();
     this.fixed1.Name      = "fixed1";
     this.fixed1.HasWindow = false;
     this.vbox1.Add(this.fixed1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.fixed7           = new global::Gtk.Fixed();
     this.fixed7.Name      = "fixed7";
     this.fixed7.HasWindow = false;
     this.vbox3.Add(this.fixed7);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed7]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 132;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview3          = new global::Gtk.TextView();
     this.textview3.CanFocus = true;
     this.textview3.Name     = "textview3";
     this.GtkScrolledWindow.Add(this.textview3);
     this.notebook1.Add(this.GtkScrolledWindow);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Functions");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow, this.label1);
     this.label1.ShowAll();
     // Notebook tab
     global::Gtk.Label w7 = new global::Gtk.Label();
     w7.Visible = true;
     this.notebook1.Add(w7);
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Variables");
     this.notebook1.SetTabLabel(w7, this.label5);
     this.label5.ShowAll();
     this.hpaned1.Add(this.notebook1);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.notebook1]));
     w8.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.notebook2             = new global::Gtk.Notebook();
     this.notebook2.CanFocus    = true;
     this.notebook2.Name        = "notebook2";
     this.notebook2.CurrentPage = 0;
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textview5          = new global::Gtk.TextView();
     this.textview5.CanFocus = true;
     this.textview5.Name     = "textview5";
     this.GtkScrolledWindow1.Add(this.textview5);
     this.notebook2.Add(this.GtkScrolledWindow1);
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebook2.SetTabLabel(this.GtkScrolledWindow1, this.label2);
     this.label2.ShowAll();
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("page2");
     this.label3.ShowAll();
     // Notebook tab
     global::Gtk.Label w12 = new global::Gtk.Label();
     w12.Visible = true;
     this.notebook2.Add(w12);
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("page3");
     this.notebook2.SetTabLabel(w12, this.label4);
     this.label4.ShowAll();
     this.hpaned1.Add(this.notebook2);
     this.vbox3.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hpaned1]));
     w14.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.fixed8           = new global::Gtk.Fixed();
     this.fixed8.Name      = "fixed8";
     this.fixed8.HasWindow = false;
     this.vbox3.Add(this.fixed8);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed8]));
     w15.Position = 2;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.textview11          = new global::Gtk.TextView();
     this.textview11.CanFocus = true;
     this.textview11.Name     = "textview11";
     this.GtkScrolledWindow2.Add(this.textview11);
     this.vbox3.Add(this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow2]));
     w17.Position = 3;
     w17.Expand   = false;
     w17.Fill     = false;
     this.vbox1.Add(this.vbox3);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3]));
     w18.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.fixed2           = new global::Gtk.Fixed();
     this.fixed2.Name      = "fixed2";
     this.fixed2.HasWindow = false;
     this.vbox1.Add(this.fixed2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed2]));
     w19.Position = 3;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar2         = new global::Gtk.Statusbar();
     this.statusbar2.Name    = "statusbar2";
     this.statusbar2.Spacing = 6;
     this.vbox1.Add(this.statusbar2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar2]));
     w20.Position = 4;
     w20.Expand   = false;
     w20.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 656;
     this.DefaultHeight = 338;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Пример #43
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.open             = new global::Gtk.Action("open", null, null, "gtk-open");
     this.open.IsImportant = true;
     w1.Add(this.open, null);
     this.quit             = new global::Gtk.Action("quit", null, null, "gtk-quit");
     this.quit.IsImportant = true;
     w1.Add(this.quit, null);
     this.ForceHeapSnapshotAction             = new global::Gtk.Action("ForceHeapSnapshotAction", global::Mono.Unix.Catalog.GetString("Force Heap Snapshot"), null, null);
     this.ForceHeapSnapshotAction.IsImportant = true;
     this.ForceHeapSnapshotAction.ShortLabel  = "Take a Memory Snapshot";
     w1.Add(this.ForceHeapSnapshotAction, null);
     this.executeAction             = new global::Gtk.Action("executeAction", global::Mono.Unix.Catalog.GetString("Run"), null, "gtk-execute");
     this.executeAction.IsImportant = true;
     this.executeAction.ShortLabel  = global::Mono.Unix.Catalog.GetString("Run");
     w1.Add(this.executeAction, null);
     this.stopAction = new global::Gtk.Action("stopAction", null, null, "gtk-stop");
     w1.Add(this.stopAction, null);
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.SnapshotAction            = new global::Gtk.Action("SnapshotAction", global::Mono.Unix.Catalog.GetString("Snapshot"), null, null);
     this.SnapshotAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Snapshot");
     w1.Add(this.SnapshotAction, null);
     this.LoadHeapSnapshotsAction            = new global::Gtk.Action("LoadHeapSnapshotsAction", global::Mono.Unix.Catalog.GetString("Load Heap Snapshots"), null, null);
     this.LoadHeapSnapshotsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load Heap Snapshots");
     w1.Add(this.LoadHeapSnapshotsAction, null);
     this.ProfileAction            = new global::Gtk.Action("ProfileAction", global::Mono.Unix.Catalog.GetString("Profile"), null, null);
     this.ProfileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Profile");
     w1.Add(this.ProfileAction, null);
     this.FileAction1            = new global::Gtk.Action("FileAction1", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name  = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString("Heap Shot");
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1      = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction1' action='FileAction1'><menuitem name='open' action='open'/><separator/><menuitem name='quit' action='quit'/></menu><menu name='ProfileAction' action='ProfileAction'><menuitem name='executeAction' action='executeAction'/><menuitem name='stopAction' action='stopAction'/><separator/><menuitem name='ForceHeapSnapshotAction' action='ForceHeapSnapshotAction'/><menuitem name='LoadHeapSnapshotsAction' action='LoadHeapSnapshotsAction'/></menu><menu/></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='open' action='open'/><separator/><toolitem name='executeAction' action='executeAction'/><toolitem name='stopAction' action='stopAction'/><toolitem name='ForceHeapSnapshotAction' action='ForceHeapSnapshotAction'/></toolbar></ui>");
     this.toolbar1              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.toolbar1.IconSize     = ((global::Gtk.IconSize)(3));
     this.vbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.viewer        = new global::HeapShot.Gui.Widgets.ObjectMapViewer();
     this.viewer.Events = ((global::Gdk.EventMask)(256));
     this.viewer.Name   = "viewer";
     this.vbox1.Add(this.viewer);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.viewer]));
     w4.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 2;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.statusBarFileName           = new global::Gtk.Label();
     this.statusBarFileName.Name      = "statusBarFileName";
     this.statusBarFileName.LabelProp = global::Mono.Unix.Catalog.GetString("   ");
     this.statusbar1.Add(this.statusBarFileName);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.statusBarFileName]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 711;
     this.DefaultHeight = 466;
     this.Show();
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.open.Activated += new global::System.EventHandler(this.OnOpenActivated);
     this.quit.Activated += new global::System.EventHandler(this.OnQuitActivated);
     this.ForceHeapSnapshotAction.Activated += new global::System.EventHandler(this.OnMemorySnapshotActivated);
     this.executeAction.Activated           += new global::System.EventHandler(this.OnExecuteActionActivated);
     this.stopAction.Activated += new global::System.EventHandler(this.OnStopActionActivated);
 }
Пример #44
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.executeAction            = new global::Gtk.Action("executeAction", global::Mono.Unix.Catalog.GetString("Configuraciones"), null, "gtk-execute");
     this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Configuraciones");
     w1.Add(this.executeAction, null);
     this.disconnectAction            = new global::Gtk.Action("disconnectAction", global::Mono.Unix.Catalog.GetString("Autoconectar"), null, "gtk-disconnect");
     this.disconnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Autoconectar");
     w1.Add(this.disconnectAction, "<Primary>a");
     this.closeAction            = new global::Gtk.Action("closeAction", global::Mono.Unix.Catalog.GetString("Cerrar"), null, "gtk-close");
     this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cerrar");
     w1.Add(this.closeAction, "<Primary>x");
     this.networkAction            = new global::Gtk.Action("networkAction", global::Mono.Unix.Catalog.GetString("Acciones"), null, "gtk-network");
     this.networkAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Acciones");
     w1.Add(this.networkAction, null);
     this.refreshAction            = new global::Gtk.Action("refreshAction", global::Mono.Unix.Catalog.GetString("Reconexión automática de puertos"), null, "gtk-refresh");
     this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Reconexión automática de puertos");
     w1.Add(this.refreshAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Solución de entrada");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-connect", global::Gtk.IconSize.SmallToolbar);
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.BorderWidth    = ((uint)(6));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='networkAction' action='networkAction'><menuitem name='refreshAction' action='refreshAction'/></menu><menu name='executeAction' action='executeAction'><menuitem name='disconnectAction' action='disconnectAction'/></menu><menuitem name='closeAction' action='closeAction'/></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox4.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.paned             = new global::Gtk.HPaned();
     this.paned.CanFocus    = true;
     this.paned.Name        = "paned";
     this.paned.Position    = 382;
     this.paned.BorderWidth = ((uint)(1));
     // Container child paned.Gtk.Paned+PanedChild
     this.vbox5 = new global::Gtk.VBox();
     this.vbox5.WidthRequest = 38;
     this.vbox5.Name         = "vbox5";
     this.vbox5.Spacing      = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.fraPortsGrid            = new global::Gtk.Frame();
     this.fraPortsGrid.Name       = "fraPortsGrid";
     this.fraPortsGrid.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child fraPortsGrid.Gtk.Container+ContainerChild
     this.GtkAlignment6             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment6.Name        = "GtkAlignment6";
     this.GtkAlignment6.LeftPadding = ((uint)(12));
     // Container child GtkAlignment6.Gtk.Container+ContainerChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.HeightRequest = 167;
     this.GtkScrolledWindow.Name          = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType    = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.tblPorts          = new global::Gtk.TreeView();
     this.tblPorts.CanFocus = true;
     this.tblPorts.Name     = "tblPorts";
     this.GtkScrolledWindow.Add(this.tblPorts);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w4.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.lblPortsNotFound           = new global::Gtk.Label();
     this.lblPortsNotFound.Name      = "lblPortsNotFound";
     this.lblPortsNotFound.LabelProp = global::Mono.Unix.Catalog.GetString("<span foreground=\"red\" size=\"xx-large\" weight=\"heavy\">No se encontraron PUERTOS</" +
                                                                           "span>");
     this.lblPortsNotFound.UseMarkup = true;
     this.lblPortsNotFound.Wrap      = true;
     this.vbox3.Add(this.lblPortsNotFound);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblPortsNotFound]));
     w5.Position = 1;
     w5.Expand   = false;
     this.hbox2.Add(this.vbox3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
     w6.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.btnrefreshports              = new global::Gtk.Button();
     this.btnrefreshports.CanFocus     = true;
     this.btnrefreshports.Name         = "btnrefreshports";
     this.btnrefreshports.UseUnderline = true;
     global::Gtk.Image w7 = new global::Gtk.Image();
     w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Button);
     this.btnrefreshports.Image = w7;
     this.vbox2.Add(this.btnrefreshports);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnrefreshports]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.alignment1      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     this.vbox2.Add(this.alignment1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.alignment1]));
     w9.Position = 1;
     this.hbox2.Add(this.vbox2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.GtkAlignment6.Add(this.hbox2);
     this.fraPortsGrid.Add(this.GtkAlignment6);
     this.GtkLabel9                = new global::Gtk.Label();
     this.GtkLabel9.Name           = "GtkLabel9";
     this.GtkLabel9.LabelProp      = global::Mono.Unix.Catalog.GetString("<b>Lista de puertos encontrados</b>");
     this.GtkLabel9.UseMarkup      = true;
     this.fraPortsGrid.LabelWidget = this.GtkLabel9;
     this.vbox5.Add(this.fraPortsGrid);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.fraPortsGrid]));
     w13.Position = 0;
     // Container child vbox5.Gtk.Box+BoxChild
     this.fraPortDetail            = new global::Gtk.Frame();
     this.fraPortDetail.Name       = "fraPortDetail";
     this.fraPortDetail.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child fraPortDetail.Gtk.Container+ContainerChild
     this.GtkAlignment7             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment7.Name        = "GtkAlignment7";
     this.GtkAlignment7.LeftPadding = ((uint)(12));
     // Container child GtkAlignment7.Gtk.Container+ContainerChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 10;
     // Container child hbox8.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("<span foreground=\"black\" size=\"large\">Puerto</span>");
     this.label3.UseMarkup = true;
     this.hbox8.Add(this.label3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label3]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.lblPuerto           = new global::Gtk.Label();
     this.lblPuerto.Name      = "lblPuerto";
     this.lblPuerto.UseMarkup = true;
     this.hbox8.Add(this.lblPuerto);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.lblPuerto]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.imgPortStatus      = new global::Gtk.Image();
     this.imgPortStatus.Name = "imgPortStatus";
     this.hbox8.Add(this.imgPortStatus);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.imgPortStatus]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.btndisconnect              = new global::Gtk.Button();
     this.btndisconnect.CanFocus     = true;
     this.btndisconnect.Name         = "btndisconnect";
     this.btndisconnect.UseUnderline = true;
     global::Gtk.Image w17 = new global::Gtk.Image();
     w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-connect", global::Gtk.IconSize.Button);
     this.btndisconnect.Image = w17;
     this.hbox8.Add(this.btndisconnect);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btndisconnect]));
     w18.PackType = ((global::Gtk.PackType)(1));
     w18.Position = 3;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.btnconnect              = new global::Gtk.Button();
     this.btnconnect.CanFocus     = true;
     this.btnconnect.Name         = "btnconnectbtnconnect";
     this.btnconnect.UseUnderline = true;
     global::Gtk.Image w19 = new global::Gtk.Image();
     w19.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-disconnect", global::Gtk.IconSize.Button);
     this.btnconnect.Image = w19;
     this.hbox8.Add(this.btnconnect);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnconnect]));
     w20.PackType = ((global::Gtk.PackType)(1));
     w20.Position = 4;
     w20.Expand   = false;
     w20.Fill     = false;
     this.GtkAlignment7.Add(this.hbox8);
     this.fraPortDetail.Add(this.GtkAlignment7);
     this.GtkLabel10                = new global::Gtk.Label();
     this.GtkLabel10.Name           = "GtkLabel10";
     this.GtkLabel10.LabelProp      = global::Mono.Unix.Catalog.GetString("<b>Detalle del puerto</b>");
     this.GtkLabel10.UseMarkup      = true;
     this.fraPortDetail.LabelWidget = this.GtkLabel10;
     this.vbox5.Add(this.fraPortDetail);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.fraPortDetail]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.fraCnnConfig            = new global::Gtk.Frame();
     this.fraCnnConfig.Name       = "fraCnnConfig";
     this.fraCnnConfig.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child fraCnnConfig.Gtk.Container+ContainerChild
     this.GtkAlignment8             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment8.Name        = "GtkAlignment8";
     this.GtkAlignment8.LeftPadding = ((uint)(12));
     // Container child GtkAlignment8.Gtk.Container+ContainerChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xpad      = 20;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Baud Rate:");
     this.hbox9.Add(this.label5);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label5]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.cmbBaudRate = global::Gtk.ComboBoxEntry.NewText();
     this.cmbBaudRate.AppendText(global::Mono.Unix.Catalog.GetString("9600"));
     this.cmbBaudRate.CanFocus = true;
     this.cmbBaudRate.Name     = "cmbBaudRate";
     this.cmbBaudRate.Active   = 0;
     this.hbox9.Add(this.cmbBaudRate);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.cmbBaudRate]));
     w25.Position = 1;
     this.vbox6.Add(this.hbox9);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox9]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     w26.Padding  = ((uint)(4));
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox10         = new global::Gtk.HBox();
     this.hbox10.Name    = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xpad      = 31;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Parity:");
     this.hbox10.Add(this.label6);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label6]));
     w27.Position = 0;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.cmbParity = global::Gtk.ComboBoxEntry.NewText();
     this.cmbParity.AppendText(global::Mono.Unix.Catalog.GetString("Even"));
     this.cmbParity.AppendText(global::Mono.Unix.Catalog.GetString("Odd"));
     this.cmbParity.AppendText(global::Mono.Unix.Catalog.GetString("None"));
     this.cmbParity.AppendText(global::Mono.Unix.Catalog.GetString("Mark"));
     this.cmbParity.AppendText(global::Mono.Unix.Catalog.GetString("Space"));
     this.cmbParity.CanFocus = true;
     this.cmbParity.Name     = "cmbParity";
     this.cmbParity.Active   = 2;
     this.hbox10.Add(this.cmbParity);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.cmbParity]));
     w28.Position = 1;
     this.vbox6.Add(this.hbox10);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox10]));
     w29.Position = 1;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox11         = new global::Gtk.HBox();
     this.hbox11.Name    = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xpad      = 24;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Databits:");
     this.hbox11.Add(this.label7);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.label7]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.cmbDatabits = global::Gtk.ComboBoxEntry.NewText();
     this.cmbDatabits.AppendText(global::Mono.Unix.Catalog.GetString("4"));
     this.cmbDatabits.AppendText(global::Mono.Unix.Catalog.GetString("5"));
     this.cmbDatabits.AppendText(global::Mono.Unix.Catalog.GetString("6"));
     this.cmbDatabits.AppendText(global::Mono.Unix.Catalog.GetString("7"));
     this.cmbDatabits.AppendText(global::Mono.Unix.Catalog.GetString("8"));
     this.cmbDatabits.CanFocus = true;
     this.cmbDatabits.Name     = "cmbDatabits";
     this.cmbDatabits.Active   = 4;
     this.hbox11.Add(this.cmbDatabits);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.cmbDatabits]));
     w31.Position = 1;
     this.vbox6.Add(this.hbox11);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox11]));
     w32.Position = 2;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox12         = new global::Gtk.HBox();
     this.hbox12.Name    = "hbox12";
     this.hbox12.Spacing = 6;
     // Container child hbox12.Gtk.Box+BoxChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xpad      = 24;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Stopbits:");
     this.hbox12.Add(this.label8);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.label8]));
     w33.Position = 0;
     w33.Expand   = false;
     w33.Fill     = false;
     // Container child hbox12.Gtk.Box+BoxChild
     this.cmbStopbits = global::Gtk.ComboBoxEntry.NewText();
     this.cmbStopbits.AppendText(global::Mono.Unix.Catalog.GetString("None"));
     this.cmbStopbits.AppendText(global::Mono.Unix.Catalog.GetString("One"));
     this.cmbStopbits.AppendText(global::Mono.Unix.Catalog.GetString("OnePointFive"));
     this.cmbStopbits.AppendText(global::Mono.Unix.Catalog.GetString("Two"));
     this.cmbStopbits.CanFocus = true;
     this.cmbStopbits.Name     = "cmbStopbits";
     this.cmbStopbits.Active   = 1;
     this.hbox12.Add(this.cmbStopbits);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.cmbStopbits]));
     w34.Position = 1;
     this.vbox6.Add(this.hbox12);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox12]));
     w35.Position = 3;
     w35.Expand   = false;
     w35.Fill     = false;
     this.GtkAlignment8.Add(this.vbox6);
     this.fraCnnConfig.Add(this.GtkAlignment8);
     this.GtkLabel11               = new global::Gtk.Label();
     this.GtkLabel11.Name          = "GtkLabel11";
     this.GtkLabel11.LabelProp     = global::Mono.Unix.Catalog.GetString("<b>Configuración de conexión</b>");
     this.GtkLabel11.UseMarkup     = true;
     this.fraCnnConfig.LabelWidget = this.GtkLabel11;
     this.vbox5.Add(this.fraCnnConfig);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.fraCnnConfig]));
     w38.Position = 2;
     w38.Expand   = false;
     w38.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.fraSendData            = new global::Gtk.Frame();
     this.fraSendData.Name       = "fraSendData";
     this.fraSendData.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child fraSendData.Gtk.Container+ContainerChild
     this.GtkAlignment5             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment5.Name        = "GtkAlignment5";
     this.GtkAlignment5.LeftPadding = ((uint)(12));
     // Container child GtkAlignment5.Gtk.Container+ContainerChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.lblsendmsg           = new global::Gtk.Label();
     this.lblsendmsg.Name      = "lblsendmsg";
     this.lblsendmsg.LabelProp = global::Mono.Unix.Catalog.GetString("Enviar mensaje");
     this.hbox3.Add(this.lblsendmsg);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblsendmsg]));
     w39.Position = 0;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.txtsendmsg               = new global::Gtk.Entry();
     this.txtsendmsg.CanFocus      = true;
     this.txtsendmsg.Name          = "txtsendmsg";
     this.txtsendmsg.IsEditable    = true;
     this.txtsendmsg.InvisibleChar = '●';
     this.hbox3.Add(this.txtsendmsg);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.txtsendmsg]));
     w40.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.btnsendmsg              = new global::Gtk.Button();
     this.btnsendmsg.CanFocus     = true;
     this.btnsendmsg.Name         = "btnsendmsg";
     this.btnsendmsg.UseUnderline = true;
     global::Gtk.Image w41 = new global::Gtk.Image();
     w41.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Dnd);
     this.btnsendmsg.Image = w41;
     this.hbox3.Add(this.btnsendmsg);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnsendmsg]));
     w42.Position = 2;
     w42.Expand   = false;
     w42.Fill     = false;
     this.GtkAlignment5.Add(this.hbox3);
     this.fraSendData.Add(this.GtkAlignment5);
     this.GtkLabel7               = new global::Gtk.Label();
     this.GtkLabel7.Name          = "GtkLabel7";
     this.GtkLabel7.LabelProp     = global::Mono.Unix.Catalog.GetString("<b>Envio de datos de prueba</b>");
     this.GtkLabel7.UseMarkup     = true;
     this.fraSendData.LabelWidget = this.GtkLabel7;
     this.vbox5.Add(this.fraSendData);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.fraSendData]));
     w45.Position = 3;
     w45.Expand   = false;
     w45.Fill     = false;
     this.paned.Add(this.vbox5);
     global::Gtk.Paned.PanedChild w46 = ((global::Gtk.Paned.PanedChild)(this.paned [this.vbox5]));
     w46.Resize = false;
     // Container child paned.Gtk.Paned+PanedChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.tblBitacora          = new global::Gtk.TreeView();
     this.tblBitacora.CanFocus = true;
     this.tblBitacora.Name     = "tblBitacora";
     this.GtkScrolledWindow1.Add(this.tblBitacora);
     this.vbox7.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.GtkScrolledWindow1]));
     w48.Position = 0;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.alignment2      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name = "alignment2";
     this.hbox4.Add(this.alignment2);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment2]));
     w49.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.btnBitacoraHistorica              = new global::Gtk.Button();
     this.btnBitacoraHistorica.CanFocus     = true;
     this.btnBitacoraHistorica.Name         = "btnBitacoraHistorica";
     this.btnBitacoraHistorica.UseUnderline = true;
     global::Gtk.Image w50 = new global::Gtk.Image();
     w50.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dnd-multiple", global::Gtk.IconSize.SmallToolbar);
     this.btnBitacoraHistorica.Image = w50;
     this.hbox4.Add(this.btnBitacoraHistorica);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnBitacoraHistorica]));
     w51.Position = 1;
     w51.Expand   = false;
     w51.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.btnlimpiarbitacora              = new global::Gtk.Button();
     this.btnlimpiarbitacora.CanFocus     = true;
     this.btnlimpiarbitacora.Name         = "btnlimpiarbitacora";
     this.btnlimpiarbitacora.UseUnderline = true;
     global::Gtk.Image w52 = new global::Gtk.Image();
     w52.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.SmallToolbar);
     this.btnlimpiarbitacora.Image = w52;
     this.hbox4.Add(this.btnlimpiarbitacora);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnlimpiarbitacora]));
     w53.Position = 2;
     w53.Expand   = false;
     w53.Fill     = false;
     this.vbox7.Add(this.hbox4);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox4]));
     w54.Position = 1;
     w54.Expand   = false;
     w54.Fill     = false;
     this.paned.Add(this.vbox7);
     this.vbox4.Add(this.paned);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.paned]));
     w56.Position = 1;
     // Container child vbox4.Gtk.Box+BoxChild
     this.statusbar               = new global::Gtk.Statusbar();
     this.statusbar.Name          = "statusbar";
     this.statusbar.Spacing       = 6;
     this.statusbar.HasResizeGrip = false;
     // Container child statusbar.Gtk.Box+BoxChild
     this.button2              = new global::Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     global::Gtk.Image w57 = new global::Gtk.Image();
     w57.Pixbuf         = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Dnd);
     this.button2.Image = w57;
     this.statusbar.Add(this.button2);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.statusbar [this.button2]));
     w58.Position = 1;
     w58.Expand   = false;
     w58.Fill     = false;
     this.vbox4.Add(this.statusbar);
     global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.statusbar]));
     w59.Position = 2;
     w59.Expand   = false;
     w59.Fill     = false;
     this.Add(this.vbox4);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 887;
     this.DefaultHeight = 612;
     this.lblPortsNotFound.Hide();
     this.fraPortDetail.Hide();
     this.fraCnnConfig.Hide();
     this.fraSendData.Hide();
     this.btnBitacoraHistorica.Hide();
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.disconnectAction.Activated += new global::System.EventHandler(this.OnYesActionActivated);
     this.closeAction.Activated      += new global::System.EventHandler(this.OnCloseActionActivated);
     this.refreshAction.Activated    += new global::System.EventHandler(this.OnRefreshActionActivated);
     this.btnrefreshports.Clicked    += new global::System.EventHandler(this.OnBtnrefreshportsClicked);
     this.btnconnect.Clicked         += new global::System.EventHandler(this.OnBtnconnectClicked);
     this.btndisconnect.Clicked      += new global::System.EventHandler(this.OnBtndisconnectClicked);
     this.btnsendmsg.Clicked         += new global::System.EventHandler(this.OnBtnsendmsgClicked);
     this.btnlimpiarbitacora.Clicked += new global::System.EventHandler(this.OnBtnlimpiarbitacoraClicked);
     this.button2.Clicked            += new global::System.EventHandler(this.OnButton2Clicked);
 }
Пример #45
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.NewAction            = new global::Gtk.Action("NewAction", global::Mono.Unix.Catalog.GetString("_New"), global::Mono.Unix.Catalog.GetString("Creates new pipe"), "gtk-new");
     this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New");
     w1.Add(this.NewAction, "<Control>n");
     this.OpenAction            = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("_Open"), global::Mono.Unix.Catalog.GetString("Opens existing pipe"), "gtk-open");
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open");
     w1.Add(this.OpenAction, "<Control>o");
     this.SaveAction            = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("_Save"), global::Mono.Unix.Catalog.GetString("Saves pipe"), "gtk-floppy");
     this.SaveAction.Sensitive  = false;
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save");
     w1.Add(this.SaveAction, "<Control>s");
     this.SaveAsAction            = new global::Gtk.Action("SaveAsAction", global::Mono.Unix.Catalog.GetString("Save _As"), global::Mono.Unix.Catalog.GetString("Saves pipe as new file"), "gtk-save-as");
     this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save _As");
     w1.Add(this.SaveAsAction, "<Control>q");
     this.ImportAction            = new global::Gtk.Action("ImportAction", global::Mono.Unix.Catalog.GetString("_Import"), global::Mono.Unix.Catalog.GetString("Imports PCL formatted pipe from the clipboard"), "gtk-go-down");
     this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import");
     w1.Add(this.ImportAction, null);
     this.ExportAction            = new global::Gtk.Action("ExportAction", global::Mono.Unix.Catalog.GetString("_Export"), global::Mono.Unix.Catalog.GetString("Exports PCL formatted pipe to the clipboard"), "gtk-go-up");
     this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Export");
     w1.Add(this.ExportAction, null);
     this.ExitAction            = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("E_xit"), global::Mono.Unix.Catalog.GetString("Quits application"), "gtk-quit");
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("E_xit");
     w1.Add(this.ExitAction, null);
     this.EditAction            = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("_Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Edit");
     w1.Add(this.EditAction, null);
     this.CutAction            = new global::Gtk.Action("CutAction", global::Mono.Unix.Catalog.GetString("Cu_t"), null, "gtk-cut");
     this.CutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cu_t");
     w1.Add(this.CutAction, "<Control>x");
     this.CopyAction            = new global::Gtk.Action("CopyAction", global::Mono.Unix.Catalog.GetString("_Copy"), null, "gtk-copy");
     this.CopyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Copy");
     w1.Add(this.CopyAction, "<Control>c");
     this.PasteAction            = new global::Gtk.Action("PasteAction", global::Mono.Unix.Catalog.GetString("_Paste"), null, "gtk-paste");
     this.PasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste");
     w1.Add(this.PasteAction, "<Control>v");
     this.DeleteAction            = new global::Gtk.Action("DeleteAction", global::Mono.Unix.Catalog.GetString("_Delete"), null, "gtk-delete");
     this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Delete");
     w1.Add(this.DeleteAction, null);
     this.SelectAllAction            = new global::Gtk.Action("SelectAllAction", global::Mono.Unix.Catalog.GetString("Select _All"), null, "gtk-select-all");
     this.SelectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Select _All");
     w1.Add(this.SelectAllAction, "<Control>a");
     this.PreferencesAction            = new global::Gtk.Action("PreferencesAction", global::Mono.Unix.Catalog.GetString("Prefere_nces"), null, "gtk-preferences");
     this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Prefere_nces");
     w1.Add(this.PreferencesAction, null);
     this.PipeAction            = new global::Gtk.Action("PipeAction", global::Mono.Unix.Catalog.GetString("_Pipe"), null, null);
     this.PipeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Pipe");
     w1.Add(this.PipeAction, null);
     this.RunAction            = new global::Gtk.Action("RunAction", global::Mono.Unix.Catalog.GetString("_Run"), global::Mono.Unix.Catalog.GetString("Runs entire pipe"), "gtk-media-play");
     this.RunAction.Sensitive  = false;
     this.RunAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Run");
     w1.Add(this.RunAction, "<Control>r");
     this.RunToLineAction            = new global::Gtk.Action("RunToLineAction", global::Mono.Unix.Catalog.GetString("Run _To Line"), global::Mono.Unix.Catalog.GetString("Runs pipe to current line only"), "gtk-media-record");
     this.RunToLineAction.Sensitive  = false;
     this.RunToLineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Run _To Line");
     w1.Add(this.RunToLineAction, "<Control>t");
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.UserGuideAction            = new global::Gtk.Action("UserGuideAction", global::Mono.Unix.Catalog.GetString("_User Guide"), null, "gtk-help");
     this.UserGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_User Guide");
     w1.Add(this.UserGuideAction, "F1");
     this.SupportForumAction            = new global::Gtk.Action("SupportForumAction", global::Mono.Unix.Catalog.GetString("Support _Forum"), null, null);
     this.SupportForumAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Support _Forum");
     w1.Add(this.SupportForumAction, null);
     this.VisitOurHomepageAction            = new global::Gtk.Action("VisitOurHomepageAction", global::Mono.Unix.Catalog.GetString("Visit Our Homepage"), null, "gtk-home");
     this.VisitOurHomepageAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Visit Our Homepage");
     w1.Add(this.VisitOurHomepageAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.QuickStartTutorialAction            = new global::Gtk.Action("QuickStartTutorialAction", global::Mono.Unix.Catalog.GetString("Quick Start Tutorial"), global::Mono.Unix.Catalog.GetString("Display quick start tutorial"), null);
     this.QuickStartTutorialAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quick Start Tutorial");
     w1.Add(this.QuickStartTutorialAction, null);
     this.FontAction            = new global::Gtk.Action("FontAction", global::Mono.Unix.Catalog.GetString("_Font"), null, null);
     this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Font");
     w1.Add(this.FontAction, null);
     this.AppendStrAction            = new global::Gtk.Action("AppendStrAction", global::Mono.Unix.Catalog.GetString("AppendStr"), null, "gtk-add");
     this.AppendStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString("AppendStr");
     w1.Add(this.AppendStrAction, null);
     this.BottomLinesAction            = new global::Gtk.Action("BottomLinesAction", global::Mono.Unix.Catalog.GetString("BottomLines"), null, "gtk-goto-bottom");
     this.BottomLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("BottomLines");
     w1.Add(this.BottomLinesAction, null);
     this.CallAction            = new global::Gtk.Action("CallAction", global::Mono.Unix.Catalog.GetString("Call"), null, null);
     this.CallAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Call");
     w1.Add(this.CallAction, null);
     this.CountCharsAction            = new global::Gtk.Action("CountCharsAction", global::Mono.Unix.Catalog.GetString("CountChars"), null, null);
     this.CountCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CountChars");
     w1.Add(this.CountCharsAction, null);
     this.CountLinesAction            = new global::Gtk.Action("CountLinesAction", global::Mono.Unix.Catalog.GetString("CountLines"), null, null);
     this.CountLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CountLines");
     w1.Add(this.CountLinesAction, null);
     this.DelBlankLinesAction            = new global::Gtk.Action("DelBlankLinesAction", global::Mono.Unix.Catalog.GetString("DelBlankLines"), null, null);
     this.DelBlankLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DelBlankLines");
     w1.Add(this.DelBlankLinesAction, null);
     this.DelCharsAction            = new global::Gtk.Action("DelCharsAction", global::Mono.Unix.Catalog.GetString("DelChars"), null, null);
     this.DelCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DelChars");
     w1.Add(this.DelCharsAction, null);
     this.ExclLinesAction            = new global::Gtk.Action("ExclLinesAction", global::Mono.Unix.Catalog.GetString("ExclLines"), null, null);
     this.ExclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("ExclLines");
     w1.Add(this.ExclLinesAction, null);
     this.InclLinesAction            = new global::Gtk.Action("InclLinesAction", global::Mono.Unix.Catalog.GetString("InclLines"), null, null);
     this.InclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InclLines");
     w1.Add(this.InclLinesAction, null);
     this.InsLineNoAction            = new global::Gtk.Action("InsLineNoAction", global::Mono.Unix.Catalog.GetString("InsLineNo"), null, null);
     this.InsLineNoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InsLineNo");
     w1.Add(this.InsLineNoAction, null);
     this.InsStrAction            = new global::Gtk.Action("InsStrAction", global::Mono.Unix.Catalog.GetString("InsStr"), null, null);
     this.InsStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InsStr");
     w1.Add(this.InsStrAction, null);
     this.WrapTextAction            = new global::Gtk.ToggleAction("WrapTextAction", global::Mono.Unix.Catalog.GetString("_Wrap Text"), null, null);
     this.WrapTextAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Wrap Text");
     w1.Add(this.WrapTextAction, null);
     this.InsertCursorColAction            = new global::Gtk.Action("InsertCursorColAction", global::Mono.Unix.Catalog.GetString("Insert Cursor Col"), null, "gtk-add");
     this.InsertCursorColAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Insert Cursor Col");
     w1.Add(this.InsertCursorColAction, null);
     this.DemosAction            = new global::Gtk.Action("DemosAction", global::Mono.Unix.Catalog.GetString("_Demos"), null, null);
     this.DemosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Demos");
     w1.Add(this.DemosAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("PipeWrench");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "stock_standard-filter", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><menuitem name='ExportAction' action='ExportAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='CutAction' action='CutAction'/><menuitem name='CopyAction' action='CopyAction'/><menuitem name='PasteAction' action='PasteAction'/><menuitem name='DeleteAction' action='DeleteAction'/><menuitem name='SelectAllAction' action='SelectAllAction'/><separator/><menuitem name='InsertCursorColAction' action='InsertCursorColAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='PipeAction' action='PipeAction'><menuitem name='RunAction' action='RunAction'/><menuitem name='RunToLineAction' action='RunToLineAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='UserGuideAction' action='UserGuideAction'/><menuitem name='DemosAction' action='DemosAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='NewAction' action='NewAction'/><toolitem name='OpenAction' action='OpenAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='SaveAsAction' action='SaveAsAction'/><separator/><toolitem name='ImportAction' action='ImportAction'/><toolitem name='ExportAction' action='ExportAction'/><separator/><toolitem name='RunAction' action='RunAction'/><toolitem name='RunToLineAction' action='RunToLineAction'/></toolbar></ui>");
     this.toolbar1              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar1.IconSize     = ((global::Gtk.IconSize)(3));
     this.vbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 178;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.CommandsFrame             = new global::Gtk.Frame();
     this.CommandsFrame.Name        = "CommandsFrame";
     this.CommandsFrame.BorderWidth = ((uint)(3));
     // Container child CommandsFrame.Gtk.Container+ContainerChild
     this.GtkAlignment               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name          = "GtkAlignment";
     this.GtkAlignment.LeftPadding   = ((uint)(6));
     this.GtkAlignment.TopPadding    = ((uint)(6));
     this.GtkAlignment.RightPadding  = ((uint)(6));
     this.GtkAlignment.BottomPadding = ((uint)(6));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.UIManager.AddUiFromString("<ui><toolbar name='CommandsToolbar'/></ui>");
     this.CommandsToolbar              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/CommandsToolbar")));
     this.CommandsToolbar.Name         = "CommandsToolbar";
     this.CommandsToolbar.Orientation  = ((global::Gtk.Orientation)(1));
     this.CommandsToolbar.ShowArrow    = false;
     this.CommandsToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.CommandsToolbar.IconSize     = ((global::Gtk.IconSize)(2));
     w4.Add(this.CommandsToolbar);
     this.scrolledwindow1.Add(w4);
     this.GtkAlignment.Add(this.scrolledwindow1);
     this.CommandsFrame.Add(this.GtkAlignment);
     this.GtkLabel6                 = new global::Gtk.Label();
     this.GtkLabel6.Name            = "GtkLabel6";
     this.GtkLabel6.LabelProp       = global::Mono.Unix.Catalog.GetString("<b>Commands</b>");
     this.GtkLabel6.UseMarkup       = true;
     this.CommandsFrame.LabelWidget = this.GtkLabel6;
     this.hpaned1.Add(this.CommandsFrame);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.CommandsFrame]));
     w9.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 156;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.PipeFrame             = new global::Gtk.Frame();
     this.PipeFrame.Name        = "PipeFrame";
     this.PipeFrame.BorderWidth = ((uint)(3));
     // Container child PipeFrame.Gtk.Container+ContainerChild
     this.GtkAlignment2               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name          = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding   = ((uint)(6));
     this.GtkAlignment2.TopPadding    = ((uint)(6));
     this.GtkAlignment2.RightPadding  = ((uint)(6));
     this.GtkAlignment2.BottomPadding = ((uint)(6));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.PipeTextView = new global::Gtk.TextView();
     this.PipeTextView.TooltipMarkup = "Enter pipe commands here";
     this.PipeTextView.CanFocus      = true;
     this.PipeTextView.Name          = "PipeTextView";
     this.PipeTextView.AcceptsTab    = false;
     this.PipeTextView.RightMargin   = 3;
     this.GtkScrolledWindow.Add(this.PipeTextView);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w11.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Arguments");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ArgsEntry = new global::Gtk.Entry();
     this.ArgsEntry.TooltipMarkup = "Enter any pipe arguments here";
     this.ArgsEntry.CanFocus      = true;
     this.ArgsEntry.Name          = "ArgsEntry";
     this.ArgsEntry.IsEditable    = true;
     this.ArgsEntry.InvisibleChar = '●';
     this.hbox1.Add(this.ArgsEntry);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ArgsEntry]));
     w13.Position = 1;
     this.vbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.GtkAlignment2.Add(this.vbox3);
     this.PipeFrame.Add(this.GtkAlignment2);
     this.GtkLabel10            = new global::Gtk.Label();
     this.GtkLabel10.Name       = "GtkLabel10";
     this.GtkLabel10.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>Pipe</b>");
     this.GtkLabel10.UseMarkup  = true;
     this.PipeFrame.LabelWidget = this.GtkLabel10;
     this.vpaned1.Add(this.PipeFrame);
     global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.PipeFrame]));
     w17.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.TextFrame             = new global::Gtk.Frame();
     this.TextFrame.Name        = "TextFrame";
     this.TextFrame.BorderWidth = ((uint)(3));
     // Container child TextFrame.Gtk.Container+ContainerChild
     this.GtkAlignment1               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name          = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding   = ((uint)(6));
     this.GtkAlignment1.TopPadding    = ((uint)(6));
     this.GtkAlignment1.RightPadding  = ((uint)(6));
     this.GtkAlignment1.BottomPadding = ((uint)(6));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.TextNotebook             = new global::Gtk.Notebook();
     this.TextNotebook.CanFocus    = true;
     this.TextNotebook.Name        = "TextNotebook";
     this.TextNotebook.CurrentPage = 1;
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.InputTextView               = new global::Gtk.TextView();
     this.InputTextView.Buffer.Text   = "replace this text\nwith the text you\nwant to edit.";
     this.InputTextView.TooltipMarkup = "Copy the text to process here";
     this.InputTextView.CanFocus      = true;
     this.InputTextView.Name          = "InputTextView";
     this.InputTextView.AcceptsTab    = false;
     this.InputTextView.RightMargin   = 3;
     this.GtkScrolledWindow1.Add(this.InputTextView);
     this.vbox2.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1]));
     w19.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("File");
     this.hbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileEntry = new global::Gtk.Entry();
     this.InputFileEntry.TooltipMarkup = "Use browse button to select input text file";
     this.InputFileEntry.CanFocus      = true;
     this.InputFileEntry.Name          = "InputFileEntry";
     this.InputFileEntry.IsEditable    = false;
     this.InputFileEntry.InvisibleChar = '●';
     this.hbox2.Add(this.InputFileEntry);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileEntry]));
     w21.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileBrowseButton = new global::Gtk.Button();
     this.InputFileBrowseButton.TooltipMarkup = "Browse for input text file";
     this.InputFileBrowseButton.CanFocus      = true;
     this.InputFileBrowseButton.Name          = "InputFileBrowseButton";
     this.InputFileBrowseButton.UseUnderline  = true;
     this.InputFileBrowseButton.Label         = global::Mono.Unix.Catalog.GetString("...");
     this.hbox2.Add(this.InputFileBrowseButton);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileBrowseButton]));
     w22.Position = 2;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileClearButton = new global::Gtk.Button();
     this.InputFileClearButton.TooltipMarkup = "Clear input text file";
     this.InputFileClearButton.CanFocus      = true;
     this.InputFileClearButton.Name          = "InputFileClearButton";
     this.InputFileClearButton.UseUnderline  = true;
     this.InputFileClearButton.Label         = global::Mono.Unix.Catalog.GetString("Clear");
     this.hbox2.Add(this.InputFileClearButton);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileClearButton]));
     w23.Position = 3;
     w23.Expand   = false;
     w23.Fill     = false;
     this.vbox2.Add(this.hbox2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.TextNotebook.Add(this.vbox2);
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.OutputTextView = new global::Gtk.TextView();
     this.OutputTextView.TooltipMarkup = "Edited text is output here";
     this.OutputTextView.CanFocus      = true;
     this.OutputTextView.Name          = "OutputTextView";
     this.OutputTextView.AcceptsTab    = false;
     this.OutputTextView.RightMargin   = 3;
     this.GtkScrolledWindow2.Add(this.OutputTextView);
     this.vbox4.Add(this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2]));
     w27.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("File");
     this.hbox3.Add(this.label3);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3]));
     w28.Position = 0;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileEntry = new global::Gtk.Entry();
     this.OutputFileEntry.TooltipMarkup = "Use browse button to select output text file";
     this.OutputFileEntry.CanFocus      = true;
     this.OutputFileEntry.Name          = "OutputFileEntry";
     this.OutputFileEntry.IsEditable    = false;
     this.OutputFileEntry.InvisibleChar = '●';
     this.hbox3.Add(this.OutputFileEntry);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileEntry]));
     w29.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileBrowseButton = new global::Gtk.Button();
     this.OutputFileBrowseButton.TooltipMarkup = "Browse for output text file";
     this.OutputFileBrowseButton.CanFocus      = true;
     this.OutputFileBrowseButton.Name          = "OutputFileBrowseButton";
     this.OutputFileBrowseButton.UseUnderline  = true;
     this.OutputFileBrowseButton.Label         = global::Mono.Unix.Catalog.GetString("...");
     this.hbox3.Add(this.OutputFileBrowseButton);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileBrowseButton]));
     w30.Position = 2;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileClearButton = new global::Gtk.Button();
     this.OutputFileClearButton.TooltipMarkup = "Clear output text file";
     this.OutputFileClearButton.CanFocus      = true;
     this.OutputFileClearButton.Name          = "OutputFileClearButton";
     this.OutputFileClearButton.UseUnderline  = true;
     this.OutputFileClearButton.Label         = global::Mono.Unix.Catalog.GetString("Clear");
     this.hbox3.Add(this.OutputFileClearButton);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileClearButton]));
     w31.Position = 3;
     w31.Expand   = false;
     w31.Fill     = false;
     this.vbox4.Add(this.hbox3);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3]));
     w32.Position = 1;
     w32.Expand   = false;
     w32.Fill     = false;
     this.TextNotebook.Add(this.vbox4);
     global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.vbox4]));
     w33.Position = 1;
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow3            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow3.Name       = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.ErrorsTextView = new global::Gtk.TextView();
     this.ErrorsTextView.TooltipMarkup = "Errors are reported here";
     this.ErrorsTextView.CanFocus      = true;
     this.ErrorsTextView.Name          = "ErrorsTextView";
     this.ErrorsTextView.Editable      = false;
     this.ErrorsTextView.AcceptsTab    = false;
     this.ErrorsTextView.RightMargin   = 3;
     this.GtkScrolledWindow3.Add(this.ErrorsTextView);
     this.TextNotebook.Add(this.GtkScrolledWindow3);
     global::Gtk.Notebook.NotebookChild w35 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.GtkScrolledWindow3]));
     w35.Position = 2;
     this.GtkAlignment1.Add(this.TextNotebook);
     this.TextFrame.Add(this.GtkAlignment1);
     this.GtkLabel14            = new global::Gtk.Label();
     this.GtkLabel14.Name       = "GtkLabel14";
     this.GtkLabel14.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>Text</b>");
     this.GtkLabel14.UseMarkup  = true;
     this.TextFrame.LabelWidget = this.GtkLabel14;
     this.vpaned1.Add(this.TextFrame);
     this.hpaned1.Add(this.vpaned1);
     this.vbox1.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
     w40.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.TheStatusBar         = new global::Gtk.Statusbar();
     this.TheStatusBar.Name    = "TheStatusBar";
     this.TheStatusBar.Spacing = 6;
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.StatusBarCursorPosLabel           = new global::Gtk.Label();
     this.StatusBarCursorPosLabel.Name      = "StatusBarCursorPosLabel";
     this.StatusBarCursorPosLabel.LabelProp = global::Mono.Unix.Catalog.GetString("(0, 0)");
     this.TheStatusBar.Add(this.StatusBarCursorPosLabel);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarCursorPosLabel]));
     w41.Position = 0;
     w41.Expand   = false;
     w41.Fill     = false;
     w41.Padding  = ((uint)(4));
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.TheStatusBar.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.vseparator1]));
     w42.Position = 1;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.StatusBarTextLabel           = new global::Gtk.Label();
     this.StatusBarTextLabel.Name      = "StatusBarTextLabel";
     this.StatusBarTextLabel.LabelProp = global::Mono.Unix.Catalog.GetString("    ");
     this.TheStatusBar.Add(this.StatusBarTextLabel);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarTextLabel]));
     w43.Position = 2;
     w43.Expand   = false;
     w43.Fill     = false;
     w43.Padding  = ((uint)(4));
     this.vbox1.Add(this.TheStatusBar);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.TheStatusBar]));
     w44.Position = 3;
     w44.Expand   = false;
     w44.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 488;
     this.DefaultHeight = 458;
     this.Show();
     this.DeleteEvent                       += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.NewAction.Activated               += new global::System.EventHandler(this.NewAction_OnActivated);
     this.OpenAction.Activated              += new global::System.EventHandler(this.OpenAction_OnActivated);
     this.SaveAction.Activated              += new global::System.EventHandler(this.SaveAction_OnActivated);
     this.SaveAsAction.Activated            += new global::System.EventHandler(this.SaveAsAction_OnActivated);
     this.ImportAction.Activated            += new global::System.EventHandler(this.ImportAction_OnActivated);
     this.ExportAction.Activated            += new global::System.EventHandler(this.ExportAction_OnActivated);
     this.ExitAction.Activated              += new global::System.EventHandler(this.OnExit);
     this.CutAction.Activated               += new global::System.EventHandler(this.Cut_OnActivated);
     this.CopyAction.Activated              += new global::System.EventHandler(this.Copy_OnActivated);
     this.PasteAction.Activated             += new global::System.EventHandler(this.Paste_OnActivated);
     this.DeleteAction.Activated            += new global::System.EventHandler(this.Delete_OnActivated);
     this.SelectAllAction.Activated         += new global::System.EventHandler(this.SelectAll_OnActivated);
     this.PreferencesAction.Activated       += new global::System.EventHandler(this.Preferences_OnActivated);
     this.RunAction.Activated               += new global::System.EventHandler(this.RunAction_OnActivated);
     this.RunToLineAction.Activated         += new global::System.EventHandler(this.RunToLineAction_OnActivated);
     this.UserGuideAction.Activated         += new global::System.EventHandler(this.UserGuide_OnActivated);
     this.AboutAction.Activated             += new global::System.EventHandler(this.About_OnActivated);
     this.InsertCursorColAction.Activated   += new global::System.EventHandler(this.InsertCursorCol_OnActivated);
     this.DemosAction.Activated             += new global::System.EventHandler(this.Demos_OnActivated);
     this.PipeTextView.MoveCursor           += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor);
     this.PipeTextView.ButtonReleaseEvent   += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent);
     this.PipeTextView.Focused              += new global::Gtk.FocusedHandler(this.TextView_OnFocused);
     this.PipeTextView.KeyReleaseEvent      += new global::Gtk.KeyReleaseEventHandler(this.PipeTextView_OnKeyReleaseEvent);
     this.InputTextView.ButtonReleaseEvent  += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent);
     this.InputTextView.MoveCursor          += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor);
     this.InputTextView.Focused             += new global::Gtk.FocusedHandler(this.TextView_OnFocused);
     this.InputFileEntry.Changed            += new global::System.EventHandler(this.InputFileEntry_OnChanged);
     this.InputFileBrowseButton.Clicked     += new global::System.EventHandler(this.InputFileBrowseButton_OnClicked);
     this.InputFileClearButton.Clicked      += new global::System.EventHandler(this.InputFileClearButton_Clicked);
     this.OutputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent);
     this.OutputTextView.MoveCursor         += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor);
     this.OutputTextView.Focused            += new global::Gtk.FocusedHandler(this.TextView_OnFocused);
     this.OutputFileEntry.Changed           += new global::System.EventHandler(this.OutputFileEntry_OnChanged);
     this.OutputFileBrowseButton.Clicked    += new global::System.EventHandler(this.OutputFileBrowseButton_OnClicked);
     this.OutputFileClearButton.Clicked     += new global::System.EventHandler(this.OutputFileClearButton_Clicked);
 }
Пример #46
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget snowpack.FDArchiveBrowser
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.VaultAction = new global::Gtk.Action ("VaultAction", global::Mono.Unix.Catalog.GetString ("_Vault"), null, null);
     this.VaultAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Vault");
     w1.Add (this.VaultAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("_Edit"), null, null);
     this.EditAction.Sensitive = false;
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Edit");
     w1.Add (this.EditAction, null);
     this.SelectAllAction = new global::Gtk.Action ("SelectAllAction", global::Mono.Unix.Catalog.GetString ("Select _All"), null, null);
     this.SelectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Select _All");
     w1.Add (this.SelectAllAction, "<Primary>a");
     this.CloseAction = new global::Gtk.Action ("CloseAction", global::Mono.Unix.Catalog.GetString ("_Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Close");
     w1.Add (this.CloseAction, "<Primary>w");
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
     this.HelpAction.Sensitive = false;
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.HelpAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "snowpack.FDArchiveBrowser";
     this.Title = global::Mono.Unix.Catalog.GetString ("Browser - snowpack");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child snowpack.FDArchiveBrowser.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='VaultAction' action='VaultAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='SelectAllAction' action='SelectAllAction'/></menu><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox2.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview1 = new global::Gtk.TreeView ();
     this.treeview1.CanFocus = true;
     this.treeview1.Name = "treeview1";
     this.GtkScrolledWindow.Add (this.treeview1);
     this.vbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w4.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonRestore = new global::Gtk.Button ();
     this.buttonRestore.Sensitive = false;
     this.buttonRestore.CanFocus = true;
     this.buttonRestore.Name = "buttonRestore";
     this.buttonRestore.UseUnderline = true;
     this.buttonRestore.Label = global::Mono.Unix.Catalog.GetString ("_Restore");
     this.hbox1.Add (this.buttonRestore);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonRestore]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox2.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar1]));
     w7.Position = 3;
     w7.Expand = false;
     w7.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 954;
     this.DefaultHeight = 472;
     this.Show ();
     this.CloseAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated);
     this.treeview1.RowExpanded += new global::Gtk.RowExpandedHandler (this.OnTreeview1RowExpanded);
     this.treeview1.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnTreeview1KeyPressEvent);
     this.buttonRestore.Activated += new global::System.EventHandler (this.OnButtonRestoreActivated);
     this.buttonRestore.Clicked += new global::System.EventHandler (this.OnButtonRestoreClicked);
 }
Пример #47
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Template.TemplateWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close");
     w1.Add(this.CloseAction, null);
     this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null);
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings");
     w1.Add(this.SettingsAction, null);
     this.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null);
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style");
     w1.Add(this.WindowStyleAction, null);
     this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0);
     this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE");
     w1.Add(this.CustomStyleAction, null);
     this.PlatformStyleAction = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction.Group = this.CustomStyleAction.Group;
     this.PlatformStyleAction.Sensitive = false;
     this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction.Visible = false;
     this.PlatformStyleAction.VisibleHorizontal = false;
     this.PlatformStyleAction.VisibleVertical = false;
     this.PlatformStyleAction.VisibleOverflown = false;
     w1.Add(this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0);
     this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE");
     w1.Add(this.DecoratedCustomStyleAction, null);
     this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group;
     this.PlatformStyleAction1.Sensitive = false;
     this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction1.Visible = false;
     w1.Add(this.PlatformStyleAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name = "Template.TemplateWindow";
     this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Decorated = false;
     // Container child Template.TemplateWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button1 = new global::Gtk.Button();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton");
     this.table1.Add(this.button1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.calendar2 = new global::Gtk.Calendar();
     this.calendar2.CanFocus = true;
     this.calendar2.Name = "calendar2";
     this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35));
     this.table1.Add(this.calendar2);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2]));
     w4.TopAttach = ((uint)(6));
     w4.BottomAttach = ((uint)(7));
     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.combobox1 = global::Gtk.ComboBox.NewText();
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("young"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("strong"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy"));
     this.combobox1.Name = "combobox1";
     this.combobox1.Active = 0;
     this.table1.Add(this.combobox1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1]));
     w5.TopAttach = ((uint)(3));
     w5.BottomAttach = ((uint)(4));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("young"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("strong"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy"));
     this.comboboxentry1.Name = "comboboxentry1";
     this.comboboxentry1.Active = 0;
     this.table1.Add(this.comboboxentry1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1]));
     w6.TopAttach = ((uint)(4));
     w6.BottomAttach = ((uint)(5));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry1 = new global::Gtk.Entry();
     this.entry1.CanFocus = true;
     this.entry1.Name = "entry1";
     this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.entry1.IsEditable = true;
     this.entry1.InvisibleChar = '●';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // 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.textview1 = new global::Gtk.TextView();
     this.textview1.Buffer.Text = "Young, strong and crazy!";
     this.textview1.CanFocus = true;
     this.textview1.Name = "textview1";
     this.GtkScrolledWindow.Add(this.textview1);
     this.table1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w9.TopAttach = ((uint)(6));
     w9.BottomAttach = ((uint)(7));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressbar1 = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.progressbar1.Fraction = 0.5D;
     this.table1.Add(this.progressbar1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10D;
     this.spinbutton1.ClimbRate = 1D;
     this.spinbutton1.Numeric = true;
     this.table1.Add(this.spinbutton1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1]));
     w12.TopAttach = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.togglebutton1 = new global::Gtk.ToggleButton();
     this.togglebutton1.CanFocus = true;
     this.togglebutton1.Name = "togglebutton1";
     this.togglebutton1.UseUnderline = true;
     this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton");
     this.table1.Add(this.togglebutton1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1]));
     w13.TopAttach = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox3 = new global::Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton2 = new global::Gtk.CheckButton();
     this.checkbutton2.CanFocus = true;
     this.checkbutton2.Name = "checkbutton2";
     this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2");
     this.checkbutton2.DrawIndicator = true;
     this.checkbutton2.UseUnderline = true;
     this.vbox3.Add(this.checkbutton2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2]));
     w14.Position = 0;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton3 = new global::Gtk.CheckButton();
     this.checkbutton3.CanFocus = true;
     this.checkbutton3.Name = "checkbutton3";
     this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3");
     this.checkbutton3.DrawIndicator = true;
     this.checkbutton3.UseUnderline = true;
     this.vbox3.Add(this.checkbutton3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton4 = new global::Gtk.CheckButton();
     this.checkbutton4.CanFocus = true;
     this.checkbutton4.Name = "checkbutton4";
     this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4");
     this.checkbutton4.DrawIndicator = true;
     this.checkbutton4.UseUnderline = true;
     this.vbox3.Add(this.checkbutton4);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     this.table1.Add(this.vbox3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3]));
     w17.TopAttach = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox4 = new global::Gtk.VBox();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton1"));
     this.radiobutton1.CanFocus = true;
     this.radiobutton1.Name = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline = true;
     this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.vbox4.Add(this.radiobutton1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1]));
     w18.Position = 0;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton2"));
     this.radiobutton2.CanFocus = true;
     this.radiobutton2.Name = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline = true;
     this.radiobutton2.Group = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton3"));
     this.radiobutton3.CanFocus = true;
     this.radiobutton3.Name = "radiobutton3";
     this.radiobutton3.DrawIndicator = true;
     this.radiobutton3.UseUnderline = true;
     this.radiobutton3.Group = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton3);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3]));
     w20.Position = 2;
     w20.Expand = false;
     w20.Fill = false;
     this.table1.Add(this.vbox4);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4]));
     w21.TopAttach = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
     w22.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w23.Position = 2;
     w23.Expand = false;
     w23.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 483;
     this.DefaultHeight = 497;
     this.Show();
 }
Пример #48
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget RestrictionTrackerGTK.frmMain
     this.Name           = "RestrictionTrackerGTK.frmMain";
     this.Title          = global::Mono.Unix.Catalog.GetString("Satellite Restriction Tracker");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("RestrictionTrackerGTK.Resources.norm.ico");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.AllowShrink    = true;
     this.Role           = "";
     // Container child RestrictionTrackerGTK.frmMain.Gtk.Container+ContainerChild
     this.pnlDetails      = new global::Gtk.VBox();
     this.pnlDetails.Name = "pnlDetails";
     // Container child pnlDetails.Gtk.Box+BoxChild
     this.pnlButtons             = new global::Gtk.HBox();
     this.pnlButtons.Name        = "pnlButtons";
     this.pnlButtons.Homogeneous = true;
     this.pnlButtons.Spacing     = 3;
     this.pnlButtons.BorderWidth = ((uint)(3));
     // Container child pnlButtons.Gtk.Box+BoxChild
     this.cmdRefresh = new global::Gtk.Button();
     this.cmdRefresh.TooltipMarkup = "Reload bandwidth level information immediately.\n(Hold CTRL to reload database.)";
     this.cmdRefresh.CanFocus      = true;
     this.cmdRefresh.Name          = "cmdRefresh";
     this.cmdRefresh.UseUnderline  = true;
     this.cmdRefresh.Label         = global::Mono.Unix.Catalog.GetString("_Refresh");
     this.pnlButtons.Add(this.cmdRefresh);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.pnlButtons[this.cmdRefresh]));
     w1.Position = 0;
     // Container child pnlButtons.Gtk.Box+BoxChild
     this.cmdHistory = new global::Gtk.Button();
     this.cmdHistory.TooltipMarkup = "View your bandwidth history.";
     this.cmdHistory.CanFocus      = true;
     this.cmdHistory.Name          = "cmdHistory";
     this.cmdHistory.UseUnderline  = true;
     this.cmdHistory.Label         = global::Mono.Unix.Catalog.GetString("_History");
     this.pnlButtons.Add(this.cmdHistory);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.pnlButtons[this.cmdHistory]));
     w2.Position = 1;
     // Container child pnlButtons.Gtk.Box+BoxChild
     this.cmdConfig = new global::Gtk.Button();
     this.cmdConfig.TooltipMarkup = "Change program settings.";
     this.cmdConfig.CanFocus      = true;
     this.cmdConfig.Name          = "cmdConfig";
     this.cmdConfig.UseUnderline  = true;
     this.cmdConfig.Label         = global::Mono.Unix.Catalog.GetString("_Configuration");
     this.pnlButtons.Add(this.cmdConfig);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.pnlButtons[this.cmdConfig]));
     w3.Position = 2;
     // Container child pnlButtons.Gtk.Box+BoxChild
     this.cmdAbout = new global::Gtk.Button();
     this.cmdAbout.TooltipMarkup = "View information about Satellite Restriction Tracker and check for updates.";
     this.cmdAbout.CanFocus      = true;
     this.cmdAbout.Name          = "cmdAbout";
     this.cmdAbout.UseUnderline  = true;
     this.cmdAbout.Label         = global::Mono.Unix.Catalog.GetString("_About");
     this.pnlButtons.Add(this.cmdAbout);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.pnlButtons[this.cmdAbout]));
     w4.PackType = ((global::Gtk.PackType)(1));
     w4.Position = 3;
     this.pnlDetails.Add(this.pnlButtons);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.pnlDetails[this.pnlButtons]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child pnlDetails.Gtk.Box+BoxChild
     this.gbUsage             = new global::Gtk.Frame();
     this.gbUsage.Name        = "gbUsage";
     this.gbUsage.BorderWidth = ((uint)(3));
     // Container child gbUsage.Gtk.Container+ContainerChild
     this.algnUsage               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.algnUsage.Name          = "algnUsage";
     this.algnUsage.LeftPadding   = ((uint)(3));
     this.algnUsage.TopPadding    = ((uint)(3));
     this.algnUsage.RightPadding  = ((uint)(3));
     this.algnUsage.BottomPadding = ((uint)(3));
     // Container child algnUsage.Gtk.Container+ContainerChild
     this.pnlDisplays         = new global::Gtk.VBox();
     this.pnlDisplays.Name    = "pnlDisplays";
     this.pnlDisplays.Spacing = 6;
     // Container child pnlDisplays.Gtk.Box+BoxChild
     this.pnlNothing             = new global::Gtk.VBox();
     this.pnlNothing.Name        = "pnlNothing";
     this.pnlNothing.Homogeneous = true;
     this.pnlNothing.Spacing     = 6;
     // Container child pnlNothing.Gtk.Box+BoxChild
     this.lblNothing           = new global::Gtk.Label();
     this.lblNothing.Name      = "lblNothing";
     this.lblNothing.LabelProp = global::Mono.Unix.Catalog.GetString("Satellite Restriction Tracker");
     this.pnlNothing.Add(this.lblNothing);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.pnlNothing[this.lblNothing]));
     w6.Position = 0;
     // Container child pnlNothing.Gtk.Box+BoxChild
     this.lblRRS           = new global::Gtk.Label();
     this.lblRRS.CanFocus  = true;
     this.lblRRS.Name      = "lblRRS";
     this.lblRRS.Xalign    = 1F;
     this.lblRRS.LabelProp = global::Mono.Unix.Catalog.GetString("by RealityRipple Software");
     this.pnlNothing.Add(this.lblRRS);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.pnlNothing[this.lblRRS]));
     w7.PackType = ((global::Gtk.PackType)(1));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.pnlDisplays.Add(this.pnlNothing);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.pnlDisplays[this.pnlNothing]));
     w8.Position = 0;
     // Container child pnlDisplays.Gtk.Box+BoxChild
     this.pnlTypeA             = new global::Gtk.HBox();
     this.pnlTypeA.Name        = "pnlTypeA";
     this.pnlTypeA.Homogeneous = true;
     // Container child pnlTypeA.Gtk.Box+BoxChild
     this.gbTypeADld            = new global::Gtk.Frame();
     this.gbTypeADld.Name       = "gbTypeADld";
     this.gbTypeADld.ShadowType = ((global::Gtk.ShadowType)(2));
     // Container child gbTypeADld.Gtk.Container+ContainerChild
     this.algnTypeADld               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.algnTypeADld.Name          = "algnTypeADld";
     this.algnTypeADld.LeftPadding   = ((uint)(3));
     this.algnTypeADld.TopPadding    = ((uint)(3));
     this.algnTypeADld.RightPadding  = ((uint)(3));
     this.algnTypeADld.BottomPadding = ((uint)(3));
     // Container child algnTypeADld.Gtk.Container+ContainerChild
     this.pnlTypeADld         = new global::Gtk.HBox();
     this.pnlTypeADld.Name    = "pnlTypeADld";
     this.pnlTypeADld.Spacing = 6;
     // Container child pnlTypeADld.Gtk.Box+BoxChild
     this.pnlDldText             = new global::Gtk.VBox();
     this.pnlDldText.Name        = "pnlDldText";
     this.pnlDldText.Homogeneous = true;
     this.pnlDldText.Spacing     = 6;
     // Container child pnlDldText.Gtk.Box+BoxChild
     this.pnlDldTextUsed         = new global::Gtk.HBox();
     this.pnlDldTextUsed.Name    = "pnlDldTextUsed";
     this.pnlDldTextUsed.Spacing = 6;
     // Container child pnlDldTextUsed.Gtk.Box+BoxChild
     this.lblTypeADldUsed           = new global::Gtk.Label();
     this.lblTypeADldUsed.Name      = "lblTypeADldUsed";
     this.lblTypeADldUsed.LabelProp = global::Mono.Unix.Catalog.GetString("Used:");
     this.pnlDldTextUsed.Add(this.lblTypeADldUsed);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.pnlDldTextUsed[this.lblTypeADldUsed]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child pnlDldTextUsed.Gtk.Box+BoxChild
     this.lblTypeADldUsedVal           = new global::Gtk.Label();
     this.lblTypeADldUsedVal.Name      = "lblTypeADldUsedVal";
     this.lblTypeADldUsedVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlDldTextUsed.Add(this.lblTypeADldUsedVal);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.pnlDldTextUsed[this.lblTypeADldUsedVal]));
     w10.PackType = ((global::Gtk.PackType)(1));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.pnlDldText.Add(this.pnlDldTextUsed);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.pnlDldText[this.pnlDldTextUsed]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child pnlDldText.Gtk.Box+BoxChild
     this.pnlDldTextFree         = new global::Gtk.HBox();
     this.pnlDldTextFree.Name    = "pnlDldTextFree";
     this.pnlDldTextFree.Spacing = 6;
     // Container child pnlDldTextFree.Gtk.Box+BoxChild
     this.lblTypeADldFree           = new global::Gtk.Label();
     this.lblTypeADldFree.Name      = "lblTypeADldFree";
     this.lblTypeADldFree.LabelProp = global::Mono.Unix.Catalog.GetString("Free:");
     this.pnlDldTextFree.Add(this.lblTypeADldFree);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.pnlDldTextFree[this.lblTypeADldFree]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child pnlDldTextFree.Gtk.Box+BoxChild
     this.lblTypeADldFreeVal           = new global::Gtk.Label();
     this.lblTypeADldFreeVal.Name      = "lblTypeADldFreeVal";
     this.lblTypeADldFreeVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlDldTextFree.Add(this.lblTypeADldFreeVal);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.pnlDldTextFree[this.lblTypeADldFreeVal]));
     w13.PackType = ((global::Gtk.PackType)(1));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.pnlDldText.Add(this.pnlDldTextFree);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.pnlDldText[this.pnlDldTextFree]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child pnlDldText.Gtk.Box+BoxChild
     this.pnlDldTextLimit         = new global::Gtk.HBox();
     this.pnlDldTextLimit.Name    = "pnlDldTextLimit";
     this.pnlDldTextLimit.Spacing = 6;
     // Container child pnlDldTextLimit.Gtk.Box+BoxChild
     this.lblTypeADldLimit           = new global::Gtk.Label();
     this.lblTypeADldLimit.Name      = "lblTypeADldLimit";
     this.lblTypeADldLimit.LabelProp = global::Mono.Unix.Catalog.GetString("Limit:");
     this.pnlDldTextLimit.Add(this.lblTypeADldLimit);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.pnlDldTextLimit[this.lblTypeADldLimit]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child pnlDldTextLimit.Gtk.Box+BoxChild
     this.lblTypeADldLimitVal           = new global::Gtk.Label();
     this.lblTypeADldLimitVal.Name      = "lblTypeADldLimitVal";
     this.lblTypeADldLimitVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlDldTextLimit.Add(this.lblTypeADldLimitVal);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.pnlDldTextLimit[this.lblTypeADldLimitVal]));
     w16.PackType = ((global::Gtk.PackType)(1));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     this.pnlDldText.Add(this.pnlDldTextLimit);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.pnlDldText[this.pnlDldTextLimit]));
     w17.Position = 2;
     w17.Expand   = false;
     w17.Fill     = false;
     this.pnlTypeADld.Add(this.pnlDldText);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.pnlTypeADld[this.pnlDldText]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child pnlTypeADld.Gtk.Box+BoxChild
     this.evnTypeADld      = new global::Gtk.EventBox();
     this.evnTypeADld.Name = "evnTypeADld";
     // Container child evnTypeADld.Gtk.Container+ContainerChild
     this.pctTypeADld = new global::Gtk.Image();
     this.pctTypeADld.TooltipMarkup = "Graph representing your download usage.";
     this.pctTypeADld.Name          = "pctTypeADld";
     this.evnTypeADld.Add(this.pctTypeADld);
     this.pnlTypeADld.Add(this.evnTypeADld);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.pnlTypeADld[this.evnTypeADld]));
     w20.Position = 1;
     this.algnTypeADld.Add(this.pnlTypeADld);
     this.gbTypeADld.Add(this.algnTypeADld);
     this.lblTypeADld            = new global::Gtk.Label();
     this.lblTypeADld.Name       = "lblTypeADld";
     this.lblTypeADld.Xalign     = 0F;
     this.lblTypeADld.LabelProp  = global::Mono.Unix.Catalog.GetString("Download (X%)");
     this.lblTypeADld.UseMarkup  = true;
     this.gbTypeADld.LabelWidget = this.lblTypeADld;
     this.pnlTypeA.Add(this.gbTypeADld);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.pnlTypeA[this.gbTypeADld]));
     w23.Position = 0;
     w23.Padding  = ((uint)(3));
     // Container child pnlTypeA.Gtk.Box+BoxChild
     this.gbTypeAUld            = new global::Gtk.Frame();
     this.gbTypeAUld.Name       = "gbTypeAUld";
     this.gbTypeAUld.ShadowType = ((global::Gtk.ShadowType)(2));
     // Container child gbTypeAUld.Gtk.Container+ContainerChild
     this.algnTypeAUld               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.algnTypeAUld.Name          = "algnTypeAUld";
     this.algnTypeAUld.LeftPadding   = ((uint)(3));
     this.algnTypeAUld.TopPadding    = ((uint)(3));
     this.algnTypeAUld.RightPadding  = ((uint)(3));
     this.algnTypeAUld.BottomPadding = ((uint)(3));
     // Container child algnTypeAUld.Gtk.Container+ContainerChild
     this.pnlTypeAUld         = new global::Gtk.HBox();
     this.pnlTypeAUld.Name    = "pnlTypeAUld";
     this.pnlTypeAUld.Spacing = 6;
     // Container child pnlTypeAUld.Gtk.Box+BoxChild
     this.pnlUldText             = new global::Gtk.VBox();
     this.pnlUldText.Name        = "pnlUldText";
     this.pnlUldText.Homogeneous = true;
     this.pnlUldText.Spacing     = 6;
     // Container child pnlUldText.Gtk.Box+BoxChild
     this.pnlUldTextUsed         = new global::Gtk.HBox();
     this.pnlUldTextUsed.Name    = "pnlUldTextUsed";
     this.pnlUldTextUsed.Spacing = 6;
     // Container child pnlUldTextUsed.Gtk.Box+BoxChild
     this.lblTypeAUldUsed           = new global::Gtk.Label();
     this.lblTypeAUldUsed.Name      = "lblTypeAUldUsed";
     this.lblTypeAUldUsed.LabelProp = global::Mono.Unix.Catalog.GetString("Used:");
     this.pnlUldTextUsed.Add(this.lblTypeAUldUsed);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.pnlUldTextUsed[this.lblTypeAUldUsed]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child pnlUldTextUsed.Gtk.Box+BoxChild
     this.lblTypeAUldUsedVal           = new global::Gtk.Label();
     this.lblTypeAUldUsedVal.Name      = "lblTypeAUldUsedVal";
     this.lblTypeAUldUsedVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlUldTextUsed.Add(this.lblTypeAUldUsedVal);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.pnlUldTextUsed[this.lblTypeAUldUsedVal]));
     w25.PackType = ((global::Gtk.PackType)(1));
     w25.Position = 1;
     w25.Expand   = false;
     w25.Fill     = false;
     this.pnlUldText.Add(this.pnlUldTextUsed);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.pnlUldText[this.pnlUldTextUsed]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child pnlUldText.Gtk.Box+BoxChild
     this.pnlUldTextFree         = new global::Gtk.HBox();
     this.pnlUldTextFree.Name    = "pnlUldTextFree";
     this.pnlUldTextFree.Spacing = 6;
     // Container child pnlUldTextFree.Gtk.Box+BoxChild
     this.lblTypeAUldFree           = new global::Gtk.Label();
     this.lblTypeAUldFree.Name      = "lblTypeAUldFree";
     this.lblTypeAUldFree.LabelProp = global::Mono.Unix.Catalog.GetString("Free:");
     this.pnlUldTextFree.Add(this.lblTypeAUldFree);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.pnlUldTextFree[this.lblTypeAUldFree]));
     w27.Position = 0;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child pnlUldTextFree.Gtk.Box+BoxChild
     this.lblTypeAUldFreeVal           = new global::Gtk.Label();
     this.lblTypeAUldFreeVal.Name      = "lblTypeAUldFreeVal";
     this.lblTypeAUldFreeVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlUldTextFree.Add(this.lblTypeAUldFreeVal);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.pnlUldTextFree[this.lblTypeAUldFreeVal]));
     w28.PackType = ((global::Gtk.PackType)(1));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     this.pnlUldText.Add(this.pnlUldTextFree);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.pnlUldText[this.pnlUldTextFree]));
     w29.Position = 1;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child pnlUldText.Gtk.Box+BoxChild
     this.pnlUldTextLimit         = new global::Gtk.HBox();
     this.pnlUldTextLimit.Name    = "pnlUldTextLimit";
     this.pnlUldTextLimit.Spacing = 6;
     // Container child pnlUldTextLimit.Gtk.Box+BoxChild
     this.lblTypeAUldLimit           = new global::Gtk.Label();
     this.lblTypeAUldLimit.Name      = "lblTypeAUldLimit";
     this.lblTypeAUldLimit.LabelProp = global::Mono.Unix.Catalog.GetString("Limit:");
     this.pnlUldTextLimit.Add(this.lblTypeAUldLimit);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.pnlUldTextLimit[this.lblTypeAUldLimit]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child pnlUldTextLimit.Gtk.Box+BoxChild
     this.lblTypeAUldLimitVal           = new global::Gtk.Label();
     this.lblTypeAUldLimitVal.Name      = "lblTypeAUldLimitVal";
     this.lblTypeAUldLimitVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlUldTextLimit.Add(this.lblTypeAUldLimitVal);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.pnlUldTextLimit[this.lblTypeAUldLimitVal]));
     w31.PackType = ((global::Gtk.PackType)(1));
     w31.Position = 1;
     w31.Expand   = false;
     w31.Fill     = false;
     this.pnlUldText.Add(this.pnlUldTextLimit);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.pnlUldText[this.pnlUldTextLimit]));
     w32.Position = 2;
     w32.Expand   = false;
     w32.Fill     = false;
     this.pnlTypeAUld.Add(this.pnlUldText);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.pnlTypeAUld[this.pnlUldText]));
     w33.Position = 0;
     w33.Expand   = false;
     w33.Fill     = false;
     // Container child pnlTypeAUld.Gtk.Box+BoxChild
     this.evnTypeAUld      = new global::Gtk.EventBox();
     this.evnTypeAUld.Name = "evnTypeAUld";
     // Container child evnTypeAUld.Gtk.Container+ContainerChild
     this.pctTypeAUld = new global::Gtk.Image();
     this.pctTypeAUld.TooltipMarkup = "Graph representing your upload usage.";
     this.pctTypeAUld.Name          = "pctTypeAUld";
     this.evnTypeAUld.Add(this.pctTypeAUld);
     this.pnlTypeAUld.Add(this.evnTypeAUld);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.pnlTypeAUld[this.evnTypeAUld]));
     w35.Position = 1;
     this.algnTypeAUld.Add(this.pnlTypeAUld);
     this.gbTypeAUld.Add(this.algnTypeAUld);
     this.lblTypeAUld            = new global::Gtk.Label();
     this.lblTypeAUld.Name       = "lblTypeAUld";
     this.lblTypeAUld.Xalign     = 0F;
     this.lblTypeAUld.LabelProp  = global::Mono.Unix.Catalog.GetString("Upload (X%)");
     this.lblTypeAUld.UseMarkup  = true;
     this.gbTypeAUld.LabelWidget = this.lblTypeAUld;
     this.pnlTypeA.Add(this.gbTypeAUld);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.pnlTypeA[this.gbTypeAUld]));
     w38.Position = 1;
     w38.Padding  = ((uint)(3));
     this.pnlDisplays.Add(this.pnlTypeA);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.pnlDisplays[this.pnlTypeA]));
     w39.Position = 1;
     // Container child pnlDisplays.Gtk.Box+BoxChild
     this.pnlTypeB         = new global::Gtk.HBox();
     this.pnlTypeB.Name    = "pnlTypeB";
     this.pnlTypeB.Spacing = 6;
     // Container child pnlTypeB.Gtk.Box+BoxChild
     this.pnlRuralNumbers             = new global::Gtk.VBox();
     this.pnlRuralNumbers.Name        = "pnlRuralNumbers";
     this.pnlRuralNumbers.Homogeneous = true;
     this.pnlRuralNumbers.Spacing     = 6;
     // Container child pnlRuralNumbers.Gtk.Box+BoxChild
     this.pnlRuralUsed         = new global::Gtk.HBox();
     this.pnlRuralUsed.Name    = "pnlRuralUsed";
     this.pnlRuralUsed.Spacing = 6;
     // Container child pnlRuralUsed.Gtk.Box+BoxChild
     this.lblTypeBUsed           = new global::Gtk.Label();
     this.lblTypeBUsed.Name      = "lblTypeBUsed";
     this.lblTypeBUsed.LabelProp = global::Mono.Unix.Catalog.GetString("Used:");
     this.pnlRuralUsed.Add(this.lblTypeBUsed);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.pnlRuralUsed[this.lblTypeBUsed]));
     w40.Position = 0;
     w40.Expand   = false;
     w40.Fill     = false;
     // Container child pnlRuralUsed.Gtk.Box+BoxChild
     this.lblTypeBUsedVal           = new global::Gtk.Label();
     this.lblTypeBUsedVal.Name      = "lblTypeBUsedVal";
     this.lblTypeBUsedVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlRuralUsed.Add(this.lblTypeBUsedVal);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.pnlRuralUsed[this.lblTypeBUsedVal]));
     w41.PackType = ((global::Gtk.PackType)(1));
     w41.Position = 1;
     w41.Expand   = false;
     w41.Fill     = false;
     this.pnlRuralNumbers.Add(this.pnlRuralUsed);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.pnlRuralNumbers[this.pnlRuralUsed]));
     w42.Position = 0;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child pnlRuralNumbers.Gtk.Box+BoxChild
     this.pnlRuralFree         = new global::Gtk.HBox();
     this.pnlRuralFree.Name    = "pnlRuralFree";
     this.pnlRuralFree.Spacing = 6;
     // Container child pnlRuralFree.Gtk.Box+BoxChild
     this.lblTypeBFree           = new global::Gtk.Label();
     this.lblTypeBFree.Name      = "lblTypeBFree";
     this.lblTypeBFree.LabelProp = global::Mono.Unix.Catalog.GetString("Free:");
     this.pnlRuralFree.Add(this.lblTypeBFree);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.pnlRuralFree[this.lblTypeBFree]));
     w43.Position = 0;
     w43.Expand   = false;
     w43.Fill     = false;
     // Container child pnlRuralFree.Gtk.Box+BoxChild
     this.lblTypeBFreeVal           = new global::Gtk.Label();
     this.lblTypeBFreeVal.Name      = "lblTypeBFreeVal";
     this.lblTypeBFreeVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlRuralFree.Add(this.lblTypeBFreeVal);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.pnlRuralFree[this.lblTypeBFreeVal]));
     w44.PackType = ((global::Gtk.PackType)(1));
     w44.Position = 1;
     w44.Expand   = false;
     w44.Fill     = false;
     this.pnlRuralNumbers.Add(this.pnlRuralFree);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.pnlRuralNumbers[this.pnlRuralFree]));
     w45.Position = 1;
     w45.Expand   = false;
     w45.Fill     = false;
     // Container child pnlRuralNumbers.Gtk.Box+BoxChild
     this.pnlRuralTotal         = new global::Gtk.HBox();
     this.pnlRuralTotal.Name    = "pnlRuralTotal";
     this.pnlRuralTotal.Spacing = 6;
     // Container child pnlRuralTotal.Gtk.Box+BoxChild
     this.lblTypeBLimit           = new global::Gtk.Label();
     this.lblTypeBLimit.Name      = "lblTypeBLimit";
     this.lblTypeBLimit.LabelProp = global::Mono.Unix.Catalog.GetString("Limit:");
     this.pnlRuralTotal.Add(this.lblTypeBLimit);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.pnlRuralTotal[this.lblTypeBLimit]));
     w46.Position = 0;
     w46.Expand   = false;
     w46.Fill     = false;
     // Container child pnlRuralTotal.Gtk.Box+BoxChild
     this.lblTypeBLimitVal           = new global::Gtk.Label();
     this.lblTypeBLimitVal.Name      = "lblTypeBLimitVal";
     this.lblTypeBLimitVal.LabelProp = global::Mono.Unix.Catalog.GetString(" -- ");
     this.pnlRuralTotal.Add(this.lblTypeBLimitVal);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.pnlRuralTotal[this.lblTypeBLimitVal]));
     w47.PackType = ((global::Gtk.PackType)(1));
     w47.Position = 1;
     w47.Expand   = false;
     w47.Fill     = false;
     this.pnlRuralNumbers.Add(this.pnlRuralTotal);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.pnlRuralNumbers[this.pnlRuralTotal]));
     w48.Position = 2;
     w48.Expand   = false;
     w48.Fill     = false;
     this.pnlTypeB.Add(this.pnlRuralNumbers);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.pnlTypeB[this.pnlRuralNumbers]));
     w49.Position = 0;
     w49.Expand   = false;
     w49.Fill     = false;
     // Container child pnlTypeB.Gtk.Box+BoxChild
     this.evnTypeB      = new global::Gtk.EventBox();
     this.evnTypeB.Name = "evnTypeB";
     // Container child evnTypeB.Gtk.Container+ContainerChild
     this.pctTypeB = new global::Gtk.Image();
     this.pctTypeB.TooltipMarkup = "Graph representing your bandwidth usage.";
     this.pctTypeB.Name          = "pctTypeB";
     this.evnTypeB.Add(this.pctTypeB);
     this.pnlTypeB.Add(this.evnTypeB);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.pnlTypeB[this.evnTypeB]));
     w51.Position = 1;
     this.pnlDisplays.Add(this.pnlTypeB);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.pnlDisplays[this.pnlTypeB]));
     w52.Position = 2;
     this.algnUsage.Add(this.pnlDisplays);
     this.gbUsage.Add(this.algnUsage);
     this.lblStatus           = new global::Gtk.Label();
     this.lblStatus.Name      = "lblStatus";
     this.lblStatus.Xalign    = 0F;
     this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Usage Levels");
     this.lblStatus.UseMarkup = true;
     this.gbUsage.LabelWidget = this.lblStatus;
     this.pnlDetails.Add(this.gbUsage);
     global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.pnlDetails[this.gbUsage]));
     w55.Position = 1;
     w55.Padding  = ((uint)(3));
     // Container child pnlDetails.Gtk.Box+BoxChild
     this.sbMainStatus         = new global::Gtk.Statusbar();
     this.sbMainStatus.Name    = "sbMainStatus";
     this.sbMainStatus.Spacing = 6;
     // Container child sbMainStatus.Gtk.Box+BoxChild
     this.pbMainStatus      = new global::Gtk.ProgressBar();
     this.pbMainStatus.Name = "pbMainStatus";
     this.sbMainStatus.Add(this.pbMainStatus);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.sbMainStatus[this.pbMainStatus]));
     w56.Position = 1;
     // Container child sbMainStatus.Gtk.Box+BoxChild
     this.cmdNetTest              = new global::Gtk.Button();
     this.cmdNetTest.CanFocus     = true;
     this.cmdNetTest.Name         = "cmdNetTest";
     this.cmdNetTest.UseUnderline = true;
     this.cmdNetTest.Relief       = ((global::Gtk.ReliefStyle)(2));
     global::Gtk.Image w57 = new global::Gtk.Image();
     this.cmdNetTest.Image = w57;
     this.sbMainStatus.Add(this.cmdNetTest);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.sbMainStatus[this.cmdNetTest]));
     w58.Position = 2;
     w58.Expand   = false;
     w58.Fill     = false;
     // Container child sbMainStatus.Gtk.Box+BoxChild
     this.lblMainStatus                = new global::Gtk.Label();
     this.lblMainStatus.Name           = "lblMainStatus";
     this.lblMainStatus.SingleLineMode = true;
     this.sbMainStatus.Add(this.lblMainStatus);
     global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.sbMainStatus[this.lblMainStatus]));
     w59.Position = 3;
     w59.Expand   = false;
     w59.Fill     = false;
     this.pnlDetails.Add(this.sbMainStatus);
     global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.pnlDetails[this.sbMainStatus]));
     w60.Position = 2;
     w60.Expand   = false;
     w60.Fill     = false;
     this.Add(this.pnlDetails);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 455;
     this.DefaultHeight = 245;
     this.Show();
     this.cmdNetTest.Clicked += new global::System.EventHandler(this.cmdNetTest_Clicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget AndersProgramMVP.MainWindow
     this.Name = "AndersProgramMVP.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("The Peer Nomination Program (PnP)");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child AndersProgramMVP.MainWindow.Gtk.Container+ContainerChild
     this.vbox10 = new global::Gtk.VBox ();
     this.vbox10.Name = "vbox10";
     this.vbox10.Spacing = 6;
     this.vbox10.BorderWidth = ((uint)(3));
     // Container child vbox10.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.leftAlignment = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
     this.leftAlignment.Name = "leftAlignment";
     this.hbox3.Add (this.leftAlignment);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.leftAlignment]));
     w1.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Homogeneous = true;
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.openFileButton = new global::Gtk.Button ();
     this.openFileButton.CanFocus = true;
     this.openFileButton.Name = "openFileButton";
     this.openFileButton.UseUnderline = true;
     // Container child openFileButton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w3 = new global::Gtk.HBox ();
     w3.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w4 = new global::Gtk.Image ();
     w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu);
     w3.Add (w4);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w6 = new global::Gtk.Label ();
     w6.LabelProp = global::Mono.Unix.Catalog.GetString ("_Open");
     w6.UseUnderline = true;
     w3.Add (w6);
     w2.Add (w3);
     this.openFileButton.Add (w2);
     this.vbox1.Add (this.openFileButton);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.openFileButton]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.calculateButton = new global::Gtk.Button ();
     this.calculateButton.Sensitive = false;
     this.calculateButton.CanFocus = true;
     this.calculateButton.Name = "calculateButton";
     this.calculateButton.UseUnderline = true;
     // Container child calculateButton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w11 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w12 = new global::Gtk.HBox ();
     w12.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w13 = new global::Gtk.Image ();
     w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Menu);
     w12.Add (w13);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w15 = new global::Gtk.Label ();
     w15.LabelProp = global::Mono.Unix.Catalog.GetString ("Calculate");
     w15.UseUnderline = true;
     w12.Add (w15);
     w11.Add (w12);
     this.calculateButton.Add (w11);
     this.vbox1.Add (this.calculateButton);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.calculateButton]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.viewButton = new global::Gtk.Button ();
     this.viewButton.Sensitive = false;
     this.viewButton.CanFocus = true;
     this.viewButton.Name = "viewButton";
     this.viewButton.UseUnderline = true;
     // Container child viewButton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w20 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w21 = new global::Gtk.HBox ();
     w21.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w22 = new global::Gtk.Image ();
     w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find-and-replace", global::Gtk.IconSize.Menu);
     w21.Add (w22);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w24 = new global::Gtk.Label ();
     w24.LabelProp = global::Mono.Unix.Catalog.GetString ("View/Save");
     w24.UseUnderline = true;
     w21.Add (w24);
     w20.Add (w21);
     this.viewButton.Add (w20);
     this.vbox1.Add (this.viewButton);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.viewButton]));
     w28.Position = 2;
     w28.Expand = false;
     w28.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.aboutButton = new global::Gtk.Button ();
     this.aboutButton.CanFocus = true;
     this.aboutButton.Name = "aboutButton";
     this.aboutButton.UseUnderline = true;
     // Container child aboutButton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w29 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w30 = new global::Gtk.HBox ();
     w30.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w31 = new global::Gtk.Image ();
     w31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Menu);
     w30.Add (w31);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w33 = new global::Gtk.Label ();
     w33.LabelProp = global::Mono.Unix.Catalog.GetString ("About");
     w33.UseUnderline = true;
     w30.Add (w33);
     w29.Add (w30);
     this.aboutButton.Add (w29);
     this.vbox1.Add (this.aboutButton);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.aboutButton]));
     w37.Position = 3;
     w37.Expand = false;
     w37.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.exitButton = new global::Gtk.Button ();
     this.exitButton.CanFocus = true;
     this.exitButton.Name = "exitButton";
     this.exitButton.UseUnderline = true;
     // Container child exitButton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w38 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w39 = new global::Gtk.HBox ();
     w39.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w40 = new global::Gtk.Image ();
     w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     w39.Add (w40);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w42 = new global::Gtk.Label ();
     w42.LabelProp = global::Mono.Unix.Catalog.GetString ("Exit");
     w42.UseUnderline = true;
     w39.Add (w42);
     w38.Add (w39);
     this.exitButton.Add (w38);
     this.vbox1.Add (this.exitButton);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.exitButton]));
     w46.Position = 4;
     w46.Expand = false;
     w46.Fill = false;
     this.hbox3.Add (this.vbox1);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox1]));
     w47.Position = 1;
     w47.Expand = false;
     w47.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.rightAlignment = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
     this.rightAlignment.Name = "rightAlignment";
     this.hbox3.Add (this.rightAlignment);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.rightAlignment]));
     w48.Position = 2;
     this.vbox10.Add (this.hbox3);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.hbox3]));
     w49.Position = 0;
     w49.Expand = false;
     w49.Fill = false;
     // Container child vbox10.Gtk.Box+BoxChild
     this.mainStatusbar = new global::Gtk.Statusbar ();
     this.mainStatusbar.Name = "mainStatusbar";
     this.mainStatusbar.Spacing = 6;
     this.vbox10.Add (this.mainStatusbar);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.mainStatusbar]));
     w50.PackType = ((global::Gtk.PackType)(1));
     w50.Position = 1;
     w50.Expand = false;
     w50.Fill = false;
     this.Add (this.vbox10);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 322;
     this.DefaultHeight = 217;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.openFileButton.Clicked += new global::System.EventHandler (this.openFileHandler);
     this.calculateButton.Clicked += new global::System.EventHandler (this.calculateHandler);
     this.viewButton.Clicked += new global::System.EventHandler (this.viewHandler);
     this.aboutButton.Clicked += new global::System.EventHandler (this.onAboutButtonClicked);
     this.exitButton.Clicked += new global::System.EventHandler (this.quitHandler);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget frugalmonotools.Fen_Menu
     this.Name = "frugalmonotools.Fen_Menu";
     this.Title = global::Mono.Unix.Catalog.GetString ("Frugalware tweak !");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.Pictures.fw.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable = false;
     this.DefaultWidth = 900;
     this.DefaultHeight = 600;
     // Container child frugalmonotools.Fen_Menu.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.HBOX_Menu = new global::Gtk.HBox ();
     this.HBOX_Menu.Name = "HBOX_Menu";
     this.HBOX_Menu.Spacing = 6;
     // Container child HBOX_Menu.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.TREE_Menu = new global::Gtk.TreeView ();
     this.TREE_Menu.WidthRequest = 165;
     this.TREE_Menu.HeightRequest = 165;
     this.TREE_Menu.CanFocus = true;
     this.TREE_Menu.Name = "TREE_Menu";
     this.GtkScrolledWindow.Add (this.TREE_Menu);
     this.HBOX_Menu.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.HBOX_Menu [this.GtkScrolledWindow]));
     w2.Position = 0;
     // Container child HBOX_Menu.Gtk.Box+BoxChild
     this.HBOX_Details = new global::Gtk.HBox ();
     this.HBOX_Details.Name = "HBOX_Details";
     this.HBOX_Details.Spacing = 6;
     this.HBOX_Menu.Add (this.HBOX_Details);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.HBOX_Menu [this.HBOX_Details]));
     w3.Position = 1;
     this.vbox1.Add (this.HBOX_Menu);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.HBOX_Menu]));
     w4.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.STA_Info = new global::Gtk.Statusbar ();
     this.STA_Info.Name = "STA_Info";
     this.STA_Info.Spacing = 6;
     // Container child STA_Info.Gtk.Box+BoxChild
     this.LAB_Info = new global::Gtk.Label ();
     this.LAB_Info.Name = "LAB_Info";
     this.STA_Info.Add (this.LAB_Info);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.STA_Info [this.LAB_Info]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     this.vbox1.Add (this.STA_Info);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.STA_Info]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
Пример #51
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.ArchivoAction            = new global::Gtk.Action("ArchivoAction", global::Mono.Unix.Catalog.GetString("Archivo"), null, null);
     this.ArchivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Archivo");
     w1.Add(this.ArchivoAction, null);
     this.NuevoDocumento            = new global::Gtk.Action("NuevoDocumento", global::Mono.Unix.Catalog.GetString("Nuevo"), null, "gtk-new");
     this.NuevoDocumento.ShortLabel = global::Mono.Unix.Catalog.GetString("Nuevo");
     w1.Add(this.NuevoDocumento, "<Primary>n");
     this.Abrir            = new global::Gtk.Action("Abrir", global::Mono.Unix.Catalog.GetString("Abrir"), null, "gtk-open");
     this.Abrir.ShortLabel = global::Mono.Unix.Catalog.GetString("Abrir");
     w1.Add(this.Abrir, null);
     this.Guardar            = new global::Gtk.Action("Guardar", global::Mono.Unix.Catalog.GetString("Guardar"), null, "gtk-save");
     this.Guardar.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar");
     w1.Add(this.Guardar, null);
     this.GuardarComo            = new global::Gtk.Action("GuardarComo", global::Mono.Unix.Catalog.GetString("Guardar Como"), null, "gtk-save-as");
     this.GuardarComo.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar Como");
     w1.Add(this.GuardarComo, null);
     this.printAction            = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("Exportar a PDF"), null, "gtk-print");
     this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar");
     w1.Add(this.printAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Salir"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir");
     w1.Add(this.quitAction, null);
     this.EditarAction            = new global::Gtk.Action("EditarAction", global::Mono.Unix.Catalog.GetString("Editar"), null, null);
     this.EditarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Editar");
     w1.Add(this.EditarAction, null);
     this.copyAction            = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("Copiar"), null, "gtk-copy");
     this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copiar");
     w1.Add(this.copyAction, null);
     this.cutAction            = new global::Gtk.Action("cutAction", global::Mono.Unix.Catalog.GetString("Cortar"), null, "gtk-cut");
     this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cortar");
     w1.Add(this.cutAction, null);
     this.pasteAction            = new global::Gtk.Action("pasteAction", global::Mono.Unix.Catalog.GetString("Pegar"), null, "gtk-paste");
     this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Pegar");
     w1.Add(this.pasteAction, null);
     this.VerAction            = new global::Gtk.Action("VerAction", global::Mono.Unix.Catalog.GetString("Ver"), null, null);
     this.VerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ver");
     w1.Add(this.VerAction, null);
     this.OcultarHerramientas            = new global::Gtk.ToggleAction("OcultarHerramientas", global::Mono.Unix.Catalog.GetString("Ocultar Herramientas"), null, null);
     this.OcultarHerramientas.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Herramientas");
     w1.Add(this.OcultarHerramientas, null);
     this.OcultarExplorador            = new global::Gtk.ToggleAction("OcultarExplorador", global::Mono.Unix.Catalog.GetString("Ocultar Explorador"), null, null);
     this.OcultarExplorador.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Explorador");
     w1.Add(this.OcultarExplorador, null);
     this.HNuevo            = new global::Gtk.Action("HNuevo", global::Mono.Unix.Catalog.GetString("HNuevo"), global::Mono.Unix.Catalog.GetString("Nuevo"), "gtk-new");
     this.HNuevo.ShortLabel = global::Mono.Unix.Catalog.GetString("HNuevo");
     w1.Add(this.HNuevo, null);
     this.HAbrir = new global::Gtk.Action("HAbrir", null, global::Mono.Unix.Catalog.GetString("Abrir"), "gtk-open");
     w1.Add(this.HAbrir, null);
     this.HGuardar = new global::Gtk.Action("HGuardar", null, global::Mono.Unix.Catalog.GetString("Guardar"), "gtk-save");
     w1.Add(this.HGuardar, null);
     this.HCopiar = new global::Gtk.Action("HCopiar", null, global::Mono.Unix.Catalog.GetString("Copiar"), "gtk-copy");
     w1.Add(this.HCopiar, null);
     this.HCortar = new global::Gtk.Action("HCortar", null, global::Mono.Unix.Catalog.GetString("Cortar"), "gtk-cut");
     w1.Add(this.HCortar, null);
     this.HPegar = new global::Gtk.Action("HPegar", null, global::Mono.Unix.Catalog.GetString("Pegar"), "gtk-paste");
     w1.Add(this.HPegar, null);
     this.BuscarAction            = new global::Gtk.Action("BuscarAction", global::Mono.Unix.Catalog.GetString("Buscar"), null, null);
     this.BuscarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Buscar");
     w1.Add(this.BuscarAction, null);
     this.findAction            = new global::Gtk.Action("findAction", global::Mono.Unix.Catalog.GetString("Buscar..."), null, "gtk-find");
     this.findAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Buscar...");
     w1.Add(this.findAction, null);
     this.AyudaAction            = new global::Gtk.Action("AyudaAction", global::Mono.Unix.Catalog.GetString("Ayuda"), null, null);
     this.AyudaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ayuda");
     w1.Add(this.AyudaAction, null);
     this.SeleccionAction            = new global::Gtk.Action("SeleccionAction", global::Mono.Unix.Catalog.GetString("Seleccion"), null, null);
     this.SeleccionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seleccion");
     w1.Add(this.SeleccionAction, null);
     this.SeleccionarTodoAction            = new global::Gtk.Action("SeleccionarTodoAction", global::Mono.Unix.Catalog.GetString("Seleccionar Todo"), null, null);
     this.SeleccionarTodoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seleccionar Todo");
     w1.Add(this.SeleccionarTodoAction, null);
     this.AcercaDeCodeSEAction            = new global::Gtk.Action("AcercaDeCodeSEAction", global::Mono.Unix.Catalog.GetString("Acerca de CodeSE"), null, null);
     this.AcercaDeCodeSEAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Acerca de CodeSE");
     w1.Add(this.AcercaDeCodeSEAction, null);
     this.Compilar = new global::Gtk.Action("Compilar", null, global::Mono.Unix.Catalog.GetString("Compilar"), "gtk-go-up");
     w1.Add(this.Compilar, null);
     this.OcultarConsola            = new global::Gtk.ToggleAction("OcultarConsola", global::Mono.Unix.Catalog.GetString("Ocultar Consola"), null, null);
     this.OcultarConsola.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Consola");
     w1.Add(this.OcultarConsola, null);
     this.HerramientasAction            = new global::Gtk.Action("HerramientasAction", global::Mono.Unix.Catalog.GetString("Herramientas"), null, null);
     this.HerramientasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Herramientas");
     w1.Add(this.HerramientasAction, null);
     this.FuenteAction            = new global::Gtk.Action("FuenteAction", global::Mono.Unix.Catalog.GetString("Fuente"), null, null);
     this.FuenteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fuente");
     w1.Add(this.FuenteAction, null);
     this.dndMultipleAction            = new global::Gtk.Action("dndMultipleAction", global::Mono.Unix.Catalog.GetString("Recientes"), null, "gtk-dnd-multiple");
     this.dndMultipleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Recientes");
     w1.Add(this.dndMultipleAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = "CodeSyntaxEditor";
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.Caja         = new global::Gtk.VBox();
     this.Caja.Name    = "Caja";
     this.Caja.Spacing = 6;
     // Container child Caja.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='BarraMenu'><menu name='ArchivoAction' action='ArchivoAction'><menuitem name='NuevoDocumento' action='NuevoDocumento'/><menuitem name='Abrir' action='Abrir'/><menuitem name='Guardar' action='Guardar'/><menuitem name='GuardarComo' action='GuardarComo'/><menuitem name='printAction' action='printAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditarAction' action='EditarAction'><menuitem name='copyAction' action='copyAction'/><menuitem name='cutAction' action='cutAction'/><menuitem name='pasteAction' action='pasteAction'/></menu><menu name='SeleccionAction' action='SeleccionAction'><menuitem name='SeleccionarTodoAction' action='SeleccionarTodoAction'/></menu><menu name='BuscarAction' action='BuscarAction'><menuitem name='findAction' action='findAction'/></menu><menu name='VerAction' action='VerAction'><menuitem name='OcultarHerramientas' action='OcultarHerramientas'/><menuitem name='OcultarExplorador' action='OcultarExplorador'/><menuitem name='OcultarConsola' action='OcultarConsola'/></menu><menu name='HerramientasAction' action='HerramientasAction'><menuitem name='FuenteAction' action='FuenteAction'/></menu><menu name='AyudaAction' action='AyudaAction'><menuitem name='AcercaDeCodeSEAction' action='AcercaDeCodeSEAction'/></menu></menubar></ui>");
     this.BarraMenu      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/BarraMenu")));
     this.BarraMenu.Name = "BarraMenu";
     this.Caja.Add(this.BarraMenu);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.Caja[this.BarraMenu]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child Caja.Gtk.Box+BoxChild
     this.Caja1         = new global::Gtk.HBox();
     this.Caja1.Name    = "Caja1";
     this.Caja1.Spacing = 6;
     // Container child Caja1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='Herramientas'><toolitem name='HNuevo' action='HNuevo'/><toolitem name='HAbrir' action='HAbrir'/><toolitem name='HGuardar' action='HGuardar'/><toolitem name='HCopiar' action='HCopiar'/><toolitem name='HCortar' action='HCortar'/><toolitem name='HPegar' action='HPegar'/><toolitem name='Compilar' action='Compilar'/></toolbar></ui>");
     this.Herramientas              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/Herramientas")));
     this.Herramientas.Name         = "Herramientas";
     this.Herramientas.Orientation  = ((global::Gtk.Orientation)(1));
     this.Herramientas.ShowArrow    = false;
     this.Herramientas.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.Herramientas.IconSize     = ((global::Gtk.IconSize)(1));
     this.Caja1.Add(this.Herramientas);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.Caja1[this.Herramientas]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child Caja1.Gtk.Box+BoxChild
     this.Caja2          = new global::Gtk.HPaned();
     this.Caja2.CanFocus = true;
     this.Caja2.Name     = "Caja2";
     this.Caja2.Position = 568;
     // Container child Caja2.Gtk.Paned+PanedChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 269;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.ScrollPagina            = new global::Gtk.ScrolledWindow();
     this.ScrollPagina.CanFocus   = true;
     this.ScrollPagina.Name       = "ScrollPagina";
     this.ScrollPagina.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child ScrollPagina.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.Pagina             = new global::Gtk.Notebook();
     this.Pagina.CanFocus    = true;
     this.Pagina.Name        = "Pagina";
     this.Pagina.CurrentPage = -1;
     w4.Add(this.Pagina);
     this.ScrollPagina.Add(w4);
     this.vpaned1.Add(this.ScrollPagina);
     global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.ScrollPagina]));
     w7.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.ScrollConsola            = new global::Gtk.ScrolledWindow();
     this.ScrollConsola.Name       = "ScrollConsola";
     this.ScrollConsola.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child ScrollConsola.Gtk.Container+ContainerChild
     this.Consola            = new global::Gtk.TextView();
     this.Consola.CanDefault = true;
     this.Consola.CanFocus   = true;
     this.Consola.Name       = "Consola";
     this.ScrollConsola.Add(this.Consola);
     this.vpaned1.Add(this.ScrollConsola);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.ScrollConsola]));
     w9.Resize = false;
     w9.Shrink = false;
     this.vbox3.Add(this.vpaned1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vpaned1]));
     w10.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.Barra_de_Busqueda         = new global::Gtk.Statusbar();
     this.Barra_de_Busqueda.Name    = "Barra_de_Busqueda";
     this.Barra_de_Busqueda.Spacing = 6;
     // Container child Barra_de_Busqueda.Gtk.Box+BoxChild
     this.Estado_de_Archivo         = new global::Gtk.Label();
     this.Estado_de_Archivo.Name    = "Estado_de_Archivo";
     this.Estado_de_Archivo.Justify = ((global::Gtk.Justification)(2));
     this.Barra_de_Busqueda.Add(this.Estado_de_Archivo);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.Estado_de_Archivo]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child Barra_de_Busqueda.Gtk.Box+BoxChild
     this.Entrada               = new global::Gtk.Entry();
     this.Entrada.CanFocus      = true;
     this.Entrada.Name          = "Entrada";
     this.Entrada.IsEditable    = true;
     this.Entrada.InvisibleChar = '•';
     this.Barra_de_Busqueda.Add(this.Entrada);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.Entrada]));
     w12.Position = 2;
     // Container child Barra_de_Busqueda.Gtk.Box+BoxChild
     this.BtnBus              = new global::Gtk.Button();
     this.BtnBus.CanFocus     = true;
     this.BtnBus.Name         = "BtnBus";
     this.BtnBus.UseUnderline = true;
     this.BtnBus.Label        = global::Mono.Unix.Catalog.GetString("Buscar");
     this.Barra_de_Busqueda.Add(this.BtnBus);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.BtnBus]));
     w13.Position = 3;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox3.Add(this.Barra_de_Busqueda);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.Barra_de_Busqueda]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Caja2.Add(this.vbox3);
     global::Gtk.Paned.PanedChild w15 = ((global::Gtk.Paned.PanedChild)(this.Caja2[this.vbox3]));
     w15.Resize = false;
     // Container child Caja2.Gtk.Paned+PanedChild
     this.ScrollExplorador                 = new global::Gtk.ScrolledWindow();
     this.ScrollExplorador.CanFocus        = true;
     this.ScrollExplorador.Name            = "ScrollExplorador";
     this.ScrollExplorador.ShadowType      = ((global::Gtk.ShadowType)(1));
     this.ScrollExplorador.WindowPlacement = ((global::Gtk.CornerType)(2));
     // Container child ScrollExplorador.Gtk.Container+ContainerChild
     global::Gtk.Viewport w16 = new global::Gtk.Viewport();
     w16.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.Explorador             = new global::Gtk.Notebook();
     this.Explorador.CanFocus    = true;
     this.Explorador.Name        = "Explorador";
     this.Explorador.CurrentPage = 0;
     // Container child Explorador.Gtk.Notebook+NotebookChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.Directorios      = global::Gtk.ComboBox.NewText();
     this.Directorios.Name = "Directorios";
     this.vbox1.Add(this.Directorios);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.Directorios]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.Archivos          = new global::Gtk.TreeView();
     this.Archivos.CanFocus = true;
     this.Archivos.Name     = "Archivos";
     this.GtkScrolledWindow.Add(this.Archivos);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w19.Position = 1;
     this.Explorador.Add(this.vbox1);
     // Notebook tab
     this.LPortapapeles           = new global::Gtk.Label();
     this.LPortapapeles.Name      = "LPortapapeles";
     this.LPortapapeles.LabelProp = global::Mono.Unix.Catalog.GetString("Explorador");
     this.Explorador.SetTabLabel(this.vbox1, this.LPortapapeles);
     this.LPortapapeles.ShowAll();
     w16.Add(this.Explorador);
     this.ScrollExplorador.Add(w16);
     this.Caja2.Add(this.ScrollExplorador);
     global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.Caja2[this.ScrollExplorador]));
     w23.Resize = false;
     w23.Shrink = false;
     this.Caja1.Add(this.Caja2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.Caja1[this.Caja2]));
     w24.Position = 1;
     this.Caja.Add(this.Caja1);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.Caja[this.Caja1]));
     w25.Position = 1;
     // Container child Caja.Gtk.Box+BoxChild
     this.Estado             = new global::Gtk.Statusbar();
     this.Estado.Name        = "Estado";
     this.Estado.Homogeneous = true;
     this.Estado.Spacing     = 6;
     // Container child Estado.Gtk.Box+BoxChild
     this.Caracteres           = new global::Gtk.Label();
     this.Caracteres.Name      = "Caracteres";
     this.Caracteres.LabelProp = global::Mono.Unix.Catalog.GetString("Caracteres: 0");
     this.Estado.Add(this.Caracteres);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.Estado[this.Caracteres]));
     w26.Position = 1;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child Estado.Gtk.Box+BoxChild
     this.Lineas           = new global::Gtk.Label();
     this.Lineas.Name      = "Lineas";
     this.Lineas.LabelProp = global::Mono.Unix.Catalog.GetString("Lineas: 0");
     this.Estado.Add(this.Lineas);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.Estado[this.Lineas]));
     w27.Position = 2;
     w27.Expand   = false;
     w27.Fill     = false;
     this.Caja.Add(this.Estado);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.Caja[this.Estado]));
     w28.Position = 2;
     w28.Expand   = false;
     w28.Fill     = false;
     this.Add(this.Caja);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 779;
     this.DefaultHeight = 448;
     this.Barra_de_Busqueda.Hide();
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.NuevoDocumento.Activated        += new global::System.EventHandler(this.OnNuevoDocumentoActivated);
     this.Abrir.Activated                 += new global::System.EventHandler(this.OnAbrirActivated);
     this.Guardar.Activated               += new global::System.EventHandler(this.OnGuardarActivated);
     this.GuardarComo.Activated           += new global::System.EventHandler(this.OnGuardarComoActivated);
     this.printAction.Activated           += new global::System.EventHandler(this.OnExportarPDFActivated);
     this.quitAction.Activated            += new global::System.EventHandler(this.OnSalirActivated);
     this.copyAction.Activated            += new global::System.EventHandler(this.OnNuevoDocumentoActivated);
     this.OcultarHerramientas.Activated   += new global::System.EventHandler(this.OnOcultarHerramientasToggled);
     this.OcultarExplorador.Activated     += new global::System.EventHandler(this.OnOcultarExploradorToggled);
     this.HNuevo.Activated                += new global::System.EventHandler(this.OnNuevoDocumentoActivated);
     this.HAbrir.Activated                += new global::System.EventHandler(this.OnAbrirActivated);
     this.HGuardar.Activated              += new global::System.EventHandler(this.OnGuardarActivated);
     this.HCopiar.Activated               += new global::System.EventHandler(this.OnHCopiarActivated);
     this.HCortar.Activated               += new global::System.EventHandler(this.OnHCortarActivated);
     this.HPegar.Activated                += new global::System.EventHandler(this.OnHPegarActivated);
     this.findAction.Activated            += new global::System.EventHandler(this.OnFindActionActivated);
     this.SeleccionarTodoAction.Activated += new global::System.EventHandler(this.OnSeleccionarTodoActionActivated);
     this.AcercaDeCodeSEAction.Activated  += new global::System.EventHandler(this.OnAcercaDeCodeSEActionActivated);
     this.Compilar.Activated              += new global::System.EventHandler(this.OnCompilarActivated);
     this.OcultarConsola.Toggled          += new global::System.EventHandler(this.OnOcultarConsolaToggled);
     this.FuenteAction.Activated          += new global::System.EventHandler(this.OnFuenteActionActivated);
     this.BtnBus.Clicked      += new global::System.EventHandler(this.OnBtnBusActivated);
     this.Directorios.Changed += new global::System.EventHandler(this.OnDirectoriosChanged);
 }
Пример #52
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File");
     w1.Add (this.FileAction, null);
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open");
     w1.Add (this.openAction, null);
     this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.quitAction, null);
     this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View");
     w1.Add (this.ViewAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.HelpAction, null);
     this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About");
     w1.Add (this.aboutAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("_Save XML"), null, "gtk-save");
     this.saveAction.Sensitive = false;
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save XML");
     w1.Add (this.saveAction, null);
     this.iconsAction = new global::Gtk.ToggleAction ("iconsAction", global::Mono.Unix.Catalog.GetString ("Icons"), null, null);
     this.iconsAction.Sensitive = false;
     this.iconsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Icons");
     w1.Add (this.iconsAction, "<Control>i");
     this.exportAsAction = new global::Gtk.Action ("exportAsAction", global::Mono.Unix.Catalog.GetString ("_Export As"), null, null);
     this.exportAsAction.Sensitive = false;
     this.exportAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Export As");
     w1.Add (this.exportAsAction, null);
     this.exportAsRRAction = new global::Gtk.Action ("exportAsRRAction", global::Mono.Unix.Catalog.GetString ("RomRaider Def XML"), null, "gtk-save-as");
     this.exportAsRRAction.Sensitive = false;
     this.exportAsRRAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RomRaider Def XML");
     w1.Add (this.exportAsRRAction, null);
     this.plotExternalAction = new global::Gtk.Action ("plotExternalAction", global::Mono.Unix.Catalog.GetString ("_Plot External (gnuplot)"), null, null);
     this.plotExternalAction.Sensitive = false;
     this.plotExternalAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Plot");
     w1.Add (this.plotExternalAction, "<Control>p");
     this.checksumWindowAction = new global::Gtk.Action ("checksumWindowAction", global::Mono.Unix.Catalog.GetString ("Checksum Window"), null, null);
     this.checksumWindowAction.Sensitive = false;
     this.checksumWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Checksum Window");
     w1.Add (this.checksumWindowAction, null);
     this.statisticsWindowAction = new global::Gtk.Action ("statisticsWindowAction", global::Mono.Unix.Catalog.GetString ("Statistics Window"), null, null);
     this.statisticsWindowAction.Sensitive = false;
     this.statisticsWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Statistics Window");
     w1.Add (this.statisticsWindowAction, null);
     this.PlotAction = new global::Gtk.Action ("PlotAction", global::Mono.Unix.Catalog.GetString ("_Plot"), null, null);
     this.PlotAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Plot");
     w1.Add (this.PlotAction, null);
     this.createSVGFileAction = new global::Gtk.Action ("createSVGFileAction", global::Mono.Unix.Catalog.GetString ("Create SVG File"), null, null);
     this.createSVGFileAction.Sensitive = false;
     this.createSVGFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create SVG File");
     w1.Add (this.createSVGFileAction, null);
     this.visualizationAction = new global::Gtk.Action ("visualizationAction", global::Mono.Unix.Catalog.GetString ("Visualization"), null, "gtk-refresh");
     this.visualizationAction.Sensitive = false;
     this.visualizationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualization");
     w1.Add (this.visualizationAction, "<Control>space");
     this.DataAction = new global::Gtk.Action ("DataAction", global::Mono.Unix.Catalog.GetString ("_Data"), null, null);
     this.DataAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Data");
     w1.Add (this.DataAction, null);
     this.exportTableAsCSVAction = new global::Gtk.Action ("exportTableAsCSVAction", global::Mono.Unix.Catalog.GetString ("Export Table as CSV"), null, null);
     this.exportTableAsCSVAction.Sensitive = false;
     this.exportTableAsCSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Table as CSV");
     w1.Add (this.exportTableAsCSVAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("ScoobyRom");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.AllowShrink = true;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualizationAction' action='visualizationAction'/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='statisticsWindowAction' action='statisticsWindowAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1 = new global::Gtk.Notebook ();
     this.notebook1.CanFocus = true;
     this.notebook1.Name = "notebook1";
     this.notebook1.CurrentPage = 1;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vpaned2D = new global::Gtk.VPaned ();
     this.vpaned2D.CanFocus = true;
     this.vpaned2D.Name = "vpaned2D";
     this.vpaned2D.Position = 200;
     // Container child vpaned2D.Gtk.Paned+PanedChild
     this.GtkScrolledWindowTV2D = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindowTV2D.Name = "GtkScrolledWindowTV2D";
     this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild
     this.treeview2D = new global::Gtk.TreeView ();
     this.treeview2D.CanFocus = true;
     this.treeview2D.Name = "treeview2D";
     this.GtkScrolledWindowTV2D.Add (this.treeview2D);
     this.vpaned2D.Add (this.GtkScrolledWindowTV2D);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D]));
     w4.Resize = false;
     w4.Shrink = false;
     this.notebook1.Add (this.vpaned2D);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("2D Tables");
     this.notebook1.SetTabLabel (this.vpaned2D, this.label1);
     this.label1.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vpaned3D = new global::Gtk.VPaned ();
     this.vpaned3D.CanFocus = true;
     this.vpaned3D.Name = "vpaned3D";
     this.vpaned3D.Position = 200;
     // Container child vpaned3D.Gtk.Paned+PanedChild
     this.ScrolledWindowTV3D = new global::Gtk.ScrolledWindow ();
     this.ScrolledWindowTV3D.Name = "ScrolledWindowTV3D";
     this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild
     this.treeview3D = new global::Gtk.TreeView ();
     this.treeview3D.CanFocus = true;
     this.treeview3D.Name = "treeview3D";
     this.ScrolledWindowTV3D.Add (this.treeview3D);
     this.vpaned3D.Add (this.ScrolledWindowTV3D);
     global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D]));
     w7.Resize = false;
     w7.Shrink = false;
     // Container child vpaned3D.Gtk.Paned+PanedChild
     this.scrolledwindowTable3D = new global::Gtk.ScrolledWindow ();
     this.scrolledwindowTable3D.CanFocus = true;
     this.scrolledwindowTable3D.Name = "scrolledwindowTable3D";
     this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vpaned3D.Add (this.scrolledwindowTable3D);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D]));
     w8.Resize = false;
     w8.Shrink = false;
     this.notebook1.Add (this.vpaned3D);
     global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D]));
     w9.Position = 1;
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("3D Tables");
     this.notebook1.SetTabLabel (this.vpaned3D, this.label2);
     this.label2.ShowAll ();
     this.vbox1.Add (this.notebook1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1]));
     w10.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.Name = "progressbar1";
     this.statusbar1.Add (this.progressbar1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1]));
     w11.Position = 2;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w12.PackType = ((global::Gtk.PackType)(1));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 938;
     this.DefaultHeight = 702;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated);
     this.aboutAction.Activated += new global::System.EventHandler (this.OnAbout);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.iconsAction.Activated += new global::System.EventHandler (this.OnIconsActionActivated);
     this.exportAsRRAction.Activated += new global::System.EventHandler (this.OnExportAsRRActionActivated);
     this.plotExternalAction.Activated += new global::System.EventHandler (this.OnPlotActionActivated);
     this.checksumWindowAction.Activated += new global::System.EventHandler (this.OnROMChecksumsActionActivated);
     this.statisticsWindowAction.Activated += new global::System.EventHandler (this.OnStatisticsWindowActionActivated);
     this.createSVGFileAction.Activated += new global::System.EventHandler (this.OnCreateSVGFileActionActivated);
     this.visualizationAction.Activated += new global::System.EventHandler (this.OnVisualizationAction);
     this.exportTableAsCSVAction.Activated += new global::System.EventHandler (this.OnExportTableAsCSVActionActivated);
     this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage);
 }
Пример #53
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open");
     w1.Add (this.openAction, null);
     this.saveAsAction = new global::Gtk.Action ("saveAsAction", null, null, "gtk-save-as");
     w1.Add (this.saveAsAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w1.Add (this.saveAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='saveAsAction' action='saveAsAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar1.IconSize = ((global::Gtk.IconSize)(3));
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vpaned1 = new global::Gtk.VPaned ();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name = "vpaned1";
     this.vpaned1.Position = 400;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.moonAreaContainer = new global::Gtk.EventBox ();
     this.moonAreaContainer.Name = "moonAreaContainer";
     this.vpaned1.Add (this.moonAreaContainer);
     global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.moonAreaContainer]));
     w3.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vpaned1.Add (this.scrolledwindow1);
     this.vbox1.Add (this.vpaned1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1]));
     w5.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 735;
     this.DefaultHeight = 640;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
 }
Пример #54
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
     w1.Add(this.quitAction, null);
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.quitAction1            = new global::Gtk.Action("quitAction1", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction1, null);
     this.FileAction1            = new global::Gtk.Action("FileAction1", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction1, null);
     this.quitAction2            = new global::Gtk.Action("quitAction2", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction2, null);
     this.ViewAudioAction            = new global::Gtk.Action("ViewAudioAction", global::Mono.Unix.Catalog.GetString("View Audio"), null, null);
     this.ViewAudioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View Audio");
     w1.Add(this.ViewAudioAction, null);
     this.harddiskAction            = new global::Gtk.Action("harddiskAction", global::Mono.Unix.Catalog.GetString("View Audio Files"), null, "gtk-harddisk");
     this.harddiskAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View Audio Files");
     w1.Add(this.harddiskAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("NeoSPeech API GUI");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar2'><menu name='FileAction1' action='FileAction1'><menuitem name='harddiskAction' action='harddiskAction'/><menuitem name='quitAction2' action='quitAction2'/></menu></menubar></ui>");
     this.menubar2      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.vbox1.Add(this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vpaned4          = new global::Gtk.VPaned();
     this.vpaned4.CanFocus = true;
     this.vpaned4.Name     = "vpaned4";
     this.vpaned4.Position = 91;
     // Container child vpaned4.Gtk.Paned+PanedChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.table4               = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.table4.Name          = "table4";
     this.table4.RowSpacing    = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.fixed6           = new global::Gtk.Fixed();
     this.fixed6.Name      = "fixed6";
     this.fixed6.HasWindow = false;
     this.table4.Add(this.fixed6);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table4 [this.fixed6]));
     w3.LeftAttach  = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Text To Transform");
     this.table4.Add(this.label2);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.label2]));
     w4.XPadding = ((uint)(5));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add(this.table4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table4]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview2          = new global::Gtk.TextView();
     this.textview2.CanFocus = true;
     this.textview2.Name     = "textview2";
     this.GtkScrolledWindow.Add(this.textview2);
     this.vbox4.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow]));
     w7.Position = 1;
     this.vpaned4.Add(this.vbox4);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned4 [this.vbox4]));
     w8.Resize = false;
     // Container child vpaned4.Gtk.Paned+PanedChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(6)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.combobox_input_format = global::Gtk.ComboBox.NewText();
     this.combobox_input_format.AppendText(global::Mono.Unix.Catalog.GetString("NORMAL"));
     this.combobox_input_format.AppendText(global::Mono.Unix.Catalog.GetString("SSML"));
     this.combobox_input_format.AppendText(global::Mono.Unix.Catalog.GetString("HTML"));
     this.combobox_input_format.AppendText(global::Mono.Unix.Catalog.GetString("EMAIL"));
     this.combobox_input_format.Name   = "combobox_input_format";
     this.combobox_input_format.Active = 0;
     this.table1.Add(this.combobox_input_format);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_input_format]));
     w9.LeftAttach  = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions    = ((global::Gtk.AttachOptions)(4));
     w9.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.combobox_output_format = global::Gtk.ComboBox.NewText();
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("Default"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("Wav"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("PCM"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("MULAW"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("ALAW"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("ADPCM"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("ASF"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("OGG"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("8BITWAV"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("AWAV"));
     this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("MUWAV"));
     this.combobox_output_format.Name   = "combobox_output_format";
     this.combobox_output_format.Active = 0;
     this.table1.Add(this.combobox_output_format);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_output_format]));
     w10.LeftAttach  = ((uint)(3));
     w10.RightAttach = ((uint)(4));
     w10.XOptions    = ((global::Gtk.AttachOptions)(4));
     w10.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry_filename               = new global::Gtk.Entry();
     this.entry_filename.CanFocus      = true;
     this.entry_filename.Name          = "entry_filename";
     this.entry_filename.Text          = global::Mono.Unix.Catalog.GetString("output.wav");
     this.entry_filename.IsEditable    = true;
     this.entry_filename.InvisibleChar = '•';
     this.table1.Add(this.entry_filename);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry_filename]));
     w11.LeftAttach  = ((uint)(5));
     w11.RightAttach = ((uint)(6));
     w11.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3               = new global::Gtk.Label();
     this.label3.Name          = "label3";
     this.label3.LabelProp     = global::Mono.Unix.Catalog.GetString("Input Format");
     this.label3.Justify       = ((global::Gtk.Justification)(1));
     this.label3.MaxWidthChars = 12;
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w12.XPadding = ((uint)(5));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4               = new global::Gtk.Label();
     this.label4.Name          = "label4";
     this.label4.LabelProp     = global::Mono.Unix.Catalog.GetString("Output Format");
     this.label4.Justify       = ((global::Gtk.Justification)(1));
     this.label4.MaxWidthChars = 13;
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w13.LeftAttach  = ((uint)(2));
     w13.RightAttach = ((uint)(3));
     w13.XOptions    = ((global::Gtk.AttachOptions)(4));
     w13.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Filename");
     this.table1.Add(this.label7);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w14.LeftAttach  = ((uint)(4));
     w14.RightAttach = ((uint)(5));
     w14.XOptions    = ((global::Gtk.AttachOptions)(4));
     w14.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox5.Add(this.table1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table1]));
     w15.Position = 0;
     // Container child vbox5.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(1)), ((uint)(3)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.button3              = new global::Gtk.Button();
     this.button3.CanFocus     = true;
     this.button3.Name         = "button3";
     this.button3.UseUnderline = true;
     this.button3.BorderWidth  = ((uint)(9));
     this.button3.Label        = global::Mono.Unix.Catalog.GetString("Create Audio");
     this.table2.Add(this.button3);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.button3]));
     w16.LeftAttach  = ((uint)(2));
     w16.RightAttach = ((uint)(3));
     w16.XOptions    = ((global::Gtk.AttachOptions)(4));
     w16.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.fixed4           = new global::Gtk.Fixed();
     this.fixed4.Name      = "fixed4";
     this.fixed4.HasWindow = false;
     this.table2.Add(this.fixed4);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed4]));
     w17.LeftAttach  = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox5.Add(this.table2);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table2]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     this.vpaned4.Add(this.vbox5);
     this.vbox1.Add(this.vpaned4);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned4]));
     w20.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w21.Position = 2;
     w21.Expand   = false;
     w21.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 775;
     this.DefaultHeight = 381;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.harddiskAction.Activated       += new global::System.EventHandler(this.view_files);
     this.combobox_output_format.Changed += new global::System.EventHandler(this.output_format_changed);
     this.combobox_input_format.Changed  += new global::System.EventHandler(this.text_format_changed);
     this.button3.Clicked += new global::System.EventHandler(this.tts_call);
 }
Пример #55
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.testAction = new global::Gtk.Action ("testAction", global::Mono.Unix.Catalog.GetString ("test"), null, null);
     this.testAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("test");
     w1.Add (this.testAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='testAction' action='testAction'/></menubar></ui>");
     this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.vbox1.Add (this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.from_lang = global::Gtk.ComboBoxEntry.NewText ();
     this.from_lang.AppendText (global::Mono.Unix.Catalog.GetString ("English"));
     this.from_lang.AppendText (global::Mono.Unix.Catalog.GetString ("Russian"));
     this.from_lang.Name = "from_lang";
     this.vbox2.Add (this.from_lang);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.from_lang]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.fromTextInput = new global::Gtk.TextView ();
     this.fromTextInput.CanDefault = true;
     this.fromTextInput.CanFocus = true;
     this.fromTextInput.Name = "fromTextInput";
     this.GtkScrolledWindow.Add (this.fromTextInput);
     this.vbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w5.Position = 1;
     this.hbox2.Add (this.vbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2]));
     w6.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.auto_translate_checkbox = new global::Gtk.CheckButton ();
     this.auto_translate_checkbox.CanFocus = true;
     this.auto_translate_checkbox.Name = "auto_translate_checkbox";
     this.auto_translate_checkbox.Label = global::Mono.Unix.Catalog.GetString ("TranslateAuto");
     this.auto_translate_checkbox.DrawIndicator = true;
     this.auto_translate_checkbox.UseUnderline = true;
     this.vbox3.Add (this.auto_translate_checkbox);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.auto_translate_checkbox]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.change_languages_button = new global::Gtk.Button ();
     this.change_languages_button.CanFocus = true;
     this.change_languages_button.Name = "change_languages_button";
     this.change_languages_button.UseUnderline = true;
     this.change_languages_button.Label = global::Mono.Unix.Catalog.GetString ("ChangeLanguage");
     this.vbox3.Add (this.change_languages_button);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.change_languages_button]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.translate_button = new global::Gtk.Button ();
     this.translate_button.CanFocus = true;
     this.translate_button.Name = "translate_button";
     this.translate_button.UseUnderline = true;
     this.translate_button.Label = global::Mono.Unix.Catalog.GetString ("Translate");
     this.vbox3.Add (this.translate_button);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.translate_button]));
     w9.Position = 2;
     w9.Expand = false;
     w9.Fill = false;
     this.hbox2.Add (this.vbox3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.to_lang = global::Gtk.ComboBoxEntry.NewText ();
     this.to_lang.AppendText (global::Mono.Unix.Catalog.GetString ("English"));
     this.to_lang.AppendText (global::Mono.Unix.Catalog.GetString ("Russian"));
     this.to_lang.Name = "to_lang";
     this.vbox4.Add (this.to_lang);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.to_lang]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.toTextInput = new global::Gtk.TextView ();
     this.toTextInput.CanFocus = true;
     this.toTextInput.Name = "toTextInput";
     this.GtkScrolledWindow1.Add (this.toTextInput);
     this.vbox4.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1]));
     w13.Position = 1;
     this.hbox2.Add (this.vbox4);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4]));
     w14.Position = 2;
     this.vbox1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w15.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 644;
     this.DefaultHeight = 428;
     this.fromTextInput.HasDefault = true;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.translate_button.Clicked += new global::System.EventHandler (this.OnTranslateButtonClicked);
 }
Пример #56
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Eve Character Monitor");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("ECMGTK.Resources.Icons.Corpse.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.DefaultWidth = 800;
     this.DefaultHeight = 550;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 3;
     // Container child vbox3.Gtk.Box+BoxChild
     this.ntbPages = new global::Gtk.Notebook ();
     this.ntbPages.CanFocus = true;
     this.ntbPages.Name = "ntbPages";
     this.ntbPages.CurrentPage = 5;
     this.ntbPages.TabPos = ((global::Gtk.PositionType)(0));
     this.ntbPages.BorderWidth = ((uint)(3));
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.vbxOverview = new global::Gtk.VBox ();
     this.vbxOverview.Name = "vbxOverview";
     this.vbxOverview.Spacing = 1;
     this.vbxOverview.BorderWidth = ((uint)(3));
     // Container child vbxOverview.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow.BorderWidth = ((uint)(3));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     global::Gtk.Viewport w2 = new global::Gtk.Viewport ();
     w2.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.vbxAccounts = new global::Gtk.VBox ();
     this.vbxAccounts.Name = "vbxAccounts";
     this.vbxAccounts.Spacing = 6;
     this.vbxAccounts.BorderWidth = ((uint)(6));
     w2.Add (this.vbxAccounts);
     this.GtkScrolledWindow.Add (w2);
     this.vbxOverview.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbxOverview [this.GtkScrolledWindow]));
     w5.Position = 0;
     w5.Padding = ((uint)(2));
     // Container child vbxOverview.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator ();
     this.hseparator1.Name = "hseparator1";
     this.vbxOverview.Add (this.hseparator1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbxOverview [this.hseparator1]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbxOverview.Gtk.Box+BoxChild
     this.hbuttonbox1 = new global::Gtk.HButtonBox ();
     this.hbuttonbox1.Homogeneous = true;
     this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1));
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.btnAddNewApiKey = new global::Gtk.Button ();
     this.btnAddNewApiKey.CanFocus = true;
     this.btnAddNewApiKey.Name = "btnAddNewApiKey";
     // Container child btnAddNewApiKey.Gtk.Container+ContainerChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.image3 = new global::Gtk.Image ();
     this.image3.Name = "image3";
     this.image3.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("ECMGTK.Resources.Icons.Internet.png");
     this.hbox4.Add (this.image3);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.image3]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Add New Api Key");
     this.label5.Wrap = true;
     this.label5.SingleLineMode = true;
     this.hbox4.Add (this.label5);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label5]));
     w8.Position = 1;
     this.btnAddNewApiKey.Add (this.hbox4);
     this.btnAddNewApiKey.Label = null;
     this.hbuttonbox1.Add (this.btnAddNewApiKey);
     global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.btnAddNewApiKey]));
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.btnCreateNewCharacter = new global::Gtk.Button ();
     this.btnCreateNewCharacter.CanFocus = true;
     this.btnCreateNewCharacter.Name = "btnCreateNewCharacter";
     // Container child btnCreateNewCharacter.Gtk.Container+ContainerChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.image2 = new global::Gtk.Image ();
     this.image2.Name = "image2";
     this.image2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("ECMGTK.Resources.Icons.CustomChar.png");
     this.hbox3.Add (this.image2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.image2]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Create New Character");
     this.label2.Wrap = true;
     this.label2.SingleLineMode = true;
     this.hbox3.Add (this.label2);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2]));
     w12.Position = 1;
     this.btnCreateNewCharacter.Add (this.hbox3);
     this.btnCreateNewCharacter.Label = null;
     this.hbuttonbox1.Add (this.btnCreateNewCharacter);
     global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.btnCreateNewCharacter]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     this.vbxOverview.Add (this.hbuttonbox1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbxOverview [this.hbuttonbox1]));
     w15.Position = 2;
     w15.Expand = false;
     w15.Fill = false;
     this.ntbPages.Add (this.vbxOverview);
     // Notebook tab
     this.label3 = new global::Gtk.Label ();
     this.label3.HeightRequest = 32;
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Home");
     this.ntbPages.SetTabLabel (this.vbxOverview, this.label3);
     this.label3.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.vbxCharSheet = new global::Gtk.VBox ();
     this.vbxCharSheet.Name = "vbxCharSheet";
     this.vbxCharSheet.Spacing = 6;
     // Container child vbxCharSheet.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     this.hbox5.BorderWidth = ((uint)(3));
     // Container child hbox5.Gtk.Box+BoxChild
     this.frame2 = new global::Gtk.Frame ();
     this.frame2.Name = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(4));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(1));
     this.GtkAlignment.TopPadding = ((uint)(1));
     this.GtkAlignment.RightPadding = ((uint)(1));
     this.GtkAlignment.BottomPadding = ((uint)(1));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.evtCharPortrait = new global::Gtk.EventBox ();
     this.evtCharPortrait.Name = "evtCharPortrait";
     // Container child evtCharPortrait.Gtk.Container+ContainerChild
     this.imgCharPortrait = new global::Gtk.Image ();
     this.imgCharPortrait.WidthRequest = 160;
     this.imgCharPortrait.HeightRequest = 160;
     this.imgCharPortrait.Name = "imgCharPortrait";
     this.evtCharPortrait.Add (this.imgCharPortrait);
     this.GtkAlignment.Add (this.evtCharPortrait);
     this.frame2.Add (this.GtkAlignment);
     this.hbox5.Add (this.frame2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.frame2]));
     w20.Position = 0;
     w20.Expand = false;
     w20.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 3;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 1;
     // Container child hbox7.Gtk.Box+BoxChild
     this.lblCharName = new global::Gtk.Label ();
     this.lblCharName.WidthRequest = 245;
     this.lblCharName.Name = "lblCharName";
     this.lblCharName.Xalign = 0F;
     this.lblCharName.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Character Name</b>");
     this.lblCharName.UseMarkup = true;
     this.hbox7.Add (this.lblCharName);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.lblCharName]));
     w21.Position = 0;
     this.vbox4.Add (this.hbox7);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox7]));
     w22.Position = 0;
     w22.Expand = false;
     w22.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false);
     this.table2.HeightRequest = 25;
     this.table2.Name = "table2";
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.eventbox1 = new global::Gtk.EventBox ();
     this.eventbox1.Events = ((global::Gdk.EventMask)(256));
     this.eventbox1.Name = "eventbox1";
     this.eventbox1.VisibleWindow = false;
     // Container child eventbox1.Gtk.Container+ContainerChild
     this.lblActiveShip = new global::Gtk.Label ();
     this.lblActiveShip.Name = "lblActiveShip";
     this.lblActiveShip.Xalign = 0F;
     this.lblActiveShip.WidthChars = 0;
     this.eventbox1.Add (this.lblActiveShip);
     this.table2.Add (this.eventbox1);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.eventbox1]));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label40 = new global::Gtk.Label ();
     this.label40.Name = "label40";
     this.label40.Xalign = 0F;
     this.label40.Yalign = 0F;
     this.label40.LabelProp = global::Mono.Unix.Catalog.GetString ("Active Ship");
     this.label40.WidthChars = 12;
     this.table2.Add (this.label40);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.label40]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.table2);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table2]));
     w26.PackType = ((global::Gtk.PackType)(1));
     w26.Position = 1;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hseparator3 = new global::Gtk.HSeparator ();
     this.hseparator3.Name = "hseparator3";
     this.vbox4.Add (this.hseparator3);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator3]));
     w27.PackType = ((global::Gtk.PackType)(1));
     w27.Position = 2;
     w27.Expand = false;
     w27.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.table3 = new global::Gtk.Table (((uint)(8)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.label15 = new global::Gtk.Label ();
     this.label15.Name = "label15";
     this.label15.Xalign = 0F;
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Skillpoints");
     this.table3.Add (this.label15);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3 [this.label15]));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label16 = new global::Gtk.Label ();
     this.label16.Name = "label16";
     this.label16.Xalign = 0F;
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("Clone");
     this.table3.Add (this.label16);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3 [this.label16]));
     w29.TopAttach = ((uint)(1));
     w29.BottomAttach = ((uint)(2));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label17 = new global::Gtk.Label ();
     this.label17.Name = "label17";
     this.label17.Xalign = 0F;
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Date of Birth");
     this.table3.Add (this.label17);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3 [this.label17]));
     w30.TopAttach = ((uint)(4));
     w30.BottomAttach = ((uint)(5));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label18 = new global::Gtk.Label ();
     this.label18.Name = "label18";
     this.label18.Xalign = 0F;
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Background");
     this.table3.Add (this.label18);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3 [this.label18]));
     w31.TopAttach = ((uint)(3));
     w31.BottomAttach = ((uint)(4));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label19 = new global::Gtk.Label ();
     this.label19.Name = "label19";
     this.label19.Xalign = 0F;
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Current System");
     this.table3.Add (this.label19);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3 [this.label19]));
     w32.TopAttach = ((uint)(2));
     w32.BottomAttach = ((uint)(3));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label21 = new global::Gtk.Label ();
     this.label21.Name = "label21";
     this.label21.Xalign = 0F;
     this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Security Status");
     this.table3.Add (this.label21);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table3 [this.label21]));
     w33.TopAttach = ((uint)(7));
     w33.BottomAttach = ((uint)(8));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblAlliance = new global::Gtk.Label ();
     this.lblAlliance.Name = "lblAlliance";
     this.lblAlliance.Xalign = 0F;
     this.table3.Add (this.lblAlliance);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblAlliance]));
     w34.TopAttach = ((uint)(6));
     w34.BottomAttach = ((uint)(7));
     w34.LeftAttach = ((uint)(1));
     w34.RightAttach = ((uint)(2));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblAllianceTag = new global::Gtk.Label ();
     this.lblAllianceTag.Name = "lblAllianceTag";
     this.lblAllianceTag.Xalign = 0F;
     this.lblAllianceTag.LabelProp = global::Mono.Unix.Catalog.GetString ("Alliance");
     this.table3.Add (this.lblAllianceTag);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblAllianceTag]));
     w35.TopAttach = ((uint)(6));
     w35.BottomAttach = ((uint)(7));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblBackground = new global::Gtk.Label ();
     this.lblBackground.Name = "lblBackground";
     this.lblBackground.Xalign = 0F;
     this.table3.Add (this.lblBackground);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblBackground]));
     w36.TopAttach = ((uint)(3));
     w36.BottomAttach = ((uint)(4));
     w36.LeftAttach = ((uint)(1));
     w36.RightAttach = ((uint)(2));
     w36.XOptions = ((global::Gtk.AttachOptions)(4));
     w36.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblCone = new global::Gtk.Label ();
     this.lblCone.Name = "lblCone";
     this.lblCone.Xalign = 0F;
     this.table3.Add (this.lblCone);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblCone]));
     w37.TopAttach = ((uint)(1));
     w37.BottomAttach = ((uint)(2));
     w37.LeftAttach = ((uint)(1));
     w37.RightAttach = ((uint)(2));
     w37.XOptions = ((global::Gtk.AttachOptions)(4));
     w37.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblCorporation = new global::Gtk.Label ();
     this.lblCorporation.Name = "lblCorporation";
     this.lblCorporation.Xalign = 0F;
     this.table3.Add (this.lblCorporation);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblCorporation]));
     w38.TopAttach = ((uint)(5));
     w38.BottomAttach = ((uint)(6));
     w38.LeftAttach = ((uint)(1));
     w38.RightAttach = ((uint)(2));
     w38.XOptions = ((global::Gtk.AttachOptions)(4));
     w38.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblCorporationTag = new global::Gtk.Label ();
     this.lblCorporationTag.Name = "lblCorporationTag";
     this.lblCorporationTag.Xalign = 0F;
     this.lblCorporationTag.LabelProp = global::Mono.Unix.Catalog.GetString ("Corporation");
     this.table3.Add (this.lblCorporationTag);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblCorporationTag]));
     w39.TopAttach = ((uint)(5));
     w39.BottomAttach = ((uint)(6));
     w39.XOptions = ((global::Gtk.AttachOptions)(4));
     w39.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblCurrentLocation = new global::Gtk.Label ();
     this.lblCurrentLocation.Name = "lblCurrentLocation";
     this.lblCurrentLocation.Xalign = 0F;
     this.table3.Add (this.lblCurrentLocation);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblCurrentLocation]));
     w40.TopAttach = ((uint)(2));
     w40.BottomAttach = ((uint)(3));
     w40.LeftAttach = ((uint)(1));
     w40.RightAttach = ((uint)(2));
     w40.XOptions = ((global::Gtk.AttachOptions)(4));
     w40.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblDoB = new global::Gtk.Label ();
     this.lblDoB.Name = "lblDoB";
     this.lblDoB.Xalign = 0F;
     this.table3.Add (this.lblDoB);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblDoB]));
     w41.TopAttach = ((uint)(4));
     w41.BottomAttach = ((uint)(5));
     w41.LeftAttach = ((uint)(1));
     w41.RightAttach = ((uint)(2));
     w41.XOptions = ((global::Gtk.AttachOptions)(4));
     w41.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblSecStatus = new global::Gtk.Label ();
     this.lblSecStatus.Name = "lblSecStatus";
     this.lblSecStatus.Xalign = 0F;
     this.table3.Add (this.lblSecStatus);
     global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblSecStatus]));
     w42.TopAttach = ((uint)(7));
     w42.BottomAttach = ((uint)(8));
     w42.LeftAttach = ((uint)(1));
     w42.RightAttach = ((uint)(2));
     w42.XOptions = ((global::Gtk.AttachOptions)(4));
     w42.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.lblSkillpoints = new global::Gtk.Label ();
     this.lblSkillpoints.Name = "lblSkillpoints";
     this.lblSkillpoints.Xalign = 0F;
     this.table3.Add (this.lblSkillpoints);
     global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblSkillpoints]));
     w43.LeftAttach = ((uint)(1));
     w43.RightAttach = ((uint)(2));
     w43.XOptions = ((global::Gtk.AttachOptions)(4));
     w43.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.table3);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table3]));
     w44.PackType = ((global::Gtk.PackType)(1));
     w44.Position = 3;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hseparator2 = new global::Gtk.HSeparator ();
     this.hseparator2.Name = "hseparator2";
     this.vbox4.Add (this.hseparator2);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator2]));
     w45.PackType = ((global::Gtk.PackType)(1));
     w45.Position = 4;
     w45.Expand = false;
     w45.Fill = false;
     this.hbox5.Add (this.vbox4);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox4]));
     w46.Position = 1;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox8 = new global::Gtk.HBox ();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 3;
     // Container child hbox8.Gtk.Box+BoxChild
     this.btnRecycleChar = new global::Gtk.Button ();
     this.btnRecycleChar.TooltipMarkup = "Send to Biomass";
     this.btnRecycleChar.CanFocus = true;
     this.btnRecycleChar.Name = "btnRecycleChar";
     this.btnRecycleChar.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child btnRecycleChar.Gtk.Container+ContainerChild
     this.image1 = new global::Gtk.Image ();
     this.image1.Name = "image1";
     this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("ECMGTK.Resources.Icons.Recycle.png");
     this.btnRecycleChar.Add (this.image1);
     this.btnRecycleChar.Label = null;
     this.hbox8.Add (this.btnRecycleChar);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnRecycleChar]));
     w48.Position = 0;
     w48.Expand = false;
     w48.Fill = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.btnExport = new global::Gtk.Button ();
     this.btnExport.TooltipMarkup = "Export Character";
     this.btnExport.CanFocus = true;
     this.btnExport.Name = "btnExport";
     this.btnExport.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child btnExport.Gtk.Container+ContainerChild
     this.image4 = new global::Gtk.Image ();
     this.image4.Name = "image4";
     this.image4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("ECMGTK.Resources.Icons.ExportChar.png");
     this.btnExport.Add (this.image4);
     this.btnExport.Label = null;
     this.hbox8.Add (this.btnExport);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnExport]));
     w50.Position = 1;
     w50.Expand = false;
     w50.Fill = false;
     this.vbox6.Add (this.hbox8);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox8]));
     w51.Position = 0;
     w51.Expand = false;
     w51.Fill = false;
     this.hbox5.Add (this.vbox6);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox6]));
     w52.PackType = ((global::Gtk.PackType)(1));
     w52.Position = 2;
     w52.Expand = false;
     w52.Fill = false;
     this.vbxCharSheet.Add (this.hbox5);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbxCharSheet [this.hbox5]));
     w53.Position = 0;
     w53.Expand = false;
     w53.Fill = false;
     // Container child vbxCharSheet.Gtk.Box+BoxChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     this.hbox6.BorderWidth = ((uint)(3));
     // Container child hbox6.Gtk.Box+BoxChild
     this.ntbCharSheetPages = new global::Gtk.Notebook ();
     this.ntbCharSheetPages.CanFocus = true;
     this.ntbCharSheetPages.Name = "ntbCharSheetPages";
     this.ntbCharSheetPages.CurrentPage = 2;
     this.ntbCharSheetPages.TabPos = ((global::Gtk.PositionType)(0));
     this.ntbCharSheetPages.ShowBorder = false;
     // Container child ntbCharSheetPages.Gtk.Notebook+NotebookChild
     this.vbxSkills = new global::Gtk.VBox ();
     this.vbxSkills.Name = "vbxSkills";
     // Container child vbxSkills.Gtk.Box+BoxChild
     this.hbuttonbox2 = new global::Gtk.HButtonBox ();
     this.hbuttonbox2.Name = "hbuttonbox2";
     this.hbuttonbox2.BorderWidth = ((uint)(3));
     this.hbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.button103 = new global::Gtk.Button ();
     this.button103.CanFocus = true;
     this.button103.Name = "button103";
     this.button103.UseUnderline = true;
     this.button103.Label = global::Mono.Unix.Catalog.GetString ("Open Skill Queue");
     this.hbuttonbox2.Add (this.button103);
     global::Gtk.ButtonBox.ButtonBoxChild w54 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.button103]));
     w54.Expand = false;
     w54.Fill = false;
     this.vbxSkills.Add (this.hbuttonbox2);
     global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbxSkills [this.hbuttonbox2]));
     w55.Position = 0;
     w55.Expand = false;
     w55.Fill = false;
     // Container child vbxSkills.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow1.BorderWidth = ((uint)(3));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.trvSkills = new global::Gtk.TreeView ();
     this.trvSkills.CanFocus = true;
     this.trvSkills.Name = "trvSkills";
     this.trvSkills.EnableSearch = false;
     this.trvSkills.HeadersVisible = false;
     this.GtkScrolledWindow1.Add (this.trvSkills);
     this.vbxSkills.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbxSkills [this.GtkScrolledWindow1]));
     w57.Position = 1;
     this.ntbCharSheetPages.Add (this.vbxSkills);
     // Notebook tab
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 0F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Skills");
     this.ntbCharSheetPages.SetTabLabel (this.vbxSkills, this.label7);
     this.label7.ShowAll ();
     // Container child ntbCharSheetPages.Gtk.Notebook+NotebookChild
     this.vbxCertificates = new global::Gtk.VBox ();
     this.vbxCertificates.Name = "vbxCertificates";
     // Container child vbxCertificates.Gtk.Box+BoxChild
     this.hbuttonbox3 = new global::Gtk.HButtonBox ();
     this.hbuttonbox3.Name = "hbuttonbox3";
     this.hbuttonbox3.BorderWidth = ((uint)(3));
     this.hbuttonbox3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.button104 = new global::Gtk.Button ();
     this.button104.CanFocus = true;
     this.button104.Name = "button104";
     this.button104.UseUnderline = true;
     this.button104.Label = global::Mono.Unix.Catalog.GetString ("Open Certificate Planner");
     this.hbuttonbox3.Add (this.button104);
     global::Gtk.ButtonBox.ButtonBoxChild w59 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3 [this.button104]));
     w59.Expand = false;
     w59.Fill = false;
     this.vbxCertificates.Add (this.hbuttonbox3);
     global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vbxCertificates [this.hbuttonbox3]));
     w60.Position = 0;
     w60.Expand = false;
     w60.Fill = false;
     // Container child vbxCertificates.Gtk.Box+BoxChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow2.BorderWidth = ((uint)(3));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.trvCertificates = new global::Gtk.TreeView ();
     this.trvCertificates.CanFocus = true;
     this.trvCertificates.Name = "trvCertificates";
     this.trvCertificates.EnableSearch = false;
     this.trvCertificates.HeadersVisible = false;
     this.GtkScrolledWindow2.Add (this.trvCertificates);
     this.vbxCertificates.Add (this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbxCertificates [this.GtkScrolledWindow2]));
     w62.Position = 1;
     this.ntbCharSheetPages.Add (this.vbxCertificates);
     global::Gtk.Notebook.NotebookChild w63 = ((global::Gtk.Notebook.NotebookChild)(this.ntbCharSheetPages [this.vbxCertificates]));
     w63.Position = 1;
     // Notebook tab
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Certificates");
     this.ntbCharSheetPages.SetTabLabel (this.vbxCertificates, this.label8);
     this.label8.ShowAll ();
     // Container child ntbCharSheetPages.Gtk.Notebook+NotebookChild
     this.scwMedals = new global::Gtk.ScrolledWindow ();
     this.scwMedals.Name = "scwMedals";
     this.scwMedals.ShadowType = ((global::Gtk.ShadowType)(1));
     this.scwMedals.BorderWidth = ((uint)(3));
     // Container child scwMedals.Gtk.Container+ContainerChild
     this.trvMedals = new global::Gtk.TreeView ();
     this.trvMedals.CanFocus = true;
     this.trvMedals.Name = "trvMedals";
     this.trvMedals.HeadersVisible = false;
     this.scwMedals.Add (this.trvMedals);
     this.ntbCharSheetPages.Add (this.scwMedals);
     global::Gtk.Notebook.NotebookChild w65 = ((global::Gtk.Notebook.NotebookChild)(this.ntbCharSheetPages [this.scwMedals]));
     w65.Position = 2;
     // Notebook tab
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Decorations");
     this.ntbCharSheetPages.SetTabLabel (this.scwMedals, this.label9);
     this.label9.ShowAll ();
     // Container child ntbCharSheetPages.Gtk.Notebook+NotebookChild
     this.scwAttributes = new global::Gtk.ScrolledWindow ();
     this.scwAttributes.Name = "scwAttributes";
     this.scwAttributes.ShadowType = ((global::Gtk.ShadowType)(1));
     this.scwAttributes.BorderWidth = ((uint)(3));
     // Container child scwAttributes.Gtk.Container+ContainerChild
     this.trvAttributes = new global::Gtk.TreeView ();
     this.trvAttributes.CanFocus = true;
     this.trvAttributes.Name = "trvAttributes";
     this.trvAttributes.EnableSearch = false;
     this.trvAttributes.HeadersVisible = false;
     this.scwAttributes.Add (this.trvAttributes);
     this.ntbCharSheetPages.Add (this.scwAttributes);
     global::Gtk.Notebook.NotebookChild w67 = ((global::Gtk.Notebook.NotebookChild)(this.ntbCharSheetPages [this.scwAttributes]));
     w67.Position = 3;
     // Notebook tab
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.Xalign = 0F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Attributes");
     this.ntbCharSheetPages.SetTabLabel (this.scwAttributes, this.label10);
     this.label10.ShowAll ();
     // Container child ntbCharSheetPages.Gtk.Notebook+NotebookChild
     this.scwImplants = new global::Gtk.ScrolledWindow ();
     this.scwImplants.Name = "scwImplants";
     this.scwImplants.ShadowType = ((global::Gtk.ShadowType)(1));
     this.scwImplants.BorderWidth = ((uint)(3));
     // Container child scwImplants.Gtk.Container+ContainerChild
     this.trvImplants = new global::Gtk.TreeView ();
     this.trvImplants.CanFocus = true;
     this.trvImplants.Name = "trvImplants";
     this.trvImplants.HeadersVisible = false;
     this.scwImplants.Add (this.trvImplants);
     this.ntbCharSheetPages.Add (this.scwImplants);
     global::Gtk.Notebook.NotebookChild w69 = ((global::Gtk.Notebook.NotebookChild)(this.ntbCharSheetPages [this.scwImplants]));
     w69.Position = 4;
     // Notebook tab
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 0F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Augmentations");
     this.ntbCharSheetPages.SetTabLabel (this.scwImplants, this.label11);
     this.label11.ShowAll ();
     // Container child ntbCharSheetPages.Gtk.Notebook+NotebookChild
     this.scwEmployment = new global::Gtk.ScrolledWindow ();
     this.scwEmployment.Name = "scwEmployment";
     this.scwEmployment.ShadowType = ((global::Gtk.ShadowType)(1));
     this.scwEmployment.BorderWidth = ((uint)(3));
     // Container child scwEmployment.Gtk.Container+ContainerChild
     this.trvEmployment = new global::Gtk.TreeView ();
     this.trvEmployment.CanFocus = true;
     this.trvEmployment.Name = "trvEmployment";
     this.trvEmployment.HeadersVisible = false;
     this.scwEmployment.Add (this.trvEmployment);
     this.ntbCharSheetPages.Add (this.scwEmployment);
     global::Gtk.Notebook.NotebookChild w71 = ((global::Gtk.Notebook.NotebookChild)(this.ntbCharSheetPages [this.scwEmployment]));
     w71.Position = 5;
     // Notebook tab
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.Xalign = 0F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Employment History");
     this.ntbCharSheetPages.SetTabLabel (this.scwEmployment, this.label12);
     this.label12.ShowAll ();
     // Container child ntbCharSheetPages.Gtk.Notebook+NotebookChild
     this.scwStandings = new global::Gtk.ScrolledWindow ();
     this.scwStandings.Name = "scwStandings";
     this.scwStandings.ShadowType = ((global::Gtk.ShadowType)(1));
     this.scwStandings.BorderWidth = ((uint)(3));
     // Container child scwStandings.Gtk.Container+ContainerChild
     this.trvStandings = new global::Gtk.TreeView ();
     this.trvStandings.CanFocus = true;
     this.trvStandings.Name = "trvStandings";
     this.trvStandings.HeadersVisible = false;
     this.scwStandings.Add (this.trvStandings);
     this.ntbCharSheetPages.Add (this.scwStandings);
     global::Gtk.Notebook.NotebookChild w73 = ((global::Gtk.Notebook.NotebookChild)(this.ntbCharSheetPages [this.scwStandings]));
     w73.Position = 6;
     // Notebook tab
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 0F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Standings");
     this.ntbCharSheetPages.SetTabLabel (this.scwStandings, this.label13);
     this.label13.ShowAll ();
     // Container child ntbCharSheetPages.Gtk.Notebook+NotebookChild
     this.scwCombatLogs = new global::Gtk.ScrolledWindow ();
     this.scwCombatLogs.Name = "scwCombatLogs";
     this.scwCombatLogs.ShadowType = ((global::Gtk.ShadowType)(1));
     this.scwCombatLogs.BorderWidth = ((uint)(3));
     // Container child scwCombatLogs.Gtk.Container+ContainerChild
     this.trvKillLogs = new global::Gtk.TreeView ();
     this.trvKillLogs.CanFocus = true;
     this.trvKillLogs.Name = "trvKillLogs";
     this.trvKillLogs.HeadersVisible = false;
     this.scwCombatLogs.Add (this.trvKillLogs);
     this.ntbCharSheetPages.Add (this.scwCombatLogs);
     global::Gtk.Notebook.NotebookChild w75 = ((global::Gtk.Notebook.NotebookChild)(this.ntbCharSheetPages [this.scwCombatLogs]));
     w75.Position = 7;
     // Notebook tab
     this.label14 = new global::Gtk.Label ();
     this.label14.WidthRequest = 158;
     this.label14.HeightRequest = 32;
     this.label14.Name = "label14";
     this.label14.Xalign = 0F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Combat Log");
     this.ntbCharSheetPages.SetTabLabel (this.scwCombatLogs, this.label14);
     this.label14.ShowAll ();
     this.hbox6.Add (this.ntbCharSheetPages);
     global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.ntbCharSheetPages]));
     w76.Position = 0;
     this.vbxCharSheet.Add (this.hbox6);
     global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.vbxCharSheet [this.hbox6]));
     w77.Position = 1;
     this.ntbPages.Add (this.vbxCharSheet);
     global::Gtk.Notebook.NotebookChild w78 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.vbxCharSheet]));
     w78.Position = 1;
     // Notebook tab
     this.label22 = new global::Gtk.Label ();
     this.label22.HeightRequest = 32;
     this.label22.Name = "label22";
     this.label22.LabelProp = global::Mono.Unix.Catalog.GetString ("Character Sheet");
     this.ntbPages.SetTabLabel (this.vbxCharSheet, this.label22);
     this.label22.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpContacts = new global::Gtk.Fixed ();
     this.tmpContacts.Name = "tmpContacts";
     this.tmpContacts.HasWindow = false;
     this.ntbPages.Add (this.tmpContacts);
     global::Gtk.Notebook.NotebookChild w79 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpContacts]));
     w79.Position = 2;
     // Notebook tab
     this.label4 = new global::Gtk.Label ();
     this.label4.HeightRequest = 32;
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("People & Places");
     this.ntbPages.SetTabLabel (this.tmpContacts, this.label4);
     this.label4.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpMail = new global::Gtk.Fixed ();
     this.tmpMail.Name = "tmpMail";
     this.tmpMail.HasWindow = false;
     this.ntbPages.Add (this.tmpMail);
     global::Gtk.Notebook.NotebookChild w80 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpMail]));
     w80.Position = 3;
     // Notebook tab
     this.label23 = new global::Gtk.Label ();
     this.label23.HeightRequest = 32;
     this.label23.Name = "label23";
     this.label23.LabelProp = global::Mono.Unix.Catalog.GetString ("Mail");
     this.ntbPages.SetTabLabel (this.tmpMail, this.label23);
     this.label23.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpFittings = new global::Gtk.Fixed ();
     this.tmpFittings.Name = "tmpFittings";
     this.tmpFittings.HasWindow = false;
     this.ntbPages.Add (this.tmpFittings);
     global::Gtk.Notebook.NotebookChild w81 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpFittings]));
     w81.Position = 4;
     // Notebook tab
     this.label24 = new global::Gtk.Label ();
     this.label24.HeightRequest = 32;
     this.label24.Name = "label24";
     this.label24.LabelProp = global::Mono.Unix.Catalog.GetString ("Fittings");
     this.ntbPages.SetTabLabel (this.tmpFittings, this.label24);
     this.label24.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.hpnMarket = new global::Gtk.HPaned ();
     this.hpnMarket.CanFocus = true;
     this.hpnMarket.Name = "hpnMarket";
     this.hpnMarket.Position = 222;
     this.hpnMarket.BorderWidth = ((uint)(3));
     // Container child hpnMarket.Gtk.Paned+PanedChild
     this.ntbMarketGroups = new global::Gtk.Notebook ();
     this.ntbMarketGroups.CanFocus = true;
     this.ntbMarketGroups.Name = "ntbMarketGroups";
     this.ntbMarketGroups.CurrentPage = 0;
     this.ntbMarketGroups.ShowBorder = false;
     this.ntbMarketGroups.BorderWidth = ((uint)(1));
     // Container child ntbMarketGroups.Gtk.Notebook+NotebookChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 3;
     // Container child vbox1.Gtk.Box+BoxChild
     this.cmbFilter = global::Gtk.ComboBox.NewText ();
     this.cmbFilter.AppendText (global::Mono.Unix.Catalog.GetString ("All Items"));
     this.cmbFilter.AppendText (global::Mono.Unix.Catalog.GetString ("Useable Items"));
     this.cmbFilter.AppendText (global::Mono.Unix.Catalog.GetString ("Trainable Items"));
     this.cmbFilter.AppendText (global::Mono.Unix.Catalog.GetString ("Untrainable Items"));
     this.cmbFilter.Name = "cmbFilter";
     this.cmbFilter.Active = 0;
     this.vbox1.Add (this.cmbFilter);
     global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.cmbFilter]));
     w82.Position = 0;
     w82.Expand = false;
     w82.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow3.Name = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.trvMarket = new global::Gtk.TreeView ();
     this.trvMarket.CanFocus = true;
     this.trvMarket.Name = "trvMarket";
     this.trvMarket.EnableSearch = false;
     this.trvMarket.HeadersVisible = false;
     this.GtkScrolledWindow3.Add (this.trvMarket);
     this.vbox1.Add (this.GtkScrolledWindow3);
     global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow3]));
     w84.Position = 1;
     this.ntbMarketGroups.Add (this.vbox1);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Market");
     this.ntbMarketGroups.SetTabLabel (this.vbox1, this.label1);
     this.label1.ShowAll ();
     // Container child ntbMarketGroups.Gtk.Notebook+NotebookChild
     this.vbox8 = new global::Gtk.VBox ();
     this.vbox8.Name = "vbox8";
     this.vbox8.Spacing = 6;
     this.vbox8.BorderWidth = ((uint)(3));
     // Container child vbox8.Gtk.Box+BoxChild
     this.hbox10 = new global::Gtk.HBox ();
     this.hbox10.Name = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.label25 = new global::Gtk.Label ();
     this.label25.Name = "label25";
     this.label25.LabelProp = global::Mono.Unix.Catalog.GetString ("Search:");
     this.hbox10.Add (this.label25);
     global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label25]));
     w86.Position = 0;
     w86.Expand = false;
     w86.Fill = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.txtMarketFilter = new global::Gtk.Entry ();
     this.txtMarketFilter.CanFocus = true;
     this.txtMarketFilter.Name = "txtMarketFilter";
     this.txtMarketFilter.IsEditable = true;
     this.txtMarketFilter.InvisibleChar = '●';
     this.hbox10.Add (this.txtMarketFilter);
     global::Gtk.Box.BoxChild w87 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.txtMarketFilter]));
     w87.Position = 1;
     this.vbox8.Add (this.hbox10);
     global::Gtk.Box.BoxChild w88 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox10]));
     w88.Position = 0;
     w88.Expand = false;
     w88.Fill = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.GtkScrolledWindow9 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow9.Name = "GtkScrolledWindow9";
     this.GtkScrolledWindow9.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow9.Gtk.Container+ContainerChild
     this.trvSearchItems = new global::Gtk.TreeView ();
     this.trvSearchItems.CanFocus = true;
     this.trvSearchItems.Name = "trvSearchItems";
     this.trvSearchItems.HeadersVisible = false;
     this.GtkScrolledWindow9.Add (this.trvSearchItems);
     this.vbox8.Add (this.GtkScrolledWindow9);
     global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.GtkScrolledWindow9]));
     w90.Position = 1;
     this.ntbMarketGroups.Add (this.vbox8);
     global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.ntbMarketGroups [this.vbox8]));
     w91.Position = 1;
     // Notebook tab
     this.label26 = new global::Gtk.Label ();
     this.label26.Name = "label26";
     this.label26.LabelProp = global::Mono.Unix.Catalog.GetString ("Search");
     this.ntbMarketGroups.SetTabLabel (this.vbox8, this.label26);
     this.label26.ShowAll ();
     this.hpnMarket.Add (this.ntbMarketGroups);
     global::Gtk.Paned.PanedChild w92 = ((global::Gtk.Paned.PanedChild)(this.hpnMarket [this.ntbMarketGroups]));
     w92.Resize = false;
     w92.Shrink = false;
     // Container child hpnMarket.Gtk.Paned+PanedChild
     this.ntbMarketDetails = new global::Gtk.Notebook ();
     this.ntbMarketDetails.CanFocus = true;
     this.ntbMarketDetails.Name = "ntbMarketDetails";
     this.ntbMarketDetails.CurrentPage = 0;
     this.ntbMarketDetails.BorderWidth = ((uint)(3));
     // Container child ntbMarketDetails.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 20;
     this.vbox2.BorderWidth = ((uint)(3));
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 1;
     this.hbox1.BorderWidth = ((uint)(1));
     // Container child hbox1.Gtk.Box+BoxChild
     this.frmItemImage = new global::Gtk.Frame ();
     this.frmItemImage.Name = "frmItemImage";
     this.frmItemImage.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frmItemImage.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.btnShowRender = new global::Gtk.Button ();
     this.btnShowRender.Sensitive = false;
     this.btnShowRender.CanFocus = true;
     this.btnShowRender.Name = "btnShowRender";
     this.btnShowRender.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child btnShowRender.Gtk.Container+ContainerChild
     this.imgItemIconDetails = new global::Gtk.Image ();
     this.imgItemIconDetails.WidthRequest = 64;
     this.imgItemIconDetails.HeightRequest = 64;
     this.imgItemIconDetails.Name = "imgItemIconDetails";
     this.btnShowRender.Add (this.imgItemIconDetails);
     this.btnShowRender.Label = null;
     this.GtkAlignment1.Add (this.btnShowRender);
     this.frmItemImage.Add (this.GtkAlignment1);
     this.hbox1.Add (this.frmItemImage);
     global::Gtk.Box.BoxChild w96 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frmItemImage]));
     w96.Position = 0;
     w96.Expand = false;
     w96.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox10 = new global::Gtk.VBox ();
     this.vbox10.Name = "vbox10";
     this.vbox10.Spacing = 6;
     // Container child vbox10.Gtk.Box+BoxChild
     this.btnItemInfo = new global::Gtk.Button ();
     this.btnItemInfo.CanFocus = true;
     this.btnItemInfo.Name = "btnItemInfo";
     this.btnItemInfo.Relief = ((global::Gtk.ReliefStyle)(2));
     this.btnItemInfo.Xalign = 0F;
     this.btnItemInfo.Yalign = 0F;
     // Container child btnItemInfo.Gtk.Container+ContainerChild
     this.imgItemInfoDetails = new global::Gtk.Image ();
     this.imgItemInfoDetails.WidthRequest = 16;
     this.imgItemInfoDetails.HeightRequest = 16;
     this.imgItemInfoDetails.Name = "imgItemInfoDetails";
     this.imgItemInfoDetails.Xalign = 0F;
     this.imgItemInfoDetails.Yalign = 0F;
     this.imgItemInfoDetails.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("ECMGTK.Resources.Icons.Info16.png");
     this.btnItemInfo.Add (this.imgItemInfoDetails);
     this.btnItemInfo.Label = null;
     this.vbox10.Add (this.btnItemInfo);
     global::Gtk.Box.BoxChild w98 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.btnItemInfo]));
     w98.Position = 0;
     w98.Expand = false;
     w98.Fill = false;
     this.hbox1.Add (this.vbox10);
     global::Gtk.Box.BoxChild w99 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox10]));
     w99.Position = 1;
     w99.Expand = false;
     w99.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox9 = new global::Gtk.VBox ();
     this.vbox9.Name = "vbox9";
     this.vbox9.Spacing = 6;
     // Container child vbox9.Gtk.Box+BoxChild
     this.hbxItemPath = new global::Gtk.HBox ();
     this.hbxItemPath.Name = "hbxItemPath";
     this.hbxItemPath.Spacing = 6;
     this.vbox9.Add (this.hbxItemPath);
     global::Gtk.Box.BoxChild w100 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hbxItemPath]));
     w100.Position = 0;
     w100.Expand = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.lblItemNameDetails = new global::Gtk.Label ();
     this.lblItemNameDetails.Name = "lblItemNameDetails";
     this.lblItemNameDetails.Xalign = 0F;
     this.lblItemNameDetails.LabelProp = global::Mono.Unix.Catalog.GetString ("<span size=\"large\" weight=\"bold\">No Type Selected</span>");
     this.lblItemNameDetails.UseMarkup = true;
     this.vbox9.Add (this.lblItemNameDetails);
     global::Gtk.Box.BoxChild w101 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.lblItemNameDetails]));
     w101.Position = 1;
     w101.Expand = false;
     w101.Fill = false;
     this.hbox1.Add (this.vbox9);
     global::Gtk.Box.BoxChild w102 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox9]));
     w102.Position = 2;
     w102.Expand = false;
     w102.Fill = false;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w103.Position = 0;
     w103.Expand = false;
     w103.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.vbxBuySell = new global::Gtk.VBox ();
     this.vbxBuySell.Name = "vbxBuySell";
     this.vbxBuySell.Spacing = 6;
     this.vbxBuySell.BorderWidth = ((uint)(3));
     // Container child vbxBuySell.Gtk.Box+BoxChild
     this.label38 = new global::Gtk.Label ();
     this.label38.Name = "label38";
     this.label38.Xalign = 0F;
     this.label38.LabelProp = global::Mono.Unix.Catalog.GetString ("Sellers");
     this.vbxBuySell.Add (this.label38);
     global::Gtk.Box.BoxChild w104 = ((global::Gtk.Box.BoxChild)(this.vbxBuySell [this.label38]));
     w104.Position = 0;
     w104.Expand = false;
     w104.Fill = false;
     // Container child vbxBuySell.Gtk.Box+BoxChild
     this.GtkScrolledWindow13 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow13.Name = "GtkScrolledWindow13";
     this.GtkScrolledWindow13.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow13.Gtk.Container+ContainerChild
     this.trvSellOrders = new global::Gtk.TreeView ();
     this.trvSellOrders.CanFocus = true;
     this.trvSellOrders.Name = "trvSellOrders";
     this.GtkScrolledWindow13.Add (this.trvSellOrders);
     this.vbxBuySell.Add (this.GtkScrolledWindow13);
     global::Gtk.Box.BoxChild w106 = ((global::Gtk.Box.BoxChild)(this.vbxBuySell [this.GtkScrolledWindow13]));
     w106.Position = 1;
     // Container child vbxBuySell.Gtk.Box+BoxChild
     this.label39 = new global::Gtk.Label ();
     this.label39.Name = "label39";
     this.label39.Xalign = 0F;
     this.label39.LabelProp = global::Mono.Unix.Catalog.GetString ("Buyers");
     this.vbxBuySell.Add (this.label39);
     global::Gtk.Box.BoxChild w107 = ((global::Gtk.Box.BoxChild)(this.vbxBuySell [this.label39]));
     w107.Position = 2;
     w107.Expand = false;
     w107.Fill = false;
     // Container child vbxBuySell.Gtk.Box+BoxChild
     this.GtkScrolledWindow14 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow14.Name = "GtkScrolledWindow14";
     this.GtkScrolledWindow14.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow14.Gtk.Container+ContainerChild
     this.trvBuyOrders = new global::Gtk.TreeView ();
     this.trvBuyOrders.CanFocus = true;
     this.trvBuyOrders.Name = "trvBuyOrders";
     this.GtkScrolledWindow14.Add (this.trvBuyOrders);
     this.vbxBuySell.Add (this.GtkScrolledWindow14);
     global::Gtk.Box.BoxChild w109 = ((global::Gtk.Box.BoxChild)(this.vbxBuySell [this.GtkScrolledWindow14]));
     w109.PackType = ((global::Gtk.PackType)(1));
     w109.Position = 3;
     this.vbox2.Add (this.vbxBuySell);
     global::Gtk.Box.BoxChild w110 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbxBuySell]));
     w110.Position = 1;
     this.ntbMarketDetails.Add (this.vbox2);
     // Notebook tab
     this.label35 = new global::Gtk.Label ();
     this.label35.Name = "label35";
     this.label35.LabelProp = global::Mono.Unix.Catalog.GetString ("Details");
     this.ntbMarketDetails.SetTabLabel (this.vbox2, this.label35);
     this.label35.ShowAll ();
     // Container child ntbMarketDetails.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow11 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow11.Name = "GtkScrolledWindow11";
     this.GtkScrolledWindow11.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow11.ShadowType = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow11.BorderWidth = ((uint)(3));
     // Container child GtkScrolledWindow11.Gtk.Container+ContainerChild
     global::Gtk.Viewport w112 = new global::Gtk.Viewport ();
     w112.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.vbbMarketGroups = new global::Gtk.VBox ();
     this.vbbMarketGroups.Name = "vbbMarketGroups";
     this.vbbMarketGroups.Spacing = 3;
     this.vbbMarketGroups.BorderWidth = ((uint)(3));
     w112.Add (this.vbbMarketGroups);
     this.GtkScrolledWindow11.Add (w112);
     this.ntbMarketDetails.Add (this.GtkScrolledWindow11);
     global::Gtk.Notebook.NotebookChild w115 = ((global::Gtk.Notebook.NotebookChild)(this.ntbMarketDetails [this.GtkScrolledWindow11]));
     w115.Position = 1;
     // Notebook tab
     this.label27 = new global::Gtk.Label ();
     this.label27.Name = "label27";
     this.label27.LabelProp = global::Mono.Unix.Catalog.GetString ("Groups");
     this.ntbMarketDetails.SetTabLabel (this.GtkScrolledWindow11, this.label27);
     this.label27.ShowAll ();
     // Container child ntbMarketDetails.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow12 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow12.Name = "GtkScrolledWindow12";
     this.GtkScrolledWindow12.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow12.Gtk.Container+ContainerChild
     global::Gtk.Viewport w116 = new global::Gtk.Viewport ();
     w116.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport2.Gtk.Container+ContainerChild
     this.vbbMarketItems = new global::Gtk.VBox ();
     this.vbbMarketItems.Name = "vbbMarketItems";
     // Container child vbbMarketItems.Gtk.Box+BoxChild
     this.vbox11 = new global::Gtk.VBox ();
     this.vbox11.Name = "vbox11";
     this.vbox11.Spacing = 6;
     this.vbbMarketItems.Add (this.vbox11);
     global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.vbbMarketItems [this.vbox11]));
     w117.Position = 0;
     w116.Add (this.vbbMarketItems);
     this.GtkScrolledWindow12.Add (w116);
     this.ntbMarketDetails.Add (this.GtkScrolledWindow12);
     global::Gtk.Notebook.NotebookChild w120 = ((global::Gtk.Notebook.NotebookChild)(this.ntbMarketDetails [this.GtkScrolledWindow12]));
     w120.Position = 2;
     // Notebook tab
     this.label28 = new global::Gtk.Label ();
     this.label28.Name = "label28";
     this.label28.LabelProp = global::Mono.Unix.Catalog.GetString ("My Orders");
     this.ntbMarketDetails.SetTabLabel (this.GtkScrolledWindow12, this.label28);
     this.label28.ShowAll ();
     this.hpnMarket.Add (this.ntbMarketDetails);
     global::Gtk.Paned.PanedChild w121 = ((global::Gtk.Paned.PanedChild)(this.hpnMarket [this.ntbMarketDetails]));
     w121.Shrink = false;
     this.ntbPages.Add (this.hpnMarket);
     global::Gtk.Notebook.NotebookChild w122 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.hpnMarket]));
     w122.Position = 5;
     // Notebook tab
     this.label29 = new global::Gtk.Label ();
     this.label29.HeightRequest = 32;
     this.label29.Name = "label29";
     this.label29.LabelProp = global::Mono.Unix.Catalog.GetString ("Market");
     this.ntbPages.SetTabLabel (this.hpnMarket, this.label29);
     this.label29.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpResearch = new global::Gtk.Fixed ();
     this.tmpResearch.Name = "tmpResearch";
     this.tmpResearch.HasWindow = false;
     this.ntbPages.Add (this.tmpResearch);
     global::Gtk.Notebook.NotebookChild w123 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpResearch]));
     w123.Position = 6;
     // Notebook tab
     this.label30 = new global::Gtk.Label ();
     this.label30.HeightRequest = 32;
     this.label30.Name = "label30";
     this.label30.LabelProp = global::Mono.Unix.Catalog.GetString ("Science & Industry");
     this.ntbPages.SetTabLabel (this.tmpResearch, this.label30);
     this.label30.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpContracts = new global::Gtk.Fixed ();
     this.tmpContracts.Name = "tmpContracts";
     this.tmpContracts.HasWindow = false;
     this.ntbPages.Add (this.tmpContracts);
     global::Gtk.Notebook.NotebookChild w124 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpContracts]));
     w124.Position = 7;
     // Notebook tab
     this.label31 = new global::Gtk.Label ();
     this.label31.HeightRequest = 32;
     this.label31.Name = "label31";
     this.label31.LabelProp = global::Mono.Unix.Catalog.GetString ("Contracts");
     this.ntbPages.SetTabLabel (this.tmpContracts, this.label31);
     this.label31.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpMap = new global::Gtk.Fixed ();
     this.tmpMap.Name = "tmpMap";
     this.tmpMap.HasWindow = false;
     this.ntbPages.Add (this.tmpMap);
     global::Gtk.Notebook.NotebookChild w125 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpMap]));
     w125.Position = 8;
     // Notebook tab
     this.label32 = new global::Gtk.Label ();
     this.label32.HeightRequest = 32;
     this.label32.Name = "label32";
     this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("Map");
     this.ntbPages.SetTabLabel (this.tmpMap, this.label32);
     this.label32.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpCorporations = new global::Gtk.Fixed ();
     this.tmpCorporations.Name = "tmpCorporations";
     this.tmpCorporations.HasWindow = false;
     this.ntbPages.Add (this.tmpCorporations);
     global::Gtk.Notebook.NotebookChild w126 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpCorporations]));
     w126.Position = 9;
     // Notebook tab
     this.label33 = new global::Gtk.Label ();
     this.label33.HeightRequest = 32;
     this.label33.Name = "label33";
     this.label33.LabelProp = global::Mono.Unix.Catalog.GetString ("Corporations");
     this.ntbPages.SetTabLabel (this.tmpCorporations, this.label33);
     this.label33.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.vbxAssets = new global::Gtk.VBox ();
     this.vbxAssets.Name = "vbxAssets";
     this.vbxAssets.Spacing = 6;
     // Container child vbxAssets.Gtk.Box+BoxChild
     this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow4.Name = "GtkScrolledWindow4";
     this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
     this.trvAssets = new global::Gtk.TreeView ();
     this.trvAssets.CanFocus = true;
     this.trvAssets.Name = "trvAssets";
     this.trvAssets.Reorderable = true;
     this.GtkScrolledWindow4.Add (this.trvAssets);
     this.vbxAssets.Add (this.GtkScrolledWindow4);
     global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.vbxAssets [this.GtkScrolledWindow4]));
     w128.Position = 1;
     this.ntbPages.Add (this.vbxAssets);
     global::Gtk.Notebook.NotebookChild w129 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.vbxAssets]));
     w129.Position = 10;
     // Notebook tab
     this.label34 = new global::Gtk.Label ();
     this.label34.HeightRequest = 32;
     this.label34.Name = "label34";
     this.label34.LabelProp = global::Mono.Unix.Catalog.GetString ("Assets");
     this.ntbPages.SetTabLabel (this.vbxAssets, this.label34);
     this.label34.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpMoney = new global::Gtk.Fixed ();
     this.tmpMoney.Name = "tmpMoney";
     this.tmpMoney.HasWindow = false;
     this.ntbPages.Add (this.tmpMoney);
     global::Gtk.Notebook.NotebookChild w130 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpMoney]));
     w130.Position = 11;
     // Notebook tab
     this.label36 = new global::Gtk.Label ();
     this.label36.HeightRequest = 32;
     this.label36.Name = "label36";
     this.label36.LabelProp = global::Mono.Unix.Catalog.GetString ("Money");
     this.ntbPages.SetTabLabel (this.tmpMoney, this.label36);
     this.label36.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpNews = new global::Gtk.Fixed ();
     this.tmpNews.Name = "tmpNews";
     this.tmpNews.HasWindow = false;
     this.ntbPages.Add (this.tmpNews);
     global::Gtk.Notebook.NotebookChild w131 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpNews]));
     w131.Position = 12;
     // Notebook tab
     this.label6 = new global::Gtk.Label ();
     this.label6.HeightRequest = 32;
     this.label6.Name = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("News");
     this.ntbPages.SetTabLabel (this.tmpNews, this.label6);
     this.label6.ShowAll ();
     // Container child ntbPages.Gtk.Notebook+NotebookChild
     this.tmpHelp = new global::Gtk.Fixed ();
     this.tmpHelp.Name = "tmpHelp";
     this.tmpHelp.HasWindow = false;
     this.ntbPages.Add (this.tmpHelp);
     global::Gtk.Notebook.NotebookChild w132 = ((global::Gtk.Notebook.NotebookChild)(this.ntbPages [this.tmpHelp]));
     w132.Position = 13;
     // Notebook tab
     this.label37 = new global::Gtk.Label ();
     this.label37.HeightRequest = 32;
     this.label37.Name = "label37";
     this.label37.LabelProp = global::Mono.Unix.Catalog.GetString ("Help And Settings");
     this.ntbPages.SetTabLabel (this.tmpHelp, this.label37);
     this.label37.ShowAll ();
     this.vbox3.Add (this.ntbPages);
     global::Gtk.Box.BoxChild w133 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ntbPages]));
     w133.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.stbStatus = new global::Gtk.Statusbar ();
     this.stbStatus.Name = "stbStatus";
     this.stbStatus.Spacing = 6;
     this.stbStatus.BorderWidth = ((uint)(3));
     this.stbStatus.HasResizeGrip = false;
     // Container child stbStatus.Gtk.Box+BoxChild
     this.imgNetworkIndicator = new global::Gtk.Image ();
     this.imgNetworkIndicator.WidthRequest = 16;
     this.imgNetworkIndicator.HeightRequest = 16;
     this.imgNetworkIndicator.Name = "imgNetworkIndicator";
     this.stbStatus.Add (this.imgNetworkIndicator);
     global::Gtk.Box.BoxChild w134 = ((global::Gtk.Box.BoxChild)(this.stbStatus [this.imgNetworkIndicator]));
     w134.PackType = ((global::Gtk.PackType)(1));
     w134.Position = 1;
     w134.Expand = false;
     w134.Fill = false;
     // Container child stbStatus.Gtk.Box+BoxChild
     this.lblCurrentEveTime = new global::Gtk.Label ();
     this.lblCurrentEveTime.Name = "lblCurrentEveTime";
     this.lblCurrentEveTime.LabelProp = global::Mono.Unix.Catalog.GetString ("label1");
     this.stbStatus.Add (this.lblCurrentEveTime);
     global::Gtk.Box.BoxChild w135 = ((global::Gtk.Box.BoxChild)(this.stbStatus [this.lblCurrentEveTime]));
     w135.PackType = ((global::Gtk.PackType)(1));
     w135.Position = 2;
     w135.Expand = false;
     w135.Fill = false;
     this.vbox3.Add (this.stbStatus);
     global::Gtk.Box.BoxChild w136 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.stbStatus]));
     w136.Position = 1;
     w136.Expand = false;
     w136.Fill = false;
     this.Add (this.vbox3);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.imgItemIconDetails.Hide ();
     this.btnItemInfo.Hide ();
     this.vbxBuySell.Hide ();
     this.Hide ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.btnAddNewApiKey.Clicked += new global::System.EventHandler (this.AddNewKey);
     this.btnCreateNewCharacter.Clicked += new global::System.EventHandler (this.CreateNewCharacter);
     this.eventbox1.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.ShipClicked);
     this.lblActiveShip.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.ShipClicked);
     this.trvAttributes.RowActivated += new global::Gtk.RowActivatedHandler (this.ClearSelection);
     this.trvMarket.RowCollapsed += new global::Gtk.RowCollapsedHandler (this.RowCollapsed);
     this.trvMarket.RowActivated += new global::Gtk.RowActivatedHandler (this.RowActivated);
     this.txtMarketFilter.Changed += new global::System.EventHandler (this.SearchTextChanged);
     this.trvSearchItems.RowCollapsed += new global::Gtk.RowCollapsedHandler (this.RowCollapsed);
     this.trvSearchItems.RowActivated += new global::Gtk.RowActivatedHandler (this.RowActivated);
     this.btnShowRender.Clicked += new global::System.EventHandler (this.ShowItemRender);
     this.btnItemInfo.Clicked += new global::System.EventHandler (this.ShowItemDetails);
 }
Пример #57
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget lab07.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Открыть"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Открыть");
     w1.Add(this.openAction, "<Primary><Mod2>o");
     this.saveAsAction            = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Сохранить схему"), null, "gtk-save-as");
     this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить схему");
     w1.Add(this.saveAsAction, "<Primary><Mod2>s");
     this.convertAction            = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("Сохранить картинку"), null, "gtk-convert");
     this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить картинку");
     w1.Add(this.convertAction, "<Primary><Alt><Mod2>s");
     this.indexAction            = new global::Gtk.Action("indexAction", global::Mono.Unix.Catalog.GetString("Сохранить журнал"), null, "gtk-index");
     this.indexAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить журнал");
     w1.Add(this.indexAction, "<Alt><Mod2>s");
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Выйти"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Выйти");
     w1.Add(this.quitAction, "<Primary><Mod2>q");
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "lab07.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child lab07.MainWindow.Gtk.Container+ContainerChild
     this.vpaned          = new global::Gtk.VPaned();
     this.vpaned.CanFocus = true;
     this.vpaned.Name     = "vpaned";
     this.vpaned.Position = 320;
     // Container child vpaned.Gtk.Paned+PanedChild
     this.vboxUp         = new global::Gtk.VBox();
     this.vboxUp.Name    = "vboxUp";
     this.vboxUp.Spacing = 6;
     // Container child vboxUp.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='toolBar'><toolitem name='openAction' action='openAction'/><toolitem name='saveAsAction' action='saveAsAction'/><toolitem name='convertAction' action='convertAction'/><toolitem name='indexAction' action='indexAction'/><toolitem name='quitAction' action='quitAction'/></toolbar></ui>");
     this.toolBar              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolBar")));
     this.toolBar.Name         = "toolBar";
     this.toolBar.ShowArrow    = false;
     this.toolBar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolBar.IconSize     = ((global::Gtk.IconSize)(1));
     this.vboxUp.Add(this.toolBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxUp[this.toolBar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vboxUp.Gtk.Box+BoxChild
     this.drawingArea      = new global::Gtk.DrawingArea();
     this.drawingArea.Name = "drawingArea";
     this.vboxUp.Add(this.drawingArea);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxUp[this.drawingArea]));
     w3.Position = 1;
     this.vpaned.Add(this.vboxUp);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.vboxUp]));
     w4.Resize = false;
     // Container child vpaned.Gtk.Paned+PanedChild
     this.vboxDown         = new global::Gtk.VBox();
     this.vboxDown.Name    = "vboxDown";
     this.vboxDown.Spacing = 6;
     // Container child vboxDown.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.viewLogText          = new global::Gtk.TextView();
     this.viewLogText.CanFocus = true;
     this.viewLogText.Name     = "viewLogText";
     this.GtkScrolledWindow.Add(this.viewLogText);
     this.vboxDown.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxDown[this.GtkScrolledWindow]));
     w6.Position = 0;
     // Container child vboxDown.Gtk.Box+BoxChild
     this.statusBar         = new global::Gtk.Statusbar();
     this.statusBar.Name    = "statusBar";
     this.statusBar.Spacing = 6;
     this.vboxDown.Add(this.statusBar);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxDown[this.statusBar]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vpaned.Add(this.vboxDown);
     this.Add(this.vpaned);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 697;
     this.DefaultHeight = 418;
     this.Show();
     this.DeleteEvent                   += new global::Gtk.DeleteEventHandler(this.effectDelete);
     this.openAction.Activated          += new global::System.EventHandler(this.effectLoadScheme);
     this.saveAsAction.Activated        += new global::System.EventHandler(this.effectSaveScheme);
     this.convertAction.Activated       += new global::System.EventHandler(this.effectSavePic);
     this.indexAction.Activated         += new global::System.EventHandler(this.effectSaveLog);
     this.quitAction.Activated          += new global::System.EventHandler(this.effectQuit);
     this.drawingArea.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler(this.effectMotion);
     this.drawingArea.ExposeEvent       += new global::Gtk.ExposeEventHandler(this.effectExpose);
 }
Пример #58
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Visor.Ui.MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", "_File", null, null);
     this.FileAction.ShortLabel = "_File";
     w1.Add (this.FileAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", "_Edit", null, null);
     this.EditAction.ShortLabel = "_Edit";
     w1.Add (this.EditAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", "_Help", null, null);
     this.HelpAction.ShortLabel = "_Help";
     w1.Add (this.HelpAction, null);
     this.aboutAction = new global::Gtk.Action ("aboutAction", "_About", null, "gtk-about");
     this.aboutAction.ShortLabel = "_About";
     w1.Add (this.aboutAction, null);
     this.openAction = new global::Gtk.Action ("openAction", "_Open", null, "gtk-open");
     this.openAction.ShortLabel = "_Open";
     w1.Add (this.openAction, null);
     this.quitAction = new global::Gtk.Action ("quitAction", "_Quit", null, "gtk-quit");
     this.quitAction.ShortLabel = "_Quit";
     w1.Add (this.quitAction, null);
     this.ViewAction = new global::Gtk.Action ("ViewAction", "_View", null, null);
     this.ViewAction.ShortLabel = "_View";
     w1.Add (this.ViewAction, null);
     this.goForwardAction = new global::Gtk.Action ("goForwardAction", "_Forward", null, "gtk-go-forward");
     this.goForwardAction.ShortLabel = "_Forward";
     w1.Add (this.goForwardAction, "Page_Down");
     this.goBackAction = new global::Gtk.Action ("goBackAction", "_Back", null, "gtk-go-back");
     this.goBackAction.ShortLabel = "_Back";
     w1.Add (this.goBackAction, "Page_Up");
     this.GoToAction = new global::Gtk.Action ("GoToAction", "Go to...", null, null);
     this.GoToAction.ShortLabel = "Go to...";
     w1.Add (this.GoToAction, null);
     this.gotoFirstAction = new global::Gtk.Action ("gotoFirstAction", "_First block", null, "gtk-goto-first");
     this.gotoFirstAction.ShortLabel = "_First block";
     w1.Add (this.gotoFirstAction, "Home");
     this.gotoLastAction = new global::Gtk.Action ("gotoLastAction", "_Last block", null, "gtk-goto-last");
     this.gotoLastAction.ShortLabel = "_Last block";
     w1.Add (this.gotoLastAction, "End");
     this.indexAction = new global::Gtk.Action ("indexAction", "_Position", null, "gtk-index");
     this.indexAction.ShortLabel = "_Position";
     w1.Add (this.indexAction, null);
     this.closeAction = new global::Gtk.Action ("closeAction", "_Close", null, "gtk-close");
     this.closeAction.ShortLabel = "_Close";
     w1.Add (this.closeAction, null);
     this.ViewToolbarAction = new global::Gtk.ToggleAction ("ViewToolbarAction", "View _Toolbar", null, null);
     this.ViewToolbarAction.Active = true;
     this.ViewToolbarAction.ShortLabel = "View _Toolbar";
     w1.Add (this.ViewToolbarAction, null);
     this.positionAction = new global::Gtk.Action ("positionAction", "Go to _position...", null, "gtk-index");
     this.positionAction.ShortLabel = "Go to _position...";
     w1.Add (this.positionAction, "<Control>g");
     this.findAction = new global::Gtk.Action ("findAction", "_Find", null, "gtk-find");
     this.findAction.ShortLabel = "_Find";
     w1.Add (this.findAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "Visor.Ui.MainWindow";
     this.Title = "MainWindow";
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("visor.res.Gafas.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Visor.Ui.MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString (@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='closeAction' action='closeAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='ViewToolbarAction' action='ViewToolbarAction'/><menuitem name='goForwardAction' action='goForwardAction'/><menuitem name='goBackAction' action='goBackAction'/><menuitem name='gotoFirstAction' action='gotoFirstAction'/><menuitem name='gotoLastAction' action='gotoLastAction'/><menuitem name='positionAction' action='positionAction'/><menuitem name='findAction' action='findAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString (@"<ui><toolbar name='tbToolbar'><toolitem name='openAction' action='openAction'/><toolitem name='closeAction' action='closeAction'/><separator/><toolitem name='gotoFirstAction' action='gotoFirstAction'/><toolitem name='goBackAction' action='goBackAction'/><toolitem name='goForwardAction' action='goForwardAction'/><toolitem name='gotoLastAction' action='gotoLastAction'/><separator/><toolitem name='positionAction' action='positionAction'/><toolitem name='findAction' action='findAction'/></toolbar></ui>");
     this.tbToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/tbToolbar")));
     this.tbToolbar.Name = "tbToolbar";
     this.tbToolbar.ShowArrow = false;
     this.hbox3.Add (this.tbToolbar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.tbToolbar]));
     w3.Position = 0;
     this.vbox1.Add (this.hbox3);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbPanelGo = new global::Gtk.HBox ();
     this.hbPanelGo.Name = "hbPanelGo";
     this.hbPanelGo.Spacing = 6;
     this.hbPanelGo.BorderWidth = ((uint)(5));
     // Container child hbPanelGo.Gtk.Box+BoxChild
     this.sbFilePosition = new global::Gtk.SpinButton (0D, 100D, 1D);
     this.sbFilePosition.CanFocus = true;
     this.sbFilePosition.Name = "sbFilePosition";
     this.sbFilePosition.Adjustment.PageIncrement = 10D;
     this.sbFilePosition.ClimbRate = 1D;
     this.sbFilePosition.Numeric = true;
     this.hbPanelGo.Add (this.sbFilePosition);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbPanelGo [this.sbFilePosition]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child hbPanelGo.Gtk.Box+BoxChild
     this.btCloseGoPanel = new global::Gtk.Button ();
     this.btCloseGoPanel.CanFocus = true;
     this.btCloseGoPanel.Name = "btCloseGoPanel";
     this.btCloseGoPanel.UseStock = true;
     this.btCloseGoPanel.UseUnderline = true;
     this.btCloseGoPanel.Label = "gtk-close";
     this.hbPanelGo.Add (this.btCloseGoPanel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbPanelGo [this.btCloseGoPanel]));
     w6.PackType = ((global::Gtk.PackType)(1));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox1.Add (this.hbPanelGo);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbPanelGo]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbPanelFind = new global::Gtk.HBox ();
     this.hbPanelFind.Name = "hbPanelFind";
     this.hbPanelFind.Spacing = 6;
     this.hbPanelFind.BorderWidth = ((uint)(5));
     // Container child hbPanelFind.Gtk.Box+BoxChild
     this.edFind = new global::Gtk.Entry ();
     this.edFind.CanFocus = true;
     this.edFind.Name = "edFind";
     this.edFind.IsEditable = true;
     this.edFind.InvisibleChar = '•';
     this.hbPanelFind.Add (this.edFind);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbPanelFind [this.edFind]));
     w8.Position = 0;
     // Container child hbPanelFind.Gtk.Box+BoxChild
     this.cbType = global::Gtk.ComboBox.NewText ();
     this.cbType.AppendText ("Txt");
     this.cbType.AppendText ("Hex");
     this.cbType.AppendText ("Dec");
     this.cbType.AppendText ("");
     this.cbType.Name = "cbType";
     this.cbType.Active = 0;
     this.hbPanelFind.Add (this.cbType);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbPanelFind [this.cbType]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     // Container child hbPanelFind.Gtk.Box+BoxChild
     this.btFind = new global::Gtk.Button ();
     this.btFind.CanFocus = true;
     this.btFind.Name = "btFind";
     this.btFind.UseStock = true;
     this.btFind.UseUnderline = true;
     this.btFind.Label = "gtk-find";
     this.hbPanelFind.Add (this.btFind);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbPanelFind [this.btFind]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbPanelFind.Gtk.Box+BoxChild
     this.btCloseFindPanel = new global::Gtk.Button ();
     this.btCloseFindPanel.CanFocus = true;
     this.btCloseFindPanel.Name = "btCloseFindPanel";
     this.btCloseFindPanel.UseStock = true;
     this.btCloseFindPanel.UseUnderline = true;
     this.btCloseFindPanel.Label = "gtk-close";
     this.hbPanelFind.Add (this.btCloseFindPanel);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbPanelFind [this.btCloseFindPanel]));
     w11.Position = 3;
     w11.Expand = false;
     w11.Fill = false;
     this.vbox1.Add (this.hbPanelFind);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbPanelFind]));
     w12.Position = 3;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.frFile1 = new global::Gtk.Frame ();
     this.frFile1.Name = "frFile1";
     this.frFile1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frFile1.Gtk.Container+ContainerChild
     this.GtkAlignment7 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment7.Name = "GtkAlignment7";
     this.GtkAlignment7.LeftPadding = ((uint)(12));
     // Container child GtkAlignment7.Gtk.Container+ContainerChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.nbView = new global::Gtk.Notebook ();
     this.nbView.CanFocus = true;
     this.nbView.Name = "nbView";
     this.nbView.CurrentPage = 0;
     // Container child nbView.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.tvFile = new global::Gtk.TreeView ();
     this.tvFile.CanFocus = true;
     this.tvFile.Name = "tvFile";
     this.GtkScrolledWindow1.Add (this.tvFile);
     this.nbView.Add (this.GtkScrolledWindow1);
     // Notebook tab
     this.lblHexPage = new global::Gtk.Label ();
     this.lblHexPage.Name = "lblHexPage";
     this.lblHexPage.LabelProp = "bin";
     this.nbView.SetTabLabel (this.GtkScrolledWindow1, this.lblHexPage);
     this.lblHexPage.ShowAll ();
     // Container child nbView.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.txtFile = new global::Gtk.TextView ();
     this.txtFile.CanFocus = true;
     this.txtFile.Name = "txtFile";
     this.txtFile.Editable = false;
     this.txtFile.WrapMode = ((global::Gtk.WrapMode)(1));
     this.GtkScrolledWindow.Add (this.txtFile);
     this.nbView.Add (this.GtkScrolledWindow);
     global::Gtk.Notebook.NotebookChild w16 = ((global::Gtk.Notebook.NotebookChild)(this.nbView [this.GtkScrolledWindow]));
     w16.Position = 1;
     // Notebook tab
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = "txt";
     this.nbView.SetTabLabel (this.GtkScrolledWindow, this.label3);
     this.label3.ShowAll ();
     this.hbox2.Add (this.nbView);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.nbView]));
     w17.Position = 0;
     this.GtkAlignment7.Add (this.hbox2);
     this.frFile1.Add (this.GtkAlignment7);
     this.frFrame1Label = new global::Gtk.Label ();
     this.frFrame1Label.Name = "frFrame1Label";
     this.frFrame1Label.LabelProp = "<b>File1</b>";
     this.frFrame1Label.UseMarkup = true;
     this.frFile1.LabelWidget = this.frFrame1Label;
     this.hbox1.Add (this.frFile1);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frFile1]));
     w20.Position = 0;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w21.Position = 4;
     // Container child vbox1.Gtk.Box+BoxChild
     this.stStatusBar = new global::Gtk.Statusbar ();
     this.stStatusBar.Name = "stStatusBar";
     this.stStatusBar.Spacing = 6;
     // Container child stStatusBar.Gtk.Box+BoxChild
     this.hbIndicators = new global::Gtk.HBox ();
     this.hbIndicators.Name = "hbIndicators";
     this.hbIndicators.Spacing = 6;
     // Container child hbIndicators.Gtk.Box+BoxChild
     this.lblMinPos = new global::Gtk.Label ();
     this.lblMinPos.Name = "lblMinPos";
     this.lblMinPos.LabelProp = "<b>0</b>";
     this.lblMinPos.UseMarkup = true;
     this.hbIndicators.Add (this.lblMinPos);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbIndicators [this.lblMinPos]));
     w22.Position = 0;
     w22.Expand = false;
     w22.Fill = false;
     // Container child hbIndicators.Gtk.Box+BoxChild
     this.scrlSideBar = new global::Gtk.HScrollbar (null);
     this.scrlSideBar.Name = "scrlSideBar";
     this.scrlSideBar.Adjustment.Upper = 100D;
     this.scrlSideBar.Adjustment.PageIncrement = 10D;
     this.scrlSideBar.Adjustment.PageSize = 10D;
     this.scrlSideBar.Adjustment.StepIncrement = 1D;
     this.hbIndicators.Add (this.scrlSideBar);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbIndicators [this.scrlSideBar]));
     w23.Position = 1;
     // Container child hbIndicators.Gtk.Box+BoxChild
     this.lblMaxPos = new global::Gtk.Label ();
     this.lblMaxPos.Name = "lblMaxPos";
     this.lblMaxPos.LabelProp = "<b>0</b>";
     this.lblMaxPos.UseMarkup = true;
     this.hbIndicators.Add (this.lblMaxPos);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbIndicators [this.lblMaxPos]));
     w24.Position = 2;
     w24.Expand = false;
     w24.Fill = false;
     // Container child hbIndicators.Gtk.Box+BoxChild
     this.lblPosition = new global::Gtk.Label ();
     this.lblPosition.Name = "lblPosition";
     this.lblPosition.LabelProp = "label1";
     this.hbIndicators.Add (this.lblPosition);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbIndicators [this.lblPosition]));
     w25.Position = 3;
     w25.Expand = false;
     w25.Fill = false;
     this.stStatusBar.Add (this.hbIndicators);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.stStatusBar [this.hbIndicators]));
     w26.Position = 1;
     this.vbox1.Add (this.stStatusBar);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.stStatusBar]));
     w27.Position = 5;
     w27.Expand = false;
     w27.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 594;
     this.DefaultHeight = 514;
     this.hbPanelGo.Hide ();
     this.hbPanelFind.Hide ();
     this.Hide ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.aboutAction.Activated += new global::System.EventHandler (this.OnAbout);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpen);
     this.quitAction.Activated += new global::System.EventHandler (this.OnQuit);
     this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForward);
     this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackward);
     this.gotoFirstAction.Activated += new global::System.EventHandler (this.OnGotoFirst);
     this.gotoLastAction.Activated += new global::System.EventHandler (this.OnGotoLast);
     this.indexAction.Activated += new global::System.EventHandler (this.OnGoto);
     this.closeAction.Activated += new global::System.EventHandler (this.OnClose);
     this.ViewToolbarAction.Activated += new global::System.EventHandler (this.OnViewToolbar);
     this.positionAction.Activated += new global::System.EventHandler (this.OnGoto);
     this.findAction.Activated += new global::System.EventHandler (this.OnFind);
     this.sbFilePosition.ValueChanged += new global::System.EventHandler (this.OnFilePositionChanged);
     this.btCloseGoPanel.Clicked += new global::System.EventHandler (this.OnGoPanelClose);
     this.btFind.Clicked += new global::System.EventHandler (this.OnFindClicked);
     this.btCloseFindPanel.Clicked += new global::System.EventHandler (this.OnFindPanelClose);
     this.scrlSideBar.ValueChanged += new global::System.EventHandler (this.OnSidebarUpdated);
 }
Пример #59
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.LoadPrefsAction = new global::Gtk.Action ("LoadPrefsAction", global::Mono.Unix.Catalog.GetString ("Load Prefs"), null, null);
     this.LoadPrefsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Load Prefs");
     w1.Add (this.LoadPrefsAction, null);
     this.SavePrefsAction = new global::Gtk.Action ("SavePrefsAction", global::Mono.Unix.Catalog.GetString ("Save Prefs"), null, null);
     this.SavePrefsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Prefs");
     w1.Add (this.SavePrefsAction, null);
     this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, null);
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit");
     w1.Add (this.QuitAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit");
     w1.Add (this.EditAction, null);
     this.UserDetailsAction = new global::Gtk.Action ("UserDetailsAction", global::Mono.Unix.Catalog.GetString ("User Details"), null, null);
     this.UserDetailsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("User Details");
     w1.Add (this.UserDetailsAction, null);
     this.PreferencesAction = new global::Gtk.Action ("PreferencesAction", global::Mono.Unix.Catalog.GetString ("Preferences"), null, null);
     this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Preferences");
     w1.Add (this.PreferencesAction, null);
     this.GenerateAction = new global::Gtk.Action ("GenerateAction", global::Mono.Unix.Catalog.GetString ("Generate"), null, null);
     this.GenerateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Generate");
     w1.Add (this.GenerateAction, null);
     this.KeyAction = new global::Gtk.Action ("KeyAction", global::Mono.Unix.Catalog.GetString ("Key"), null, null);
     this.KeyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Key");
     w1.Add (this.KeyAction, null);
     this.CertificateAction = new global::Gtk.Action ("CertificateAction", global::Mono.Unix.Catalog.GetString ("Certificate"), null, null);
     this.CertificateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Certificate");
     w1.Add (this.CertificateAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.ClearStatusBarAction = new global::Gtk.Action ("ClearStatusBarAction", global::Mono.Unix.Catalog.GetString ("Clear Status Bar"), null, null);
     this.ClearStatusBarAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Clear Status Bar");
     w1.Add (this.ClearStatusBarAction, null);
     this.rubbishAction = new global::Gtk.Action ("rubbishAction", global::Mono.Unix.Catalog.GetString ("rubbish"), null, null);
     this.rubbishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("rubbish");
     w1.Add (this.rubbishAction, null);
     this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction, null);
     this.StripPassphraseAction = new global::Gtk.Action ("StripPassphraseAction", global::Mono.Unix.Catalog.GetString ("Strip Passphrase"), null, null);
     this.StripPassphraseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Strip Passphrase");
     w1.Add (this.StripPassphraseAction, null);
     this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::Mono.Unix.Catalog.GetString ("Tools"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Tools");
     w1.Add (this.ToolsAction, null);
     this.WorkingDirectoryAction = new global::Gtk.Action ("WorkingDirectoryAction", global::Mono.Unix.Catalog.GetString ("Working Directory"), null, null);
     this.WorkingDirectoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Working Directory");
     w1.Add (this.WorkingDirectoryAction, null);
     this.ViewCertificateAction = new global::Gtk.Action ("ViewCertificateAction", global::Mono.Unix.Catalog.GetString ("View Certificate"), null, null);
     this.ViewCertificateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View Certificate");
     w1.Add (this.ViewCertificateAction, null);
     this.CheckDiskAction = new global::Gtk.Action ("CheckDiskAction", global::Mono.Unix.Catalog.GetString ("Check Disk"), null, null);
     this.CheckDiskAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Check Disk");
     w1.Add (this.CheckDiskAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.WidthRequest = 600;
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("SSLMaker");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("SSLMaker.images.padlockandkeys16x16.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='mainmenubar'><menu name='FileAction' action='FileAction'><menuitem name='LoadPrefsAction' action='LoadPrefsAction'/><menuitem name='SavePrefsAction' action='SavePrefsAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='UserDetailsAction' action='UserDetailsAction'/><menuitem name='PreferencesAction' action='PreferencesAction'/><menuitem name='StripPassphraseAction' action='StripPassphraseAction'/></menu><menu name='GenerateAction' action='GenerateAction'><menuitem name='KeyAction' action='KeyAction'/><menuitem name='CertificateAction' action='CertificateAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='WorkingDirectoryAction' action='WorkingDirectoryAction'/><menuitem name='ViewCertificateAction' action='ViewCertificateAction'/><menuitem name='CheckDiskAction' action='CheckDiskAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.mainmenubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/mainmenubar")));
     this.mainmenubar.Name = "mainmenubar";
     this.vbox2.Add (this.mainmenubar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.mainmenubar]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.image29 = new global::Gtk.Image ();
     this.image29.Name = "image29";
     this.image29.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("SSLMaker.images.padlockandkeys80x80.png");
     this.hbox1.Add (this.image29);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image29]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     w3.Padding = ((uint)(12));
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>SSLMaker v.0.9</b>\n\nCreated by D. Clayton");
     this.label1.UseMarkup = true;
     this.label1.Justify = ((global::Gtk.Justification)(2));
     this.hbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w4.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.image12 = new global::Gtk.Image ();
     this.image12.Name = "image12";
     this.image12.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("SSLMaker.images.padlockandkeys80x80rev.png");
     this.hbox1.Add (this.image12);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image12]));
     w5.Position = 2;
     w5.Expand = false;
     w5.Fill = false;
     w5.Padding = ((uint)(12));
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator ();
     this.hseparator1.Name = "hseparator1";
     this.vbox2.Add (this.hseparator1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator1]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.vbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.WidthRequest = 585;
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("An application that will create simple self-signed certificates including the corresponding key files.\nEdit the user details and the preferences to store the information required when creating the key/certificate files. These details will include your name and company details, cipher strength, etc.");
     this.label2.Wrap = true;
     this.label2.Justify = ((global::Gtk.Justification)(2));
     this.hbox7.Add (this.label2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label2]));
     w9.Position = 0;
     this.vbox1.Add (this.hbox7);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox7]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hseparator4 = new global::Gtk.HSeparator ();
     this.hseparator4.Name = "hseparator4";
     this.vbox5.Add (this.hseparator4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hseparator4]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     this.vbox3.Add (this.vbox5);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox8 = new global::Gtk.HBox ();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.fixed6 = new global::Gtk.Fixed ();
     this.fixed6.Name = "fixed6";
     this.fixed6.HasWindow = false;
     this.hbox8.Add (this.fixed6);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.fixed6]));
     w13.Position = 0;
     // Container child hbox8.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.WidthRequest = 450;
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(2));
     this.frame1.BorderWidth = ((uint)(12));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 3;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xpad = 6;
     this.label3.Xalign = 0F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Key file</b>");
     this.label3.UseMarkup = true;
     this.vbox6.Add (this.label3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label3]));
     w14.Position = 0;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.lblKeyFileLocation = new global::Gtk.Label ();
     this.lblKeyFileLocation.Name = "lblKeyFileLocation";
     this.lblKeyFileLocation.Xpad = 6;
     this.lblKeyFileLocation.Xalign = 0F;
     this.lblKeyFileLocation.Yalign = 0F;
     this.lblKeyFileLocation.LabelProp = global::Mono.Unix.Catalog.GetString ("lblKeyFileLocation");
     this.hbox4.Add (this.lblKeyFileLocation);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.lblKeyFileLocation]));
     w15.Position = 0;
     w15.Expand = false;
     w15.Fill = false;
     w15.Padding = ((uint)(6));
     this.vbox6.Add (this.hbox4);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox4]));
     w16.Position = 1;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xpad = 6;
     this.label4.Xalign = 0F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Certificate file</b>");
     this.label4.UseMarkup = true;
     this.vbox6.Add (this.label4);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label4]));
     w17.Position = 2;
     w17.Expand = false;
     w17.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.lblCertFileLocation = new global::Gtk.Label ();
     this.lblCertFileLocation.Name = "lblCertFileLocation";
     this.lblCertFileLocation.Xpad = 6;
     this.lblCertFileLocation.Xalign = 0F;
     this.lblCertFileLocation.Yalign = 0F;
     this.lblCertFileLocation.LabelProp = global::Mono.Unix.Catalog.GetString ("lblCertFileLocation");
     this.hbox5.Add (this.lblCertFileLocation);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.lblCertFileLocation]));
     w18.Position = 0;
     w18.Expand = false;
     w18.Fill = false;
     w18.Padding = ((uint)(6));
     this.vbox6.Add (this.hbox5);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox5]));
     w19.Position = 3;
     w19.Expand = false;
     w19.Fill = false;
     this.GtkAlignment.Add (this.vbox6);
     this.frame1.Add (this.GtkAlignment);
     this.GtkLabel6 = new global::Gtk.Label ();
     this.GtkLabel6.Name = "GtkLabel6";
     this.GtkLabel6.Xalign = 0F;
     this.GtkLabel6.Yalign = 0F;
     this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>File Locations</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel6;
     this.hbox8.Add (this.frame1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.frame1]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.fixed5 = new global::Gtk.Fixed ();
     this.fixed5.Name = "fixed5";
     this.fixed5.HasWindow = false;
     this.hbox8.Add (this.fixed5);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.fixed5]));
     w23.Position = 2;
     this.vbox4.Add (this.hbox8);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox8]));
     w24.Position = 0;
     w24.Expand = false;
     w24.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox9 = new global::Gtk.HBox ();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.fixed8 = new global::Gtk.Fixed ();
     this.fixed8.Name = "fixed8";
     this.fixed8.HasWindow = false;
     this.hbox9.Add (this.fixed8);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.fixed8]));
     w25.Position = 0;
     // Container child hbox9.Gtk.Box+BoxChild
     this.frame2 = new global::Gtk.Frame ();
     this.frame2.WidthRequest = 450;
     this.frame2.Name = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(2));
     this.frame2.BorderWidth = ((uint)(12));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.vbox7 = new global::Gtk.VBox ();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.fixed3 = new global::Gtk.Fixed ();
     this.fixed3.Name = "fixed3";
     this.fixed3.HasWindow = false;
     this.vbox7.Add (this.fixed3);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.fixed3]));
     w26.Position = 0;
     w26.Expand = false;
     w26.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.ebCommonName = new global::Gtk.Entry ();
     this.ebCommonName.WidthRequest = 270;
     this.ebCommonName.CanFocus = true;
     this.ebCommonName.Name = "ebCommonName";
     this.ebCommonName.IsEditable = true;
     this.ebCommonName.MaxLength = 40;
     this.ebCommonName.InvisibleChar = '•';
     this.ebCommonName.Xalign = 0.01F;
     this.hbox6.Add (this.ebCommonName);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.ebCommonName]));
     w27.Position = 0;
     w27.Padding = ((uint)(40));
     // Container child hbox6.Gtk.Box+BoxChild
     this.fixed2 = new global::Gtk.Fixed ();
     this.fixed2.Name = "fixed2";
     this.fixed2.HasWindow = false;
     this.hbox6.Add (this.fixed2);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.fixed2]));
     w28.Position = 1;
     w28.Expand = false;
     this.vbox7.Add (this.hbox6);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox6]));
     w29.Position = 1;
     w29.Expand = false;
     w29.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox10 = new global::Gtk.HBox ();
     this.hbox10.Name = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.fixed9 = new global::Gtk.Fixed ();
     this.fixed9.Name = "fixed9";
     this.fixed9.HasWindow = false;
     this.hbox10.Add (this.fixed9);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.fixed9]));
     w30.Position = 0;
     // Container child hbox10.Gtk.Box+BoxChild
     this.btnGenerateCert = new global::Gtk.Button ();
     this.btnGenerateCert.CanFocus = true;
     this.btnGenerateCert.Name = "btnGenerateCert";
     this.btnGenerateCert.UseUnderline = true;
     this.btnGenerateCert.Label = global::Mono.Unix.Catalog.GetString ("Generate Certificate");
     this.hbox10.Add (this.btnGenerateCert);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.btnGenerateCert]));
     w31.Position = 1;
     w31.Expand = false;
     w31.Fill = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.fixed11 = new global::Gtk.Fixed ();
     this.fixed11.Name = "fixed11";
     this.fixed11.HasWindow = false;
     this.hbox10.Add (this.fixed11);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.fixed11]));
     w32.Position = 2;
     this.vbox7.Add (this.hbox10);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox10]));
     w33.Position = 2;
     w33.Expand = false;
     w33.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.fixed1 = new global::Gtk.Fixed ();
     this.fixed1.Name = "fixed1";
     this.fixed1.HasWindow = false;
     this.hbox3.Add (this.fixed1);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fixed1]));
     w34.Position = 0;
     this.vbox7.Add (this.hbox3);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox3]));
     w35.Position = 3;
     w35.Expand = false;
     w35.Fill = false;
     this.GtkAlignment1.Add (this.vbox7);
     this.frame2.Add (this.GtkAlignment1);
     this.GtkLabel10 = new global::Gtk.Label ();
     this.GtkLabel10.Name = "GtkLabel10";
     this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Name (CN) for Certificate</b>");
     this.GtkLabel10.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel10;
     this.hbox9.Add (this.frame2);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.frame2]));
     w38.Position = 1;
     w38.Expand = false;
     w38.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.fixed7 = new global::Gtk.Fixed ();
     this.fixed7.Name = "fixed7";
     this.fixed7.HasWindow = false;
     this.hbox9.Add (this.fixed7);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.fixed7]));
     w39.Position = 2;
     this.vbox4.Add (this.hbox9);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9]));
     w40.Position = 1;
     w40.Expand = false;
     w40.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hseparator2 = new global::Gtk.HSeparator ();
     this.hseparator2.Name = "hseparator2";
     this.vbox4.Add (this.hseparator2);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator2]));
     w41.Position = 2;
     w41.Expand = false;
     w41.Fill = false;
     w41.Padding = ((uint)(4));
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     // Container child hbox2.Gtk.Box+BoxChild
     this.button1 = new global::Gtk.Button ();
     this.button1.WidthRequest = 80;
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     // Container child button1.Gtk.Container+ContainerChild
     global::Gtk.Alignment w42 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w43 = new global::Gtk.HBox ();
     w43.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w44 = new global::Gtk.Image ();
     w44.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-quit", global::Gtk.IconSize.Menu);
     w43.Add (w44);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w46 = new global::Gtk.Label ();
     w46.LabelProp = global::Mono.Unix.Catalog.GetString ("Done");
     w46.UseUnderline = true;
     w43.Add (w46);
     w42.Add (w43);
     this.button1.Add (w42);
     this.hbox2.Add (this.button1);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1]));
     w50.PackType = ((global::Gtk.PackType)(1));
     w50.Position = 0;
     w50.Expand = false;
     w50.Fill = false;
     w50.Padding = ((uint)(6));
     this.vbox4.Add (this.hbox2);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2]));
     w51.Position = 3;
     w51.Expand = false;
     w51.Fill = false;
     this.vbox3.Add (this.vbox4);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox4]));
     w52.Position = 1;
     w52.Expand = false;
     w52.Fill = false;
     this.vbox1.Add (this.vbox3);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3]));
     w53.Position = 2;
     w53.Expand = false;
     w53.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.statusbar1.HasResizeGrip = false;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w54.Position = 3;
     w54.Expand = false;
     w54.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 652;
     this.DefaultHeight = 612;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.LoadPrefsAction.Activated += new global::System.EventHandler (this.OnLoadPrefsActionActivated);
     this.SavePrefsAction.Activated += new global::System.EventHandler (this.OnSavePrefsActionActivated);
     this.QuitAction.Activated += new global::System.EventHandler (this.onFileQuit_clicked);
     this.UserDetailsAction.Activated += new global::System.EventHandler (this.onEditUserDetails_clicked);
     this.PreferencesAction.Activated += new global::System.EventHandler (this.onEditPreferences_clicked);
     this.KeyAction.Activated += new global::System.EventHandler (this.onGenerateKey_clicked);
     this.CertificateAction.Activated += new global::System.EventHandler (this.onGenerateCertificate_clicked);
     this.ClearStatusBarAction.Activated += new global::System.EventHandler (this.OnClearStatusBarActionActivated);
     this.rubbishAction.Activated += new global::System.EventHandler (this.OnRubbishActionActivated);
     this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated);
     this.StripPassphraseAction.Activated += new global::System.EventHandler (this.OnStripPassphraseActionActivated);
     this.WorkingDirectoryAction.Activated += new global::System.EventHandler (this.OnWorkingDirectoryActionActivated);
     this.ViewCertificateAction.Activated += new global::System.EventHandler (this.OnViewCertificateActionActivated);
     this.CheckDiskAction.Activated += new global::System.EventHandler (this.OnCheckDiskActionActivated);
     this.ebCommonName.Changed += new global::System.EventHandler (this.OnEbCommonNameChanged);
     this.btnGenerateCert.Clicked += new global::System.EventHandler (this.onGenerateCertificate_clicked);
     this.button1.Clicked += new global::System.EventHandler (this.onMainWinDone_clicked);
 }
Пример #60
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open");
     w1.Add(this.openAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View");
     w1.Add(this.ViewAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.aboutAction            = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w1.Add(this.aboutAction, null);
     this.saveAction            = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Save XML"), null, "gtk-save");
     this.saveAction.Sensitive  = false;
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save XML");
     w1.Add(this.saveAction, null);
     this.iconsAction            = new global::Gtk.ToggleAction("iconsAction", global::Mono.Unix.Catalog.GetString("Icons"), null, null);
     this.iconsAction.Sensitive  = false;
     this.iconsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Icons");
     w1.Add(this.iconsAction, "<Control>i");
     this.exportAsAction            = new global::Gtk.Action("exportAsAction", global::Mono.Unix.Catalog.GetString("_Export As"), null, null);
     this.exportAsAction.Sensitive  = false;
     this.exportAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Export As");
     w1.Add(this.exportAsAction, null);
     this.exportAsRRAction            = new global::Gtk.Action("exportAsRRAction", global::Mono.Unix.Catalog.GetString("RomRaider Def XML"), null, "gtk-save-as");
     this.exportAsRRAction.Sensitive  = false;
     this.exportAsRRAction.ShortLabel = global::Mono.Unix.Catalog.GetString("RomRaider Def XML");
     w1.Add(this.exportAsRRAction, null);
     this.plotExternalAction            = new global::Gtk.Action("plotExternalAction", global::Mono.Unix.Catalog.GetString("_Plot External (gnuplot)"), null, null);
     this.plotExternalAction.Sensitive  = false;
     this.plotExternalAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Plot");
     w1.Add(this.plotExternalAction, "<Control>p");
     this.checksumWindowAction            = new global::Gtk.Action("checksumWindowAction", global::Mono.Unix.Catalog.GetString("Checksum Window"), null, null);
     this.checksumWindowAction.Sensitive  = false;
     this.checksumWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Checksum Window");
     w1.Add(this.checksumWindowAction, null);
     this.statisticsWindowAction            = new global::Gtk.Action("statisticsWindowAction", global::Mono.Unix.Catalog.GetString("Statistics Window"), null, null);
     this.statisticsWindowAction.Sensitive  = false;
     this.statisticsWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Statistics Window");
     w1.Add(this.statisticsWindowAction, null);
     this.PlotAction            = new global::Gtk.Action("PlotAction", global::Mono.Unix.Catalog.GetString("_Plot"), null, null);
     this.PlotAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Plot");
     w1.Add(this.PlotAction, null);
     this.createSVGFileAction            = new global::Gtk.Action("createSVGFileAction", global::Mono.Unix.Catalog.GetString("Create SVG File"), null, null);
     this.createSVGFileAction.Sensitive  = false;
     this.createSVGFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Create SVG File");
     w1.Add(this.createSVGFileAction, null);
     this.visualizationAction            = new global::Gtk.Action("visualizationAction", global::Mono.Unix.Catalog.GetString("Visualization"), null, "gtk-refresh");
     this.visualizationAction.Sensitive  = false;
     this.visualizationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Visualization");
     w1.Add(this.visualizationAction, "<Control>space");
     this.DataAction            = new global::Gtk.Action("DataAction", global::Mono.Unix.Catalog.GetString("_Data"), null, null);
     this.DataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Data");
     w1.Add(this.DataAction, null);
     this.exportTableAsCSVAction            = new global::Gtk.Action("exportTableAsCSVAction", global::Mono.Unix.Catalog.GetString("Export Table as CSV"), null, null);
     this.exportTableAsCSVAction.Sensitive  = false;
     this.exportTableAsCSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Table as CSV");
     w1.Add(this.exportTableAsCSVAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("ScoobyRom");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.AllowShrink    = true;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualizationAction' action='visualizationAction'/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='statisticsWindowAction' action='statisticsWindowAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 1;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vpaned2D          = new global::Gtk.VPaned();
     this.vpaned2D.CanFocus = true;
     this.vpaned2D.Name     = "vpaned2D";
     this.vpaned2D.Position = 200;
     // Container child vpaned2D.Gtk.Paned+PanedChild
     this.GtkScrolledWindowTV2D            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindowTV2D.Name       = "GtkScrolledWindowTV2D";
     this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild
     this.treeview2D          = new global::Gtk.TreeView();
     this.treeview2D.CanFocus = true;
     this.treeview2D.Name     = "treeview2D";
     this.GtkScrolledWindowTV2D.Add(this.treeview2D);
     this.vpaned2D.Add(this.GtkScrolledWindowTV2D);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D]));
     w4.Resize = false;
     w4.Shrink = false;
     this.notebook1.Add(this.vpaned2D);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("2D Tables");
     this.notebook1.SetTabLabel(this.vpaned2D, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vpaned3D          = new global::Gtk.VPaned();
     this.vpaned3D.CanFocus = true;
     this.vpaned3D.Name     = "vpaned3D";
     this.vpaned3D.Position = 200;
     // Container child vpaned3D.Gtk.Paned+PanedChild
     this.ScrolledWindowTV3D            = new global::Gtk.ScrolledWindow();
     this.ScrolledWindowTV3D.Name       = "ScrolledWindowTV3D";
     this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild
     this.treeview3D          = new global::Gtk.TreeView();
     this.treeview3D.CanFocus = true;
     this.treeview3D.Name     = "treeview3D";
     this.ScrolledWindowTV3D.Add(this.treeview3D);
     this.vpaned3D.Add(this.ScrolledWindowTV3D);
     global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D]));
     w7.Resize = false;
     w7.Shrink = false;
     // Container child vpaned3D.Gtk.Paned+PanedChild
     this.scrolledwindowTable3D            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowTable3D.CanFocus   = true;
     this.scrolledwindowTable3D.Name       = "scrolledwindowTable3D";
     this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vpaned3D.Add(this.scrolledwindowTable3D);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D]));
     w8.Resize = false;
     w8.Shrink = false;
     this.notebook1.Add(this.vpaned3D);
     global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D]));
     w9.Position = 1;
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("3D Tables");
     this.notebook1.SetTabLabel(this.vpaned3D, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1]));
     w10.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.statusbar1.Add(this.progressbar1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1]));
     w11.Position = 2;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w12.PackType = ((global::Gtk.PackType)(1));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 938;
     this.DefaultHeight = 702;
     this.Show();
     this.DeleteEvent                      += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.openAction.Activated             += new global::System.EventHandler(this.OnOpenActionActivated);
     this.quitAction.Activated             += new global::System.EventHandler(this.OnQuitActionActivated);
     this.aboutAction.Activated            += new global::System.EventHandler(this.OnAbout);
     this.saveAction.Activated             += new global::System.EventHandler(this.OnSaveActionActivated);
     this.iconsAction.Activated            += new global::System.EventHandler(this.OnIconsActionActivated);
     this.exportAsRRAction.Activated       += new global::System.EventHandler(this.OnExportAsRRActionActivated);
     this.plotExternalAction.Activated     += new global::System.EventHandler(this.OnPlotActionActivated);
     this.checksumWindowAction.Activated   += new global::System.EventHandler(this.OnROMChecksumsActionActivated);
     this.statisticsWindowAction.Activated += new global::System.EventHandler(this.OnStatisticsWindowActionActivated);
     this.createSVGFileAction.Activated    += new global::System.EventHandler(this.OnCreateSVGFileActionActivated);
     this.visualizationAction.Activated    += new global::System.EventHandler(this.OnVisualizationAction);
     this.exportTableAsCSVAction.Activated += new global::System.EventHandler(this.OnExportTableAsCSVActionActivated);
     this.notebook1.SwitchPage             += new global::Gtk.SwitchPageHandler(this.OnNotebook1SwitchPage);
 }