Example #1
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.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.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.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Console");
     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;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 932;
     this.DefaultHeight = 474;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
Example #2
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.c_RegenerateAction = new global::Gtk.Action ("c_RegenerateAction", null, "Regenerate MonoDevelop Projects", "regenerate");
     w1.Add (this.c_RegenerateAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = "Module Manager";
     this.WindowPosition = ((global::Gtk.WindowPosition)(3));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.c_VerticalBox1 = new global::Gtk.VBox ();
     this.c_VerticalBox1.Name = "c_VerticalBox1";
     // Container child c_VerticalBox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='c_Toolbar'><toolitem name='c_RegenerateAction' action='c_RegenerateAction'/><separator/></toolbar></ui>");
     this.c_Toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/c_Toolbar")));
     this.c_Toolbar.Name = "c_Toolbar";
     this.c_Toolbar.ShowArrow = false;
     this.c_Toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.c_Toolbar.IconSize = ((global::Gtk.IconSize)(1));
     this.c_VerticalBox1.Add (this.c_Toolbar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.c_VerticalBox1 [this.c_Toolbar]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child c_VerticalBox1.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.c_ProjectTreeView = new global::Gtk.TreeView ();
     this.c_ProjectTreeView.CanFocus = true;
     this.c_ProjectTreeView.Name = "c_ProjectTreeView";
     this.GtkScrolledWindow.Add (this.c_ProjectTreeView);
     this.c_VerticalBox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.c_VerticalBox1 [this.GtkScrolledWindow]));
     w4.Position = 1;
     // Container child c_VerticalBox1.Gtk.Box+BoxChild
     this.c_CreateMessageLabel = new global::Gtk.Label ();
     this.c_CreateMessageLabel.Name = "c_CreateMessageLabel";
     this.c_CreateMessageLabel.Xpad = 10;
     this.c_CreateMessageLabel.Ypad = 5;
     this.c_CreateMessageLabel.Xalign = 0F;
     this.c_VerticalBox1.Add (this.c_CreateMessageLabel);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.c_VerticalBox1 [this.c_CreateMessageLabel]));
     w5.Position = 2;
     w5.Expand = false;
     w5.Fill = false;
     this.Add (this.c_VerticalBox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 479;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MonoDevelop.NETResources.ResXObjectIconWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
     this.efwdsfasdfAction = new global::Gtk.Action ("efwdsfasdfAction", global::Mono.Unix.Catalog.GetString ("efwdsfasdf"), null, null);
     this.efwdsfasdfAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("efwdsfasdf");
     w2.Add (this.efwdsfasdfAction, null);
     this.AddResourceAction = new global::Gtk.Action ("AddResourceAction", global::Mono.Unix.Catalog.GetString ("Add Resource..."), null, null);
     this.AddResourceAction.IsImportant = true;
     this.AddResourceAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add Resource...");
     w2.Add (this.AddResourceAction, null);
     this.UIManager.InsertActionGroup (w2, 0);
     this.Name = "MonoDevelop.NETResources.ResXObjectIconWidget";
     // Container child MonoDevelop.NETResources.ResXObjectIconWidget.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.entriesIV = new global::Gtk.IconView ();
     this.entriesIV.CanFocus = true;
     this.entriesIV.Name = "entriesIV";
     this.entriesIV.ItemWidth = 100;
     this.vbox1.Add (this.entriesIV);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.entriesIV]));
     w3.Position = 0;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
 }
Example #4
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 ("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.notebook = new global::Gtk.Notebook ();
     this.notebook.CanFocus = true;
     this.notebook.Name = "notebook";
     this.notebook.CurrentPage = -1;
     this.vbox1.Add (this.notebook);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook]));
     w2.Position = 2;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 513;
     this.DefaultHeight = 420;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
Example #5
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget BeaJay.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, null);
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open");
     w1.Add (this.OpenAction, 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.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.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "BeaJay.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Medico Main Window");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child BeaJay.MainWindow.Gtk.Container+ContainerChild
     this.baseVerticalSplit = new global::Gtk.VBox ();
     this.baseVerticalSplit.Name = "baseVerticalSplit";
     this.baseVerticalSplit.Spacing = 6;
     // Container child baseVerticalSplit.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/><menuitem name='AboutAction' action='AboutAction'/><menuitem name='ExitAction' action='ExitAction'/></menu></menubar></ui>");
     this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.baseVerticalSplit.Add (this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.baseVerticalSplit [this.menubar2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child baseVerticalSplit.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.debugSerialise = new global::Gtk.TextView ();
     this.debugSerialise.CanFocus = true;
     this.debugSerialise.Name = "debugSerialise";
     this.GtkScrolledWindow.Add (this.debugSerialise);
     this.baseVerticalSplit.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.baseVerticalSplit [this.GtkScrolledWindow]));
     w4.Position = 1;
     this.Add (this.baseVerticalSplit);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 465;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.OpenAction.Activated += new global::System.EventHandler (this.OnOpen);
     this.AboutAction.Activated += new global::System.EventHandler (this.OnAbout);
     this.ExitAction.Activated += new global::System.EventHandler (this.OnExit);
 }
Example #6
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.clearAction = new global::Gtk.Action ("clearAction", global::Mono.Unix.Catalog.GetString ("_Limpiar"), null, "gtk-clear");
     this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Limpiar");
     w1.Add (this.clearAction, null);
     this.editAction = new global::Gtk.Action ("editAction", global::Mono.Unix.Catalog.GetString ("_Editar"), null, "gtk-edit");
     this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Editar");
     w1.Add (this.editAction, null);
     this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh");
     w1.Add (this.refreshAction, null);
     this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new");
     w1.Add (this.newAction, 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='newAction' action='newAction'/><toolitem name='editAction' action='editAction'/><toolitem name='clearAction' action='clearAction'/><toolitem name='refreshAction' action='refreshAction'/></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 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.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.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w4.Position = 2;
     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.clearAction.Activated += new global::System.EventHandler (this.OnClearActionActivated);
     this.editAction.Activated += new global::System.EventHandler (this.OnEditActionActivated);
     this.refreshAction.Activated += new global::System.EventHandler (this.OnRefreshActionActivated);
     this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Protractor.Launcher
     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.GestureAction = new global::Gtk.Action ("GestureAction", global::Mono.Unix.Catalog.GetString ("Gesture"), null, null);
     this.GestureAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Gesture");
     w1.Add (this.GestureAction, 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.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.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.GestureAction1 = new global::Gtk.Action ("GestureAction1", global::Mono.Unix.Catalog.GetString ("Gesture"), null, null);
     this.GestureAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Gesture");
     w1.Add (this.GestureAction1, 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.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.HelpAction1 = new global::Gtk.Action ("HelpAction1", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction1, null);
     this.AboutAction1 = new global::Gtk.Action ("AboutAction1", global::Mono.Unix.Catalog.GetString ("About"), null, null);
     this.AboutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction1, null);
     this.AboutAction2 = new global::Gtk.Action ("AboutAction2", global::Mono.Unix.Catalog.GetString ("About"), null, null);
     this.AboutAction2.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction2, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.WidthRequest = 500;
     this.HeightRequest = 500;
     this.Name = "Protractor.Launcher";
     this.Title = global::Mono.Unix.Catalog.GetString ("Protactor");
     this.WindowPosition = ((global::Gtk.WindowPosition)(3));
     this.DefaultWidth = 500;
     this.DefaultHeight = 500;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Show ();
     this.QuitAction.Activated += new global::System.EventHandler (this.quitProgram);
     this.OpenAction.Activated += new global::System.EventHandler (this.openGesture);
     this.SaveAction.Activated += new global::System.EventHandler (this.saveGesture);
     this.AboutAction2.Activated += new global::System.EventHandler (this.aboutScreen);
 }
Example #8
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.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.fixed1 = new global::Gtk.Fixed ();
		this.fixed1.Name = "fixed1";
		this.fixed1.HasWindow = false;
		// Container child fixed1.Gtk.Fixed+FixedChild
		this.label1 = new global::Gtk.Label ();
		this.label1.Name = "label1";
		this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Hello,Gtk!");
		this.fixed1.Add (this.label1);
		global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1]));
		w2.X = 260;
		w2.Y = 117;
		this.Add (this.fixed1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 645;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
	}
Example #9
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 ("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'/></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 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.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 ("Categoría");
     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;
     // Container child hbox1.Gtk.Box+BoxChild
     this.comboBox = new global::Gtk.ComboBox ();
     this.comboBox.Name = "comboBox";
     this.hbox1.Add (this.comboBox);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboBox]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w5.Position = 1;
     w5.Expand = false;
     w5.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);
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget Mono.Upnp.GtkClient.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 = 0;
			this.HeightRequest = 0;
			this.Name = "Mono.Upnp.GtkClient.MainWindow";
			this.Title = global::Mono.Unix.Catalog.GetString ("Mono.Upnp");
			this.WindowPosition = ((global::Gtk.WindowPosition)(1));
			// Container child Mono.Upnp.GtkClient.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.hpaned = new global::Gtk.HPaned ();
			this.hpaned.CanFocus = true;
			this.hpaned.Name = "hpaned";
			this.hpaned.Position = 354;
			this.hpaned.BorderWidth = ((uint)(5));
			// Container child hpaned.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.list = new global::Gtk.TreeView ();
			this.list.CanFocus = true;
			this.list.Name = "list";
			this.GtkScrolledWindow.Add (this.list);
			this.hpaned.Add (this.GtkScrolledWindow);
			global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.GtkScrolledWindow]));
			w3.Resize = false;
			// Container child hpaned.Gtk.Paned+PanedChild
			this.infoBox = new global::Gtk.VBox ();
			this.infoBox.Name = "infoBox";
			this.infoBox.Spacing = 6;
			// Container child infoBox.Gtk.Box+BoxChild
			this.infoFiller = new global::Gtk.Label ();
			this.infoFiller.Name = "infoFiller";
			this.infoFiller.LabelProp = global::Mono.Unix.Catalog.GetString ("Select a device or service");
			this.infoBox.Add (this.infoFiller);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.infoBox [this.infoFiller]));
			w4.Position = 0;
			w4.Fill = false;
			this.hpaned.Add (this.infoBox);
			this.vbox1.Add (this.hpaned);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned]));
			w6.Position = 0;
			this.Add (this.vbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 1077;
			this.DefaultHeight = 527;
			this.Show ();
			this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		}
 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.FiguresAction = new global::Gtk.Action ("FiguresAction", global::Mono.Unix.Catalog.GetString ("Figures"), null, null);
     this.FiguresAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Figures");
     w1.Add (this.FiguresAction, null);
     this.AddClassFigureAction = new global::Gtk.Action ("AddClassFigureAction", global::Mono.Unix.Catalog.GetString ("Add Class Figure"), null, null);
     this.AddClassFigureAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add Class Figure");
     w1.Add (this.AddClassFigureAction, null);
     this.AddStackFigureAction = new global::Gtk.Action ("AddStackFigureAction", global::Mono.Unix.Catalog.GetString ("Add StackFigure"), null, null);
     this.AddStackFigureAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add StackFigure");
     w1.Add (this.AddStackFigureAction, null);
     this.AddMemberGroupAction = new global::Gtk.Action ("AddMemberGroupAction", global::Mono.Unix.Catalog.GetString ("Add MemberGroup"), null, null);
     this.AddMemberGroupAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add MemberGroup");
     w1.Add (this.AddMemberGroupAction, null);
     this.AddSimpleTextFigureAction = new global::Gtk.Action ("AddSimpleTextFigureAction", global::Mono.Unix.Catalog.GetString ("Add SimpleTextFigure"), null, null);
     this.AddSimpleTextFigureAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add SimpleTextFigure");
     w1.Add (this.AddSimpleTextFigureAction, 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='menubar1'><menu name='FiguresAction' action='FiguresAction'><menuitem name='AddClassFigureAction' action='AddClassFigureAction'/><menuitem name='AddStackFigureAction' action='AddStackFigureAction'/><menuitem name='AddMemberGroupAction' action='AddMemberGroupAction'/><menuitem name='AddSimpleTextFigureAction' action='AddSimpleTextFigureAction'/></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.mhdcanvas = new global::MonoHotDraw.SteticComponent ();
     this.mhdcanvas.Events = ((global::Gdk.EventMask)(256));
     this.mhdcanvas.Name = "mhdcanvas";
     this.vbox1.Add (this.mhdcanvas);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.mhdcanvas]));
     w3.Position = 1;
     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.AddClassFigureAction.Activated += new global::System.EventHandler (this.OnAddClassFigureActionActivated);
     this.AddStackFigureAction.Activated += new global::System.EventHandler (this.OnAddStackFigureActionActivated);
     this.AddMemberGroupAction.Activated += new global::System.EventHandler (this.OnAddMemberGroupActionActivated);
     this.AddSimpleTextFigureAction.Activated += new global::System.EventHandler (this.OnAddSimpleTextFigureActionActivated);
 }
Example #12
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, null);
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open");
     w1.Add (this.OpenAction, 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.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.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.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=\'menubar2\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" +
     "m name=\'OpenAction\' action=\'OpenAction\'/><menuitem name=\'AboutAction\' action=\'Ab" +
     "outAction\'/><menuitem name=\'ExitAction\' action=\'ExitAction\'/></menu></menubar></" +
     "ui>");
     this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.vbox2.Add (this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.displayImage = new global::Gtk.Image ();
     this.displayImage.Name = "displayImage";
     this.vbox2.Add (this.displayImage);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.displayImage]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 400;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.OpenAction.Activated += new global::System.EventHandler (this.OnOpen);
     this.AboutAction.Activated += new global::System.EventHandler (this.OnAbout);
     this.ExitAction.Activated += new global::System.EventHandler (this.OnExit);
 }
Example #13
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 ();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Cheque.GTK.MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.AddAction = new global::Gtk.Action ("AddAction", global::Mono.Unix.Catalog.GetString ("Adicionar"), null, null);
     this.AddAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Adicionar");
     w1.Add (this.AddAction, null);
     this.CheckAction = new global::Gtk.Action ("CheckAction", global::Mono.Unix.Catalog.GetString ("Cheque"), null, null);
     this.CheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cheque");
     w1.Add (this.CheckAction, null);
     this.CustomerAction = new global::Gtk.Action ("CustomerAction", global::Mono.Unix.Catalog.GetString ("Cliente"), null, null);
     this.CustomerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cliente");
     w1.Add (this.CustomerAction, null);
     this.Action = new global::Gtk.Action ("Action", null, null, null);
     w1.Add (this.Action, null);
     this.ReportsAction = new global::Gtk.Action ("ReportsAction", global::Mono.Unix.Catalog.GetString ("Relatórios"), null, null);
     this.ReportsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Relatórios");
     w1.Add (this.ReportsAction, null);
     this.ChecksAction = new global::Gtk.Action ("ChecksAction", global::Mono.Unix.Catalog.GetString ("Cheques"), null, null);
     this.ChecksAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cheques");
     w1.Add (this.ChecksAction, null);
     this.ModifyAction = new global::Gtk.Action ("ModifyAction", global::Mono.Unix.Catalog.GetString ("Alterar"), null, null);
     this.ModifyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Alterar");
     w1.Add (this.ModifyAction, null);
     this.PasswordAction = new global::Gtk.Action ("PasswordAction", global::Mono.Unix.Catalog.GetString ("Senha"), null, null);
     this.PasswordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Senha");
     w1.Add (this.PasswordAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "Cheque.GTK.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Cheques");
     this.DefaultWidth = 1024;
     this.DefaultHeight = 768;
     // Container child Cheque.GTK.MainWindow.Gtk.Container+ContainerChild
     this.containerVbox = new global::Gtk.VBox ();
     this.containerVbox.Name = "containerVbox";
     this.containerVbox.Spacing = 6;
     // Container child containerVbox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar'><menu name='AddAction' action='AddAction'><menuitem name='CheckAction' action='CheckAction'/><menuitem name='CustomerAction' action='CustomerAction'/></menu><menu name='ReportsAction' action='ReportsAction'><menuitem name='ChecksAction' action='ChecksAction'/></menu><menu name='ModifyAction' action='ModifyAction'><menuitem name='PasswordAction' action='PasswordAction'/></menu></menubar></ui>");
     this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar")));
     this.menubar.Name = "menubar";
     this.containerVbox.Add (this.menubar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.containerVbox [this.menubar]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     this.Add (this.containerVbox);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.CheckAction.Activated += new global::System.EventHandler (this.OnCheckActionActivated);
     this.CustomerAction.Activated += new global::System.EventHandler (this.OnCustomerActionActivated);
     this.ChecksAction.Activated += new global::System.EventHandler (this.OnChecksActionActivated);
     this.PasswordAction.Activated += new global::System.EventHandler (this.OnPasswordActionActivated);
 }
Example #15
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.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w1.Add (this.saveAction, null);
     this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit");
     w1.Add (this.editAction, 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='saveAction' action='saveAction'/><toolitem name='editAction' action='editAction'/></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 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.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.vbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w3.Position = 1;
     // 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.treeview = new global::Gtk.TreeView ();
     this.treeview.CanFocus = true;
     this.treeview.Name = "treeview";
     this.GtkScrolledWindow.Add (this.treeview);
     this.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w5.Position = 2;
     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);
 }
Example #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.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("_Añadir"), null, "gtk-add");
     this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Añadir");
     w1.Add (this.newAction, null);
     this.editAction = new global::Gtk.Action ("editAction", global::Mono.Unix.Catalog.GetString ("_Editar"), null, "gtk-edit");
     this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Editar");
     w1.Add (this.editAction, 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.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='editAction' action='editAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox2.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.notebook = new global::Gtk.Notebook ();
     this.notebook.CanFocus = true;
     this.notebook.Name = "notebook";
     this.notebook.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w3 = new global::Gtk.Label ();
     w3.Visible = true;
     this.notebook.Add (w3);
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("page1");
     this.notebook.SetTabLabel (w3, this.label1);
     this.label1.ShowAll ();
     this.vbox2.Add (this.notebook);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook]));
     w4.Position = 1;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 400;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
Example #17
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, null);
		this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open");
		w1.Add (this.OpenAction, 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.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.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/></menu></menubar></ui>");
		this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
		this.menubar1.Name = "menubar1";
		this.table1.Add (this.menubar1);
		global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.menubar1]));
		w2.LeftAttach = ((uint)(1));
		w2.RightAttach = ((uint)(2));
		w2.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child table1.Gtk.Table+TableChild
		this.reportviewer1 = new global::fyiReporting.RdlGtkViewer.ReportViewer ();
		this.reportviewer1.WidthRequest = 0;
		this.reportviewer1.HeightRequest = 0;
		this.reportviewer1.Events = ((global::Gdk.EventMask)(256));
		this.reportviewer1.Name = "reportviewer1";
		this.reportviewer1.ShowErrors = false;
		this.reportviewer1.ShowParameters = false;
		this.table1.Add (this.reportviewer1);
		global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.reportviewer1]));
		w3.TopAttach = ((uint)(1));
		w3.BottomAttach = ((uint)(2));
		w3.LeftAttach = ((uint)(1));
		w3.RightAttach = ((uint)(2));
		this.Add (this.table1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 487;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.OpenAction.Activated += new global::System.EventHandler (this.OnFileOpen_Activated);
	}
Example #18
0
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget PArticulo.ListArticuloView
			Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
			this.UIManager = new global::Gtk.UIManager ();
			global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
			this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh");
			w2.Add (this.refreshAction, null);
			this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add");
			w2.Add (this.addAction, null);
			this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete");
			w2.Add (this.deleteAction, null);
			this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit");
			w2.Add (this.editAction, null);
			this.UIManager.InsertActionGroup (w2, 0);
			this.Name = "PArticulo.ListArticuloView";
			// Container child PArticulo.ListArticuloView.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='refreshAction' action='refreshAction'/><toolitem name='addAction' action='addAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='editAction' action='editAction'/></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.treeView = new global::Gtk.TreeView ();
			this.treeView.CanFocus = true;
			this.treeView.Name = "treeView";
			this.GtkScrolledWindow.Add (this.treeView);
			this.vbox1.Add (this.GtkScrolledWindow);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
			w5.Position = 1;
			this.Add (this.vbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			w1.SetUiManager (UIManager);
			this.Hide ();
			this.refreshAction.Activated += new global::System.EventHandler (this.OnRefreshActionActivated);
			this.addAction.Activated += new global::System.EventHandler (this.OnAddActionActivated);
			this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated);
		}
Example #19
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 ("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'/></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 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.mywidget1 = new global::PGtkArray.MyWidget ();
     this.mywidget1.Events = ((global::Gdk.EventMask)(256));
     this.mywidget1.Name = "mywidget1";
     this.vbox1.Add (this.mywidget1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.mywidget1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.arrayButton = new global::Serpis.Ed.ArrayButton ();
     this.arrayButton.Events = ((global::Gdk.EventMask)(256));
     this.arrayButton.Name = "arrayButton";
     this.arrayButton.Rows = 9;
     this.arrayButton.Columns = 10;
     this.vbox1.Add (this.arrayButton);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.arrayButton]));
     w4.Position = 2;
     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);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget UI.ToolBarView
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
     this.tool2 = new global::Gtk.RadioAction ("tool2", global::Mono.Unix.Catalog.GetString ("tool2"), null, "gtk-yes", 0);
     this.tool2.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.tool2.ShortLabel = global::Mono.Unix.Catalog.GetString ("tool2");
     w2.Add (this.tool2, null);
     this.tool1 = new global::Gtk.RadioAction ("tool1", global::Mono.Unix.Catalog.GetString ("tool1"), null, "gtk-cancel", 0);
     this.tool1.Group = this.tool2.Group;
     this.tool1.ShortLabel = global::Mono.Unix.Catalog.GetString ("tool1");
     w2.Add (this.tool1, null);
     this.connectedTool = new global::Gtk.RadioAction ("connectedTool", global::Mono.Unix.Catalog.GetString ("_Connected"), null, "gtk-yes", 0);
     this.connectedTool.Group = this.tool1.Group;
     this.connectedTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Connected");
     w2.Add (this.connectedTool, null);
     this.unconnectedTool = new global::Gtk.RadioAction ("unconnectedTool", global::Mono.Unix.Catalog.GetString ("_Unconencted"), null, "gtk-cancel", 0);
     this.unconnectedTool.Group = this.connectedTool.Group;
     this.unconnectedTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Unconencted");
     w2.Add (this.unconnectedTool, null);
     this.momentTool = new global::Gtk.RadioAction ("momentTool", global::Mono.Unix.Catalog.GetString ("_Moment"), null, "gtk-refresh", 0);
     this.momentTool.Group = this.unconnectedTool.Group;
     this.momentTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Moment");
     w2.Add (this.momentTool, null);
     this.forceTool = new global::Gtk.RadioAction ("forceTool", global::Mono.Unix.Catalog.GetString ("_Force"), null, "gtk-redo", 0);
     this.forceTool.Group = this.unconnectedTool.Group;
     this.forceTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Force");
     w2.Add (this.forceTool, null);
     this.selectionTool = new global::Gtk.RadioAction ("selectionTool", global::Mono.Unix.Catalog.GetString ("_Selection"), null, "gtk-add", 0);
     this.selectionTool.Group = this.unconnectedTool.Group;
     this.selectionTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Selection");
     w2.Add (this.selectionTool, null);
     this.jointTool = new global::Gtk.RadioAction ("jointTool", null, null, "gtk-home", 0);
     this.jointTool.Group = this.unconnectedTool.Group;
     w2.Add (this.jointTool, null);
     this.UIManager.InsertActionGroup (w2, 0);
     this.Name = "UI.ToolBarView";
     // Container child UI.ToolBarView.Gtk.Container+ContainerChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar4'><toolitem name='connectedTool' action='connectedTool'/><toolitem name='unconnectedTool' action='unconnectedTool'/><toolitem name='momentTool' action='momentTool'/><toolitem name='forceTool' action='forceTool'/><toolitem name='selectionTool' action='selectionTool'/><toolitem name='jointTool' action='jointTool'/></toolbar></ui>");
     this.toolbar4 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar4")));
     this.toolbar4.Name = "toolbar4";
     this.toolbar4.ShowArrow = false;
     this.Add (this.toolbar4);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
 }
Example #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.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh");
     w1.Add (this.refreshAction, null);
     this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new");
     w1.Add (this.newAction, 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.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='buttonAddArticulo'><toolitem name='refreshAction' action='refreshAction'/><toolitem name='newAction' action='newAction'/></toolbar></ui>");
     this.buttonAddArticulo = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/buttonAddArticulo")));
     this.buttonAddArticulo.Name = "buttonAddArticulo";
     this.buttonAddArticulo.ShowArrow = false;
     this.vbox3.Add (this.buttonAddArticulo);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonAddArticulo]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // 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.treeViewArticulo = new global::Gtk.TreeView ();
     this.treeViewArticulo.CanFocus = true;
     this.treeViewArticulo.Name = "treeViewArticulo";
     this.GtkScrolledWindow.Add (this.treeViewArticulo);
     this.vbox3.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w4.Position = 1;
     this.Add (this.vbox3);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 469;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.refreshAction.Activated += new global::System.EventHandler (this.onClick);
     this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated);
 }
Example #22
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.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit");
     w1.Add (this.editAction, null);
     this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new");
     w1.Add (this.newAction, null);
     this.editAction1 = new global::Gtk.Action ("editAction1", null, null, "gtk-edit");
     w1.Add (this.editAction1, null);
     this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete");
     w1.Add (this.deleteAction, null);
     this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh");
     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 ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox = new global::Gtk.VBox ();
     this.vbox.Name = "vbox";
     this.vbox.Spacing = 6;
     // Container child vbox.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.vbox.Add (this.toolbar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox [this.toolbar]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox.Gtk.Box+BoxChild
     this.notebook2 = new global::Gtk.Notebook ();
     this.notebook2.CanFocus = true;
     this.notebook2.Name = "notebook2";
     this.notebook2.CurrentPage = -1;
     this.vbox.Add (this.notebook2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox [this.notebook2]));
     w3.Position = 1;
     this.Add (this.vbox);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 485;
     this.DefaultHeight = 330;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Trilogic.CompareWindow
     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 = "Trilogic.CompareWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Compare Schema");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth = ((uint)(5));
     this.DefaultWidth = 800;
     this.DefaultHeight = 600;
     // Container child Trilogic.CompareWindow.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // 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.checkBoxDiff = new global::Gtk.CheckButton ();
     this.checkBoxDiff.CanFocus = true;
     this.checkBoxDiff.Name = "checkBoxDiff";
     this.checkBoxDiff.Label = global::Mono.Unix.Catalog.GetString ("Show Diff");
     this.checkBoxDiff.DrawIndicator = true;
     this.checkBoxDiff.UseUnderline = true;
     this.hbox2.Add (this.checkBoxDiff);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.checkBoxDiff]));
     w2.Position = 2;
     this.vbox2.Add (this.hbox2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w4.Position = 1;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Show ();
     this.checkBoxDiff.Toggled += new global::System.EventHandler (this.OnCheckBoxDiffToggled);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget NicoMonoViewer.MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FAction = new global::Gtk.Action ("FAction", global::Mono.Unix.Catalog.GetString ("ファイル(_F)"), null, null);
     this.FAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("ファイル(_F)");
     w1.Add (this.FAction, null);
     this.closeAction = new global::Gtk.Action ("closeAction", global::Mono.Unix.Catalog.GetString ("閉じる(_C)"), null, "gtk-close");
     this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("閉じる(_C)");
     w1.Add (this.closeAction, null);
     this.OAction = new global::Gtk.Action ("OAction", global::Mono.Unix.Catalog.GetString ("設定(_O)"), null, null);
     this.OAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("設定(_O)");
     w1.Add (this.OAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "NicoMonoViewer.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child NicoMonoViewer.MainWindow.Gtk.Container+ContainerChild
     this.vbox = new global::Gtk.VBox ();
     this.vbox.Name = "vbox";
     this.vbox.Spacing = 6;
     // Container child vbox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar'><menu name='FAction' action='FAction'><menuitem name='closeAction' action='closeAction'/></menu><menu name='OAction' action='OAction'/></menubar></ui>");
     this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar")));
     this.menubar.Name = "menubar";
     this.vbox.Add (this.menubar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox [this.menubar]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox.Gtk.Box+BoxChild
     this.nicorepowidget = new global::NicoMonoViewer.NicorepoWidget ();
     this.nicorepowidget.Events = ((global::Gdk.EventMask)(256));
     this.nicorepowidget.Name = "nicorepowidget";
     this.vbox.Add (this.nicorepowidget);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox [this.nicorepowidget]));
     w3.Position = 1;
     this.Add (this.vbox);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 509;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated);
 }
Example #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.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='menuMain'/></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.UIManager.AddUiFromString ("<ui><toolbar name='tbMain'/></ui>");
     this.tbMain = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/tbMain")));
     this.tbMain.Name = "tbMain";
     this.tbMain.ShowArrow = false;
     this.vbox1.Add (this.tbMain);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.tbMain]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.nbMain = new global::Gtk.Notebook ();
     this.nbMain.CanFocus = true;
     this.nbMain.Name = "nbMain";
     this.nbMain.CurrentPage = -1;
     this.vbox1.Add (this.nbMain);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.nbMain]));
     w4.Position = 2;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1257;
     this.DefaultHeight = 805;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
Example #26
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 ("ふぁいる ");
     w1.Add (this.FileAction, null);
     this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, null);
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("かいとか");
     w1.Add (this.ExitAction, 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='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='ExitAction' action='ExitAction'/></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.button1 = new global::Gtk.Button ();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     this.button1.BorderWidth = ((uint)(24));
     this.button1.Label = global::Mono.Unix.Catalog.GetString ("GtkButton");
     this.vbox1.Add (this.button1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button1]));
     w3.Position = 1;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 495;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked);
 }
Example #27
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget guiTesting.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.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.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.exitAction1 = new global::Gtk.Action ("exitAction1", global::Mono.Unix.Catalog.GetString ("exit"), null, null);
     this.exitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("exit");
     w1.Add (this.exitAction1, null);
     this.cutAction = new global::Gtk.Action ("cutAction", global::Mono.Unix.Catalog.GetString ("open"), null, "gtk-cut");
     this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("open");
     w1.Add (this.cutAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "guiTesting.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child guiTesting.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'><menuitem name='exitAction1' action='exitAction1'/><menuitem name='cutAction' action='cutAction'/></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;
     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.exitAction1.Activated += new global::System.EventHandler (this.exit);
     this.cutAction.Activated += new global::System.EventHandler (this.@new);
 }
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void Build()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ErrorWindow));
			
			this.SetPosition(Gtk.WindowPosition.Center);
			this.Name = "OpenGraal.GraalIM.ErrorWindow";
			this.Title = global::Mono.Unix.Catalog.GetString ("Error!");
			this.Icon = global::Gdk.Pixbuf.LoadFromResource ("OpenGraal.GraalIM.Resources.rcicon.ico");
			this.DeleteEvent += ErrorWindow_Closed;
			this.UIManager = new global::Gtk.UIManager ();
			this.DefaultWidth = 200;
			this.DefaultHeight = 100;
			this.Show ();
			this.KeepAbove = true;
			global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
		}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LampManager.ApacheStatusPanel
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
     this.refreshAction = new global::Gtk.Action ("refreshAction", null, global::Mono.Unix.Catalog.GetString ("Refresh"), "gtk-refresh");
     w2.Add (this.refreshAction, null);
     this.UIManager.InsertActionGroup (w2, 0);
     this.Name = "LampManager.ApacheStatusPanel";
     // Container child LampManager.ApacheStatusPanel.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><toolbar name='toolbar1'><toolitem name='refreshAction' action='refreshAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox2.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.toolbar1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.scrolledwindow2 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow2.CanFocus = true;
     this.scrolledwindow2.Name = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.textview1 = new global::Gtk.TextView ();
     this.textview1.CanFocus = true;
     this.textview1.Name = "textview1";
     this.textview1.Editable = false;
     this.scrolledwindow2.Add (this.textview1);
     this.vbox2.Add (this.scrolledwindow2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow2]));
     w5.Position = 1;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
     this.refreshAction.Activated += new global::System.EventHandler (this.OnRefresh);
 }
Example #30
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.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward");
     w1.Add (this.goForwardAction, 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='goForwardAction' action='goForwardAction'/></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 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.entryNumero = new global::Gtk.Entry ();
     this.entryNumero.CanFocus = true;
     this.entryNumero.Name = "entryNumero";
     this.entryNumero.IsEditable = true;
     this.entryNumero.InvisibleChar = '•';
     this.vbox1.Add (this.entryNumero);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.entryNumero]));
     w3.Position = 1;
     w3.Expand = false;
     w3.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);
 }
Example #31
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, null);
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open");
     w1.Add(this.OpenAction, "<Primary>o");
     this.ConvertAction            = new global::Gtk.Action("ConvertAction", global::Mono.Unix.Catalog.GetString("Convert"), null, null);
     this.ConvertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Convert");
     w1.Add(this.ConvertAction, null);
     this.PDFAction            = new global::Gtk.Action("PDFAction", global::Mono.Unix.Catalog.GetString("PDF"), null, null);
     this.PDFAction.ShortLabel = global::Mono.Unix.Catalog.GetString("PDF");
     w1.Add(this.PDFAction, "<Primary>p");
     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, "<Primary>q");
     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.HelpAction1            = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction1, "<Primary>h");
     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.PNGAction             = new global::Gtk.Action("PNGAction", global::Mono.Unix.Catalog.GetString("PNG"), null, null);
     this.PNGAction.IsImportant = true;
     this.PNGAction.ShortLabel  = global::Mono.Unix.Catalog.GetString("PNG");
     w1.Add(this.PNGAction, "<Primary>g");
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Irin converter");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // 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='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='ConvertAction' action='ConvertAction'><menuitem name='PDFAction' action='PDFAction'/><menuitem name='PNGAction' action='PNGAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='HelpAction1' action='HelpAction1'/><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.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.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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // 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("Select file");
     this.hbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button1]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox1.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("Select all files from a folder");
     this.hbox1.Add(this.button2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button2]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button4              = new global::Gtk.Button();
     this.button4.CanFocus     = true;
     this.button4.Name         = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label        = global::Mono.Unix.Catalog.GetString("Clear the queue");
     this.hbox1.Add(this.button4);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button4]));
     w7.PackType = ((global::Gtk.PackType)(1));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 524;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.OpenAction.Activated  += new global::System.EventHandler(this.Open);
     this.PDFAction.Activated   += new global::System.EventHandler(this.ToPDF);
     this.ExitAction.Activated  += new global::System.EventHandler(this.Exit);
     this.HelpAction1.Activated += new global::System.EventHandler(this.Help);
     this.PNGAction.Activated   += new global::System.EventHandler(this.ToPNG);
     this.button1.Activated     += new global::System.EventHandler(this.Open);
     this.button1.Clicked       += new global::System.EventHandler(this.Open);
     this.button2.Activated     += new global::System.EventHandler(this.OpenFolder);
     this.button2.Clicked       += new global::System.EventHandler(this.OpenFolder);
     this.button4.Clicked       += new global::System.EventHandler(this.Clear);
 }
Example #32
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Contabilidad_General.Generar_Empresa
     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           = "Contabilidad_General.Generar_Empresa";
     this.Title          = global::Mono.Unix.Catalog.GetString("Generar_Empresa");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Contabilidad_General.Generar_Empresa.Gtk.Container+ContainerChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.alignment4      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment4.Name = "alignment4";
     this.hbox4.Add(this.alignment4);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.alignment4]));
     w2.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.alignment3      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment3.Name = "alignment3";
     this.hbox4.Add(this.alignment3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.alignment3]));
     w3.Position = 1;
     // Container child hbox4.Gtk.Box+BoxChild
     this.btnSalir              = new global::Gtk.Button();
     this.btnSalir.CanFocus     = true;
     this.btnSalir.Name         = "btnSalir";
     this.btnSalir.UseUnderline = true;
     this.btnSalir.Label        = global::Mono.Unix.Catalog.GetString("Salir");
     this.hbox4.Add(this.btnSalir);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnSalir]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox5.Add(this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox4]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // 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.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Generar Empresa\n");
     this.vbox6.Add(this.label6);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.label6]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.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.alignment7      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment7.Name = "alignment7";
     this.hbox5.Add(this.alignment7);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.alignment7]));
     w7.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox7             = new global::Gtk.VBox();
     this.vbox7.Name        = "vbox7";
     this.vbox7.Spacing     = 6;
     this.vbox7.BorderWidth = ((uint)(12));
     // Container child vbox7.Gtk.Box+BoxChild
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.Xalign    = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("ID de la Empresa:");
     this.vbox7.Add(this.label12);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.label12]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     w8.Padding  = ((uint)(5));
     // Container child vbox7.Gtk.Box+BoxChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre de la Empresa:");
     this.vbox7.Add(this.label7);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.label7]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     w9.Padding  = ((uint)(6));
     // Container child vbox7.Gtk.Box+BoxChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre Comercial de la Empresa:");
     this.vbox7.Add(this.label8);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.label8]));
     w10.Position = 2;
     w10.Expand   = false;
     w10.Fill     = false;
     w10.Padding  = ((uint)(9));
     // 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.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Direccion de la Empresa:");
     this.vbox9.Add(this.label9);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.label9]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     w11.Padding  = ((uint)(5));
     // Container child vbox9.Gtk.Box+BoxChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Localidad de la Empresa:");
     this.vbox9.Add(this.label10);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.label10]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     w12.Padding  = ((uint)(13));
     // Container child vbox9.Gtk.Box+BoxChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Correo de la Empresa:");
     this.vbox9.Add(this.label11);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.label11]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.Xalign    = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Activa:");
     this.vbox9.Add(this.label13);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.label13]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     w14.Padding  = ((uint)(12));
     this.vbox7.Add(this.vbox9);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.vbox9]));
     w15.Position = 3;
     w15.Expand   = false;
     w15.Fill     = false;
     this.hbox5.Add(this.vbox7);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox7]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox8             = new global::Gtk.VBox();
     this.vbox8.Name        = "vbox8";
     this.vbox8.Spacing     = 6;
     this.vbox8.BorderWidth = ((uint)(12));
     // Container child vbox8.Gtk.Box+BoxChild
     this.txtIDEmpresa               = new global::Gtk.Entry();
     this.txtIDEmpresa.CanFocus      = true;
     this.txtIDEmpresa.Name          = "txtIDEmpresa";
     this.txtIDEmpresa.IsEditable    = true;
     this.txtIDEmpresa.InvisibleChar = '•';
     this.vbox8.Add(this.txtIDEmpresa);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.txtIDEmpresa]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.txtNombreEmpresa               = new global::Gtk.Entry();
     this.txtNombreEmpresa.CanFocus      = true;
     this.txtNombreEmpresa.Name          = "txtNombreEmpresa";
     this.txtNombreEmpresa.IsEditable    = true;
     this.txtNombreEmpresa.InvisibleChar = '•';
     this.vbox8.Add(this.txtNombreEmpresa);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.txtNombreEmpresa]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     w18.Padding  = ((uint)(2));
     // Container child vbox8.Gtk.Box+BoxChild
     this.txtNombreComercialEmpresa               = new global::Gtk.Entry();
     this.txtNombreComercialEmpresa.CanFocus      = true;
     this.txtNombreComercialEmpresa.Name          = "txtNombreComercialEmpresa";
     this.txtNombreComercialEmpresa.IsEditable    = true;
     this.txtNombreComercialEmpresa.InvisibleChar = '•';
     this.vbox8.Add(this.txtNombreComercialEmpresa);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.txtNombreComercialEmpresa]));
     w19.Position = 2;
     w19.Expand   = false;
     w19.Padding  = ((uint)(2));
     // Container child vbox8.Gtk.Box+BoxChild
     this.txtDireccionEmpresa               = new global::Gtk.Entry();
     this.txtDireccionEmpresa.CanFocus      = true;
     this.txtDireccionEmpresa.Name          = "txtDireccionEmpresa";
     this.txtDireccionEmpresa.IsEditable    = true;
     this.txtDireccionEmpresa.InvisibleChar = '•';
     this.vbox8.Add(this.txtDireccionEmpresa);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.txtDireccionEmpresa]));
     w20.Position = 3;
     w20.Expand   = false;
     w20.Fill     = false;
     w20.Padding  = ((uint)(2));
     // Container child vbox8.Gtk.Box+BoxChild
     this.vbox10         = new global::Gtk.VBox();
     this.vbox10.Name    = "vbox10";
     this.vbox10.Spacing = 6;
     // Container child vbox10.Gtk.Box+BoxChild
     this.txtLocalidadEmpresa               = new global::Gtk.Entry();
     this.txtLocalidadEmpresa.CanFocus      = true;
     this.txtLocalidadEmpresa.Name          = "txtLocalidadEmpresa";
     this.txtLocalidadEmpresa.IsEditable    = true;
     this.txtLocalidadEmpresa.InvisibleChar = '•';
     this.vbox10.Add(this.txtLocalidadEmpresa);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.txtLocalidadEmpresa]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     w21.Padding  = ((uint)(3));
     // Container child vbox10.Gtk.Box+BoxChild
     this.txtCorreoEmpresa               = new global::Gtk.Entry();
     this.txtCorreoEmpresa.CanFocus      = true;
     this.txtCorreoEmpresa.Name          = "txtCorreoEmpresa";
     this.txtCorreoEmpresa.IsEditable    = true;
     this.txtCorreoEmpresa.InvisibleChar = '•';
     this.vbox10.Add(this.txtCorreoEmpresa);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.txtCorreoEmpresa]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     w22.Padding  = ((uint)(2));
     // Container child vbox10.Gtk.Box+BoxChild
     this.txtActiva = global::Gtk.ComboBox.NewText();
     this.txtActiva.AppendText(global::Mono.Unix.Catalog.GetString("Si"));
     this.txtActiva.AppendText(global::Mono.Unix.Catalog.GetString("No"));
     this.txtActiva.Name   = "txtActiva";
     this.txtActiva.Active = 0;
     this.vbox10.Add(this.txtActiva);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.txtActiva]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.vbox8.Add(this.vbox10);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.vbox10]));
     w24.Position = 4;
     w24.Expand   = false;
     w24.Fill     = false;
     this.hbox5.Add(this.vbox8);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox8]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.Fill     = false;
     this.vbox6.Add(this.hbox5);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox5]));
     w26.Position = 1;
     w26.Expand   = false;
     w26.Fill     = false;
     this.vbox5.Add(this.vbox6);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox6]));
     w27.Position = 1;
     w27.Expand   = false;
     w27.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.alignment6      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment6.Name = "alignment6";
     // Container child alignment6.Gtk.Container+ContainerChild
     this.alignment2      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name = "alignment2";
     this.alignment6.Add(this.alignment2);
     this.hbox6.Add(this.alignment6);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.alignment6]));
     w29.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.alignment5      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment5.Name = "alignment5";
     // Container child alignment5.Gtk.Container+ContainerChild
     this.alignment1      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     this.alignment5.Add(this.alignment1);
     this.hbox6.Add(this.alignment5);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.alignment5]));
     w31.Position = 1;
     // Container child hbox6.Gtk.Box+BoxChild
     this.btnGenerar              = new global::Gtk.Button();
     this.btnGenerar.CanFocus     = true;
     this.btnGenerar.Name         = "btnGenerar";
     this.btnGenerar.UseUnderline = true;
     this.btnGenerar.Label        = global::Mono.Unix.Catalog.GetString("Generar");
     this.hbox6.Add(this.btnGenerar);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnGenerar]));
     w32.Position = 2;
     w32.Expand   = false;
     w32.Fill     = false;
     w32.Padding  = ((uint)(54));
     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.Add(this.vbox5);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 458;
     this.DefaultHeight = 414;
     this.Show();
     this.btnSalir.Clicked += new global::System.EventHandler(this.OnBtnSalirClicked);
 }
Example #33
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ARLES.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.newAction = new global::Gtk.ToggleAction("newAction", null, null, "gtk-new");
     w1.Add(this.newAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "ARLES.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child ARLES.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'/></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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Arduino Port");
     this.hbox1.Add(this.label4);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label4]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.PortsComboBox      = global::Gtk.ComboBox.NewText();
     this.PortsComboBox.Name = "PortsComboBox";
     this.hbox1.Add(this.PortsComboBox);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.PortsComboBox]));
     w4.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("Rescan");
     this.hbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.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.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // 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.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Expression");
     this.hbox4.Add(this.label5);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label5]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.ExpressionEntry               = new global::Gtk.Entry();
     this.ExpressionEntry.CanFocus      = true;
     this.ExpressionEntry.Name          = "ExpressionEntry";
     this.ExpressionEntry.IsEditable    = true;
     this.ExpressionEntry.InvisibleChar = '●';
     this.hbox4.Add(this.ExpressionEntry);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.ExpressionEntry]));
     w8.Position = 1;
     this.vbox5.Add(this.hbox4);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox4]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.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("Upload");
     this.hbox3.Add(this.button3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button3]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button4              = new global::Gtk.Button();
     this.button4.CanFocus     = true;
     this.button4.Name         = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label        = global::Mono.Unix.Catalog.GetString("Save");
     this.hbox3.Add(this.button4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button4]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     this.vbox5.Add(this.hbox3);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     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.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.logs          = new global::Gtk.TextView();
     this.logs.CanFocus = true;
     this.logs.Name     = "logs";
     this.logs.Editable = false;
     this.GtkScrolledWindow.Add(this.logs);
     this.notebook2.Add(this.GtkScrolledWindow);
     // Notebook tab
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Logs");
     this.notebook2.SetTabLabel(this.GtkScrolledWindow, this.label6);
     this.label6.ShowAll();
     this.vbox5.Add(this.notebook2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.notebook2]));
     w15.Position = 2;
     this.notebook1.Add(this.vbox5);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Upload");
     this.notebook1.SetTabLabel(this.vbox5, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     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.label7 = new global::Gtk.Label();
     this.label7.WidthRequest = 200;
     this.label7.Name         = "label7";
     this.label7.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 0");
     this.hbox2.Add(this.label7);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label7]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.PinCombo      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo.Name = "PinCombo";
     this.hbox2.Add(this.PinCombo);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.PinCombo]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     this.vbox3.Add(this.hbox2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox3.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.WidthRequest = 200;
     this.label8.Name         = "label8";
     this.label8.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 1");
     this.hbox5.Add(this.label8);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label8]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.PinCombo1      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo1.Name = "PinCombo1";
     this.hbox5.Add(this.PinCombo1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.PinCombo1]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     this.vbox3.Add(this.hbox5);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox5]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label9 = new global::Gtk.Label();
     this.label9.WidthRequest = 200;
     this.label9.Name         = "label9";
     this.label9.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 2");
     this.hbox6.Add(this.label9);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label9]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.PinCombo2      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo2.Name = "PinCombo2";
     this.hbox6.Add(this.PinCombo2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.PinCombo2]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.vbox3.Add(this.hbox6);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox6]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.label10 = new global::Gtk.Label();
     this.label10.WidthRequest = 200;
     this.label10.Name         = "label10";
     this.label10.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 3");
     this.hbox7.Add(this.label10);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label10]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.PinCombo3      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo3.Name = "PinCombo3";
     this.hbox7.Add(this.PinCombo3);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.PinCombo3]));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vbox3.Add(this.hbox7);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox7]));
     w28.Position = 3;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.label11 = new global::Gtk.Label();
     this.label11.WidthRequest = 200;
     this.label11.Name         = "label11";
     this.label11.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 4");
     this.hbox8.Add(this.label11);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label11]));
     w29.Position = 0;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.PinCombo4      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo4.Name = "PinCombo4";
     this.hbox8.Add(this.PinCombo4);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.PinCombo4]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     this.vbox3.Add(this.hbox8);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox8]));
     w31.Position = 4;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label12 = new global::Gtk.Label();
     this.label12.WidthRequest = 200;
     this.label12.Name         = "label12";
     this.label12.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 5");
     this.hbox9.Add(this.label12);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label12]));
     w32.Position = 0;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.PinCombo5      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo5.Name = "PinCombo5";
     this.hbox9.Add(this.PinCombo5);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.PinCombo5]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     this.vbox3.Add(this.hbox9);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox9]));
     w34.Position = 5;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox10         = new global::Gtk.HBox();
     this.hbox10.Name    = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.label13 = new global::Gtk.Label();
     this.label13.WidthRequest = 200;
     this.label13.Name         = "label13";
     this.label13.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 6");
     this.hbox10.Add(this.label13);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label13]));
     w35.Position = 0;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.PinCombo6      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo6.Name = "PinCombo6";
     this.hbox10.Add(this.PinCombo6);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.PinCombo6]));
     w36.Position = 1;
     w36.Expand   = false;
     w36.Fill     = false;
     this.vbox3.Add(this.hbox10);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox10]));
     w37.Position = 6;
     w37.Expand   = false;
     w37.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox11         = new global::Gtk.HBox();
     this.hbox11.Name    = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.label14 = new global::Gtk.Label();
     this.label14.WidthRequest = 200;
     this.label14.Name         = "label14";
     this.label14.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 7");
     this.hbox11.Add(this.label14);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.label14]));
     w38.Position = 0;
     w38.Expand   = false;
     w38.Fill     = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.PinCombo7      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo7.Name = "PinCombo7";
     this.hbox11.Add(this.PinCombo7);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.PinCombo7]));
     w39.Position = 1;
     w39.Expand   = false;
     w39.Fill     = false;
     this.vbox3.Add(this.hbox11);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox11]));
     w40.Position = 7;
     w40.Expand   = false;
     w40.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox12         = new global::Gtk.HBox();
     this.hbox12.Name    = "hbox12";
     this.hbox12.Spacing = 6;
     // Container child hbox12.Gtk.Box+BoxChild
     this.label15 = new global::Gtk.Label();
     this.label15.WidthRequest = 200;
     this.label15.Name         = "label15";
     this.label15.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 8");
     this.hbox12.Add(this.label15);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.label15]));
     w41.Position = 0;
     w41.Expand   = false;
     w41.Fill     = false;
     // Container child hbox12.Gtk.Box+BoxChild
     this.PinCombo8      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo8.Name = "PinCombo8";
     this.hbox12.Add(this.PinCombo8);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.PinCombo8]));
     w42.Position = 1;
     w42.Expand   = false;
     w42.Fill     = false;
     this.vbox3.Add(this.hbox12);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox12]));
     w43.Position = 8;
     w43.Expand   = false;
     w43.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox13         = new global::Gtk.HBox();
     this.hbox13.Name    = "hbox13";
     this.hbox13.Spacing = 6;
     // Container child hbox13.Gtk.Box+BoxChild
     this.label16 = new global::Gtk.Label();
     this.label16.WidthRequest = 200;
     this.label16.Name         = "label16";
     this.label16.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 9");
     this.hbox13.Add(this.label16);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.label16]));
     w44.Position = 0;
     w44.Expand   = false;
     w44.Fill     = false;
     // Container child hbox13.Gtk.Box+BoxChild
     this.PinCombo9      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo9.Name = "PinCombo9";
     this.hbox13.Add(this.PinCombo9);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.PinCombo9]));
     w45.Position = 1;
     w45.Expand   = false;
     w45.Fill     = false;
     this.vbox3.Add(this.hbox13);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox13]));
     w46.Position = 9;
     w46.Expand   = false;
     w46.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox14         = new global::Gtk.HBox();
     this.hbox14.Name    = "hbox14";
     this.hbox14.Spacing = 6;
     // Container child hbox14.Gtk.Box+BoxChild
     this.label17 = new global::Gtk.Label();
     this.label17.WidthRequest = 200;
     this.label17.Name         = "label17";
     this.label17.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 10");
     this.hbox14.Add(this.label17);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label17]));
     w47.Position = 0;
     w47.Expand   = false;
     w47.Fill     = false;
     // Container child hbox14.Gtk.Box+BoxChild
     this.PinCombo10      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo10.Name = "PinCombo10";
     this.hbox14.Add(this.PinCombo10);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.PinCombo10]));
     w48.Position = 1;
     w48.Expand   = false;
     w48.Fill     = false;
     this.vbox3.Add(this.hbox14);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox14]));
     w49.Position = 10;
     w49.Expand   = false;
     w49.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox15         = new global::Gtk.HBox();
     this.hbox15.Name    = "hbox15";
     this.hbox15.Spacing = 6;
     // Container child hbox15.Gtk.Box+BoxChild
     this.label18 = new global::Gtk.Label();
     this.label18.WidthRequest = 200;
     this.label18.Name         = "label18";
     this.label18.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 11");
     this.hbox15.Add(this.label18);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.label18]));
     w50.Position = 0;
     w50.Expand   = false;
     w50.Fill     = false;
     // Container child hbox15.Gtk.Box+BoxChild
     this.PinCombo11      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo11.Name = "PinCombo11";
     this.hbox15.Add(this.PinCombo11);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.PinCombo11]));
     w51.Position = 1;
     w51.Expand   = false;
     w51.Fill     = false;
     this.vbox3.Add(this.hbox15);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox15]));
     w52.Position = 11;
     w52.Expand   = false;
     w52.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox16         = new global::Gtk.HBox();
     this.hbox16.Name    = "hbox16";
     this.hbox16.Spacing = 6;
     // Container child hbox16.Gtk.Box+BoxChild
     this.label19 = new global::Gtk.Label();
     this.label19.WidthRequest = 200;
     this.label19.Name         = "label19";
     this.label19.LabelProp    = global::Mono.Unix.Catalog.GetString("Pin 12");
     this.hbox16.Add(this.label19);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.label19]));
     w53.Position = 0;
     w53.Expand   = false;
     w53.Fill     = false;
     // Container child hbox16.Gtk.Box+BoxChild
     this.PinCombo12      = global::Gtk.ComboBoxEntry.NewText();
     this.PinCombo12.Name = "PinCombo12";
     this.hbox16.Add(this.PinCombo12);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.PinCombo12]));
     w54.Position = 1;
     w54.Expand   = false;
     w54.Fill     = false;
     this.vbox3.Add(this.hbox16);
     global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox16]));
     w55.Position = 12;
     w55.Expand   = false;
     w55.Fill     = false;
     this.notebook1.Add(this.vbox3);
     global::Gtk.Notebook.NotebookChild w56 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3]));
     w56.Position = 1;
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Mapping");
     this.notebook1.SetTabLabel(this.vbox3, this.label2);
     this.label2.ShowAll();
     // Notebook tab
     global::Gtk.Label w57 = new global::Gtk.Label();
     w57.Visible = true;
     this.notebook1.Add(w57);
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Advanced");
     this.notebook1.SetTabLabel(w57, this.label3);
     this.label3.ShowAll();
     this.vbox2.Add(this.notebook1);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook1]));
     w58.Position = 0;
     this.vbox1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w59.Position = 2;
     // 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 w60 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1]));
     w60.Position = 2;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w61.Position = 3;
     w61.Expand   = false;
     w61.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 627;
     this.DefaultHeight = 608;
     this.Show();
     this.DeleteEvent     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler(this.rescan);
     this.button3.Clicked += new global::System.EventHandler(this.upload);
 }
Example #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("New Action Group");
     this.FilesAction            = new global::Gtk.Action("FilesAction", global::Mono.Unix.Catalog.GetString("Files"), null, null);
     this.FilesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Files");
     w1.Add(this.FilesAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 1);
     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.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.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("Change Text");
     this.table1.Add(this.button1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1]));
     w3.LeftAttach  = ((uint)(2));
     w3.RightAttach = ((uint)(3));
     w3.XOptions    = ((global::Gtk.AttachOptions)(4));
     w3.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.combobox1      = global::Gtk.ComboBox.NewText();
     this.combobox1.Name = "combobox1";
     this.table1.Add(this.combobox1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1]));
     w4.TopAttach    = ((uint)(2));
     w4.BottomAttach = ((uint)(3));
     w4.LeftAttach   = ((uint)(2));
     w4.RightAttach  = ((uint)(3));
     w4.XOptions     = ((global::Gtk.AttachOptions)(4));
     w4.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.IsEditable    = true;
     this.entry1.InvisibleChar = '•';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     // Container child table1.Gtk.Table+TableChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.radiobutton1               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Capitalize"));
     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.hbox1.Add(this.radiobutton1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radiobutton1]));
     w6.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.radiobutton2               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("lower case"));
     this.radiobutton2.CanFocus      = true;
     this.radiobutton2.Name          = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline  = true;
     this.radiobutton2.Group         = this.radiobutton1.Group;
     this.hbox1.Add(this.radiobutton2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radiobutton2]));
     w7.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.radiobutton3               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("UPPER CASE"));
     this.radiobutton3.CanFocus      = true;
     this.radiobutton3.Name          = "radiobutton3";
     this.radiobutton3.DrawIndicator = true;
     this.radiobutton3.UseUnderline  = true;
     this.radiobutton3.Group         = this.radiobutton1.Group;
     this.hbox1.Add(this.radiobutton3);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radiobutton3]));
     w8.Position = 2;
     this.table1.Add(this.hbox1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1]));
     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.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("hhh");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.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("label4");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w11.TopAttach    = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 802;
     this.DefaultHeight = 308;
     this.Show();
     this.DeleteEvent       += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.combobox1.Changed += new global::System.EventHandler(this.OnCombobox1Changed);
     this.button1.Clicked   += new global::System.EventHandler(this.OnButton1Clicked);
 }
Example #35
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget BKTMManager.BKTMApp
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.DevicesAction            = new global::Gtk.Action("DevicesAction", global::Mono.Unix.Catalog.GetString("Devices"), null, null);
     this.DevicesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Devices");
     w1.Add(this.DevicesAction, null);
     this.ComponentsAction            = new global::Gtk.Action("ComponentsAction", global::Mono.Unix.Catalog.GetString("Components"), null, null);
     this.ComponentsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Components");
     w1.Add(this.ComponentsAction, null);
     this.RoomsAction            = new global::Gtk.Action("RoomsAction", global::Mono.Unix.Catalog.GetString("Rooms"), null, null);
     this.RoomsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rooms");
     w1.Add(this.RoomsAction, null);
     this.ResellersAction            = new global::Gtk.Action("ResellersAction", global::Mono.Unix.Catalog.GetString("Resellers"), null, null);
     this.ResellersAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Resellers");
     w1.Add(this.ResellersAction, 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.applyAction = new global::Gtk.Action("applyAction", null, null, "gtk-apply");
     w1.Add(this.applyAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Sensitive      = false;
     this.Name           = "BKTMManager.BKTMApp";
     this.Title          = global::Mono.Unix.Catalog.GetString("BKTMManager");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child BKTMManager.BKTMApp.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='DevicesAction' action='DevicesAction'/><menu name='ComponentsAction' action='ComponentsAction'/><menu name='RoomsAction' action='RoomsAction'/><menu name='ResellersAction' action='ResellersAction'/><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.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'applyAction\' action=\'applyAction\'/><" +
                                    "/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.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 = 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 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  = 652;
     this.DefaultHeight = 474;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Example #36
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Mono.Upnp.GtkClient.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   = 0;
     this.HeightRequest  = 0;
     this.Name           = "Mono.Upnp.GtkClient.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Mono.Upnp");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child Mono.Upnp.GtkClient.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.hpaned             = new global::Gtk.HPaned();
     this.hpaned.CanFocus    = true;
     this.hpaned.Name        = "hpaned";
     this.hpaned.Position    = 354;
     this.hpaned.BorderWidth = ((uint)(5));
     // Container child hpaned.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.list          = new global::Gtk.TreeView();
     this.list.CanFocus = true;
     this.list.Name     = "list";
     this.GtkScrolledWindow.Add(this.list);
     this.hpaned.Add(this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.GtkScrolledWindow]));
     w3.Resize = false;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.infoBox         = new global::Gtk.VBox();
     this.infoBox.Name    = "infoBox";
     this.infoBox.Spacing = 6;
     // Container child infoBox.Gtk.Box+BoxChild
     this.infoFiller           = new global::Gtk.Label();
     this.infoFiller.Name      = "infoFiller";
     this.infoFiller.LabelProp = global::Mono.Unix.Catalog.GetString("Select a device or service");
     this.infoBox.Add(this.infoFiller);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.infoBox [this.infoFiller]));
     w4.Position = 0;
     w4.Fill     = false;
     this.hpaned.Add(this.infoBox);
     this.vbox1.Add(this.hpaned);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned]));
     w6.Position = 0;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1077;
     this.DefaultHeight = 527;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
 protected virtual void Build()
 {
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.MaximizeAction = new global::Gtk.Action("MaximizeAction", null, null, "Maximize");
     w2.Add(this.MaximizeAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.WidthRequest  = 480;
     this.HeightRequest = 320;
     this.Name          = "GGEngine.MDIChildWindow";
     // Container child GGEngine.MDIChildWindow.Gtk.Container+ContainerChild
     this.eventbox1 = new global::Gtk.EventBox();
     this.eventbox1.WidthRequest  = 480;
     this.eventbox1.HeightRequest = 320;
     this.eventbox1.Name          = "eventbox1";
     // Container child eventbox1.Gtk.Container+ContainerChild
     this.fixed3           = new global::Gtk.Fixed();
     this.fixed3.Name      = "fixed3";
     this.fixed3.HasWindow = false;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.borderbottomright = new global::Gtk.EventBox();
     this.borderbottomright.WidthRequest  = 16;
     this.borderbottomright.HeightRequest = 16;
     this.borderbottomright.Name          = "borderbottomright";
     this.fixed3.Add(this.borderbottomright);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.borderbottomright]));
     w3.X = 464;
     w3.Y = 304;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.borderbottom = new global::Gtk.EventBox();
     this.borderbottom.WidthRequest  = 448;
     this.borderbottom.HeightRequest = 16;
     this.borderbottom.Name          = "borderbottom";
     this.fixed3.Add(this.borderbottom);
     global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.borderbottom]));
     w4.X = 16;
     w4.Y = 304;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.borderright = new global::Gtk.EventBox();
     this.borderright.WidthRequest  = 16;
     this.borderright.HeightRequest = 288;
     this.borderright.Name          = "borderright";
     this.fixed3.Add(this.borderright);
     global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.borderright]));
     w5.X = 464;
     w5.Y = 16;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.bordertopleft = new global::Gtk.EventBox();
     this.bordertopleft.WidthRequest  = 16;
     this.bordertopleft.HeightRequest = 16;
     this.bordertopleft.Name          = "bordertopleft";
     this.fixed3.Add(this.bordertopleft);
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.borderleft = new global::Gtk.EventBox();
     this.borderleft.WidthRequest  = 16;
     this.borderleft.HeightRequest = 288;
     this.borderleft.Name          = "borderleft";
     this.fixed3.Add(this.borderleft);
     global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.borderleft]));
     w7.Y = 16;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.bordertop = new global::Gtk.EventBox();
     this.bordertop.WidthRequest  = 448;
     this.bordertop.HeightRequest = 16;
     this.bordertop.Name          = "bordertop";
     // Container child bordertop.Gtk.Container+ContainerChild
     this.alignment3      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment3.Name = "alignment3";
     this.bordertop.Add(this.alignment3);
     this.fixed3.Add(this.bordertop);
     global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.bordertop]));
     w9.X = 16;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.borderbottomleft = new global::Gtk.EventBox();
     this.borderbottomleft.WidthRequest  = 16;
     this.borderbottomleft.HeightRequest = 16;
     this.borderbottomleft.Name          = "borderbottomleft";
     this.fixed3.Add(this.borderbottomleft);
     global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.borderbottomleft]));
     w10.Y = 304;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.bordertopright = new global::Gtk.EventBox();
     this.bordertopright.WidthRequest  = 16;
     this.bordertopright.HeightRequest = 16;
     this.bordertopright.Name          = "bordertopright";
     this.fixed3.Add(this.bordertopright);
     global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.bordertopright]));
     w11.X = 464;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.eventbox_content = new global::Gtk.EventBox();
     this.eventbox_content.WidthRequest  = 472;
     this.eventbox_content.HeightRequest = 290;
     this.eventbox_content.Name          = "eventbox2";
     this.fixed3.Add(this.eventbox_content);
     global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.eventbox_content]));
     w12.X = 4;
     w12.Y = 26;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.eventbox3 = new global::Gtk.EventBox();
     this.eventbox3.WidthRequest  = 472;
     this.eventbox3.HeightRequest = 20;
     this.eventbox3.Name          = "eventbox3";
     // Container child eventbox3.Gtk.Container+ContainerChild
     this.hbox1      = new global::Gtk.HBox();
     this.hbox1.Name = "hbox1";
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = "label1";
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w13.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.eventbox4      = new global::Gtk.EventBox();
     this.eventbox4.Name = "eventbox4";
     // Container child eventbox4.Gtk.Container+ContainerChild
     this.image1        = new global::Gtk.Image();
     this.image1.Name   = "image1";
     this.image1.Xalign = 0F;
     this.image1.Yalign = 0F;
     this.image1.Pixbuf = container.MaximizeImageNormal;
     this.eventbox4.Add(this.image1);
     this.hbox1.Add(this.eventbox4);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.eventbox4]));
     w15.Position = 2;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.alignment4 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment4.WidthRequest = 7;
     this.alignment4.Name         = "alignment4";
     this.hbox1.Add(this.alignment4);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.alignment4]));
     w16.Position = 3;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.eventbox6      = new global::Gtk.EventBox();
     this.eventbox6.Name = "eventbox6";
     // Container child eventbox6.Gtk.Container+ContainerChild
     this.image3        = new global::Gtk.Image();
     this.image3.Name   = "image3";
     this.image3.Xalign = 0F;
     this.image3.Yalign = 0F;
     this.image3.Pixbuf = container.CloseImageNormal;
     this.eventbox6.Add(this.image3);
     this.hbox1.Add(this.eventbox6);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.eventbox6]));
     w18.Position = 4;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.WidthRequest = 3;
     this.alignment2.Name         = "alignment2";
     this.hbox1.Add(this.alignment2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.alignment2]));
     w19.Position = 5;
     w19.Expand   = false;
     this.eventbox3.Add(this.hbox1);
     this.fixed3.Add(this.eventbox3);
     global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.eventbox3]));
     w21.X = 4;
     w21.Y = 4;
     this.eventbox1.Add(this.fixed3);
     this.Add(this.eventbox1);
     this.Hide();
     this.eventbox1.ButtonReleaseEvent         += new global::Gtk.ButtonReleaseEventHandler(this.OnButtonReleased);
     this.borderbottomright.ButtonPressEvent   += new global::Gtk.ButtonPressEventHandler(this.OnBorderbottomrightButtonPressEvent);
     this.borderbottomright.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnButtonReleased);
     this.borderbottom.ButtonPressEvent        += new global::Gtk.ButtonPressEventHandler(this.OnBorderbottomButtonPressEvent);
     this.borderbottom.ButtonReleaseEvent      += new global::Gtk.ButtonReleaseEventHandler(this.OnButtonReleased);
     this.borderright.ButtonPressEvent         += new global::Gtk.ButtonPressEventHandler(this.OnBorderrightButtonPressEvent);
     this.borderright.ButtonReleaseEvent       += new global::Gtk.ButtonReleaseEventHandler(this.OnButtonReleased);
     this.bordertopleft.ButtonPressEvent       += new global::Gtk.ButtonPressEventHandler(this.OnEventbox5ButtonPressEvent);
     this.bordertopleft.ButtonReleaseEvent     += new global::Gtk.ButtonReleaseEventHandler(this.OnButtonReleased);
     this.borderleft.ButtonPressEvent          += new global::Gtk.ButtonPressEventHandler(this.OnBorderleftButtonPressEvent);
     this.borderleft.ButtonReleaseEvent        += new global::Gtk.ButtonReleaseEventHandler(this.OnButtonReleased);
     this.bordertop.ButtonPressEvent           += new global::Gtk.ButtonPressEventHandler(this.OnBordertopButtonPressEvent);
     this.bordertop.ButtonReleaseEvent         += new global::Gtk.ButtonReleaseEventHandler(this.OnButtonReleased);
     this.borderbottomleft.ButtonPressEvent    += new global::Gtk.ButtonPressEventHandler(this.OnBottomleftButtonPressEvent);
     this.borderbottomleft.ButtonReleaseEvent  += new global::Gtk.ButtonReleaseEventHandler(this.OnButtonReleased);
     this.bordertopright.ButtonPressEvent      += new global::Gtk.ButtonPressEventHandler(this.OnBordertoprightButtonPressEvent);
     this.eventbox3.ButtonPressEvent           += new global::Gtk.ButtonPressEventHandler(this.OnButtonMovePressed);
     this.eventbox4.ButtonPressEvent           += new global::Gtk.ButtonPressEventHandler(this.OnEventbox4ButtonPressEvent);
     this.eventbox4.EnterNotifyEvent           += new global::Gtk.EnterNotifyEventHandler(this.OnEventbox4EnterNotifyEvent);
     this.eventbox4.LeaveNotifyEvent           += new global::Gtk.LeaveNotifyEventHandler(this.OnEventbox4LeaveNotifyEvent);
     this.eventbox6.EnterNotifyEvent           += new global::Gtk.EnterNotifyEventHandler(this.OnEventbox6EnterNotifyEvent);
     this.eventbox6.LeaveNotifyEvent           += new global::Gtk.LeaveNotifyEventHandler(this.OnEventbox6LeaveNotifyEvent);
     this.eventbox6.ButtonPressEvent           += new global::Gtk.ButtonPressEventHandler(this.OnEventbox6ButtonPressEvent);
 }
Example #38
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("Quit");
     w1.Add(this.FileAction, "<Primary><Mod2>q");
     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.ShowLogAction            = new global::Gtk.Action("ShowLogAction", global::Mono.Unix.Catalog.GetString("Show log"), null, null);
     this.ShowLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show log");
     w1.Add(this.ShowLogAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Segway UI");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("SegwayUI.ressources.segway.resized.png");
     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;
     this.vbox1.BorderWidth = ((uint)(6));
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></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;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vboxJauges         = new global::Gtk.VBox();
     this.vboxJauges.Name    = "vboxJauges";
     this.vboxJauges.Spacing = 6;
     // Container child vboxJauges.Gtk.Box+BoxChild
     this.drawingareaBeta      = new global::Gtk.DrawingArea();
     this.drawingareaBeta.Name = "drawingareaBeta";
     this.vboxJauges.Add(this.drawingareaBeta);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxJauges [this.drawingareaBeta]));
     w3.Position = 0;
     // Container child vboxJauges.Gtk.Box+BoxChild
     this.table3               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.drawingareaAngle      = new global::Gtk.DrawingArea();
     this.drawingareaAngle.Name = "drawingareaAngle";
     this.table3.Add(this.drawingareaAngle);
     // Container child table3.Gtk.Table+TableChild
     this.drawingareaAngularSpeed      = new global::Gtk.DrawingArea();
     this.drawingareaAngularSpeed.Name = "drawingareaAngularSpeed";
     this.table3.Add(this.drawingareaAngularSpeed);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table3 [this.drawingareaAngularSpeed]));
     w5.LeftAttach  = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     // Container child table3.Gtk.Table+TableChild
     this.drawingareaLinearSpeed      = new global::Gtk.DrawingArea();
     this.drawingareaLinearSpeed.Name = "drawingareaLinearSpeed";
     this.table3.Add(this.drawingareaLinearSpeed);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3 [this.drawingareaLinearSpeed]));
     w6.TopAttach    = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     // Container child table3.Gtk.Table+TableChild
     this.drawingareaTorque      = new global::Gtk.DrawingArea();
     this.drawingareaTorque.Name = "drawingareaTorque";
     this.table3.Add(this.drawingareaTorque);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.drawingareaTorque]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     this.vboxJauges.Add(this.table3);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxJauges [this.table3]));
     w8.Position = 1;
     this.hbox1.Add(this.vboxJauges);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vboxJauges]));
     w9.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.hbox1.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // 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.alignment1      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.imageConnexion        = new global::Gtk.Image();
     this.imageConnexion.Name   = "imageConnexion";
     this.imageConnexion.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("SegwayUI.ressources.disconnected.png");
     this.hbox2.Add(this.imageConnexion);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.imageConnexion]));
     w11.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Server connexion</b>");
     this.label1.UseMarkup = true;
     this.hbox2.Add(this.label1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1]));
     w12.Position = 1;
     this.vbox4.Add(this.hbox2);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox4.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.entryServerAddress               = new global::Gtk.Entry();
     this.entryServerAddress.CanFocus      = true;
     this.entryServerAddress.Name          = "entryServerAddress";
     this.entryServerAddress.Text          = global::Mono.Unix.Catalog.GetString("10.105.0.64");
     this.entryServerAddress.IsEditable    = true;
     this.entryServerAddress.InvisibleChar = '●';
     this.table1.Add(this.entryServerAddress);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryServerAddress]));
     w14.LeftAttach  = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryServerPort               = new global::Gtk.Entry();
     this.entryServerPort.CanFocus      = true;
     this.entryServerPort.Name          = "entryServerPort";
     this.entryServerPort.Text          = global::Mono.Unix.Catalog.GetString("2345");
     this.entryServerPort.IsEditable    = true;
     this.entryServerPort.InvisibleChar = '●';
     this.table1.Add(this.entryServerPort);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryServerPort]));
     w15.TopAttach    = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(2));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Host address :");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.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("Port :");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w17.TopAttach    = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add(this.table1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table1]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.buttonServerConnect              = new global::Gtk.Button();
     this.buttonServerConnect.CanFocus     = true;
     this.buttonServerConnect.Name         = "buttonServerConnect";
     this.buttonServerConnect.UseUnderline = true;
     this.buttonServerConnect.Label        = global::Mono.Unix.Catalog.GetString("Connect");
     this.vbox4.Add(this.buttonServerConnect);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.buttonServerConnect]));
     w19.Position = 2;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox4.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator1]));
     w20.Position = 3;
     w20.Expand   = false;
     w20.Fill     = false;
     this.alignment1.Add(this.vbox4);
     this.vbox3.Add(this.alignment1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment1]));
     w22.Position = 0;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tableStatus               = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.tableStatus.Name          = "tableStatus";
     this.tableStatus.RowSpacing    = ((uint)(6));
     this.tableStatus.ColumnSpacing = ((uint)(6));
     // Container child tableStatus.Gtk.Table+TableChild
     this.imageBattery        = new global::Gtk.Image();
     this.imageBattery.Name   = "imageBattery";
     this.imageBattery.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("SegwayUI.ressources.batteryInvalid.png");
     this.tableStatus.Add(this.imageBattery);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableStatus [this.imageBattery]));
     w23.TopAttach    = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableStatus.Gtk.Table+TableChild
     this.imageEmergency        = new global::Gtk.Image();
     this.imageEmergency.Name   = "imageEmergency";
     this.imageEmergency.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("SegwayUI.ressources.emergency-invalid.png");
     this.tableStatus.Add(this.imageEmergency);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableStatus [this.imageEmergency]));
     w24.TopAttach    = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableStatus.Gtk.Table+TableChild
     this.imageUser        = new global::Gtk.Image();
     this.imageUser.Name   = "imageUser";
     this.imageUser.Xpad   = 20;
     this.imageUser.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("SegwayUI.ressources.userPresent.png");
     this.tableStatus.Add(this.imageUser);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableStatus [this.imageUser]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableStatus.Gtk.Table+TableChild
     this.labelBattery           = new global::Gtk.Label();
     this.labelBattery.Name      = "labelBattery";
     this.labelBattery.Xpad      = 20;
     this.labelBattery.Xalign    = 0F;
     this.labelBattery.LabelProp = global::Mono.Unix.Catalog.GetString("80%");
     this.tableStatus.Add(this.labelBattery);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableStatus [this.labelBattery]));
     w26.TopAttach    = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach   = ((uint)(1));
     w26.RightAttach  = ((uint)(2));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableStatus.Gtk.Table+TableChild
     this.labelEmergency           = new global::Gtk.Label();
     this.labelEmergency.Name      = "labelEmergency";
     this.labelEmergency.Xpad      = 20;
     this.labelEmergency.Xalign    = 0F;
     this.labelEmergency.LabelProp = global::Mono.Unix.Catalog.GetString("label4");
     this.tableStatus.Add(this.labelEmergency);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableStatus [this.labelEmergency]));
     w27.TopAttach    = ((uint)(2));
     w27.BottomAttach = ((uint)(3));
     w27.LeftAttach   = ((uint)(1));
     w27.RightAttach  = ((uint)(2));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableStatus.Gtk.Table+TableChild
     this.labelUser           = new global::Gtk.Label();
     this.labelUser.Name      = "labelUser";
     this.labelUser.Xpad      = 20;
     this.labelUser.Xalign    = 0F;
     this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString("label3");
     this.tableStatus.Add(this.labelUser);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableStatus [this.labelUser]));
     w28.LeftAttach  = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.XOptions    = ((global::Gtk.AttachOptions)(4));
     w28.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add(this.tableStatus);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableStatus]));
     w29.Position = 1;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hseparator2      = new global::Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.vbox3.Add(this.hseparator2);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator2]));
     w30.Position = 2;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.buttonShowLog              = new global::Gtk.Button();
     this.buttonShowLog.CanFocus     = true;
     this.buttonShowLog.Name         = "buttonShowLog";
     this.buttonShowLog.UseUnderline = true;
     this.buttonShowLog.Label        = global::Mono.Unix.Catalog.GetString("Show log");
     this.vbox3.Add(this.buttonShowLog);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonShowLog]));
     w31.PackType = ((global::Gtk.PackType)(1));
     w31.Position = 4;
     w31.Expand   = false;
     w31.Fill     = false;
     this.hbox1.Add(this.vbox3);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
     w32.Position = 2;
     w32.Expand   = false;
     w32.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w33.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 912;
     this.DefaultHeight = 827;
     this.Show();
     this.DeleteEvent                 += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.QuitAction.Activated        += new global::System.EventHandler(this.OnQuitActionActivated);
     this.ShowLogAction.Activated     += new global::System.EventHandler(this.OnShowLogActionActivated);
     this.buttonServerConnect.Clicked += new global::System.EventHandler(this.OnButtonServerConnectClicked);
     this.buttonShowLog.Clicked       += new global::System.EventHandler(this.OnButtonShowLogClicked);
 }
Example #39
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.newAction = new global::Gtk.Action("newAction", null, null, "gtk-new");
     w1.Add(this.newAction, null);
     this.editAction = new global::Gtk.Action("editAction", null, null, "gtk-edit");
     w1.Add(this.editAction, 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=\'newAction\' action=\'newAction\'/><tool" +
                                    "item name=\'editAction\' action=\'editAction\'/></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 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.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.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.vboxContacto         = new global::Gtk.VBox();
     this.vboxContacto.Name    = "vboxContacto";
     this.vboxContacto.Spacing = 6;
     // Container child vboxContacto.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Contacto");
     this.vboxContacto.Add(this.label1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxContacto[this.label1]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vboxContacto.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.entry1               = new global::Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '•';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry2               = new global::Gtk.Entry();
     this.entry2.CanFocus      = true;
     this.entry2.Name          = "entry2";
     this.entry2.IsEditable    = true;
     this.entry2.InvisibleChar = '•';
     this.table1.Add(this.entry2);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry2]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.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("Teléfono");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vboxContacto.Add(this.table1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxContacto[this.table1]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vboxContacto.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.buttonCancelar              = new global::Gtk.Button();
     this.buttonCancelar.CanFocus     = true;
     this.buttonCancelar.Name         = "buttonCancelar";
     this.buttonCancelar.UseUnderline = true;
     this.buttonCancelar.Label        = global::Mono.Unix.Catalog.GetString("Cancelar");
     this.hbox3.Add(this.buttonCancelar);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancelar]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.buttonAceptar              = new global::Gtk.Button();
     this.buttonAceptar.CanFocus     = true;
     this.buttonAceptar.Name         = "buttonAceptar";
     this.buttonAceptar.UseUnderline = true;
     this.buttonAceptar.Label        = global::Mono.Unix.Catalog.GetString("Aceptar");
     this.hbox3.Add(this.buttonAceptar);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonAceptar]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vboxContacto.Add(this.hbox3);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxContacto[this.hbox3]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox1.Add(this.vboxContacto);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxContacto]));
     w14.Position = 2;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.vboxContacto.Hide();
     this.Show();
 }
Example #40
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.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.WaitingRoomAction            = new global::Gtk.Action("WaitingRoomAction", global::Mono.Unix.Catalog.GetString("Waiting room"), null, null);
     this.WaitingRoomAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Waiting room");
     w1.Add(this.WaitingRoomAction, null);
     this.WaitingRoomAction1            = new global::Gtk.Action("WaitingRoomAction1", global::Mono.Unix.Catalog.GetString("Waiting room"), null, null);
     this.WaitingRoomAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Waiting room");
     w1.Add(this.WaitingRoomAction1, null);
     this.HomeAction            = new global::Gtk.Action("HomeAction", global::Mono.Unix.Catalog.GetString("Home"), null, null);
     this.HomeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Home");
     w1.Add(this.HomeAction, null);
     this.TopAction            = new global::Gtk.Action("TopAction", global::Mono.Unix.Catalog.GetString("Top"), null, null);
     this.TopAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Top");
     w1.Add(this.TopAction, null);
     this.HotnessAction            = new global::Gtk.Action("HotnessAction", global::Mono.Unix.Catalog.GetString("Hotness"), null, null);
     this.HotnessAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hotness");
     w1.Add(this.HotnessAction, 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.UploadAction1            = new global::Gtk.Action("UploadAction1", global::Mono.Unix.Catalog.GetString("Upload"), null, null);
     this.UploadAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Upload");
     w1.Add(this.UploadAction1, null);
     this.ExitAction1            = new global::Gtk.Action("ExitAction1", global::Mono.Unix.Catalog.GetString("Exit"), null, null);
     this.ExitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
     w1.Add(this.ExitAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Project");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.AllowShrink    = true;
     this.DefaultWidth   = 700;
     this.DefaultHeight  = 600;
     // 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='UploadAction1' action='UploadAction1'/><menuitem name='ExitAction1' action='ExitAction1'/></menu><menu name='OptionsAction' action='OptionsAction'><menuitem name='HomeAction' action='HomeAction'/><menuitem name='TopAction' action='TopAction'/><menuitem name='HotnessAction' action='HotnessAction'/><menuitem name='WaitingRoomAction1' action='WaitingRoomAction1'/></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.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.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     w3.Add(this.vbox3);
     this.GtkScrolledWindow.Add(w3);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w6.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.WaitingRoomAction1.Activated += new global::System.EventHandler(this.OnWaitingRoomAction1Activated);
     this.HomeAction.Activated         += new global::System.EventHandler(this.OnHomeActionActivated);
     this.TopAction.Activated          += new global::System.EventHandler(this.OnTopActionActivated);
     this.HotnessAction.Activated      += new global::System.EventHandler(this.OnHotnessActionActivated);
     this.UploadAction1.Activated      += new global::System.EventHandler(this.OnUploadAction1Activated);
     this.ExitAction1.Activated        += new global::System.EventHandler(this.OnExitAction1Activated);
 }
Example #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.helpAction = new global::Gtk.Action("helpAction", null, null, "gtk-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("Conta Bancária");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-bold", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnCadastro              = new global::Gtk.Button();
     this.btnCadastro.CanFocus     = true;
     this.btnCadastro.Name         = "btnCadastro";
     this.btnCadastro.UseUnderline = true;
     this.btnCadastro.Label        = global::Mono.Unix.Catalog.GetString("Cadastro");
     this.hbox1.Add(this.btnCadastro);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnCadastro]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnExcluir              = new global::Gtk.Button();
     this.btnExcluir.CanFocus     = true;
     this.btnExcluir.Name         = "btnExcluir";
     this.btnExcluir.UseUnderline = true;
     this.btnExcluir.Label        = global::Mono.Unix.Catalog.GetString("Excluir");
     this.hbox1.Add(this.btnExcluir);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnExcluir]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.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.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.viewContas = new global::Gtk.NodeView();
     this.viewContas.TooltipMarkup = "Store";
     this.viewContas.CanFocus      = true;
     this.viewContas.Name          = "viewContas";
     this.viewContas.Reorderable   = true;
     this.viewContas.RulesHint     = true;
     this.GtkScrolledWindow.Add(this.viewContas);
     this.hbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.GtkScrolledWindow]));
     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.btnDeposito              = new global::Gtk.Button();
     this.btnDeposito.CanFocus     = true;
     this.btnDeposito.Name         = "btnDeposito";
     this.btnDeposito.UseUnderline = true;
     this.btnDeposito.Label        = global::Mono.Unix.Catalog.GetString("Depósito");
     this.vbox3.Add(this.btnDeposito);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.btnDeposito]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.btnSaque              = new global::Gtk.Button();
     this.btnSaque.CanFocus     = true;
     this.btnSaque.Name         = "btnSaque";
     this.btnSaque.UseUnderline = true;
     this.btnSaque.Label        = global::Mono.Unix.Catalog.GetString("Saque");
     this.vbox3.Add(this.btnSaque);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.btnSaque]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.btnExtrato              = new global::Gtk.Button();
     this.btnExtrato.CanFocus     = true;
     this.btnExtrato.Name         = "btnExtrato";
     this.btnExtrato.UseUnderline = true;
     this.btnExtrato.Label        = global::Mono.Unix.Catalog.GetString("Extrato");
     this.vbox3.Add(this.btnExtrato);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.btnExtrato]));
     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;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w11.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 522;
     this.DefaultHeight = 385;
     this.Show();
     this.DeleteEvent         += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.btnCadastro.Clicked += new global::System.EventHandler(this.OnBtnCadastroClicked);
     this.btnExcluir.Clicked  += new global::System.EventHandler(this.OnBtnExcluirClicked);
     this.btnDeposito.Clicked += new global::System.EventHandler(this.OnBtnDepositoClicked);
     this.btnSaque.Clicked    += new global::System.EventHandler(this.OnBtnSaqueClicked);
     this.btnExtrato.Clicked  += new global::System.EventHandler(this.OnBtnExtratoClicked);
 }
Example #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.ClientAction            = new global::Gtk.Action("ClientAction", global::Mono.Unix.Catalog.GetString("Client"), null, null);
     this.ClientAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Client");
     w1.Add(this.ClientAction, null);
     this.DisconnectAction            = new global::Gtk.Action("DisconnectAction", global::Mono.Unix.Catalog.GetString("Disconnect"), null, null);
     this.DisconnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Disconnect");
     w1.Add(this.DisconnectAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Nebuchadnezzar");
     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.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='ClientAction' action='ClientAction'><menuitem name='DisconnectAction' action='DisconnectAction'/></menu></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.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 201;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox3             = new global::Gtk.VBox();
     this.vbox3.Name        = "vbox3";
     this.vbox3.Spacing     = 6;
     this.vbox3.BorderWidth = ((uint)(6));
     // 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.profileImage        = new global::Gtk.Image();
     this.profileImage.Name   = "profileImage";
     this.profileImage.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Nebuchadnezzar.Resources.Generic_Avatar.png");
     this.hbox1.Add(this.profileImage);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.profileImage]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.displayName           = new global::Gtk.Label();
     this.displayName.Name      = "displayName";
     this.displayName.LabelProp = global::Mono.Unix.Catalog.GetString("...");
     this.hbox1.Add(this.displayName);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.displayName]));
     w4.Position = 1;
     this.vbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // 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.channelList                = new global::Gtk.TreeView();
     this.channelList.CanFocus       = true;
     this.channelList.Name           = "channelList";
     this.channelList.HeadersVisible = false;
     this.GtkScrolledWindow.Add(this.channelList);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w7.Position = 1;
     this.hpaned1.Add(this.vbox3);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox3]));
     w8.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox4             = new global::Gtk.VBox();
     this.vbox4.Name        = "vbox4";
     this.vbox4.Spacing     = 6;
     this.vbox4.BorderWidth = ((uint)(6));
     // Container child vbox4.Gtk.Box+BoxChild
     this.chatScroller                  = new global::Gtk.ScrolledWindow();
     this.chatScroller.CanFocus         = true;
     this.chatScroller.Name             = "chatScroller";
     this.chatScroller.VscrollbarPolicy = ((global::Gtk.PolicyType)(0));
     this.chatScroller.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.chatScroller.ShadowType       = ((global::Gtk.ShadowType)(1));
     // Container child chatScroller.Gtk.Container+ContainerChild
     global::Gtk.Viewport w9 = new global::Gtk.Viewport();
     w9.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.chatBox         = new global::Gtk.VBox();
     this.chatBox.Name    = "chatBox";
     this.chatBox.Spacing = 6;
     w9.Add(this.chatBox);
     this.chatScroller.Add(w9);
     this.vbox4.Add(this.chatScroller);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.chatScroller]));
     w12.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.chatEntry               = new global::Gtk.Entry();
     this.chatEntry.CanFocus      = true;
     this.chatEntry.Name          = "chatEntry";
     this.chatEntry.IsEditable    = true;
     this.chatEntry.InvisibleChar = '●';
     this.vbox4.Add(this.chatEntry);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.chatEntry]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.hpaned1.Add(this.vbox4);
     this.vbox2.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1]));
     w15.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 w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 994;
     this.DefaultHeight = 627;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.channelList.CursorChanged += new global::System.EventHandler(this.OnChannelListCursorChanged);
 }
Example #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.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.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.ImportHashtableAction            = new global::Gtk.Action("ImportHashtableAction", global::Mono.Unix.Catalog.GetString("Import Hashtable"), null, null);
     this.ImportHashtableAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Import Hashtable");
     w1.Add(this.ImportHashtableAction, null);
     this.ExportHashtableAction            = new global::Gtk.Action("ExportHashtableAction", global::Mono.Unix.Catalog.GetString("Export Hashtable"), null, null);
     this.ExportHashtableAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Hashtable");
     w1.Add(this.ExportHashtableAction, null);
     this.ExportAllAction            = new global::Gtk.Action("ExportAllAction", global::Mono.Unix.Catalog.GetString("Export All"), null, null);
     this.ExportAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export All");
     w1.Add(this.ExportAllAction, null);
     this.ExportSelectedAction            = new global::Gtk.Action("ExportSelectedAction", global::Mono.Unix.Catalog.GetString("Export Selected"), null, null);
     this.ExportSelectedAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Selected");
     w1.Add(this.ExportSelectedAction, null);
     this.CreateEmptyAction            = new global::Gtk.Action("CreateEmptyAction", global::Mono.Unix.Catalog.GetString("Create Empty"), null, null);
     this.CreateEmptyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Create Empty");
     w1.Add(this.CreateEmptyAction, null);
     this.CreateFromDirectoryAction            = new global::Gtk.Action("CreateFromDirectoryAction", global::Mono.Unix.Catalog.GetString("Create from Directory"), null, null);
     this.CreateFromDirectoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Create from Directory");
     w1.Add(this.CreateFromDirectoryAction, null);
     this.RemoveAction            = new global::Gtk.Action("RemoveAction", global::Mono.Unix.Catalog.GetString("Remove"), null, null);
     this.RemoveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Remove");
     w1.Add(this.RemoveAction, null);
     this.AddFileAction            = new global::Gtk.Action("AddFileAction", global::Mono.Unix.Catalog.GetString("Add File"), null, null);
     this.AddFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add File");
     w1.Add(this.AddFileAction, null);
     this.AddFileDirectionAction            = new global::Gtk.Action("AddFileDirectionAction", global::Mono.Unix.Catalog.GetString("Add File Direction"), null, null);
     this.AddFileDirectionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add File Direction");
     this.AddFileDirectionAction.Visible    = false;
     w1.Add(this.AddFileDirectionAction, null);
     this.AddFolderAction            = new global::Gtk.Action("AddFolderAction", global::Mono.Unix.Catalog.GetString("Add Folder"), null, null);
     this.AddFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Folder");
     w1.Add(this.AddFolderAction, null);
     this.ModifyDataAction            = new global::Gtk.Action("ModifyDataAction", global::Mono.Unix.Catalog.GetString("Modify Data"), null, null);
     this.ModifyDataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Modify Data");
     w1.Add(this.ModifyDataAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Obsidian");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("Obsidian.obsidian.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.BorderWidth    = ((uint)(6));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox2      = new global::Gtk.VBox();
     this.vbox2.Name = "vbox2";
     // Container child vbox2.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='ImportHashtableAction' action='ImportHashtableAction'/><menuitem name='ExportHashtableAction' action='ExportHashtableAction'/><menuitem name='ExportAllAction' action='ExportAllAction'/><menuitem name='ExportSelectedAction' action='ExportSelectedAction'/><menuitem name='CreateEmptyAction' action='CreateEmptyAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='RemoveAction' action='RemoveAction'/><menuitem name='AddFileAction' action='AddFileAction'/><menuitem name='AddFileDirectionAction' action='AddFileDirectionAction'/><menuitem name='AddFolderAction' action='AddFolderAction'/><menuitem name='ModifyDataAction' action='ModifyDataAction'/></menu></menubar></ui>");
     this.menubar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar")));
     this.menubar.Name = "menubar";
     this.vbox2.Add(this.menubar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.menubar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.searchBox = new global::Gtk.Entry();
     global::Gtk.Tooltips w3 = new Gtk.Tooltips();
     w3.SetTip(this.searchBox, "Filter", "Filter");
     this.searchBox.CanFocus      = true;
     this.searchBox.Name          = "searchBox";
     this.searchBox.IsEditable    = true;
     this.searchBox.InvisibleChar = '●';
     this.vbox2.Add(this.searchBox);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.searchBox]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.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.nodeview          = new global::Gtk.NodeView();
     this.nodeview.CanFocus = true;
     this.nodeview.Name     = "nodeview";
     this.GtkScrolledWindow.Add(this.nodeview);
     this.vbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
     w6.Position = 2;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 771;
     this.DefaultHeight = 486;
     this.Show();
     this.DeleteEvent                     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.OpenAction.Activated            += new global::System.EventHandler(this.openFileClicked);
     this.SaveAction.Activated            += new global::System.EventHandler(this.saveClicked);
     this.ImportHashtableAction.Activated += new global::System.EventHandler(this.importHashtable);
     this.ExportHashtableAction.Activated += new global::System.EventHandler(this.exportHashtable);
     this.ExportAllAction.Activated       += new global::System.EventHandler(this.exportAllClicked);
     this.ExportSelectedAction.Activated  += new global::System.EventHandler(this.exportSelected);
     this.CreateEmptyAction.Activated     += new global::System.EventHandler(this.clearUp);
     this.RemoveAction.Activated          += new global::System.EventHandler(this.removeEntryClicked);
     this.AddFileAction.Activated         += new global::System.EventHandler(this.addFileClicked);
     this.AddFolderAction.Activated       += new global::System.EventHandler(this.importFolder);
     this.ModifyDataAction.Activated      += new global::System.EventHandler(this.modifyDataClicked);
     this.searchBox.Changed               += new global::System.EventHandler(this.filterChangedEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.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.NewPojectAction            = new global::Gtk.Action("NewPojectAction", global::Mono.Unix.Catalog.GetString("_New Project"), null, "gtk-new");
     this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New Project");
     w1.Add(this.NewPojectAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open Project"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Project");
     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.CloseProjectAction            = new global::Gtk.Action("CloseProjectAction", global::Mono.Unix.Catalog.GetString("_Close Project"), null, "gtk-close");
     this.CloseProjectAction.Sensitive  = false;
     this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close Project");
     w1.Add(this.CloseProjectAction, 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.ProjectsManagerAction            = new global::Gtk.Action("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString("Projects Manager"), null, null);
     this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Database Manager");
     w1.Add(this.ProjectsManagerAction, null);
     this.CategoriesTemplatesManagerAction            = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Categories Templates Manager"), null, null);
     this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Templates Manager");
     w1.Add(this.CategoriesTemplatesManagerAction, 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, "<Control>t");
     this.FullScreenAction            = new global::Gtk.ToggleAction("FullScreenAction", global::Mono.Unix.Catalog.GetString("Full Screen"), null, "gtk-fullscreen");
     this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Full Screen");
     w1.Add(this.FullScreenAction, "<Control><Alt>f");
     this.PlaylistAction            = new global::Gtk.ToggleAction("PlaylistAction", global::Mono.Unix.Catalog.GetString("Playlist"), null, null);
     this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Playlist");
     w1.Add(this.PlaylistAction, "<Control>p");
     this.TaggingViewAction            = new global::Gtk.RadioAction("TaggingViewAction", global::Mono.Unix.Catalog.GetString("Tagging view"), null, null, 0);
     this.TaggingViewAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.TaggingViewAction.Sensitive  = false;
     this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture Mode");
     w1.Add(this.TaggingViewAction, "<Control>c");
     this.TimelineViewAction            = new global::Gtk.RadioAction("TimelineViewAction", global::Mono.Unix.Catalog.GetString("Timeline view"), null, null, 0);
     this.TimelineViewAction.Group      = this.TaggingViewAction.Group;
     this.TimelineViewAction.Sensitive  = false;
     this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Analyze Mode");
     w1.Add(this.TimelineViewAction, "<Control>a");
     this.SaveProjectAction            = new global::Gtk.Action("SaveProjectAction", global::Mono.Unix.Catalog.GetString("_Save Project"), null, "gtk-save");
     this.SaveProjectAction.Sensitive  = false;
     this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save Project");
     w1.Add(this.SaveProjectAction, 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.ExportProjectToCSVFileAction            = new global::Gtk.Action("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString("Export Project To CSV File"), null, null);
     this.ExportProjectToCSVFileAction.Sensitive  = false;
     this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project To CSV File");
     this.ExportProjectToCSVFileAction.Visible    = false;
     w1.Add(this.ExportProjectToCSVFileAction, null);
     this.TeamsTemplatesManagerAction            = new global::Gtk.Action("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Teams Templates Manager"), null, null);
     this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Teams Templates Manager");
     w1.Add(this.TeamsTemplatesManagerAction, null);
     this.HideAllWidgetsAction            = new global::Gtk.ToggleAction("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString("Hide All Widgets"), null, null);
     this.HideAllWidgetsAction.Sensitive  = false;
     this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hide All Widgets");
     w1.Add(this.HideAllWidgetsAction, null);
     this.HelpAction1            = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help");
     this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction1, null);
     this.DrawingToolAction            = new global::Gtk.ToggleAction("DrawingToolAction", global::Mono.Unix.Catalog.GetString("_Drawing Tool"), null, null);
     this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drawing Tool");
     w1.Add(this.DrawingToolAction, "<Control>d");
     this.ImportProjectAction            = new global::Gtk.Action("ImportProjectAction", global::Mono.Unix.Catalog.GetString("_Import Project"), null, "stock-import");
     this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import Project");
     w1.Add(this.ImportProjectAction, "<Control>i");
     this.ManualTaggingViewAction            = new global::Gtk.RadioAction("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString("Manual tagging view"), null, null, 0);
     this.ManualTaggingViewAction.Group      = this.TimelineViewAction.Group;
     this.ManualTaggingViewAction.Sensitive  = false;
     this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Free Capture Mode");
     w1.Add(this.ManualTaggingViewAction, "<Control>f");
     this.GameUnitsViewAction            = new global::Gtk.RadioAction("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString("Game units view"), null, null, 0);
     this.GameUnitsViewAction.Group      = this.TimelineViewAction.Group;
     this.GameUnitsViewAction.Sensitive  = false;
     this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game units view");
     w1.Add(this.GameUnitsViewAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "LongoMatch.Gui.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("LongoMatch");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog);
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Container child LongoMatch.Gui.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.menubox         = new global::Gtk.VBox();
     this.menubox.Name    = "menubox";
     this.menubox.Spacing = 6;
     // Container child menubox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='ExportProjectToCSVFileAction' action='ExportProjectToCSVFileAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.menubox.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox1.Add(this.menubox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned          = new global::Gtk.HPaned();
     this.hpaned.CanFocus = true;
     this.hpaned.Name     = "hpaned";
     this.hpaned.Position = 161;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.leftbox         = new global::Gtk.VBox();
     this.leftbox.Name    = "leftbox";
     this.leftbox.Spacing = 6;
     // Container child leftbox.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 3;
     this.notebook1.TabPos      = ((global::Gtk.PositionType)(3));
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.playsList        = new global::LongoMatch.Gui.Component.PlaysListTreeWidget();
     this.playsList.Events = ((global::Gdk.EventMask)(256));
     this.playsList.Name   = "playsList";
     this.notebook1.Add(this.playsList);
     // Notebook tab
     this.playslabel           = new global::Gtk.Label();
     this.playslabel.Name      = "playslabel";
     this.playslabel.LabelProp = global::Mono.Unix.Catalog.GetString("Plays");
     this.notebook1.SetTabLabel(this.playsList, this.playslabel);
     this.playslabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.localPlayersList        = new global::LongoMatch.Gui.Component.PlayersListTreeWidget();
     this.localPlayersList.Events = ((global::Gdk.EventMask)(256));
     this.localPlayersList.Name   = "localPlayersList";
     this.notebook1.Add(this.localPlayersList);
     global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.localPlayersList]));
     w5.Position = 1;
     // Notebook tab
     this.localteamlabel           = new global::Gtk.Label();
     this.localteamlabel.Name      = "localteamlabel";
     this.localteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Local Team");
     this.notebook1.SetTabLabel(this.localPlayersList, this.localteamlabel);
     this.localteamlabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.visitorPlayersList        = new global::LongoMatch.Gui.Component.PlayersListTreeWidget();
     this.visitorPlayersList.Events = ((global::Gdk.EventMask)(256));
     this.visitorPlayersList.Name   = "visitorPlayersList";
     this.notebook1.Add(this.visitorPlayersList);
     global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.visitorPlayersList]));
     w6.Position = 2;
     // Notebook tab
     this.visitorteamlabel           = new global::Gtk.Label();
     this.visitorteamlabel.Name      = "visitorteamlabel";
     this.visitorteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Visitor Team");
     this.notebook1.SetTabLabel(this.visitorPlayersList, this.visitorteamlabel);
     this.visitorteamlabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.tagsList           = new global::LongoMatch.Gui.Component.TagsTreeWidget();
     this.tagsList.Sensitive = false;
     this.tagsList.Events    = ((global::Gdk.EventMask)(256));
     this.tagsList.Name      = "tagsList";
     this.notebook1.Add(this.tagsList);
     global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.tagsList]));
     w7.Position = 3;
     // Notebook tab
     this.tagslabel           = new global::Gtk.Label();
     this.tagslabel.Name      = "tagslabel";
     this.tagslabel.LabelProp = global::Mono.Unix.Catalog.GetString("Tags");
     this.notebook1.SetTabLabel(this.tagsList, this.tagslabel);
     this.tagslabel.ShowAll();
     this.leftbox.Add(this.notebook1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.notebook1]));
     w8.Position = 0;
     this.hpaned.Add(this.leftbox);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox]));
     w9.Resize = false;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 834;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.downbox         = new global::Gtk.VBox();
     this.downbox.Name    = "downbox";
     this.downbox.Spacing = 6;
     // Container child downbox.Gtk.Box+BoxChild
     this.videowidgetsbox         = new global::Gtk.HBox();
     this.videowidgetsbox.Name    = "videowidgetsbox";
     this.videowidgetsbox.Spacing = 6;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.drawingtoolbox1        = new global::LongoMatch.Gui.Component.DrawingToolBox();
     this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256));
     this.drawingtoolbox1.Name   = "drawingtoolbox1";
     this.videowidgetsbox.Add(this.drawingtoolbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.player            = new global::LongoMatch.Gui.PlayerBin();
     this.player.Events     = ((global::Gdk.EventMask)(256));
     this.player.Name       = "player";
     this.player.Rate       = 1F;
     this.player.ExpandLogo = true;
     this.videowidgetsbox.Add(this.player);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.player]));
     w11.Position = 1;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.capturer        = new global::LongoMatch.Gui.CapturerBin();
     this.capturer.Events = ((global::Gdk.EventMask)(256));
     this.capturer.Name   = "capturer";
     this.videowidgetsbox.Add(this.capturer);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.capturer]));
     w12.Position = 2;
     this.downbox.Add(this.videowidgetsbox);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox]));
     w13.Position = 0;
     // Container child downbox.Gtk.Box+BoxChild
     this.buttonswidget        = new global::LongoMatch.Gui.Component.ButtonsWidget();
     this.buttonswidget.Events = ((global::Gdk.EventMask)(256));
     this.buttonswidget.Name   = "buttonswidget";
     this.downbox.Add(this.buttonswidget);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget]));
     w14.Position = 1;
     w14.Expand   = false;
     // Container child downbox.Gtk.Box+BoxChild
     this.gameunitstaggerwidget1        = new global::LongoMatch.Gui.Component.GameUnitsTagger();
     this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256));
     this.gameunitstaggerwidget1.Name   = "gameunitstaggerwidget1";
     this.downbox.Add(this.gameunitstaggerwidget1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1]));
     w15.Position = 2;
     w15.Expand   = false;
     this.hpaned1.Add(this.downbox);
     global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox]));
     w16.Resize = false;
     w16.Shrink = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.rightvbox = new global::Gtk.VBox();
     this.rightvbox.WidthRequest = 100;
     this.rightvbox.Name         = "rightvbox";
     this.rightvbox.Spacing      = 6;
     // Container child rightvbox.Gtk.Box+BoxChild
     this.notes        = new global::LongoMatch.Gui.Component.NotesWidget();
     this.notes.Events = ((global::Gdk.EventMask)(256));
     this.notes.Name   = "notes";
     this.rightvbox.Add(this.notes);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.notes]));
     w17.Position = 0;
     // Container child rightvbox.Gtk.Box+BoxChild
     this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget();
     this.playlist.WidthRequest = 100;
     this.playlist.Events       = ((global::Gdk.EventMask)(256));
     this.playlist.Name         = "playlist";
     this.rightvbox.Add(this.playlist);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.playlist]));
     w18.Position = 1;
     this.hpaned1.Add(this.rightvbox);
     global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.rightvbox]));
     w19.Resize = false;
     w19.Shrink = false;
     this.hpaned.Add(this.hpaned1);
     global::Gtk.Paned.PanedChild w20 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1]));
     w20.Resize = false;
     w20.Shrink = false;
     this.vbox1.Add(this.hpaned);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned]));
     w21.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.renderingstatebar1          = new global::LongoMatch.Gui.Component.RenderingStateBar();
     this.renderingstatebar1.Events   = ((global::Gdk.EventMask)(256));
     this.renderingstatebar1.Name     = "renderingstatebar1";
     this.renderingstatebar1.Fraction = 0;
     this.statusbar1.Add(this.renderingstatebar1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1]));
     w22.Position = 2;
     w22.Expand   = false;
     w22.Fill     = false;
     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  = 1224;
     this.DefaultHeight = 681;
     this.leftbox.Hide();
     this.drawingtoolbox1.Hide();
     this.buttonswidget.Hide();
     this.notes.Hide();
     this.playlist.Hide();
     this.rightvbox.Hide();
     this.renderingstatebar1.Hide();
     this.Show();
     this.NewPojectAction.Activated       += new global::System.EventHandler(this.OnNewActivated);
     this.openAction.Activated            += new global::System.EventHandler(this.OnOpenActivated);
     this.FullScreenAction.Toggled        += new global::System.EventHandler(this.OnFullScreenActionToggled);
     this.PlaylistAction.Toggled          += new global::System.EventHandler(this.OnPlaylistActionToggled);
     this.TaggingViewAction.Toggled       += new global::System.EventHandler(this.OnViewToggled);
     this.TimelineViewAction.Toggled      += new global::System.EventHandler(this.OnViewToggled);
     this.AboutAction.Activated           += new global::System.EventHandler(this.OnAboutActionActivated);
     this.HideAllWidgetsAction.Toggled    += new global::System.EventHandler(this.OnHideAllWidgetsActionToggled);
     this.HelpAction1.Activated           += new global::System.EventHandler(this.OnHelpAction1Activated);
     this.DrawingToolAction.Toggled       += new global::System.EventHandler(this.OnDrawingToolActionToggled);
     this.ManualTaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled);
     this.GameUnitsViewAction.Toggled     += new global::System.EventHandler(this.OnViewToggled);
     this.playsList.TimeNodeSelected      += new global::LongoMatch.Handlers.PlaySelectedHandler(this.OnTimeNodeSelected);
     this.player.Error += new global::LongoMatch.Video.Common.ErrorHandler(this.OnPlayerbin1Error);
     this.player.SegmentClosedEvent += new global::LongoMatch.Video.Common.SegmentClosedHandler(this.OnSegmentClosedEvent);
     this.capturer.Error            += new global::LongoMatch.Video.Common.ErrorHandler(this.OnCapturerBinError);
 }
Example #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.CargarAction            = new global::Gtk.Action("CargarAction", global::Mono.Unix.Catalog.GetString("Cargar"), null, null);
     this.CargarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cargar");
     w1.Add(this.CargarAction, null);
     this.openAction            = new global::Gtk.Action("openAction", null, null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load");
     w1.Add(this.openAction, null);
     this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save");
     w1.Add(this.saveAction, null);
     this.openAction1 = new global::Gtk.Action("openAction1", null, null, "gtk-open");
     w1.Add(this.openAction1, null);
     this.saveAction1 = new global::Gtk.Action("saveAction1", null, null, "gtk-save");
     w1.Add(this.saveAction1, null);
     this.dialogInfoAction = new global::Gtk.Action("dialogInfoAction", null, null, "gtk-dialog-info");
     w1.Add(this.dialogInfoAction, null);
     this.executeAction = new global::Gtk.Action("executeAction", null, null, "gtk-execute");
     w1.Add(this.executeAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("PAnalyzer");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.DefaultWidth   = 800;
     this.DefaultHeight  = 600;
     // 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='toolbar2'><toolitem name='openAction1' action='openAction1'/><toolitem name='saveAction1' action='saveAction1'/><toolitem name='executeAction' action='executeAction'/><toolitem name='dialogInfoAction' action='dialogInfoAction'/></toolbar></ui>");
     this.toolbar2              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2")));
     this.toolbar2.Name         = "toolbar2";
     this.toolbar2.ShowArrow    = false;
     this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.vbox1.Add(this.toolbar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.Tabs             = new global::Gtk.Notebook();
     this.Tabs.CanFocus    = true;
     this.Tabs.Name        = "Tabs";
     this.Tabs.CurrentPage = 0;
     this.Tabs.ShowBorder  = false;
     this.Tabs.BorderWidth = ((uint)(10));
     // Container child Tabs.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.m_Log          = new global::Gtk.TextView();
     this.m_Log.CanFocus = true;
     this.m_Log.Name     = "m_Log";
     this.m_Log.Editable = false;
     this.GtkScrolledWindow.Add(this.m_Log);
     this.Tabs.Add(this.GtkScrolledWindow);
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Summary");
     this.Tabs.SetTabLabel(this.GtkScrolledWindow, this.label2);
     this.label2.ShowAll();
     // Container child Tabs.Gtk.Notebook+NotebookChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 350;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.PeptidesView          = new global::Gtk.NodeView();
     this.PeptidesView.CanFocus = true;
     this.PeptidesView.Name     = "PeptidesView";
     this.GtkScrolledWindow2.Add(this.PeptidesView);
     this.vpaned1.Add(this.GtkScrolledWindow2);
     global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow2]));
     w6.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow5            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow5.Name       = "GtkScrolledWindow5";
     this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild
     this.textviewFrag               = new global::Gtk.TextView();
     this.textviewFrag.CanFocus      = true;
     this.textviewFrag.Name          = "textviewFrag";
     this.textviewFrag.Editable      = false;
     this.textviewFrag.CursorVisible = false;
     this.GtkScrolledWindow5.Add(this.textviewFrag);
     this.vpaned1.Add(this.GtkScrolledWindow5);
     this.Tabs.Add(this.vpaned1);
     global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.Tabs [this.vpaned1]));
     w9.Position = 1;
     // Notebook tab
     this.peptides           = new global::Gtk.Label();
     this.peptides.Name      = "peptides";
     this.peptides.LabelProp = global::Mono.Unix.Catalog.GetString("Peptides");
     this.Tabs.SetTabLabel(this.vpaned1, this.peptides);
     this.peptides.ShowAll();
     // Container child Tabs.Gtk.Notebook+NotebookChild
     this.vpaned2          = new global::Gtk.VPaned();
     this.vpaned2.CanFocus = true;
     this.vpaned2.Name     = "vpaned2";
     this.vpaned2.Position = 350;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.GtkScrolledWindow3            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow3.Name       = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.ProteinsView          = new global::Gtk.NodeView();
     this.ProteinsView.CanFocus = true;
     this.ProteinsView.Name     = "ProteinsView";
     this.GtkScrolledWindow3.Add(this.ProteinsView);
     this.vpaned2.Add(this.GtkScrolledWindow3);
     global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.GtkScrolledWindow3]));
     w11.Resize = false;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.GtkScrolledWindow4            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow4.Name       = "GtkScrolledWindow4";
     this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
     this.textviewProt               = new global::Gtk.TextView();
     this.textviewProt.CanFocus      = true;
     this.textviewProt.Name          = "textviewProt";
     this.textviewProt.Editable      = false;
     this.textviewProt.CursorVisible = false;
     this.GtkScrolledWindow4.Add(this.textviewProt);
     this.vpaned2.Add(this.GtkScrolledWindow4);
     this.Tabs.Add(this.vpaned2);
     global::Gtk.Notebook.NotebookChild w14 = ((global::Gtk.Notebook.NotebookChild)(this.Tabs [this.vpaned2]));
     w14.Position = 2;
     // Notebook tab
     this.Proteins           = new global::Gtk.Label();
     this.Proteins.Name      = "Proteins";
     this.Proteins.LabelProp = global::Mono.Unix.Catalog.GetString("Proteins");
     this.Tabs.SetTabLabel(this.vpaned2, this.Proteins);
     this.Proteins.ShowAll();
     this.vbox1.Add(this.Tabs);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.Tabs]));
     w15.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent                += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.openAction1.Activated      += new global::System.EventHandler(this.OnOpenActionActivated);
     this.saveAction1.Activated      += new global::System.EventHandler(this.OnSaveActionActivated);
     this.dialogInfoAction.Activated += new global::System.EventHandler(this.OnDialogInfoActionActivated);
     this.executeAction.Activated    += new global::System.EventHandler(this.OnExecuteActionActivated);
 }
Example #46
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, "<Alt>f");
     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, "<Primary>o");
     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, "<Primary>q");
     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, "<Primary>s");
     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, "<Alt>f");
     this.AnimationsAction            = new global::Gtk.ToggleAction("AnimationsAction", global::Mono.Unix.Catalog.GetString("_Animations"), null, null);
     this.AnimationsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Animations");
     w1.Add(this.AnimationsAction, "<Primary>a");
     this.RedrawMinimapsAction            = new global::Gtk.Action("RedrawMinimapsAction", global::Mono.Unix.Catalog.GetString("Redraw Minimaps"), null, null);
     this.RedrawMinimapsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redraw Minimaps");
     w1.Add(this.RedrawMinimapsAction, 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, "<Alt>e");
     this.WarpsAction            = new global::Gtk.Action("WarpsAction", global::Mono.Unix.Catalog.GetString("_Warps"), null, null);
     this.WarpsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Warps");
     w1.Add(this.WarpsAction, "<Primary>w");
     this.PluginsAction            = new global::Gtk.Action("PluginsAction", global::Mono.Unix.Catalog.GetString("Plugins"), null, null);
     this.PluginsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Plugins");
     w1.Add(this.PluginsAction, null);
     this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open");
     w1.Add(this.openAction, 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("Lynna Lab");
     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='SaveAction' action='SaveAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='WarpsAction' action='WarpsAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='AnimationsAction' action='AnimationsAction'/></menu><menu name='PluginsAction' action='PluginsAction'/></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='openAction' action='openAction'/><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 = 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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.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.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Room");
     this.table4.Add(this.label3);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.label3]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.roomSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.roomSpinButton.CanFocus                 = true;
     this.roomSpinButton.Name                     = "roomSpinButton";
     this.roomSpinButton.Adjustment.Upper         = 1535;
     this.roomSpinButton.Adjustment.PageIncrement = 10;
     this.roomSpinButton.Adjustment.StepIncrement = 1;
     this.roomSpinButton.ClimbRate                = 1;
     this.roomSpinButton.Digits                   = ((uint)(3));
     this.roomSpinButton.Numeric                  = true;
     this.table4.Add(this.roomSpinButton);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table4 [this.roomSpinButton]));
     w5.LeftAttach  = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions    = ((global::Gtk.AttachOptions)(4));
     w5.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox5.Add(this.table4);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table4]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame1      = new global::Gtk.Frame();
     this.frame1.Name = "frame1";
     // 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.table3               = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.areaEditorButton              = new global::Gtk.Button();
     this.areaEditorButton.CanFocus     = true;
     this.areaEditorButton.Name         = "areaEditorButton";
     this.areaEditorButton.UseUnderline = true;
     this.areaEditorButton.Label        = global::Mono.Unix.Catalog.GetString("Edit");
     this.table3.Add(this.areaEditorButton);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.areaEditorButton]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(2));
     w7.RightAttach  = ((uint)(3));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.areaSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.areaSpinButton.CanFocus                 = true;
     this.areaSpinButton.Name                     = "areaSpinButton";
     this.areaSpinButton.Adjustment.Upper         = 255;
     this.areaSpinButton.Adjustment.PageIncrement = 10;
     this.areaSpinButton.Adjustment.StepIncrement = 1;
     this.areaSpinButton.ClimbRate                = 1;
     this.areaSpinButton.Digits                   = ((uint)(2));
     this.areaSpinButton.Numeric                  = true;
     this.table3.Add(this.areaSpinButton);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.areaSpinButton]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Music");
     this.table3.Add(this.label4);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4]));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Area");
     this.table3.Add(this.label8);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.label8]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.musicComboBox             = new global::LynnaLab.ComboBoxFromConstants();
     this.musicComboBox.Events      = ((global::Gdk.EventMask)(256));
     this.musicComboBox.Name        = "musicComboBox";
     this.musicComboBox.Active      = 0;
     this.musicComboBox.ActiveValue = 0;
     this.table3.Add(this.musicComboBox);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.musicComboBox]));
     w11.LeftAttach  = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions    = ((global::Gtk.AttachOptions)(4));
     w11.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.GtkAlignment.Add(this.table3);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel6           = new global::Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Room Properties");
     this.GtkLabel6.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel6;
     this.vbox5.Add(this.frame1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame1]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame2      = new global::Gtk.Frame();
     this.frame2.Name = "frame2";
     // 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.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.viewObjectsCheckBox               = new global::Gtk.CheckButton();
     this.viewObjectsCheckBox.CanFocus      = true;
     this.viewObjectsCheckBox.Name          = "viewObjectsCheckBox";
     this.viewObjectsCheckBox.Label         = global::Mono.Unix.Catalog.GetString("View Objects");
     this.viewObjectsCheckBox.DrawIndicator = true;
     this.viewObjectsCheckBox.UseUnderline  = true;
     this.viewObjectsCheckBox.FocusOnClick  = false;
     this.vbox6.Add(this.viewObjectsCheckBox);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.viewObjectsCheckBox]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.objectgroupeditor1               = new global::LynnaLab.ObjectGroupEditor();
     this.objectgroupeditor1.Events        = ((global::Gdk.EventMask)(256));
     this.objectgroupeditor1.Name          = "objectgroupeditor1";
     this.objectgroupeditor1.SelectedIndex = 0;
     this.vbox6.Add(this.objectgroupeditor1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.objectgroupeditor1]));
     w16.Position = 1;
     this.GtkAlignment1.Add(this.vbox6);
     this.frame2.Add(this.GtkAlignment1);
     this.GtkLabel10           = new global::Gtk.Label();
     this.GtkLabel10.Name      = "GtkLabel10";
     this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("Objects");
     this.GtkLabel10.UseMarkup = true;
     this.frame2.LabelWidget   = this.GtkLabel10;
     this.vbox5.Add(this.frame2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame2]));
     w19.PackType = ((global::Gtk.PackType)(1));
     w19.Position = 2;
     this.hbox1.Add(this.vbox5);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // 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.areaviewer1 = new global::LynnaLab.AreaViewer();
     this.areaviewer1.WidthRequest  = 256;
     this.areaviewer1.HeightRequest = 256;
     this.areaviewer1.Name          = "areaviewer1";
     this.vbox3.Add(this.areaviewer1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.areaviewer1]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.roomeditor1 = new global::LynnaLab.RoomEditor();
     this.roomeditor1.WidthRequest  = 240;
     this.roomeditor1.HeightRequest = 224;
     this.roomeditor1.Name          = "roomeditor1";
     this.roomeditor1.ViewObjects   = false;
     this.vbox3.Add(this.roomeditor1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.roomeditor1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     this.hbox1.Add(this.vbox3);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     this.hbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox1]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     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.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("World Index");
     this.table2.Add(this.label7);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.worldSpinButton          = new global::Gtk.SpinButton(0, 100, 1);
     this.worldSpinButton.CanFocus = true;
     this.worldSpinButton.Name     = "worldSpinButton";
     this.worldSpinButton.Adjustment.PageIncrement = 10;
     this.worldSpinButton.ClimbRate = 1;
     this.worldSpinButton.Numeric   = true;
     this.table2.Add(this.worldSpinButton);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.worldSpinButton]));
     w26.LeftAttach  = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions    = ((global::Gtk.AttachOptions)(4));
     w26.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add(this.table2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table2]));
     w27.Position = 0;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.darkenDungeonRoomsCheckbox               = new global::Gtk.CheckButton();
     this.darkenDungeonRoomsCheckbox.CanFocus      = true;
     this.darkenDungeonRoomsCheckbox.Name          = "darkenDungeonRoomsCheckbox";
     this.darkenDungeonRoomsCheckbox.Label         = global::Mono.Unix.Catalog.GetString("Darken used dungeon rooms");
     this.darkenDungeonRoomsCheckbox.Active        = true;
     this.darkenDungeonRoomsCheckbox.DrawIndicator = true;
     this.darkenDungeonRoomsCheckbox.UseUnderline  = true;
     this.vbox4.Add(this.darkenDungeonRoomsCheckbox);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.darkenDungeonRoomsCheckbox]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.worldMinimap       = new global::LynnaLab.HighlightingMinimap();
     this.worldMinimap.Name  = "worldMinimap";
     this.worldMinimap.Floor = 0;
     this.vbox4.Add(this.worldMinimap);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.worldMinimap]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     this.notebook2.Add(this.vbox4);
     // Notebook tab
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Worlds");
     this.notebook2.SetTabLabel(this.vbox4, this.label5);
     this.label5.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.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.dungeonSpinButton          = new global::Gtk.SpinButton(0, 100, 1);
     this.dungeonSpinButton.CanFocus = true;
     this.dungeonSpinButton.Name     = "dungeonSpinButton";
     this.dungeonSpinButton.Adjustment.PageIncrement = 10;
     this.dungeonSpinButton.ClimbRate = 1;
     this.dungeonSpinButton.Numeric   = true;
     this.table1.Add(this.dungeonSpinButton);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.dungeonSpinButton]));
     w31.LeftAttach  = ((uint)(1));
     w31.RightAttach = ((uint)(2));
     w31.XOptions    = ((global::Gtk.AttachOptions)(4));
     w31.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.floorSpinButton          = new global::Gtk.SpinButton(0, 100, 1);
     this.floorSpinButton.CanFocus = true;
     this.floorSpinButton.Name     = "floorSpinButton";
     this.floorSpinButton.Adjustment.PageIncrement = 10;
     this.floorSpinButton.ClimbRate = 1;
     this.floorSpinButton.Numeric   = true;
     this.table1.Add(this.floorSpinButton);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.floorSpinButton]));
     w32.TopAttach    = ((uint)(1));
     w32.BottomAttach = ((uint)(2));
     w32.LeftAttach   = ((uint)(1));
     w32.RightAttach  = ((uint)(2));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Floor");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w33.TopAttach    = ((uint)(1));
     w33.BottomAttach = ((uint)(2));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Dungeon Index");
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox7.Add(this.table1);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.table1]));
     w35.Position = 0;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.dungeonMinimap = new global::LynnaLab.Minimap();
     this.dungeonMinimap.WidthRequest  = 240;
     this.dungeonMinimap.HeightRequest = 176;
     this.dungeonMinimap.Name          = "dungeonMinimap";
     this.dungeonMinimap.Floor         = 0;
     this.vbox7.Add(this.dungeonMinimap);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.dungeonMinimap]));
     w36.Position = 1;
     w36.Expand   = false;
     w36.Fill     = false;
     this.notebook2.Add(this.vbox7);
     global::Gtk.Notebook.NotebookChild w37 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox7]));
     w37.Position = 1;
     // Notebook tab
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Dungeons");
     this.notebook2.SetTabLabel(this.vbox7, this.label9);
     this.label9.ShowAll();
     this.hbox3.Add(this.notebook2);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.notebook2]));
     w38.Position = 1;
     w38.Expand   = false;
     w38.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.alignment2      = new global::Gtk.Alignment(0.5F, 0F, 1F, 0.53F);
     this.alignment2.Name = "alignment2";
     this.hbox3.Add(this.alignment2);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment2]));
     w39.Position = 2;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w40.Position = 2;
     w40.Expand   = false;
     w40.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 w41 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w41.PackType = ((global::Gtk.PackType)(1));
     w41.Position = 3;
     w41.Expand   = false;
     w41.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 974;
     this.DefaultHeight = 627;
     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.SaveAction.Activated               += new global::System.EventHandler(this.OnSaveActionActivated);
     this.AnimationsAction.Activated         += new global::System.EventHandler(this.OnAnimationsActionActivated);
     this.WarpsAction.Activated              += new global::System.EventHandler(this.OnWarpsActionActivated);
     this.openAction.Activated               += new global::System.EventHandler(this.OnOpenActionActivated);
     this.saveAction.Activated               += new global::System.EventHandler(this.OnSaveActionActivated);
     this.roomSpinButton.ValueChanged        += new global::System.EventHandler(this.OnRoomSpinButtonValueChanged);
     this.musicComboBox.Changed              += new global::System.EventHandler(this.OnMusicComboBoxChanged);
     this.areaSpinButton.ValueChanged        += new global::System.EventHandler(this.OnAreaSpinButtonValueChanged);
     this.areaEditorButton.Clicked           += new global::System.EventHandler(this.OnAreaEditorButtonClicked);
     this.viewObjectsCheckBox.Toggled        += new global::System.EventHandler(this.OnViewObjectsCheckBoxToggled);
     this.notebook2.SwitchPage               += new global::Gtk.SwitchPageHandler(this.OnNotebook2SwitchPage);
     this.worldSpinButton.ValueChanged       += new global::System.EventHandler(this.OnWorldSpinButtonValueChanged);
     this.darkenDungeonRoomsCheckbox.Toggled += new global::System.EventHandler(this.OnDarkenDungeonRoomsCheckboxToggled);
     this.floorSpinButton.ValueChanged       += new global::System.EventHandler(this.OnFloorSpinButtonValueChanged);
     this.dungeonSpinButton.ValueChanged     += new global::System.EventHandler(this.OnDungeonSpinButtonValueChanged);
 }
Example #47
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget cSharphomework2.Window1
     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           = "cSharphomework2.Window1";
     this.Title          = global::Mono.Unix.Catalog.GetString("Window1");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child cSharphomework2.Window1.Gtk.Container+ContainerChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 109;
     // 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.textview1                  = new global::Gtk.TextView();
     this.textview1.CanFocus         = true;
     this.textview1.Name             = "textview1";
     this.textview1.Editable         = false;
     this.textview1.CursorVisible    = false;
     this.textview1.AcceptsTab       = false;
     this.textview1.Justification    = ((global::Gtk.Justification)(2));
     this.textview1.WrapMode         = ((global::Gtk.WrapMode)(2));
     this.textview1.PixelsBelowLines = 5;
     this.GtkScrolledWindow.Add(this.textview1);
     this.vpaned1.Add(this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindow]));
     w3.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.eventbox1      = new global::Gtk.EventBox();
     this.eventbox1.Name = "eventbox1";
     // Container child eventbox1.Gtk.Container+ContainerChild
     this.table6               = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table6.Name          = "table6";
     this.table6.RowSpacing    = ((uint)(6));
     this.table6.ColumnSpacing = ((uint)(6));
     // Container child table6.Gtk.Table+TableChild
     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("Sort");
     global::Gtk.Image w4 = new global::Gtk.Image();
     w4.Pixbuf          = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu);
     this.button3.Image = w4;
     this.table6.Add(this.button3);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table6[this.button3]));
     w5.LeftAttach  = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions    = ((global::Gtk.AttachOptions)(0));
     // Container child table6.Gtk.Table+TableChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textview6          = new global::Gtk.TextView();
     this.textview6.CanFocus = true;
     this.textview6.Name     = "textview6";
     this.GtkScrolledWindow1.Add(this.textview6);
     this.table6.Add(this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table6[this.GtkScrolledWindow1]));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.textview7               = new global::Gtk.TextView();
     this.textview7.CanFocus      = true;
     this.textview7.Name          = "textview7";
     this.textview7.Editable      = false;
     this.textview7.CursorVisible = false;
     this.GtkScrolledWindow2.Add(this.textview7);
     this.table6.Add(this.GtkScrolledWindow2);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table6[this.GtkScrolledWindow2]));
     w9.LeftAttach  = ((uint)(2));
     w9.RightAttach = ((uint)(3));
     w9.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.button4              = new global::Gtk.Button();
     this.button4.CanFocus     = true;
     this.button4.Name         = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label        = global::Mono.Unix.Catalog.GetString("Ok");
     global::Gtk.Image w10 = new global::Gtk.Image();
     w10.Pixbuf         = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu);
     this.button4.Image = w10;
     this.hbox2.Add(this.button4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.button4]));
     w11.Position = 2;
     this.table6.Add(this.hbox2);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table6[this.hbox2]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(3));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.eventbox1.Add(this.table6);
     this.vpaned1.Add(this.eventbox1);
     this.Add(this.vpaned1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 649;
     this.DefaultHeight = 252;
     this.Show();
     this.button4.Pressed += new global::System.EventHandler(this.OnButton4Pressed);
     this.button3.Pressed += new global::System.EventHandler(this.OnButton3Pressed);
 }
Example #48
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.DriveMenu            = new global::Gtk.Action("DriveMenu", global::Mono.Unix.Catalog.GetString("Drive"), null, "gtk-open");
     this.DriveMenu.ShortLabel = global::Mono.Unix.Catalog.GetString("Drive");
     w1.Add(this.DriveMenu, null);
     this.bntConnectLeft            = new global::Gtk.Action("bntConnectLeft", global::Mono.Unix.Catalog.GetString("Connect Left"), null, "gtk-yes");
     this.bntConnectLeft.ShortLabel = global::Mono.Unix.Catalog.GetString("Connect");
     w1.Add(this.bntConnectLeft, null);
     this.bntDisconnect            = new global::Gtk.Action("bntDisconnect", global::Mono.Unix.Catalog.GetString("Disconnect"), null, "gtk-no");
     this.bntDisconnect.ShortLabel = global::Mono.Unix.Catalog.GetString("Disconnected");
     w1.Add(this.bntDisconnect, null);
     this.bntCreateMirror            = new global::Gtk.Action("bntCreateMirror", global::Mono.Unix.Catalog.GetString("Create Mirror"), null, "gtk-copy");
     this.bntCreateMirror.ShortLabel = global::Mono.Unix.Catalog.GetString("Create Mirror");
     w1.Add(this.bntCreateMirror, null);
     this.bntConnectRigth            = new global::Gtk.Action("bntConnectRigth", global::Mono.Unix.Catalog.GetString("Connect Rigth"), null, "gtk-yes");
     this.bntConnectRigth.ShortLabel = global::Mono.Unix.Catalog.GetString("Connect Rigth");
     w1.Add(this.bntConnectRigth, null);
     this.bntChangeCredentials            = new global::Gtk.Action("bntChangeCredentials", global::Mono.Unix.Catalog.GetString("Change API Credentials"), null, "gtk-preferences");
     this.bntChangeCredentials.ShortLabel = global::Mono.Unix.Catalog.GetString("Change API Credentials");
     w1.Add(this.bntChangeCredentials, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("DriveMirror");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.HorizontalSpliter         = new global::Gtk.VBox();
     this.HorizontalSpliter.Name    = "HorizontalSpliter";
     this.HorizontalSpliter.Spacing = 6;
     // Container child HorizontalSpliter.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='MenuBar'><menu name='DriveMenu' action='DriveMenu'><menuitem name='bntConnectLeft' action='bntConnectLeft'/><menuitem name='bntConnectRigth' action='bntConnectRigth'/><menuitem name='bntDisconnect' action='bntDisconnect'/><menuitem name='bntCreateMirror' action='bntCreateMirror'/><menuitem name='bntChangeCredentials' action='bntChangeCredentials'/></menu></menubar></ui>");
     this.MenuBar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/MenuBar")));
     this.MenuBar.Name = "MenuBar";
     this.HorizontalSpliter.Add(this.MenuBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.HorizontalSpliter[this.MenuBar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child HorizontalSpliter.Gtk.Box+BoxChild
     this.CenterSpliter         = new global::Gtk.HBox();
     this.CenterSpliter.Name    = "CenterSpliter";
     this.CenterSpliter.Spacing = 6;
     // Container child CenterSpliter.Gtk.Box+BoxChild
     this.HoriSplitter          = new global::Gtk.HPaned();
     this.HoriSplitter.CanFocus = true;
     this.HoriSplitter.Name     = "HoriSplitter";
     this.HoriSplitter.Position = 366;
     // Container child HoriSplitter.Gtk.Paned+PanedChild
     this.LeftSpliter           = new global::Gtk.VBox();
     this.LeftSpliter.Sensitive = false;
     this.LeftSpliter.Name      = "LeftSpliter";
     this.LeftSpliter.Spacing   = 6;
     // Container child LeftSpliter.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.LeftPathBox               = new global::Gtk.Entry();
     this.LeftPathBox.CanFocus      = true;
     this.LeftPathBox.Name          = "LeftPathBox";
     this.LeftPathBox.Text          = global::Mono.Unix.Catalog.GetString("/");
     this.LeftPathBox.IsEditable    = true;
     this.LeftPathBox.InvisibleChar = '●';
     this.hbox1.Add(this.LeftPathBox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.LeftPathBox]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.bntLeftOpen              = new global::Gtk.Button();
     this.bntLeftOpen.CanFocus     = true;
     this.bntLeftOpen.Name         = "bntLeftOpen";
     this.bntLeftOpen.UseUnderline = true;
     this.bntLeftOpen.Label        = global::Mono.Unix.Catalog.GetString("Open");
     this.hbox1.Add(this.bntLeftOpen);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.bntLeftOpen]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.LeftSpliter.Add(this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.LeftSpliter[this.hbox1]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child LeftSpliter.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.LeftNodeList          = new global::Gtk.NodeView();
     this.LeftNodeList.CanFocus = true;
     this.LeftNodeList.Name     = "LeftNodeList";
     this.GtkScrolledWindow1.Add(this.LeftNodeList);
     this.LeftSpliter.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.LeftSpliter[this.GtkScrolledWindow1]));
     w7.Position = 1;
     this.HoriSplitter.Add(this.LeftSpliter);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.HoriSplitter[this.LeftSpliter]));
     w8.Resize = false;
     // Container child HoriSplitter.Gtk.Paned+PanedChild
     this.RigthSpliter           = new global::Gtk.VBox();
     this.RigthSpliter.Sensitive = false;
     this.RigthSpliter.Name      = "RigthSpliter";
     this.RigthSpliter.Spacing   = 6;
     // Container child RigthSpliter.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.RigthPathBox               = new global::Gtk.Entry();
     this.RigthPathBox.CanFocus      = true;
     this.RigthPathBox.Name          = "RigthPathBox";
     this.RigthPathBox.Text          = global::Mono.Unix.Catalog.GetString("/");
     this.RigthPathBox.IsEditable    = true;
     this.RigthPathBox.InvisibleChar = '●';
     this.hbox2.Add(this.RigthPathBox);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.RigthPathBox]));
     w9.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.bntRigthOpen              = new global::Gtk.Button();
     this.bntRigthOpen.CanFocus     = true;
     this.bntRigthOpen.Name         = "bntRigthOpen";
     this.bntRigthOpen.UseUnderline = true;
     this.bntRigthOpen.Label        = global::Mono.Unix.Catalog.GetString("Open");
     this.hbox2.Add(this.bntRigthOpen);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.bntRigthOpen]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.RigthSpliter.Add(this.hbox2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.RigthSpliter[this.hbox2]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child RigthSpliter.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.RightNodeList          = new global::Gtk.NodeView();
     this.RightNodeList.CanFocus = true;
     this.RightNodeList.Name     = "RightNodeList";
     this.GtkScrolledWindow2.Add(this.RightNodeList);
     this.RigthSpliter.Add(this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.RigthSpliter[this.GtkScrolledWindow2]));
     w13.Position = 1;
     this.HoriSplitter.Add(this.RigthSpliter);
     this.CenterSpliter.Add(this.HoriSplitter);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.CenterSpliter[this.HoriSplitter]));
     w15.Position = 0;
     this.HorizontalSpliter.Add(this.CenterSpliter);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.HorizontalSpliter[this.CenterSpliter]));
     w16.Position = 1;
     // Container child HorizontalSpliter.Gtk.Box+BoxChild
     this.StatusBar         = new global::Gtk.Statusbar();
     this.StatusBar.Name    = "StatusBar";
     this.StatusBar.Spacing = 6;
     // Container child StatusBar.Gtk.Box+BoxChild
     this.lblStatus           = new global::Gtk.Label();
     this.lblStatus.Name      = "lblStatus";
     this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString("<span foreground=\"#FF0000\">Not Connected</span>");
     this.lblStatus.UseMarkup = true;
     this.StatusBar.Add(this.lblStatus);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.StatusBar[this.lblStatus]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     this.HorizontalSpliter.Add(this.StatusBar);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.HorizontalSpliter[this.StatusBar]));
     w18.Position = 2;
     w18.Expand   = false;
     w18.Fill     = false;
     this.Add(this.HorizontalSpliter);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 741;
     this.DefaultHeight = 512;
     this.Show();
     this.bntConnectLeft.Activated         += new global::System.EventHandler(this.OnConnectLeftClicked);
     this.bntDisconnect.Activated          += new global::System.EventHandler(this.OnDisconnectClicked);
     this.bntCreateMirror.Activated        += new global::System.EventHandler(this.OnCreateMirrorClicked);
     this.bntConnectRigth.Activated        += new global::System.EventHandler(this.OnConnectRigthClicked);
     this.bntChangeCredentials.Activated   += new global::System.EventHandler(this.ChangeCredentialsClicked);
     this.bntLeftOpen.Clicked              += new global::System.EventHandler(this.OnLeftOpenClicked);
     this.LeftNodeList.RowActivated        += new global::Gtk.RowActivatedHandler(this.OnLeftRowActivated);
     this.LeftNodeList.ButtonReleaseEvent  += new global::Gtk.ButtonReleaseEventHandler(this.OnLeftClickRelease);
     this.bntRigthOpen.Clicked             += new global::System.EventHandler(this.OnRigthOpenClicked);
     this.RightNodeList.RowActivated       += new global::Gtk.RowActivatedHandler(this.OnRigthRowActivated);
     this.RightNodeList.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnRigthClickRelease);
 }
 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.GameAction            = new global::Gtk.Action("GameAction", global::Mono.Unix.Catalog.GetString("Game"), null, null);
     this.GameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game");
     w1.Add(this.GameAction, null);
     this.NewGameAction            = new global::Gtk.Action("NewGameAction", global::Mono.Unix.Catalog.GetString("New game"), null, null);
     this.NewGameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New game");
     w1.Add(this.NewGameAction, 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.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.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("Backgammon by Horatiu");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Resizable      = false;
     this.AllowGrow      = false;
     this.DefaultWidth   = 720;
     this.DefaultHeight  = 624;
     // 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='TopMenu'><menu name='FileAction' action='FileAction'><menuitem name='ExitAction' action='ExitAction'/><menuitem name='AboutAction' action='AboutAction'/></menu><menu name='GameAction' action='GameAction'><menuitem name='NewGameAction' action='NewGameAction'/></menu></menubar></ui>");
     this.TopMenu      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/TopMenu")));
     this.TopMenu.Name = "TopMenu";
     this.vbox1.Add(this.TopMenu);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.TopMenu]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.da      = new global::Gtk.DrawingArea();
     this.da.Name = "da";
     this.vbox1.Add(this.da);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.da]));
     w3.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.ExitAction.Activated  += new global::System.EventHandler(this.OnExitActionActivated);
     this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated);
     this.da.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnDaButtonReleaseEvent);
     this.da.ButtonPressEvent   += new global::Gtk.ButtonPressEventHandler(this.OnDaButtonPressEvent);
     this.da.MotionNotifyEvent  += new global::Gtk.MotionNotifyEventHandler(this.OnDaMotionNotifyEvent);
 }
 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.MeVuelvoLocoAction            = new global::Gtk.Action("MeVuelvoLocoAction", global::Mono.Unix.Catalog.GetString("Me vuelvo loco"), null, null);
     this.MeVuelvoLocoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Me vuelvo loco");
     w1.Add(this.MeVuelvoLocoAction, null);
     this.TuViejaAction            = new global::Gtk.Action("TuViejaAction", global::Mono.Unix.Catalog.GetString("Tu vieja"), null, null);
     this.TuViejaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tu vieja");
     w1.Add(this.TuViejaAction, null);
     this.LaTuyaAction            = new global::Gtk.Action("LaTuyaAction", global::Mono.Unix.Catalog.GetString("La tuya"), null, null);
     this.LaTuyaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("La tuya");
     w1.Add(this.LaTuyaAction, 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.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.EntrarAction            = new global::Gtk.Action("EntrarAction", global::Mono.Unix.Catalog.GetString("Entrar"), null, null);
     this.EntrarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Entrar");
     w1.Add(this.EntrarAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.CanDefault     = true;
     this.CanFocus       = true;
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Calculadora");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(10));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3      = new global::Gtk.HBox();
     this.hbox3.Name = "hbox3";
     // Container child hbox3.Gtk.Box+BoxChild
     this.label1        = new global::Gtk.Label();
     this.label1.Name   = "label1";
     this.label1.Xpad   = 5;
     this.label1.Xalign = 0F;
     this.hbox3.Add(this.label1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label1]));
     w2.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.alignment4      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment4.Name = "alignment4";
     this.hbox3.Add(this.alignment4);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.alignment4]));
     w3.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.buttonLimpiar              = new global::Gtk.Button();
     this.buttonLimpiar.CanFocus     = true;
     this.buttonLimpiar.Name         = "buttonLimpiar";
     this.buttonLimpiar.UseUnderline = true;
     this.buttonLimpiar.Label        = global::Mono.Unix.Catalog.GetString("C");
     this.hbox3.Add(this.buttonLimpiar);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonLimpiar]));
     w4.PackType = ((global::Gtk.PackType)(1));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Padding  = ((uint)(4));
     this.vbox3.Add(this.hbox3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbuttonbox5      = new global::Gtk.HButtonBox();
     this.hbuttonbox5.Name = "hbuttonbox5";
     // Container child hbuttonbox5.Gtk.ButtonBox+ButtonBoxChild
     this.button_7              = new global::Gtk.Button();
     this.button_7.CanFocus     = true;
     this.button_7.Name         = "button_7";
     this.button_7.UseUnderline = true;
     this.button_7.Label        = global::Mono.Unix.Catalog.GetString("7");
     this.hbuttonbox5.Add(this.button_7);
     global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox5[this.button_7]));
     w6.Expand = false;
     w6.Fill   = false;
     // Container child hbuttonbox5.Gtk.ButtonBox+ButtonBoxChild
     this.button_8              = new global::Gtk.Button();
     this.button_8.CanFocus     = true;
     this.button_8.Name         = "button_8";
     this.button_8.UseUnderline = true;
     this.button_8.Label        = global::Mono.Unix.Catalog.GetString("8");
     this.hbuttonbox5.Add(this.button_8);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox5[this.button_8]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbuttonbox5.Gtk.ButtonBox+ButtonBoxChild
     this.button_9              = new global::Gtk.Button();
     this.button_9.CanFocus     = true;
     this.button_9.Name         = "button_9";
     this.button_9.UseUnderline = true;
     this.button_9.Label        = global::Mono.Unix.Catalog.GetString("9");
     this.hbuttonbox5.Add(this.button_9);
     global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox5[this.button_9]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbuttonbox5.Gtk.ButtonBox+ButtonBoxChild
     this.buttonSuma              = new global::Gtk.Button();
     this.buttonSuma.CanFocus     = true;
     this.buttonSuma.Name         = "buttonSuma";
     this.buttonSuma.UseUnderline = true;
     this.buttonSuma.Label        = global::Mono.Unix.Catalog.GetString("+");
     this.hbuttonbox5.Add(this.buttonSuma);
     global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox5[this.buttonSuma]));
     w9.Position = 3;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox3.Add(this.hbuttonbox5);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox5]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbuttonbox4      = new global::Gtk.HButtonBox();
     this.hbuttonbox4.Name = "hbuttonbox4";
     // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
     this.button_4              = new global::Gtk.Button();
     this.button_4.CanFocus     = true;
     this.button_4.Name         = "button_4";
     this.button_4.UseUnderline = true;
     this.button_4.Label        = global::Mono.Unix.Catalog.GetString("4");
     this.hbuttonbox4.Add(this.button_4);
     global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.button_4]));
     w11.Expand = false;
     w11.Fill   = false;
     // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
     this.button_5              = new global::Gtk.Button();
     this.button_5.CanFocus     = true;
     this.button_5.Name         = "button_5";
     this.button_5.UseUnderline = true;
     this.button_5.Label        = global::Mono.Unix.Catalog.GetString("5");
     this.hbuttonbox4.Add(this.button_5);
     global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.button_5]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
     this.button_6              = new global::Gtk.Button();
     this.button_6.CanFocus     = true;
     this.button_6.Name         = "button_6";
     this.button_6.UseUnderline = true;
     this.button_6.Label        = global::Mono.Unix.Catalog.GetString("6");
     this.hbuttonbox4.Add(this.button_6);
     global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.button_6]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
     this.button_menos              = new global::Gtk.Button();
     this.button_menos.CanFocus     = true;
     this.button_menos.Name         = "button_menos";
     this.button_menos.UseUnderline = true;
     this.button_menos.Label        = global::Mono.Unix.Catalog.GetString("-");
     this.hbuttonbox4.Add(this.button_menos);
     global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.button_menos]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     this.vbox3.Add(this.hbuttonbox4);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox4]));
     w15.Position = 2;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbuttonbox3      = new global::Gtk.HButtonBox();
     this.hbuttonbox3.Name = "hbuttonbox3";
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.button_1              = new global::Gtk.Button();
     this.button_1.CanFocus     = true;
     this.button_1.Name         = "button_1";
     this.button_1.UseUnderline = true;
     this.button_1.Label        = global::Mono.Unix.Catalog.GetString("1");
     this.hbuttonbox3.Add(this.button_1);
     global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.button_1]));
     w16.Expand = false;
     w16.Fill   = false;
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.button_2              = new global::Gtk.Button();
     this.button_2.CanFocus     = true;
     this.button_2.Name         = "button_2";
     this.button_2.UseUnderline = true;
     this.button_2.Label        = global::Mono.Unix.Catalog.GetString("2");
     this.hbuttonbox3.Add(this.button_2);
     global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.button_2]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.button_3              = new global::Gtk.Button();
     this.button_3.CanFocus     = true;
     this.button_3.Name         = "button_3";
     this.button_3.UseUnderline = true;
     this.button_3.Label        = global::Mono.Unix.Catalog.GetString("3");
     this.hbuttonbox3.Add(this.button_3);
     global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.button_3]));
     w18.Position = 2;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.button_Mult              = new global::Gtk.Button();
     this.button_Mult.CanFocus     = true;
     this.button_Mult.Name         = "button_Mult";
     this.button_Mult.UseUnderline = true;
     this.button_Mult.Label        = global::Mono.Unix.Catalog.GetString("*");
     this.hbuttonbox3.Add(this.button_Mult);
     global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.button_Mult]));
     w19.Position = 3;
     w19.Expand   = false;
     w19.Fill     = false;
     this.vbox3.Add(this.hbuttonbox3);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox3]));
     w20.Position = 3;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbuttonbox2      = new global::Gtk.HButtonBox();
     this.hbuttonbox2.Name = "hbuttonbox2";
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.button_Cero              = new global::Gtk.Button();
     this.button_Cero.CanFocus     = true;
     this.button_Cero.Name         = "button_Cero";
     this.button_Cero.UseUnderline = true;
     this.button_Cero.Label        = global::Mono.Unix.Catalog.GetString("0");
     this.hbuttonbox2.Add(this.button_Cero);
     global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.button_Cero]));
     w21.Expand = false;
     w21.Fill   = false;
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.button_punto              = new global::Gtk.Button();
     this.button_punto.CanFocus     = true;
     this.button_punto.Name         = "button_punto";
     this.button_punto.UseUnderline = true;
     this.button_punto.Label        = global::Mono.Unix.Catalog.GetString(".");
     this.hbuttonbox2.Add(this.button_punto);
     global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.button_punto]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.button_Igual              = new global::Gtk.Button();
     this.button_Igual.CanDefault   = true;
     this.button_Igual.CanFocus     = true;
     this.button_Igual.Name         = "button_Igual";
     this.button_Igual.UseUnderline = true;
     this.button_Igual.Label        = global::Mono.Unix.Catalog.GetString("=");
     this.hbuttonbox2.Add(this.button_Igual);
     global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.button_Igual]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.button_div              = new global::Gtk.Button();
     this.button_div.CanFocus     = true;
     this.button_div.Name         = "button_div";
     this.button_div.UseUnderline = true;
     this.button_div.Label        = global::Mono.Unix.Catalog.GetString("/");
     this.hbuttonbox2.Add(this.button_div);
     global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.button_div]));
     w24.Position = 3;
     w24.Expand   = false;
     w24.Fill     = false;
     this.vbox3.Add(this.hbuttonbox2);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox2]));
     w25.Position = 4;
     w25.Expand   = false;
     w25.Fill     = false;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth            = 376;
     this.DefaultHeight           = 209;
     this.button_Igual.HasDefault = true;
     this.HasDefault = true;
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.KeyPressEvent         += new global::Gtk.KeyPressEventHandler(this.OnKeyPressEvent);
     this.buttonLimpiar.Clicked += new global::System.EventHandler(this.OnButtonLimpiarClicked);
     this.button_7.Clicked      += new global::System.EventHandler(this.OnButton7Clicked);
     this.button_8.Clicked      += new global::System.EventHandler(this.OnButton8Clicked);
     this.button_9.Clicked      += new global::System.EventHandler(this.OnButton9Clicked);
     this.buttonSuma.Clicked    += new global::System.EventHandler(this.OnButtonSumaClicked);
     this.button_4.Clicked      += new global::System.EventHandler(this.OnButton4Clicked);
     this.button_5.Clicked      += new global::System.EventHandler(this.OnButton5Clicked);
     this.button_6.Clicked      += new global::System.EventHandler(this.OnButton6Clicked);
     this.button_menos.Clicked  += new global::System.EventHandler(this.OnButtonMenosClicked);
     this.button_1.Clicked      += new global::System.EventHandler(this.OnButton1Clicked);
     this.button_2.Clicked      += new global::System.EventHandler(this.OnButton2Clicked);
     this.button_3.Clicked      += new global::System.EventHandler(this.OnButton3Clicked);
     this.button_Mult.Clicked   += new global::System.EventHandler(this.OnButtonMultClicked);
     this.button_Cero.Clicked   += new global::System.EventHandler(this.OnButtonCeroClicked);
     this.button_punto.Clicked  += new global::System.EventHandler(this.OnButtonPuntoClicked);
     this.button_Igual.Clicked  += new global::System.EventHandler(this.OnButtonIgualClicked);
     this.button_div.Clicked    += new global::System.EventHandler(this.OnButtonDivClicked);
 }
Example #51
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget TextureMerger.MainWindows
     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.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.ClearNewAction            = new global::Gtk.Action("ClearNewAction", global::Mono.Unix.Catalog.GetString("Clear/New"), null, null);
     this.ClearNewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Clear");
     w1.Add(this.ClearNewAction, 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.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "TextureMerger.MainWindows";
     this.Title          = global::Mono.Unix.Catalog.GetString("Texture Merger");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.BorderWidth    = ((uint)(3));
     this.Resizable      = false;
     this.AllowGrow      = false;
     this.DefaultWidth   = 600;
     this.DefaultHeight  = 210;
     // Container child TextureMerger.MainWindows.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='ClearNewAction' action='ClearNewAction'/><menuitem name='PreferencesAction' action='PreferencesAction'/><menuitem name='QuitAction' action='QuitAction'/></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.title           = new global::Gtk.Label();
     this.title.Name      = "title";
     this.title.LabelProp = global::Mono.Unix.Catalog.GetString("Texture Merger");
     this.title.Justify   = ((global::Gtk.Justification)(2));
     this.vbox1.Add(this.title);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.title]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator3      = new global::Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.vbox1.Add(this.hseparator3);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator3]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.dynamicrow1        = new global::RLToolkit.Widgets.DynamicRow();
     this.dynamicrow1.Events = ((global::Gdk.EventMask)(256));
     this.dynamicrow1.Name   = "dynamicrow1";
     this.vbox1.Add(this.dynamicrow1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dynamicrow1]));
     w5.Position = 3;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator2      = new global::Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.vbox1.Add(this.hseparator2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator2]));
     w6.Position = 4;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.LabelParam           = new global::Gtk.Label();
     this.LabelParam.Name      = "LabelParam";
     this.LabelParam.LabelProp = global::Mono.Unix.Catalog.GetString("Output Parameters");
     this.vbox1.Add(this.LabelParam);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.LabelParam]));
     w7.Position = 5;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Homogeneous = true;
     this.hbox1.Spacing     = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.lblFormat           = new global::Gtk.Label();
     this.lblFormat.Name      = "lblFormat";
     this.lblFormat.Xalign    = 0F;
     this.lblFormat.LabelProp = global::Mono.Unix.Catalog.GetString("Format: ");
     this.hbox1.Add(this.lblFormat);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.lblFormat]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Padding  = ((uint)(15));
     // Container child hbox1.Gtk.Box+BoxChild
     this.comboFormat = global::Gtk.ComboBox.NewText();
     this.comboFormat.AppendText(global::Mono.Unix.Catalog.GetString("Bmp"));
     this.comboFormat.AppendText(global::Mono.Unix.Catalog.GetString("Png"));
     this.comboFormat.AppendText(global::Mono.Unix.Catalog.GetString("Jpg"));
     this.comboFormat.Name   = "comboFormat";
     this.comboFormat.Active = 0;
     this.hbox1.Add(this.comboFormat);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboFormat]));
     w9.Position = 1;
     w9.Expand   = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w10.Position = 6;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3             = new global::Gtk.HBox();
     this.hbox3.Name        = "hbox3";
     this.hbox3.Homogeneous = true;
     this.hbox3.Spacing     = 6;
     this.hbox3.BorderWidth = ((uint)(3));
     // Container child hbox3.Gtk.Box+BoxChild
     this.lblSize           = new global::Gtk.Label();
     this.lblSize.Name      = "lblSize";
     this.lblSize.Xalign    = 0F;
     this.lblSize.LabelProp = global::Mono.Unix.Catalog.GetString("Size: ");
     this.hbox3.Add(this.lblSize);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblSize]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Padding  = ((uint)(15));
     // 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.txtWidth               = new global::Gtk.Entry();
     this.txtWidth.CanFocus      = true;
     this.txtWidth.Name          = "txtWidth";
     this.txtWidth.Text          = global::Mono.Unix.Catalog.GetString("512");
     this.txtWidth.IsEditable    = true;
     this.txtWidth.InvisibleChar = '•';
     this.hbox4.Add(this.txtWidth);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.txtWidth]));
     w12.Position = 0;
     w12.Expand   = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("x");
     this.hbox4.Add(this.label1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label1]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.txtHeight               = new global::Gtk.Entry();
     this.txtHeight.CanFocus      = true;
     this.txtHeight.Name          = "txtHeight";
     this.txtHeight.Text          = global::Mono.Unix.Catalog.GetString("512");
     this.txtHeight.IsEditable    = true;
     this.txtHeight.InvisibleChar = '•';
     this.hbox4.Add(this.txtHeight);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.txtHeight]));
     w14.Position = 2;
     w14.Expand   = false;
     this.hbox3.Add(this.hbox4);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox4]));
     w15.Position = 1;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w16.Position = 7;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5             = new global::Gtk.HBox();
     this.hbox5.Name        = "hbox5";
     this.hbox5.Homogeneous = true;
     this.hbox5.Spacing     = 6;
     this.hbox5.BorderWidth = ((uint)(3));
     // Container child hbox5.Gtk.Box+BoxChild
     this.lblProportion           = new global::Gtk.Label();
     this.lblProportion.Name      = "lblProportion";
     this.lblProportion.Xalign    = 0F;
     this.lblProportion.LabelProp = global::Mono.Unix.Catalog.GetString("Keep Proportions:");
     this.hbox5.Add(this.lblProportion);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.lblProportion]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Padding  = ((uint)(15));
     // Container child hbox5.Gtk.Box+BoxChild
     this.chkProportion               = new global::Gtk.CheckButton();
     this.chkProportion.CanFocus      = true;
     this.chkProportion.Name          = "chkProportion";
     this.chkProportion.Label         = global::Mono.Unix.Catalog.GetString("Keep");
     this.chkProportion.DrawIndicator = true;
     this.chkProportion.UseUnderline  = true;
     this.hbox5.Add(this.chkProportion);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.chkProportion]));
     w18.Position = 1;
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox5]));
     w19.Position = 8;
     w19.Expand   = false;
     w19.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.labelOutput           = new global::Gtk.Label();
     this.labelOutput.Name      = "labelOutput";
     this.labelOutput.LabelProp = global::Mono.Unix.Catalog.GetString("Output: ");
     this.hbox6.Add(this.labelOutput);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.labelOutput]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     w20.Padding  = ((uint)(5));
     // Container child hbox6.Gtk.Box+BoxChild
     this.lblPath           = new global::Gtk.Label();
     this.lblPath.Name      = "lblPath";
     this.lblPath.LabelProp = global::Mono.Unix.Catalog.GetString("~/TextureMerger/");
     this.hbox6.Add(this.lblPath);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.lblPath]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.txtFilename               = new global::Gtk.Entry();
     this.txtFilename.CanFocus      = true;
     this.txtFilename.Name          = "txtFilename";
     this.txtFilename.Text          = global::Mono.Unix.Catalog.GetString("output");
     this.txtFilename.IsEditable    = true;
     this.txtFilename.InvisibleChar = '•';
     this.hbox6.Add(this.txtFilename);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.txtFilename]));
     w22.Position = 2;
     // Container child hbox6.Gtk.Box+BoxChild
     this.lblExtension           = new global::Gtk.Label();
     this.lblExtension.Name      = "lblExtension";
     this.lblExtension.LabelProp = global::Mono.Unix.Catalog.GetString(".png");
     this.hbox6.Add(this.lblExtension);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.lblExtension]));
     w23.Position = 3;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.BtnBrowse              = new global::Gtk.Button();
     this.BtnBrowse.CanFocus     = true;
     this.BtnBrowse.Name         = "BtnBrowse";
     this.BtnBrowse.UseUnderline = true;
     this.BtnBrowse.Label        = global::Mono.Unix.Catalog.GetString("...");
     this.hbox6.Add(this.BtnBrowse);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.BtnBrowse]));
     w24.Position = 4;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.btnGo              = new global::Gtk.Button();
     this.btnGo.CanFocus     = true;
     this.btnGo.Name         = "btnGo";
     this.btnGo.UseUnderline = true;
     this.btnGo.Label        = global::Mono.Unix.Catalog.GetString("Merge");
     this.hbox6.Add(this.btnGo);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.btnGo]));
     w25.Position = 5;
     w25.Expand   = false;
     w25.Fill     = false;
     w25.Padding  = ((uint)(5));
     this.vbox1.Add(this.hbox6);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox6]));
     w26.Position = 9;
     w26.Expand   = false;
     w26.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.PreferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated);
     this.ClearNewAction.Activated    += new global::System.EventHandler(this.OnClearActionActivated);
     this.QuitAction.Activated        += new global::System.EventHandler(this.OnQuitActionActivated);
     this.comboFormat.Changed         += new global::System.EventHandler(this.OnComboFormatChanged);
     this.txtWidth.FocusOutEvent      += new global::Gtk.FocusOutEventHandler(this.OnTxtWidthFocusOutEvent);
     this.txtHeight.FocusOutEvent     += new global::Gtk.FocusOutEventHandler(this.OnTxtHeightFocusOutEvent);
     this.chkProportion.Toggled       += new global::System.EventHandler(this.OnChkProportionToggled);
     this.BtnBrowse.Clicked           += new global::System.EventHandler(this.OnBtnBrowseClicked);
     this.btnGo.Clicked += new global::System.EventHandler(this.OnBtnGoClicked);
 }
Example #52
0
        protected virtual void Build()
        {
            global::Stetic.Gui.Initialize(this);
            // Widget MonoGame.Tools.Pipeline.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..."), null, "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..."), null, "gtk-open");
            this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open...");
            w1.Add(this.OpenAction, "<Control>o");
            this.OpenRecentAction            = new global::Gtk.Action("OpenRecentAction", global::Mono.Unix.Catalog.GetString("Open Recent"), null, null);
            this.OpenRecentAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Recent");
            w1.Add(this.OpenRecentAction, null);
            this.CloseAction            = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, "gtk-close");
            this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close");
            w1.Add(this.CloseAction, 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.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, "<Control>s");
            this.SaveAsAction            = new global::Gtk.Action("SaveAsAction", global::Mono.Unix.Catalog.GetString("Save As..."), null, "gtk-save-as");
            this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save As...");
            w1.Add(this.SaveAsAction, null);
            this.ExitAction             = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
            this.ExitAction.HideIfEmpty = false;
            this.ExitAction.ShortLabel  = global::Mono.Unix.Catalog.GetString("Exit");
            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.UndoAction            = new global::Gtk.Action("UndoAction", global::Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo");
            this.UndoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo");
            w1.Add(this.UndoAction, "<Control>z");
            this.RedoAction            = new global::Gtk.Action("RedoAction", global::Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo");
            this.RedoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo");
            w1.Add(this.RedoAction, "<Control>y");
            RenameAction            = new Action("RenameAction", global::Mono.Unix.Catalog.GetString("Rename"), null, null);
            RenameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rename");
            w1.Add(RenameAction, null);
            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.BuildAction            = new global::Gtk.Action("BuildAction", global::Mono.Unix.Catalog.GetString("Build"), null, null);
            this.BuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Build");
            w1.Add(this.BuildAction, null);
            this.BuildAction1            = new global::Gtk.Action("BuildAction1", global::Mono.Unix.Catalog.GetString("Build"), null, "gtk-execute");
            this.BuildAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Build");
            w1.Add(this.BuildAction1, "<Mod2>F6");
            this.RebuildAction            = new global::Gtk.Action("RebuildAction", global::Mono.Unix.Catalog.GetString("Rebuild"), null, "gtk-execute");
            this.RebuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rebuild");
            w1.Add(this.RebuildAction, null);
            this.CleanAction            = new global::Gtk.Action("CleanAction", global::Mono.Unix.Catalog.GetString("Clean"), null, null);
            this.CleanAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Clean");
            w1.Add(this.CleanAction, null);
            this.DebugModeAction            = new global::Gtk.ToggleAction("DebugModeAction", global::Mono.Unix.Catalog.GetString("Debug Mode"), null, null);
            this.DebugModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Debug Mode");
            w1.Add(this.DebugModeAction, null);
            this.FilterOutputAction            = new global::Gtk.ToggleAction("FilterOutputAction", global::Mono.Unix.Catalog.GetString("Filter Output"), null, null);
            this.FilterOutputAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Filter Output");
            this.FilterOutputAction.Active     = true;
            w1.Add(this.FilterOutputAction, 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.ViewHelpAction            = new global::Gtk.Action("ViewHelpAction", global::Mono.Unix.Catalog.GetString("View Help"), null, "gtk-help");
            this.ViewHelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View Help");
            w1.Add(this.ViewHelpAction, "<Mod2>F1");
            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.CancelBuildAction            = new global::Gtk.Action("CancelBuildAction", global::Mono.Unix.Catalog.GetString("Cancel Build"), null, "gtk-stop");
            this.CancelBuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cancel Build");
            w1.Add(this.CancelBuildAction, null);
            this.AddAction            = new global::Gtk.Action("AddAction", global::Mono.Unix.Catalog.GetString("Add"), null, null);
            this.AddAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add");
            w1.Add(this.AddAction, null);
            this.NewItemAction            = new global::Gtk.Action("NewItemAction", global::Mono.Unix.Catalog.GetString("New Item..."), null, "gtk-file");
            this.NewItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New Item...");
            w1.Add(this.NewItemAction, null);
            this.NewFolderAction            = new global::Gtk.Action("NewFolderAction", global::Mono.Unix.Catalog.GetString("New Folder..."), null, "gtk-directory");
            this.NewFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New Folder...");
            w1.Add(this.NewFolderAction, null);
            this.ExistingItemAction            = new global::Gtk.Action("ExistingItemAction", global::Mono.Unix.Catalog.GetString("Existing Item..."), null, null);
            this.ExistingItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Existing Item...");
            w1.Add(this.ExistingItemAction, null);
            this.ExistingFolderAction            = new global::Gtk.Action("ExistingFolderAction", global::Mono.Unix.Catalog.GetString("Existing Folder..."), null, null);
            this.ExistingFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Existing Folder...");
            w1.Add(this.ExistingFolderAction, null);
            this.UIManager.InsertActionGroup(w1, 0);
            this.AddAccelGroup(this.UIManager.AccelGroup);
            this.Name           = "MonoGame.Tools.Pipeline.MainWindow";
            this.Icon           = global::Gdk.Pixbuf.LoadFromResource("MonoGame.Tools.Pipeline.App.ico");
            this.WindowPosition = ((global::Gtk.WindowPosition)(4));
            // Container child MonoGame.Tools.Pipeline.MainWindow.Gtk.Container+ContainerChild
            this.vbox2      = new global::Gtk.VBox();
            this.vbox2.Name = "vbox2";
            // Container child vbox2.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='OpenRecentAction' action='OpenRecentAction'/><menuitem name='CloseAction' action='CloseAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><separator/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='UndoAction' action='UndoAction'/><menuitem name='RedoAction' action='RedoAction'/><separator/><menu name='AddAction' action='AddAction'><menuitem name='NewItemAction' action='NewItemAction'/><menuitem name='NewFolderAction' action='NewFolderAction'/><separator/><menuitem name='ExistingItemAction' action='ExistingItemAction'/><menuitem name='ExistingFolderAction' action='ExistingFolderAction'/></menu><separator/><menuitem name='RenameAction' action='RenameAction'/><menuitem name='DeleteAction' action='DeleteAction'/></menu><menu name='BuildAction' action='BuildAction'><menuitem name='BuildAction1' action='BuildAction1'/><menuitem name='RebuildAction' action='RebuildAction'/><menuitem name='CleanAction' action='CleanAction'/><menuitem name='CancelBuildAction' action='CancelBuildAction'/><separator name='sep1'/><menuitem name='DebugModeAction' action='DebugModeAction'/><menuitem name='FilterOutputAction' action='FilterOutputAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='ViewHelpAction' action='ViewHelpAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
            this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
            this.menubar1.Name = "menubar1";
            this.vbox2.Add(this.menubar1);

            toolBar1 = new Toolbar();

            toolNew             = new ToolButton(new Image(null, "Toolbar.New.png"), "New");
            toolNew.TooltipText = toolNew.Label;
            toolBar1.Add(toolNew);

            toolOpen             = new ToolButton(new Image(null, "Toolbar.Open.png"), "Open");
            toolOpen.TooltipText = toolOpen.Label;
            toolBar1.Add(toolOpen);

            toolSave             = new ToolButton(new Image(null, "Toolbar.Save.png"), "Save");
            toolSave.TooltipText = toolSave.Label;
            toolBar1.Add(toolSave);

            toolBar1.Add(new SeparatorToolItem());

            toolNewItem             = new ToolButton(new Image(null, "Toolbar.NewItem.png"), "Add New Item");
            toolNewItem.TooltipText = toolNewItem.Label;
            toolBar1.Add(toolNewItem);

            toolAddItem             = new ToolButton(new Image(null, "Toolbar.ExistingItem.png"), "Add Existing Item");
            toolAddItem.TooltipText = toolAddItem.Label;
            toolBar1.Add(toolAddItem);

            toolNewFolder             = new ToolButton(new Image(null, "Toolbar.NewFolder.png"), "Add New Folder");
            toolNewFolder.TooltipText = toolNewFolder.Label;
            toolBar1.Add(toolNewFolder);

            toolAddFolder             = new ToolButton(new Image(null, "Toolbar.ExistingFolder.png"), "Add Existing Folder");
            toolAddFolder.TooltipText = toolAddFolder.Label;
            toolBar1.Add(toolAddFolder);

            toolBar1.Add(new SeparatorToolItem());

            toolBuild             = new ToolButton(new Image(null, "Toolbar.Build.png"), "Build");
            toolBuild.TooltipText = toolBuild.Label;
            toolBar1.Add(toolBuild);

            toolRebuild             = new ToolButton(new Image(null, "Toolbar.Rebuild.png"), "Rebuild");
            toolRebuild.TooltipText = toolRebuild.Label;
            toolBar1.Add(toolRebuild);

            toolClean             = new ToolButton(new Image(null, "Toolbar.Clean.png"), "Clean");
            toolClean.TooltipText = toolClean.Label;
            toolBar1.Add(toolClean);

            toolBar1.Add(new SeparatorToolItem());

            toolFilterOutput            = new ToggleToolButton();
            toolFilterOutput.Label      = toolFilterOutput.TooltipText = "Filter Output";
            toolFilterOutput.IconWidget = new Image(null, "Toolbar.FilterOutput.png");
            toolBar1.Add(toolFilterOutput);

            if (!Global.UseHeaderBar)
            {
                this.vbox2.PackStart(toolBar1, false, true, 0);
            }

            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.hpaned1          = new global::Gtk.HPaned();
            this.hpaned1.CanFocus = true;
            this.hpaned1.Name     = "hpaned1";
            this.hpaned1.Position = 179;
            // Container child hpaned1.Gtk.Paned+PanedChild
            this.vpaned2          = new global::Gtk.VPaned();
            this.vpaned2.CanFocus = true;
            this.vpaned2.Name     = "vpaned2";
            this.vpaned2.Position = 247;
            // Container child vpaned2.Gtk.Paned+PanedChild
            this.projectview1        = new global::MonoGame.Tools.Pipeline.ProjectView();
            this.projectview1.Events = ((global::Gdk.EventMask)(256));
            this.projectview1.Name   = "projectview1";
            this.vpaned2.Add(this.projectview1);
            global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.projectview1]));
            w3.Resize = false;
            // Container child vpaned2.Gtk.Paned+PanedChild
            this.propertiesview1        = new global::MonoGame.Tools.Pipeline.PropertiesView();
            this.propertiesview1.Events = ((global::Gdk.EventMask)(256));
            this.propertiesview1.Name   = "propertiesview1";
            this.vpaned2.Add(this.propertiesview1);
            global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.propertiesview1]));
            w4.Resize = false;
            this.hpaned1.Add(this.vpaned2);
            global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vpaned2]));
            w5.Resize = false;
            // Container child hpaned1.Gtk.Paned+PanedChild
            buildOutput1 = new BuildOutput();
            this.hpaned1.Add(this.buildOutput1);
            this.vbox2.Add(this.hpaned1);
            global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1]));
            w8.Position = 2;
            this.Add(this.vbox2);

            treeview1 = new TreeView();

            #if GTK3
            if (Global.UseHeaderBar)
            {
                Builder builder = new Builder(null, "MonoGame.Tools.Pipeline.Gtk.MainWindow.HeaderBar.glade", null);
                hbar = new HeaderBar(builder.GetObject("headerbar").Handle);
                builder.Autoconnect(this);

                hbar.AttachToWindow(this);
                hbar.ShowCloseButton = true;
                hbar.Show();

                foreach (var o in menubar1.Children)
                {
                    menubar1.Remove(o);
                    menu2.Insert(o, 4);
                }

                new_button.Clicked     += OnNewActionActivated;
                save_button.Clicked    += OnSaveActionActivated;
                build_button.Clicked   += OnBuildAction1Activated;
                rebuild_button.Clicked += OnRebuildActionActivated;
                cancel_button.Clicked  += OnCancelBuildActionActivated;

                filteroutput_button.ButtonReleaseEvent += ToggleFilterOutput;
                filteroutput_button.Sensitive           = true;

                vbox2.Remove(menubar1);

                open_menubutton = new MenuButton(open_button.Handle);
                var popover = new Popover(open_menubutton);

                var vbox = new VBox();
                vbox.WidthRequest  = 350;
                vbox.HeightRequest = 300;

                Gtk3Wrapper.gtk_tree_view_set_activate_on_single_click(treeview1.Handle, true);
                treeview1.HeadersVisible  = false;
                treeview1.EnableGridLines = TreeViewGridLines.Horizontal;
                treeview1.HoverSelection  = true;
                treeview1.RowActivated   += delegate(object o, RowActivatedArgs args) {
                    popover.Hide();

                    TreeIter iter;
                    if (!recentListStore.GetIter(out iter, args.Path))
                    {
                        return;
                    }

                    OpenProject(recentListStore.GetValue(iter, 1).ToString());
                };

                ScrolledWindow scroll1 = new ScrolledWindow();
                scroll1.WidthRequest  = 350;
                scroll1.HeightRequest = 300;
                scroll1.Add(treeview1);

                vbox.PackStart(scroll1, true, true, 0);

                var openButton = new Button("Open Other...");
                openButton.Clicked += delegate(object sender, System.EventArgs e) {
                    popover.Hide();
                    OnOpenActionActivated(sender, e);
                };
                vbox.PackStart(openButton, false, true, 0);

                vbox.ShowAll();

                popover.Add(vbox);
                open_menubutton.Popup = popover;
            }
            #endif

            this.Title = basetitle;

            if ((this.Child != null))
            {
                this.Child.ShowAll();
            }
            this.DefaultWidth  = 751;
            this.DefaultHeight = 557;

            #if GTK3
            Gdk.Geometry geom = new Gdk.Geometry();
            geom.MinWidth  = 400;
            geom.MinHeight = 300;
            this.SetGeometryHints(this, geom, Gdk.WindowHints.MinSize);
            #endif

            this.Show();
            this.DeleteEvent                         += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
            this.NewAction.Activated                 += new global::System.EventHandler(this.OnNewActionActivated);
            this.toolNew.Clicked                     += OnNewActionActivated;
            this.OpenAction.Activated                += new global::System.EventHandler(this.OnOpenActionActivated);
            this.toolOpen.Clicked                    += OnOpenActionActivated;
            this.CloseAction.Activated               += new global::System.EventHandler(this.OnCloseActionActivated);
            this.ImportAction.Activated              += new global::System.EventHandler(this.OnImportActionActivated);
            this.SaveAction.Activated                += new global::System.EventHandler(this.OnSaveActionActivated);
            this.toolSave.Clicked                    += OnSaveActionActivated;
            this.SaveAsAction.Activated              += new global::System.EventHandler(this.OnSaveAsActionActivated);
            this.ExitAction.Activated                += new global::System.EventHandler(this.OnExitActionActivated);
            this.UndoAction.Activated                += new global::System.EventHandler(this.OnUndoActionActivated);
            this.RedoAction.Activated                += new global::System.EventHandler(this.OnRedoActionActivated);
            RenameAction.Activated                   += this.OnRenameActionActivated;
            this.DeleteAction.Activated              += new global::System.EventHandler(this.OnDeleteActionActivated);
            this.BuildAction1.Activated              += new global::System.EventHandler(this.OnBuildAction1Activated);
            toolBuild.Clicked                        += OnBuildAction1Activated;
            this.RebuildAction.Activated             += new global::System.EventHandler(this.OnRebuildActionActivated);
            toolRebuild.Clicked                      += OnRebuildActionActivated;
            this.CleanAction.Activated               += new global::System.EventHandler(this.OnCleanActionActivated);
            toolClean.Clicked                        += OnCleanActionActivated;
            this.ViewHelpAction.Activated            += new global::System.EventHandler(this.OnViewHelpActionActivated);
            this.AboutAction.Activated               += new global::System.EventHandler(this.OnAboutActionActivated);
            this.NewItemAction.Activated             += new global::System.EventHandler(this.OnNewItemActionActivated);
            this.toolNewItem.Clicked                 += OnNewItemActionActivated;
            this.NewFolderAction.Activated           += new global::System.EventHandler(this.OnNewFolderActionActivated);
            this.toolNewFolder.Clicked               += OnNewFolderActionActivated;
            this.ExistingItemAction.Activated        += new global::System.EventHandler(this.OnAddItemActionActivated);
            this.toolAddItem.Clicked                 += OnAddItemActionActivated;
            this.ExistingFolderAction.Activated      += new global::System.EventHandler(this.OnAddFolderActionActivated);
            this.toolAddFolder.Clicked               += OnAddFolderActionActivated;
            this.DebugModeAction.Activated           += new global::System.EventHandler(this.OnDebugModeActionActivated);
            this.FilterOutputAction.Activated        += OnFilterOutputActionActivated;
            this.toolFilterOutput.ButtonReleaseEvent += ToggleFilterOutput;
            this.CancelBuildAction.Activated         += new global::System.EventHandler(this.OnCancelBuildActionActivated);
            this.SizeAllocated                       += MainWindow_SizeAllocated;
        }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Gettext.POEditorWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MonoDevelop.Gettext.POEditorWidget";
     // Container child MonoDevelop.Gettext.POEditorWidget.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.notebookPages             = new global::Gtk.Notebook();
     this.notebookPages.CanFocus    = true;
     this.notebookPages.Name        = "notebookPages";
     this.notebookPages.CurrentPage = 0;
     this.notebookPages.ShowBorder  = false;
     this.notebookPages.ShowTabs    = false;
     // Container child notebookPages.Gtk.Notebook+NotebookChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.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("_Filter:");
     this.label2.UseUnderline = true;
     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.searchEntryFilter      = new global::MonoDevelop.Components.SearchEntry();
     this.searchEntryFilter.Name = "searchEntryFilter";
     this.searchEntryFilter.ForceFilterButtonVisible = false;
     this.searchEntryFilter.IsCheckMenu    = false;
     this.searchEntryFilter.ActiveFilterID = 0;
     this.searchEntryFilter.Ready          = false;
     this.searchEntryFilter.HasFocus       = false;
     this.hbox2.Add(this.searchEntryFilter);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.searchEntryFilter]));
     w4.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.togglebuttonOk              = new global::Gtk.ToggleButton();
     this.togglebuttonOk.CanFocus     = true;
     this.togglebuttonOk.Name         = "togglebuttonOk";
     this.togglebuttonOk.UseUnderline = true;
     // Container child togglebuttonOk.Gtk.Container+ContainerChild
     global::Gtk.Alignment w5 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w6 = new global::Gtk.HBox();
     w6.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w7 = new global::Gtk.Image();
     w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("silk_accept.png");
     w6.Add(w7);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w9 = new global::Gtk.Label();
     w9.LabelProp    = global::Mono.Unix.Catalog.GetString("Valid");
     w9.UseUnderline = true;
     w6.Add(w9);
     w5.Add(w6);
     this.togglebuttonOk.Add(w5);
     this.hbox2.Add(this.togglebuttonOk);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonOk]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.togglebuttonMissing              = new global::Gtk.ToggleButton();
     this.togglebuttonMissing.CanFocus     = true;
     this.togglebuttonMissing.Name         = "togglebuttonMissing";
     this.togglebuttonMissing.UseUnderline = true;
     // Container child togglebuttonMissing.Gtk.Container+ContainerChild
     global::Gtk.Alignment w14 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w15 = new global::Gtk.HBox();
     w15.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w16 = new global::Gtk.Image();
     w16.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("silk_exclamation.png");
     w15.Add(w16);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w18 = new global::Gtk.Label();
     w18.LabelProp    = global::Mono.Unix.Catalog.GetString("Missing");
     w18.UseUnderline = true;
     w15.Add(w18);
     w14.Add(w15);
     this.togglebuttonMissing.Add(w14);
     this.hbox2.Add(this.togglebuttonMissing);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonMissing]));
     w22.Position = 3;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.togglebuttonFuzzy              = new global::Gtk.ToggleButton();
     this.togglebuttonFuzzy.CanFocus     = true;
     this.togglebuttonFuzzy.Name         = "togglebuttonFuzzy";
     this.togglebuttonFuzzy.UseUnderline = true;
     // Container child togglebuttonFuzzy.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::Gdk.Pixbuf.LoadFromResource("silk_error.png");
     w24.Add(w25);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w27 = new global::Gtk.Label();
     w27.LabelProp    = global::Mono.Unix.Catalog.GetString("Fuzzy");
     w27.UseUnderline = true;
     w24.Add(w27);
     w23.Add(w24);
     this.togglebuttonFuzzy.Add(w23);
     this.hbox2.Add(this.togglebuttonFuzzy);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonFuzzy]));
     w31.Position = 4;
     w31.Expand   = false;
     w31.Fill     = false;
     this.vbox7.Add(this.hbox2);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox2]));
     w32.Position = 0;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.vpaned2          = new global::Gtk.VPaned();
     this.vpaned2.CanFocus = true;
     this.vpaned2.Name     = "vpaned2";
     this.vpaned2.Position = 186;
     // Container child vpaned2.Gtk.Paned+PanedChild
     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
     this.treeviewEntries          = new global::Gtk.TreeView();
     this.treeviewEntries.CanFocus = true;
     this.treeviewEntries.Name     = "treeviewEntries";
     this.scrolledwindow1.Add(this.treeviewEntries);
     this.vpaned2.Add(this.scrolledwindow1);
     global::Gtk.Paned.PanedChild w34 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.scrolledwindow1]));
     w34.Resize = false;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), true);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // 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.label6              = new global::Gtk.Label();
     this.label6.Name         = "label6";
     this.label6.Xalign       = 0F;
     this.label6.LabelProp    = global::Mono.Unix.Catalog.GetString("_Comments:");
     this.label6.UseUnderline = true;
     this.vbox3.Add(this.label6);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label6]));
     w35.Position = 0;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.scrolledwindow3            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow3.CanFocus   = true;
     this.scrolledwindow3.Name       = "scrolledwindow3";
     this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow3.Gtk.Container+ContainerChild
     this.textviewComments            = new global::Gtk.TextView();
     this.textviewComments.CanFocus   = true;
     this.textviewComments.Name       = "textviewComments";
     this.textviewComments.AcceptsTab = false;
     this.scrolledwindow3.Add(this.textviewComments);
     this.vbox3.Add(this.scrolledwindow3);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow3]));
     w37.Position = 1;
     this.table1.Add(this.vbox3);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox3]));
     w38.TopAttach    = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.LeftAttach   = ((uint)(1));
     w38.RightAttach  = ((uint)(2));
     w38.XOptions     = ((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.label7              = new global::Gtk.Label();
     this.label7.Name         = "label7";
     this.label7.Xalign       = 0F;
     this.label7.LabelProp    = global::Mono.Unix.Catalog.GetString("_Translated (msgstr):");
     this.label7.UseUnderline = true;
     this.vbox4.Add(this.label7);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label7]));
     w39.Position = 0;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.notebookTranslated             = new global::Gtk.Notebook();
     this.notebookTranslated.CanFocus    = true;
     this.notebookTranslated.Name        = "notebookTranslated";
     this.notebookTranslated.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w40 = new global::Gtk.Label();
     w40.Visible = true;
     this.notebookTranslated.Add(w40);
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebookTranslated.SetTabLabel(w40, this.label1);
     this.label1.ShowAll();
     this.vbox4.Add(this.notebookTranslated);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.notebookTranslated]));
     w41.Position = 1;
     this.table1.Add(this.vbox4);
     global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox4]));
     w42.TopAttach    = ((uint)(1));
     w42.BottomAttach = ((uint)(2));
     w42.XOptions     = ((global::Gtk.AttachOptions)(4));
     w42.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Original (msgid):");
     this.hbox3.Add(this.label8);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label8]));
     w43.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.checkbuttonWhiteSpaces               = new global::Gtk.CheckButton();
     this.checkbuttonWhiteSpaces.CanFocus      = true;
     this.checkbuttonWhiteSpaces.Name          = "checkbuttonWhiteSpaces";
     this.checkbuttonWhiteSpaces.Label         = global::Mono.Unix.Catalog.GetString("S_how whitespaces");
     this.checkbuttonWhiteSpaces.DrawIndicator = true;
     this.checkbuttonWhiteSpaces.UseUnderline  = true;
     this.hbox3.Add(this.checkbuttonWhiteSpaces);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkbuttonWhiteSpaces]));
     w44.Position = 1;
     w44.Expand   = false;
     this.vbox5.Add(this.hbox3);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3]));
     w45.Position = 0;
     w45.Expand   = false;
     w45.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.scrolledwindowOriginal            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowOriginal.CanFocus   = true;
     this.scrolledwindowOriginal.Name       = "scrolledwindowOriginal";
     this.scrolledwindowOriginal.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox5.Add(this.scrolledwindowOriginal);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.scrolledwindowOriginal]));
     w46.Position = 1;
     // Container child vbox5.Gtk.Box+BoxChild
     this.vbox8         = new global::Gtk.VBox();
     this.vbox8.Name    = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Original plural (msgid_plural):");
     this.vbox8.Add(this.label9);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label9]));
     w47.Position = 0;
     w47.Expand   = false;
     w47.Fill     = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.scrolledwindowPlural            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowPlural.CanFocus   = true;
     this.scrolledwindowPlural.Name       = "scrolledwindowPlural";
     this.scrolledwindowPlural.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox8.Add(this.scrolledwindowPlural);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.scrolledwindowPlural]));
     w48.Position = 1;
     this.vbox5.Add(this.vbox8);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox8]));
     w49.Position = 2;
     this.table1.Add(this.vbox5);
     // Container child table1.Gtk.Table+TableChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label4              = new global::Gtk.Label();
     this.label4.Name         = "label4";
     this.label4.Xalign       = 0F;
     this.label4.LabelProp    = global::Mono.Unix.Catalog.GetString("F_ound in:");
     this.label4.UseUnderline = true;
     this.vbox6.Add(this.label4);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label4]));
     w51.Position = 0;
     w51.Expand   = false;
     w51.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.scrolledwindow2            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus   = true;
     this.scrolledwindow2.Name       = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.treeviewFoundIn          = new global::Gtk.TreeView();
     this.treeviewFoundIn.CanFocus = true;
     this.treeviewFoundIn.Name     = "treeviewFoundIn";
     this.scrolledwindow2.Add(this.treeviewFoundIn);
     this.vbox6.Add(this.scrolledwindow2);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow2]));
     w53.Position = 1;
     this.table1.Add(this.vbox6);
     global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox6]));
     w54.LeftAttach  = ((uint)(1));
     w54.RightAttach = ((uint)(2));
     w54.XOptions    = ((global::Gtk.AttachOptions)(4));
     w54.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vpaned2.Add(this.table1);
     global::Gtk.Paned.PanedChild w55 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.table1]));
     w55.Resize = false;
     this.vbox7.Add(this.vpaned2);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.vpaned2]));
     w56.Position = 1;
     this.notebookPages.Add(this.vbox7);
     // Notebook tab
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebookPages.SetTabLabel(this.vbox7, this.label5);
     this.label5.ShowAll();
     this.vbox2.Add(this.notebookPages);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebookPages]));
     w58.Position = 0;
     // 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.UIManager.AddUiFromString("<ui><toolbar name='toolbarPages'/></ui>");
     this.toolbarPages              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbarPages")));
     this.toolbarPages.Name         = "toolbarPages";
     this.toolbarPages.ShowArrow    = false;
     this.toolbarPages.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbarPages.IconSize     = ((global::Gtk.IconSize)(3));
     this.hbox1.Add(this.toolbarPages);
     global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbarPages]));
     w59.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.hbox1.Add(this.progressbar1);
     global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar1]));
     w60.Position = 1;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w61.Position = 1;
     w61.Expand   = false;
     w61.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.label6.MnemonicWidget = this.textviewComments;
     this.label7.MnemonicWidget = this.notebookTranslated;
     this.label4.MnemonicWidget = this.treeviewFoundIn;
     this.Show();
 }
Example #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.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.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.ExportAction            = new global::Gtk.Action("ExportAction", global::Mono.Unix.Catalog.GetString("Export..."), null, null);
     this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export...");
     w1.Add(this.ExportAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("SQRL Authentication");
     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='menubar27'><menu name='FileAction' action='FileAction'><menuitem name='ImportAction' action='ImportAction'/><menuitem name='ExportAction' action='ExportAction'/></menu></menubar></ui>");
     this.menubar27      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar27")));
     this.menubar27.Name = "menubar27";
     this.vbox1.Add(this.menubar27);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar27]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.domainLabel           = new global::Gtk.Label();
     this.domainLabel.Name      = "domainLabel";
     this.domainLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Do you want to log in to this domain?");
     this.vbox1.Add(this.domainLabel);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.domainLabel]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.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.identityLabel           = new global::Gtk.Label();
     this.identityLabel.Name      = "identityLabel";
     this.identityLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Identity");
     this.hbox2.Add(this.identityLabel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.identityLabel]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.identityCombo      = global::Gtk.ComboBox.NewText();
     this.identityCombo.Name = "identityCombo";
     this.hbox2.Add(this.identityCombo);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.identityCombo]));
     w5.Position = 1;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.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.dataView               = new global::Gtk.TextView();
     this.dataView.CanFocus      = true;
     this.dataView.Name          = "dataView";
     this.dataView.Editable      = false;
     this.dataView.CursorVisible = false;
     this.GtkScrolledWindow.Add(this.dataView);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w8.Position = 3;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Homogeneous = true;
     this.hbox1.Spacing     = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.cancelButton              = new global::Gtk.Button();
     this.cancelButton.CanFocus     = true;
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.UseStock     = true;
     this.cancelButton.UseUnderline = true;
     this.cancelButton.Label        = "gtk-no";
     this.hbox1.Add(this.cancelButton);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cancelButton]));
     w9.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.loginButton              = new global::Gtk.Button();
     this.loginButton.CanFocus     = true;
     this.loginButton.Name         = "loginButton";
     this.loginButton.UseStock     = true;
     this.loginButton.UseUnderline = true;
     this.loginButton.Label        = "gtk-yes";
     this.hbox1.Add(this.loginButton);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.loginButton]));
     w10.Position = 1;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w11.Position = 4;
     w11.Expand   = false;
     w11.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 294;
     this.Show();
     this.DeleteEvent          += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.cancelButton.Clicked += new global::System.EventHandler(this.OnCancelButtonClicked);
     this.loginButton.Clicked  += new global::System.EventHandler(this.OnLoginButtonClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget CCategoria.Categoriaview
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.saveAction            = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Guardar"), null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Guardar");
     w1.Add(this.saveAction, null);
     this.saveAction1 = new global::Gtk.Action("saveAction1", null, null, "gtk-save");
     w1.Add(this.saveAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "CCategoria.Categoriaview";
     this.Title          = global::Mono.Unix.Catalog.GetString("Categoriaview");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child CCategoria.Categoriaview.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='saveAction1' action='saveAction1'/></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 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.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.entry1               = new global::Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '•';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry1]));
     w3.LeftAttach  = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w5.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
 }
Example #56
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MemoryBlocks.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.GameAction            = new global::Gtk.Action("GameAction", global::Mono.Unix.Catalog.GetString("Game"), null, null);
     this.GameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game");
     w1.Add(this.GameAction, null);
     this.actGame            = new global::Gtk.Action("actGame", global::Mono.Unix.Catalog.GetString("Game"), null, null);
     this.actGame.ShortLabel = global::Mono.Unix.Catalog.GetString("Game");
     w1.Add(this.actGame, null);
     this.actNewGame            = new global::Gtk.Action("actNewGame", global::Mono.Unix.Catalog.GetString("New Game"), null, "gtk-new");
     this.actNewGame.ShortLabel = global::Mono.Unix.Catalog.GetString("New Game");
     w1.Add(this.actNewGame, null);
     this.actEasy            = new global::Gtk.Action("actEasy", global::Mono.Unix.Catalog.GetString("Easy"), null, null);
     this.actEasy.ShortLabel = global::Mono.Unix.Catalog.GetString("Easy");
     w1.Add(this.actEasy, null);
     this.actModerate            = new global::Gtk.Action("actModerate", global::Mono.Unix.Catalog.GetString("Moderate"), null, null);
     this.actModerate.ShortLabel = global::Mono.Unix.Catalog.GetString("Moderate");
     w1.Add(this.actModerate, null);
     this.actHard            = new global::Gtk.Action("actHard", global::Mono.Unix.Catalog.GetString("Hard"), null, null);
     this.actHard.ShortLabel = global::Mono.Unix.Catalog.GetString("Hard");
     w1.Add(this.actHard, null);
     this.actHelp            = new global::Gtk.Action("actHelp", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.actHelp.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.actHelp, null);
     this.diAbout            = new global::Gtk.Action("diAbout", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-dialog-info");
     this.diAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.diAbout, null);
     this.actRetry            = new global::Gtk.Action("actRetry", global::Mono.Unix.Catalog.GetString("Retry"), null, "gtk-undo");
     this.actRetry.ShortLabel = global::Mono.Unix.Catalog.GetString("Retry");
     w1.Add(this.actRetry, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MemoryBlocks.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MemoryBlocks");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("MemoryBlocks.Resources.memoryblocks.ico");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Container child MemoryBlocks.MainWindow.Gtk.Container+ContainerChild
     this.vbox2      = new global::Gtk.VBox();
     this.vbox2.Name = "vbox2";
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menuBar'><menu name='actGame' action='actGame'><menu name='actNewGame' action='actNewGame'><menuitem name='actEasy' action='actEasy'/><menuitem name='actModerate' action='actModerate'/><menuitem name='actHard' action='actHard'/></menu><menuitem name='actRetry' action='actRetry'/></menu><menu name='actHelp' action='actHelp'><menuitem name='diAbout' action='diAbout'/></menu></menubar></ui>");
     this.menuBar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menuBar")));
     this.menuBar.Name = "menuBar";
     this.vbox2.Add(this.menuBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menuBar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.daInfoBar = new global::Gtk.DrawingArea();
     this.daInfoBar.HeightRequest = 64;
     this.daInfoBar.Name          = "daInfoBar";
     this.vbox2.Add(this.daInfoBar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.daInfoBar]));
     w3.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.daTable = new global::Gtk.DrawingArea();
     this.daTable.WidthRequest  = 480;
     this.daTable.HeightRequest = 480;
     this.daTable.Name          = "daTable";
     this.vbox2.Add(this.daTable);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.daTable]));
     w4.Position = 2;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 480;
     this.DefaultHeight = 567;
     this.Show();
     this.DeleteEvent              += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.actEasy.Activated        += new global::System.EventHandler(this.OnActEasyActivated);
     this.actModerate.Activated    += new global::System.EventHandler(this.OnActModerateActivated);
     this.actHard.Activated        += new global::System.EventHandler(this.OnActHardActivated);
     this.diAbout.Activated        += new global::System.EventHandler(this.OnDiAboutActivated);
     this.actRetry.Activated       += new global::System.EventHandler(this.OnActRetryActivated);
     this.daTable.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnDaTableButtonPressEvent);
 }
Example #57
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget XR.Baboon.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.remapSourcePaths            = new global::Gtk.Action("remapSourcePaths", global::Mono.Unix.Catalog.GetString("Set Source Paths"), null, "gtk-preferences");
     this.remapSourcePaths.ShortLabel = global::Mono.Unix.Catalog.GetString("Set Source Paths");
     w1.Add(this.remapSourcePaths, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "XR.Baboon.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("XR Baboon!");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.DefaultWidth   = 700;
     this.DefaultHeight  = 440;
     // Container child XR.Baboon.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='remapSourcePaths' action='remapSourcePaths'/></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 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.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 240;
     // Container child hpaned1.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.itemtree                = new global::Gtk.TreeView();
     this.itemtree.CanFocus       = true;
     this.itemtree.Name           = "itemtree";
     this.itemtree.EnableSearch   = false;
     this.itemtree.HeadersVisible = false;
     this.GtkScrolledWindow.Add(this.itemtree);
     this.hpaned1.Add(this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow]));
     w4.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = -1;
     this.notebook1.Scrollable  = true;
     this.notebook1.BorderWidth = ((uint)(3));
     this.hpaned1.Add(this.notebook1);
     this.vbox1.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
     w6.Position = 1;
     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.OpenCoverageFile);
     this.remapSourcePaths.Activated += new global::System.EventHandler(this.OnRemapAssemblySource);
 }
Example #58
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget PArticulo.ArticuloView
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save");
     w1.Add(this.saveAction, null);
     this.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh");
     w1.Add(this.refreshAction, null);
     this.newAction = new global::Gtk.Action("newAction", null, null, "gtk-new");
     w1.Add(this.newAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "PArticulo.ArticuloView";
     this.Title          = global::Mono.Unix.Catalog.GetString("ArticuloView");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child PArticulo.ArticuloView.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='refreshAction' action='refreshAction'/><toolitem name='newAction' action='newAction'/></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 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.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.comboBoxCategoria      = global::Gtk.ComboBox.NewText();
     this.comboBoxCategoria.Name = "comboBoxCategoria";
     this.table1.Add(this.comboBoxCategoria);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboBoxCategoria]));
     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.entryNombre               = new global::Gtk.Entry();
     this.entryNombre.CanFocus      = true;
     this.entryNombre.Name          = "entryNombre";
     this.entryNombre.IsEditable    = true;
     this.entryNombre.InvisibleChar = '•';
     this.table1.Add(this.entryNombre);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNombre]));
     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.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Categoría");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     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.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Precio");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w7.TopAttach    = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinButtonPrecio          = new global::Gtk.SpinButton(0, 1000000, 1);
     this.spinButtonPrecio.CanFocus = true;
     this.spinButtonPrecio.Name     = "spinButtonPrecio";
     this.spinButtonPrecio.Adjustment.PageIncrement = 10;
     this.spinButtonPrecio.ClimbRate = 1;
     this.spinButtonPrecio.Digits    = ((uint)(2));
     this.spinButtonPrecio.Numeric   = true;
     this.table1.Add(this.spinButtonPrecio);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinButtonPrecio]));
     w8.TopAttach    = ((uint)(2));
     w8.BottomAttach = ((uint)(3));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 887;
     this.DefaultHeight = 300;
     this.Show();
     this.refreshAction.Activated += new global::System.EventHandler(this.OnRefreshActionActivated);
     this.newAction.Activated     += new global::System.EventHandler(this.OnNewActionActivated);
 }
Example #59
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget iMetaGui.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  = "iMetaGui.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString("iMeta");
     this.Icon  = global::Gdk.Pixbuf.LoadFromResource("iMetaGui.Images.iMeta.ico");
     // Container child iMetaGui.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.vbox1      = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.topbar = new global::iMetaGui.TopBar();
     this.topbar.HeightRequest         = 85;
     this.topbar.Events                = ((global::Gdk.EventMask)(256));
     this.topbar.Name                  = "topbar";
     this.topbar.IsStatusPulsing       = false;
     this.topbar.TvShowsButtonIsActive = false;
     this.topbar.MoviesButtonIsActive  = false;
     this.vbox1.Add(this.topbar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.topbar]));
     w2.Position = 0;
     w2.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     this.notebook1.ShowBorder  = false;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.guiMovieList        = new global::iMetaGui.MovieListGui();
     this.guiMovieList.Events = ((global::Gdk.EventMask)(256));
     this.guiMovieList.Name   = "guiMovieList";
     this.notebook1.Add(this.guiMovieList);
     // Notebook tab
     this.label3 = new global::Gtk.Label();
     this.label3.WidthRequest = 100;
     this.label3.Name         = "label3";
     this.label3.LabelProp    = global::Mono.Unix.Catalog.GetString("Movies");
     this.notebook1.SetTabLabel(this.guiMovieList, this.label3);
     this.label3.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxTvShows      = new global::Gtk.VBox();
     this.vboxTvShows.Name = "vboxTvShows";
     // Container child vboxTvShows.Gtk.Box+BoxChild
     this.nbkTvShows             = new global::Gtk.Notebook();
     this.nbkTvShows.CanFocus    = true;
     this.nbkTvShows.Name        = "nbkTvShows";
     this.nbkTvShows.CurrentPage = 0;
     // Container child nbkTvShows.Gtk.Notebook+NotebookChild
     this.guiTvShowList        = new global::iMetaGui.TvShowListGui();
     this.guiTvShowList.Events = ((global::Gdk.EventMask)(256));
     this.guiTvShowList.Name   = "guiTvShowList";
     this.nbkTvShows.Add(this.guiTvShowList);
     // Notebook tab
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.nbkTvShows.SetTabLabel(this.guiTvShowList, this.label10);
     this.label10.ShowAll();
     // Container child nbkTvShows.Gtk.Notebook+NotebookChild
     this.guiTvShow        = new global::iMetaGui.TvShowGui();
     this.guiTvShow.Events = ((global::Gdk.EventMask)(256));
     this.guiTvShow.Name   = "guiTvShow";
     this.nbkTvShows.Add(this.guiTvShow);
     global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.nbkTvShows [this.guiTvShow]));
     w5.Position = 1;
     // Notebook tab
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("page2");
     this.nbkTvShows.SetTabLabel(this.guiTvShow, this.label11);
     this.label11.ShowAll();
     this.vboxTvShows.Add(this.nbkTvShows);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxTvShows [this.nbkTvShows]));
     w6.Position = 0;
     this.notebook1.Add(this.vboxTvShows);
     global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vboxTvShows]));
     w7.Position = 1;
     // Notebook tab
     this.label6 = new global::Gtk.Label();
     this.label6.WidthRequest = 100;
     this.label6.Name         = "label6";
     this.label6.LabelProp    = global::Mono.Unix.Catalog.GetString("TV Shows");
     this.notebook1.SetTabLabel(this.vboxTvShows, this.label6);
     this.label6.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.scrolledwindow4            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow4.CanFocus   = true;
     this.scrolledwindow4.Name       = "scrolledwindow4";
     this.scrolledwindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow4.Gtk.Container+ContainerChild
     this.txtLog          = new global::Gtk.TextView();
     this.txtLog.CanFocus = true;
     this.txtLog.Name     = "txtLog";
     this.scrolledwindow4.Add(this.txtLog);
     this.notebook1.Add(this.scrolledwindow4);
     global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.scrolledwindow4]));
     w9.Position = 2;
     // Notebook tab
     this.lblLog = new global::Gtk.Label();
     this.lblLog.WidthRequest = 100;
     this.lblLog.Name         = "lblLog";
     this.lblLog.LabelProp    = global::Mono.Unix.Catalog.GetString("Log");
     this.notebook1.SetTabLabel(this.scrolledwindow4, this.lblLog);
     this.lblLog.ShowAll();
     this.vbox1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1]));
     w10.Position = 1;
     this.vbox2.Add(this.vbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox1]));
     w11.Position = 0;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1226;
     this.DefaultHeight = 820;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MiniBowserGUI.BookmarksWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.editButton            = new global::Gtk.Action("editButton", global::Mono.Unix.Catalog.GetString("Edit"), null, "gtk-preferences");
     this.editButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit");
     w1.Add(this.editButton, null);
     this.saveButton            = new global::Gtk.Action("saveButton", global::Mono.Unix.Catalog.GetString("Save"), null, "gtk-save");
     this.saveButton.Sensitive  = false;
     this.saveButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Save");
     w1.Add(this.saveButton, null);
     this.goButton1            = new global::Gtk.Action("goButton1", global::Mono.Unix.Catalog.GetString("Go"), null, "gtk-find");
     this.goButton1.ShortLabel = global::Mono.Unix.Catalog.GetString("Go");
     w1.Add(this.goButton1, null);
     this.deleteButton1            = new global::Gtk.Action("deleteButton1", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-stop");
     this.deleteButton1.Sensitive  = false;
     this.deleteButton1.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete");
     w1.Add(this.deleteButton1, null);
     this.goButton2            = new global::Gtk.Action("goButton2", global::Mono.Unix.Catalog.GetString("Go"), null, "gtk-find");
     this.goButton2.ShortLabel = global::Mono.Unix.Catalog.GetString("Go");
     w1.Add(this.goButton2, null);
     this.deleteButton2            = new global::Gtk.Action("deleteButton2", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-stop");
     this.deleteButton2.Sensitive  = false;
     this.deleteButton2.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete");
     w1.Add(this.deleteButton2, null);
     this.goButton3            = new global::Gtk.Action("goButton3", global::Mono.Unix.Catalog.GetString("Go"), null, "gtk-find");
     this.goButton3.ShortLabel = global::Mono.Unix.Catalog.GetString("Go");
     w1.Add(this.goButton3, null);
     this.deleteButton3            = new global::Gtk.Action("deleteButton3", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-stop");
     this.deleteButton3.Sensitive  = false;
     this.deleteButton3.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete");
     w1.Add(this.deleteButton3, null);
     this.goButton4            = new global::Gtk.Action("goButton4", global::Mono.Unix.Catalog.GetString("Go"), null, "gtk-find");
     this.goButton4.ShortLabel = global::Mono.Unix.Catalog.GetString("Go");
     w1.Add(this.goButton4, null);
     this.deleteButton4            = new global::Gtk.Action("deleteButton4", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-stop");
     this.deleteButton4.Sensitive  = false;
     this.deleteButton4.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete");
     w1.Add(this.deleteButton4, null);
     this.goButton5            = new global::Gtk.Action("goButton5", global::Mono.Unix.Catalog.GetString("Go"), null, "gtk-find");
     this.goButton5.ShortLabel = global::Mono.Unix.Catalog.GetString("Go");
     w1.Add(this.goButton5, null);
     this.deleteButton5            = new global::Gtk.Action("deleteButton5", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-stop");
     this.deleteButton5.Sensitive  = false;
     this.deleteButton5.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete");
     w1.Add(this.deleteButton5, null);
     this.goButton6            = new global::Gtk.Action("goButton6", global::Mono.Unix.Catalog.GetString("Go"), null, "gtk-find");
     this.goButton6.ShortLabel = global::Mono.Unix.Catalog.GetString("Go");
     w1.Add(this.goButton6, null);
     this.deleteButton6            = new global::Gtk.Action("deleteButton6", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-stop");
     this.deleteButton6.Sensitive  = false;
     this.deleteButton6.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete");
     w1.Add(this.deleteButton6, null);
     this.goButton7            = new global::Gtk.Action("goButton7", global::Mono.Unix.Catalog.GetString("Go"), null, "gtk-find");
     this.goButton7.ShortLabel = global::Mono.Unix.Catalog.GetString("Go");
     w1.Add(this.goButton7, null);
     this.deleteButton7            = new global::Gtk.Action("deleteButton7", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-stop");
     this.deleteButton7.Sensitive  = false;
     this.deleteButton7.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete");
     w1.Add(this.deleteButton7, null);
     this.goButton8            = new global::Gtk.Action("goButton8", global::Mono.Unix.Catalog.GetString("Go"), null, "gtk-find");
     this.goButton8.ShortLabel = global::Mono.Unix.Catalog.GetString("Go");
     w1.Add(this.goButton8, null);
     this.deleteButton8            = new global::Gtk.Action("deleteButton8", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-stop");
     this.deleteButton8.Sensitive  = false;
     this.deleteButton8.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete");
     w1.Add(this.deleteButton8, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MiniBowserGUI.BookmarksWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("BookmarksWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MiniBowserGUI.BookmarksWindow.Gtk.Container+ContainerChild
     this.vbox8         = new global::Gtk.VBox();
     this.vbox8.Name    = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.vbox9         = new global::Gtk.VBox();
     this.vbox9.Name    = "vbox9";
     this.vbox9.Spacing = 6;
     // Container child vbox9.Gtk.Box+BoxChild
     this.hbox21         = new global::Gtk.HBox();
     this.hbox21.Name    = "hbox21";
     this.hbox21.Spacing = 6;
     // Container child hbox21.Gtk.Box+BoxChild
     this.nameEntry1               = new global::Gtk.Entry();
     this.nameEntry1.Sensitive     = false;
     this.nameEntry1.CanFocus      = true;
     this.nameEntry1.Name          = "nameEntry1";
     this.nameEntry1.IsEditable    = true;
     this.nameEntry1.InvisibleChar = '●';
     this.hbox21.Add(this.nameEntry1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.nameEntry1]));
     w2.Position = 0;
     // Container child hbox21.Gtk.Box+BoxChild
     this.urlEntry1               = new global::Gtk.Entry();
     this.urlEntry1.Sensitive     = false;
     this.urlEntry1.CanFocus      = true;
     this.urlEntry1.Name          = "urlEntry1";
     this.urlEntry1.IsEditable    = true;
     this.urlEntry1.InvisibleChar = '●';
     this.hbox21.Add(this.urlEntry1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.urlEntry1]));
     w3.Position = 1;
     // Container child hbox21.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar32\'><toolitem name=\'goButton1\' action=\'goButton1\'/><too" +
                                    "litem name=\'deleteButton1\' action=\'deleteButton1\'/></toolbar></ui>");
     this.toolbar32           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar32")));
     this.toolbar32.Name      = "toolbar32";
     this.toolbar32.ShowArrow = false;
     this.hbox21.Add(this.toolbar32);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.toolbar32]));
     w4.Position = 2;
     this.vbox9.Add(this.hbox21);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.hbox21]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.hbox23         = new global::Gtk.HBox();
     this.hbox23.Name    = "hbox23";
     this.hbox23.Spacing = 6;
     // Container child hbox23.Gtk.Box+BoxChild
     this.nameEntry2               = new global::Gtk.Entry();
     this.nameEntry2.Sensitive     = false;
     this.nameEntry2.CanFocus      = true;
     this.nameEntry2.Name          = "nameEntry2";
     this.nameEntry2.IsEditable    = true;
     this.nameEntry2.InvisibleChar = '●';
     this.hbox23.Add(this.nameEntry2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.nameEntry2]));
     w6.Position = 0;
     // Container child hbox23.Gtk.Box+BoxChild
     this.urlEntry2               = new global::Gtk.Entry();
     this.urlEntry2.Sensitive     = false;
     this.urlEntry2.CanFocus      = true;
     this.urlEntry2.Name          = "urlEntry2";
     this.urlEntry2.IsEditable    = true;
     this.urlEntry2.InvisibleChar = '●';
     this.hbox23.Add(this.urlEntry2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.urlEntry2]));
     w7.Position = 1;
     // Container child hbox23.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar34\'><toolitem name=\'goButton2\' action=\'goButton2\'/><too" +
                                    "litem name=\'deleteButton2\' action=\'deleteButton2\'/></toolbar></ui>");
     this.toolbar34           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar34")));
     this.toolbar34.Name      = "toolbar34";
     this.toolbar34.ShowArrow = false;
     this.hbox23.Add(this.toolbar34);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.toolbar34]));
     w8.Position = 2;
     this.vbox9.Add(this.hbox23);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.hbox23]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.hbox25         = new global::Gtk.HBox();
     this.hbox25.Name    = "hbox25";
     this.hbox25.Spacing = 6;
     // Container child hbox25.Gtk.Box+BoxChild
     this.nameEntry3               = new global::Gtk.Entry();
     this.nameEntry3.Sensitive     = false;
     this.nameEntry3.CanFocus      = true;
     this.nameEntry3.Name          = "nameEntry3";
     this.nameEntry3.IsEditable    = true;
     this.nameEntry3.InvisibleChar = '●';
     this.hbox25.Add(this.nameEntry3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.nameEntry3]));
     w10.Position = 0;
     // Container child hbox25.Gtk.Box+BoxChild
     this.urlEntry3               = new global::Gtk.Entry();
     this.urlEntry3.Sensitive     = false;
     this.urlEntry3.CanFocus      = true;
     this.urlEntry3.Name          = "urlEntry3";
     this.urlEntry3.IsEditable    = true;
     this.urlEntry3.InvisibleChar = '●';
     this.hbox25.Add(this.urlEntry3);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.urlEntry3]));
     w11.Position = 1;
     // Container child hbox25.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar36\'><toolitem name=\'goButton3\' action=\'goButton3\'/><too" +
                                    "litem name=\'deleteButton3\' action=\'deleteButton3\'/></toolbar></ui>");
     this.toolbar36           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar36")));
     this.toolbar36.Name      = "toolbar36";
     this.toolbar36.ShowArrow = false;
     this.hbox25.Add(this.toolbar36);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.toolbar36]));
     w12.Position = 2;
     this.vbox9.Add(this.hbox25);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.hbox25]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox8.Add(this.vbox9);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.vbox9]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.vbox11         = new global::Gtk.VBox();
     this.vbox11.Name    = "vbox11";
     this.vbox11.Spacing = 6;
     // Container child vbox11.Gtk.Box+BoxChild
     this.hbox27         = new global::Gtk.HBox();
     this.hbox27.Name    = "hbox27";
     this.hbox27.Spacing = 6;
     // Container child hbox27.Gtk.Box+BoxChild
     this.nameEntry4               = new global::Gtk.Entry();
     this.nameEntry4.Sensitive     = false;
     this.nameEntry4.CanFocus      = true;
     this.nameEntry4.Name          = "nameEntry4";
     this.nameEntry4.IsEditable    = true;
     this.nameEntry4.InvisibleChar = '●';
     this.hbox27.Add(this.nameEntry4);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.nameEntry4]));
     w15.Position = 0;
     // Container child hbox27.Gtk.Box+BoxChild
     this.urlEntry4               = new global::Gtk.Entry();
     this.urlEntry4.Sensitive     = false;
     this.urlEntry4.CanFocus      = true;
     this.urlEntry4.Name          = "urlEntry4";
     this.urlEntry4.IsEditable    = true;
     this.urlEntry4.InvisibleChar = '●';
     this.hbox27.Add(this.urlEntry4);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.urlEntry4]));
     w16.Position = 1;
     // Container child hbox27.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar38\'><toolitem name=\'goButton4\' action=\'goButton4\'/><too" +
                                    "litem name=\'deleteButton4\' action=\'deleteButton4\'/></toolbar></ui>");
     this.toolbar38           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar38")));
     this.toolbar38.Name      = "toolbar38";
     this.toolbar38.ShowArrow = false;
     this.hbox27.Add(this.toolbar38);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.toolbar38]));
     w17.Position = 2;
     this.vbox11.Add(this.hbox27);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.hbox27]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.hbox29         = new global::Gtk.HBox();
     this.hbox29.Name    = "hbox29";
     this.hbox29.Spacing = 6;
     // Container child hbox29.Gtk.Box+BoxChild
     this.nameEntry5               = new global::Gtk.Entry();
     this.nameEntry5.Sensitive     = false;
     this.nameEntry5.CanFocus      = true;
     this.nameEntry5.Name          = "nameEntry5";
     this.nameEntry5.IsEditable    = true;
     this.nameEntry5.InvisibleChar = '●';
     this.hbox29.Add(this.nameEntry5);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox29[this.nameEntry5]));
     w19.Position = 0;
     // Container child hbox29.Gtk.Box+BoxChild
     this.urlEntry5               = new global::Gtk.Entry();
     this.urlEntry5.Sensitive     = false;
     this.urlEntry5.CanFocus      = true;
     this.urlEntry5.Name          = "urlEntry5";
     this.urlEntry5.IsEditable    = true;
     this.urlEntry5.InvisibleChar = '●';
     this.hbox29.Add(this.urlEntry5);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox29[this.urlEntry5]));
     w20.Position = 1;
     // Container child hbox29.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar40\'><toolitem name=\'goButton5\' action=\'goButton5\'/><too" +
                                    "litem name=\'deleteButton5\' action=\'deleteButton5\'/></toolbar></ui>");
     this.toolbar40           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar40")));
     this.toolbar40.Name      = "toolbar40";
     this.toolbar40.ShowArrow = false;
     this.hbox29.Add(this.toolbar40);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox29[this.toolbar40]));
     w21.Position = 2;
     this.vbox11.Add(this.hbox29);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.hbox29]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.hbox31         = new global::Gtk.HBox();
     this.hbox31.Name    = "hbox31";
     this.hbox31.Spacing = 6;
     // Container child hbox31.Gtk.Box+BoxChild
     this.nameEntry6               = new global::Gtk.Entry();
     this.nameEntry6.Sensitive     = false;
     this.nameEntry6.CanFocus      = true;
     this.nameEntry6.Name          = "nameEntry6";
     this.nameEntry6.IsEditable    = true;
     this.nameEntry6.InvisibleChar = '●';
     this.hbox31.Add(this.nameEntry6);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox31[this.nameEntry6]));
     w23.Position = 0;
     // Container child hbox31.Gtk.Box+BoxChild
     this.urlEntry6               = new global::Gtk.Entry();
     this.urlEntry6.Sensitive     = false;
     this.urlEntry6.CanFocus      = true;
     this.urlEntry6.Name          = "urlEntry6";
     this.urlEntry6.IsEditable    = true;
     this.urlEntry6.InvisibleChar = '●';
     this.hbox31.Add(this.urlEntry6);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox31[this.urlEntry6]));
     w24.Position = 1;
     // Container child hbox31.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar42\'><toolitem name=\'goButton6\' action=\'goButton6\'/><too" +
                                    "litem name=\'deleteButton6\' action=\'deleteButton6\'/></toolbar></ui>");
     this.toolbar42           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar42")));
     this.toolbar42.Name      = "toolbar42";
     this.toolbar42.ShowArrow = false;
     this.hbox31.Add(this.toolbar42);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox31[this.toolbar42]));
     w25.Position = 2;
     this.vbox11.Add(this.hbox31);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.hbox31]));
     w26.Position = 2;
     w26.Expand   = false;
     w26.Fill     = false;
     this.vbox8.Add(this.vbox11);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.vbox11]));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.vbox13         = new global::Gtk.VBox();
     this.vbox13.Name    = "vbox13";
     this.vbox13.Spacing = 6;
     // Container child vbox13.Gtk.Box+BoxChild
     this.hbox33         = new global::Gtk.HBox();
     this.hbox33.Name    = "hbox33";
     this.hbox33.Spacing = 6;
     // Container child hbox33.Gtk.Box+BoxChild
     this.nameEntry7               = new global::Gtk.Entry();
     this.nameEntry7.Sensitive     = false;
     this.nameEntry7.CanFocus      = true;
     this.nameEntry7.Name          = "nameEntry7";
     this.nameEntry7.IsEditable    = true;
     this.nameEntry7.InvisibleChar = '●';
     this.hbox33.Add(this.nameEntry7);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox33[this.nameEntry7]));
     w28.Position = 0;
     // Container child hbox33.Gtk.Box+BoxChild
     this.urlEntry7               = new global::Gtk.Entry();
     this.urlEntry7.Sensitive     = false;
     this.urlEntry7.CanFocus      = true;
     this.urlEntry7.Name          = "urlEntry7";
     this.urlEntry7.IsEditable    = true;
     this.urlEntry7.InvisibleChar = '●';
     this.hbox33.Add(this.urlEntry7);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox33[this.urlEntry7]));
     w29.Position = 1;
     // Container child hbox33.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar44\'><toolitem name=\'goButton7\' action=\'goButton7\'/><too" +
                                    "litem name=\'deleteButton7\' action=\'deleteButton7\'/></toolbar></ui>");
     this.toolbar44           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar44")));
     this.toolbar44.Name      = "toolbar44";
     this.toolbar44.ShowArrow = false;
     this.hbox33.Add(this.toolbar44);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox33[this.toolbar44]));
     w30.Position = 2;
     this.vbox13.Add(this.hbox33);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.hbox33]));
     w31.Position = 0;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child vbox13.Gtk.Box+BoxChild
     this.hbox35         = new global::Gtk.HBox();
     this.hbox35.Name    = "hbox35";
     this.hbox35.Spacing = 6;
     // Container child hbox35.Gtk.Box+BoxChild
     this.nameEntry8               = new global::Gtk.Entry();
     this.nameEntry8.Sensitive     = false;
     this.nameEntry8.CanFocus      = true;
     this.nameEntry8.Name          = "nameEntry8";
     this.nameEntry8.IsEditable    = true;
     this.nameEntry8.InvisibleChar = '●';
     this.hbox35.Add(this.nameEntry8);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox35[this.nameEntry8]));
     w32.Position = 0;
     // Container child hbox35.Gtk.Box+BoxChild
     this.urlEntry8               = new global::Gtk.Entry();
     this.urlEntry8.Sensitive     = false;
     this.urlEntry8.CanFocus      = true;
     this.urlEntry8.Name          = "urlEntry8";
     this.urlEntry8.IsEditable    = true;
     this.urlEntry8.InvisibleChar = '●';
     this.hbox35.Add(this.urlEntry8);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox35[this.urlEntry8]));
     w33.Position = 1;
     // Container child hbox35.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar46\'><toolitem name=\'goButton8\' action=\'goButton8\'/><too" +
                                    "litem name=\'deleteButton8\' action=\'deleteButton8\'/></toolbar></ui>");
     this.toolbar46           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar46")));
     this.toolbar46.Name      = "toolbar46";
     this.toolbar46.ShowArrow = false;
     this.hbox35.Add(this.toolbar46);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox35[this.toolbar46]));
     w34.Position = 2;
     this.vbox13.Add(this.hbox35);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.hbox35]));
     w35.Position = 1;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child vbox13.Gtk.Box+BoxChild
     this.hbox37         = new global::Gtk.HBox();
     this.hbox37.Name    = "hbox37";
     this.hbox37.Spacing = 6;
     // Container child hbox37.Gtk.Box+BoxChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.hbox37.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox37[this.hseparator1]));
     w36.Position = 0;
     // Container child hbox37.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar30\'><toolitem name=\'editButton\' action=\'editButton\'/><t" +
                                    "oolitem name=\'saveButton\' action=\'saveButton\'/></toolbar></ui>");
     this.toolbar30           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar30")));
     this.toolbar30.Name      = "toolbar30";
     this.toolbar30.ShowArrow = false;
     this.hbox37.Add(this.toolbar30);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox37[this.toolbar30]));
     w37.Position = 1;
     // Container child hbox37.Gtk.Box+BoxChild
     this.hseparator3      = new global::Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.hbox37.Add(this.hseparator3);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox37[this.hseparator3]));
     w38.Position = 2;
     this.vbox13.Add(this.hbox37);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.hbox37]));
     w39.Position = 2;
     w39.Expand   = false;
     w39.Fill     = false;
     this.vbox8.Add(this.vbox13);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.vbox13]));
     w40.Position = 2;
     w40.Expand   = false;
     w40.Fill     = false;
     this.Add(this.vbox8);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 492;
     this.DefaultHeight = 405;
     this.Show();
     this.editButton.Activated    += new global::System.EventHandler(this.EditButtonClicked);
     this.saveButton.Activated    += new global::System.EventHandler(this.SaveButtonClicked);
     this.goButton1.Activated     += new global::System.EventHandler(this.GoButton1Clicked);
     this.deleteButton1.Activated += new global::System.EventHandler(this.DeleteButton1Clicked);
     this.goButton2.Activated     += new global::System.EventHandler(this.GoButton2Clicked);
     this.deleteButton2.Activated += new global::System.EventHandler(this.DeleteButton2Clicked);
     this.goButton3.Activated     += new global::System.EventHandler(this.GoButton3Clicked);
     this.deleteButton3.Activated += new global::System.EventHandler(this.DeleteButton3Clicked);
     this.goButton4.Activated     += new global::System.EventHandler(this.GoButton4Clicked);
     this.deleteButton4.Activated += new global::System.EventHandler(this.DeleteButton4Clicked);
     this.goButton5.Activated     += new global::System.EventHandler(this.GoButton5Clicked);
     this.deleteButton5.Activated += new global::System.EventHandler(this.DeleteButton5Clicked);
     this.goButton6.Activated     += new global::System.EventHandler(this.GoButton6Clicked);
     this.deleteButton6.Activated += new global::System.EventHandler(this.DeleteButton6Clicked);
     this.goButton7.Activated     += new global::System.EventHandler(this.GoButton7Clicked);
     this.deleteButton7.Activated += new global::System.EventHandler(this.DeleteButton7Clicked);
     this.goButton8.Activated     += new global::System.EventHandler(this.GoButton8Clicked);
     this.deleteButton8.Activated += new global::System.EventHandler(this.DeleteButton8Clicked);
 }