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);
 }
Beispiel #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.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);
 }
Beispiel #3
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);
 }
Beispiel #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.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 Vodovoz.Dialogs.UndeliveriesWithCommentsPrintDlg
     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 = "Vodovoz.Dialogs.UndeliveriesWithCommentsPrintDlg";
     // Container child Vodovoz.Dialogs.UndeliveriesWithCommentsPrintDlg.Gtk.Container+ContainerChild
     this.reportViewer = new global::fyiReporting.RdlGtkViewer.ReportViewer();
     this.reportViewer.WidthRequest   = 0;
     this.reportViewer.HeightRequest  = 0;
     this.reportViewer.Events         = ((global::Gdk.EventMask)(256));
     this.reportViewer.Name           = "reportViewer";
     this.reportViewer.ShowErrors     = false;
     this.reportViewer.ShowParameters = false;
     this.Add(this.reportViewer);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
 }
 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 ();
 }
Beispiel #7
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);
	}
Beispiel #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.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);
 }
Beispiel #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);
 }
Beispiel #10
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ViewWidgets.Mango.HandsetView
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.Action = new global::Gtk.Action("Action", null, null, null);
     w2.Add(this.Action, null);
     this.orderAction = new global::Gtk.Action("orderAction", null, null, "order");
     w2.Add(this.orderAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "Vodovoz.ViewWidgets.Mango.HandsetView";
     // Container child Vodovoz.ViewWidgets.Mango.HandsetView.Gtk.Container+ContainerChild
     this.buttonMakeCall              = new global::Gtk.Button();
     this.buttonMakeCall.CanFocus     = true;
     this.buttonMakeCall.Name         = "buttonMakeCall";
     this.buttonMakeCall.UseUnderline = true;
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.phone.make-call-16.png");
     this.buttonMakeCall.Image = w3;
     this.Add(this.buttonMakeCall);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.buttonMakeCall.Clicked += new global::System.EventHandler(this.Clicked_buttonMakeCall);
 }
Beispiel #11
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);
 }
Beispiel #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.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);
 }
		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 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);
 }
 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);
 }
Beispiel #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.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh");
     w1.Add(this.refreshAction, null);
     this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w1.Add(this.addAction, null);
     this.deleteAction = new global::Gtk.Action("deleteAction", null, null, "gtk-delete");
     w1.Add(this.deleteAction, 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("Categoria");
     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='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 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;
     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.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);
     this.editAction.Activated    += new global::System.EventHandler(this.OnEditActionActivated);
 }
Beispiel #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.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);
 }
Beispiel #18
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 ();
 }
Beispiel #19
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Minesweeper.Views.GameWindow
     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.RetryAction            = new global::Gtk.Action("RetryAction", global::Mono.Unix.Catalog.GetString("Retry"), null, null);
     this.RetryAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Retry");
     w1.Add(this.RetryAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Minesweeper.Views.GameWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Minesweeper");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("Minesweeper.Resources.minesweeper.ico");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Resizable      = false;
     this.AllowGrow      = false;
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Container child Minesweeper.Views.GameWindow.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='GameAction' action='GameAction'><menuitem name='RetryAction' action='RetryAction'/></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.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 = 569;
     this.Show();
     this.RetryAction.Activated    += new global::System.EventHandler(this.OnRetryActionActivated);
     this.daTable.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnDaTableButtonPressEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget CutreGest.view.windows.ListUserWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w1.Add(this.addAction, null);
     this.editAction = new global::Gtk.Action("editAction", null, null, "gtk-edit");
     w1.Add(this.editAction, null);
     this.removeAction = new global::Gtk.Action("removeAction", null, null, "gtk-remove");
     w1.Add(this.removeAction, null);
     this.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh");
     w1.Add(this.refreshAction, null);
     this.closeAction = new global::Gtk.Action("closeAction", null, null, "gtk-close");
     w1.Add(this.closeAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name              = "CutreGest.view.windows.ListUserWindow";
     this.Title             = global::Mono.Unix.Catalog.GetString("Usuarios - Lista");
     this.WindowPosition    = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth       = ((uint)(15));
     this.Decorated         = false;
     this.DestroyWithParent = true;
     // Container child CutreGest.view.windows.ListUserWindow.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='toolbar2'><toolitem name='addAction' action='addAction'/><toolitem name='editAction' action='editAction'/><toolitem name='removeAction' action='removeAction'/><toolitem name='refreshAction' action='refreshAction'/><toolitem name='closeAction' action='closeAction'/></toolbar></ui>");
     this.toolbar2           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2")));
     this.toolbar2.Name      = "toolbar2";
     this.toolbar2.ShowArrow = false;
     this.vbox3.Add(this.toolbar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.toolbar2]));
     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.tvUsers          = new global::Gtk.TreeView();
     this.tvUsers.CanFocus = true;
     this.tvUsers.Name     = "tvUsers";
     this.GtkScrolledWindow.Add(this.tvUsers);
     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  = 300;
     this.DefaultHeight = 251;
     this.Show();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ocmgtk.NotesWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.boldAction = new global::Gtk.ToggleAction("boldAction", null, null, "gtk-bold");
     w2.Add(this.boldAction, null);
     this.italicAction = new global::Gtk.Action("italicAction", null, null, "gtk-italic");
     w2.Add(this.italicAction, null);
     this.missingImageAction = new global::Gtk.Action("missingImageAction", null, null, "gtk-missing-image");
     w2.Add(this.missingImageAction, null);
     this.underlineAction = new global::Gtk.Action("underlineAction", null, null, "gtk-underline");
     w2.Add(this.underlineAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "ocmgtk.NotesWidget";
     // Container child ocmgtk.NotesWidget.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.editorWidget = null;
     this.vbox1.Add(this.editorWidget);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.editorWidget]));
     w3.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbuttonbox1             = new global::Gtk.HButtonBox();
     this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.saveButton              = new global::Gtk.Button();
     this.saveButton.Sensitive    = false;
     this.saveButton.CanFocus     = true;
     this.saveButton.Name         = "saveButton";
     this.saveButton.UseUnderline = true;
     this.saveButton.Label        = global::Mono.Unix.Catalog.GetString("_Save");
     global::Gtk.Image w4 = new global::Gtk.Image();
     w4.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.saveButton.Image = w4;
     this.hbuttonbox1.Add(this.saveButton);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.saveButton]));
     w5.Expand = false;
     w5.Fill   = false;
     this.vbox1.Add(this.hbuttonbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.saveButton.Clicked += new global::System.EventHandler(this.OnSaveNotes);
 }
Beispiel #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.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.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh");
     w1.Add(this.refreshAction, null);
     this.stopAction = new global::Gtk.Action("stopAction", null, null, "gtk-stop");
     w1.Add(this.stopAction, null);
     this.deleteAction = new global::Gtk.Action("deleteAction", null, null, "gtk-delete");
     w1.Add(this.deleteAction, null);
     this.quitAction = new global::Gtk.Action("quitAction", null, null, "gtk-quit");
     w1.Add(this.quitAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("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='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='editAction' action='editAction'/><toolitem name='refreshAction' action='refreshAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='quitAction' action='quitAction'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vBox.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vBox[this.toolbar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vBox.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.vBox.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vBox[this.GtkScrolledWindow]));
     w4.Position = 1;
     this.Add(this.vBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 550;
     this.DefaultHeight = 422;
     this.Show();
 }
Beispiel #23
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About..."), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About...");
     w1.Add(this.AboutAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Title");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("LampManager.tray.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w3.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 682;
     this.DefaultHeight = 613;
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated);
 }
Beispiel #24
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);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Recorder.winSpectrum
     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.dialogErrorAction            = new global::Gtk.Action("dialogErrorAction", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-dialog-error");
     this.dialogErrorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
     w1.Add(this.dialogErrorAction, null);
     this.floppyAction = new global::Gtk.Action("floppyAction", null, null, "gtk-floppy");
     w1.Add(this.floppyAction, null);
     this.FileSaveAction            = new global::Gtk.Action("FileSaveAction", global::Mono.Unix.Catalog.GetString("Save"), null, "gtk-floppy");
     this.FileSaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save");
     w1.Add(this.FileSaveAction, null);
     this.dialogErrorAction1            = new global::Gtk.Action("dialogErrorAction1", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-dialog-error");
     this.dialogErrorAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Error");
     w1.Add(this.dialogErrorAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Recorder.winSpectrum";
     this.Title          = global::Mono.Unix.Catalog.GetString("winSpectrum");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Recorder.winSpectrum.Gtk.Container+ContainerChild
     this.fixed2           = new global::Gtk.Fixed();
     this.fixed2.Name      = "fixed2";
     this.fixed2.HasWindow = false;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar\'><menu name=\'FileAction\' action=\'FileAction\'><menuitem" +
                                    " name=\'FileSaveAction\' action=\'FileSaveAction\'/><separator/><menuitem name=\'dial" +
                                    "ogErrorAction1\' action=\'dialogErrorAction1\'/></menu></menubar></ui>");
     this.menubar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar")));
     this.menubar.Name = "menubar";
     this.fixed2.Add(this.menubar);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.menubar]));
     w2.X = 5;
     w2.Y = 5;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.image      = new global::Gtk.Image();
     this.image.Name = "image";
     this.fixed2.Add(this.image);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.image]));
     w3.X = 1;
     w3.Y = 32;
     this.Add(this.fixed2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 667;
     this.DefaultHeight = 300;
     this.Show();
     this.FileSaveAction.Activated     += new global::System.EventHandler(this.OnFileSave);
     this.dialogErrorAction1.Activated += new global::System.EventHandler(this.CloseWindow);
 }
Beispiel #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.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);
 }
Beispiel #27
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);
 }
Beispiel #28
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.MenuAction            = new global::Gtk.Action("MenuAction", global::Mono.Unix.Catalog.GetString("Menu"), null, null);
     this.MenuAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Menu");
     w1.Add(this.MenuAction, 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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.datatreeview1 = null;
     this.GtkScrolledWindow.Add(this.datatreeview1);
     this.hbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbuttonbox1      = new global::Gtk.VButtonBox();
     this.vbuttonbox1.Name = "vbuttonbox1";
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.button107              = new global::Gtk.Button();
     this.button107.CanFocus     = true;
     this.button107.Name         = "button107";
     this.button107.UseUnderline = true;
     this.button107.Label        = global::Mono.Unix.Catalog.GetString("button107");
     this.vbuttonbox1.Add(this.button107);
     global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.button107]));
     w4.Expand = false;
     w4.Fill   = false;
     this.hbox1.Add(this.vbuttonbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbuttonbox1]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.Add(this.hbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 672;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Beispiel #29
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);
	}
Beispiel #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.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.LoadRomAction            = new global::Gtk.Action("LoadRomAction", global::Mono.Unix.Catalog.GetString("Load Rom"), null, null);
     this.LoadRomAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load Rom");
     w1.Add(this.LoadRomAction, null);
     this.ResetAction            = new global::Gtk.Action("ResetAction", global::Mono.Unix.Catalog.GetString("Reset"), null, null);
     this.ResetAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Reset");
     w1.Add(this.ResetAction, null);
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Rom");
     w1.Add(this.FileAction, null);
     this.ResetAction3            = new global::Gtk.Action("ResetAction3", global::Mono.Unix.Catalog.GetString("Reset"), null, null);
     this.ResetAction3.ShortLabel = global::Mono.Unix.Catalog.GetString("Reset");
     w1.Add(this.ResetAction3, null);
     this.OpenAction1            = new global::Gtk.Action("OpenAction1", global::Mono.Unix.Catalog.GetString("Open"), null, null);
     this.OpenAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Open");
     w1.Add(this.OpenAction1, null);
     this.EmulationAction            = new global::Gtk.Action("EmulationAction", global::Mono.Unix.Catalog.GetString("Emulation"), null, null);
     this.EmulationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Emulation");
     w1.Add(this.EmulationAction, null);
     this.ResetAction2            = new global::Gtk.Action("ResetAction2", global::Mono.Unix.Catalog.GetString("Reset"), null, null);
     this.ResetAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Reset");
     w1.Add(this.ResetAction2, 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.drawingarea      = new global::Gtk.DrawingArea();
     this.drawingarea.Name = "drawingarea";
     this.vbox3.Add(this.drawingarea);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.drawingarea]));
     w2.Position = 1;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 401;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Beispiel #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.bAction            = new global::Gtk.Action("bAction", global::Mono.Unix.Catalog.GetString("b"), null, null);
     this.bAction.ShortLabel = global::Mono.Unix.Catalog.GetString("b");
     w1.Add(this.bAction, null);
     this.colorPickerAction            = new global::Gtk.Action("colorPickerAction", global::Mono.Unix.Catalog.GetString("a"), null, "gtk-color-picker");
     this.colorPickerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("a");
     w1.Add(this.colorPickerAction, null);
     this.deleteAction            = new global::Gtk.Action("deleteAction", global::Mono.Unix.Catalog.GetString("b"), null, "gtk-delete");
     this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("b");
     w1.Add(this.deleteAction, null);
     this.aAction            = new global::Gtk.Action("aAction", global::Mono.Unix.Catalog.GetString("a"), null, null);
     this.aAction.ShortLabel = global::Mono.Unix.Catalog.GetString("a");
     w1.Add(this.aAction, null);
     this.vAction            = new global::Gtk.Action("vAction", global::Mono.Unix.Catalog.GetString("v"), null, null);
     this.vAction.ShortLabel = global::Mono.Unix.Catalog.GetString("v");
     w1.Add(this.vAction, null);
     this.cAction            = new global::Gtk.Action("cAction", global::Mono.Unix.Catalog.GetString("c"), null, null);
     this.cAction.ShortLabel = global::Mono.Unix.Catalog.GetString("c");
     w1.Add(this.cAction, null);
     this.aAction1            = new global::Gtk.Action("aAction1", global::Mono.Unix.Catalog.GetString("a"), null, null);
     this.aAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("a");
     w1.Add(this.aAction1, null);
     this.bAction1            = new global::Gtk.Action("bAction1", global::Mono.Unix.Catalog.GetString("b"), null, null);
     this.bAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("b");
     w1.Add(this.bAction1, null);
     this.bAction2            = new global::Gtk.Action("bAction2", global::Mono.Unix.Catalog.GetString("b"), null, null);
     this.bAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("b");
     w1.Add(this.bAction2, null);
     this.cAction1            = new global::Gtk.Action("cAction1", global::Mono.Unix.Catalog.GetString("c"), null, null);
     this.cAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("c");
     w1.Add(this.cAction1, 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.fixed2           = new global::Gtk.Fixed();
     this.fixed2.Name      = "fixed2";
     this.fixed2.HasWindow = false;
     this.Add(this.fixed2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 746;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Beispiel #32
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget CreadorPersonajes.VisorWindow
     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.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh");
     w1.Add(this.refreshAction, null);
     this.deleteAction = new global::Gtk.Action("deleteAction", null, null, "gtk-delete");
     w1.Add(this.deleteAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "CreadorPersonajes.VisorWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("VisorWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child CreadorPersonajes.VisorWindow.Gtk.Container+ContainerChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar3\'><toolitem name=\'editAction\' action=\'editAction\'/><to" +
                                    "olitem name=\'refreshAction\' action=\'refreshAction\'/><toolitem name=\'deleteAction" +
                                    "\' action=\'deleteAction\'/></toolbar></ui>");
     this.toolbar3           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar3")));
     this.toolbar3.Name      = "toolbar3";
     this.toolbar3.ShowArrow = false;
     this.vbox5.Add(this.toolbar3);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.toolbar3]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     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.treeView          = new global::Gtk.TreeView();
     this.treeView.CanFocus = true;
     this.treeView.Name     = "treeView";
     this.scrolledwindow1.Add(this.treeView);
     this.vbox5.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.scrolledwindow1]));
     w4.Position = 1;
     this.Add(this.vbox5);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 399;
     this.DefaultHeight = 300;
     this.Show();
 }
Beispiel #33
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entryNombre               = new global::Gtk.Entry();
     this.entryNombre.CanFocus      = true;
     this.entryNombre.Name          = "entryNombre";
     this.entryNombre.IsEditable    = true;
     this.entryNombre.InvisibleChar = '•';
     this.hbox1.Add(this.entryNombre);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryNombre]));
     w2.Position = 0;
     // Container child hbox1.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.hbox1.Add(this.buttonAceptar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAceptar]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vBox.Add(this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vBox[this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     this.Add(this.vBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 403;
     this.DefaultHeight = 60;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Beispiel #34
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget cn.qingyuyu.yudesk.view.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.SettingAction            = new global::Gtk.Action("SettingAction", global::Mono.Unix.Catalog.GetString("Setting"), null, null);
     this.SettingAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Setting");
     w1.Add(this.SettingAction, null);
     this.TokenAction            = new global::Gtk.Action("TokenAction", global::Mono.Unix.Catalog.GetString("Token"), null, null);
     this.TokenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Token");
     w1.Add(this.TokenAction, 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           = "cn.qingyuyu.yudesk.view.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child cn.qingyuyu.yudesk.view.MainWindow.Gtk.Container+ContainerChild
     this.fixed2           = new global::Gtk.Fixed();
     this.fixed2.Name      = "fixed2";
     this.fixed2.HasWindow = false;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar\'><menu name=\'SettingAction\' action=\'SettingAction\'><me" +
                                    "nuitem name=\'TokenAction\' action=\'TokenAction\'/><menuitem name=\'AboutAction\' act" +
                                    "ion=\'AboutAction\'/></menu></menubar></ui>");
     this.menubar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar")));
     this.menubar.Name = "menubar";
     this.fixed2.Add(this.menubar);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.menubar]));
     w2.X = 4;
     w2.Y = 4;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.infoLabel           = new global::Gtk.Label();
     this.infoLabel.Name      = "infoLabel";
     this.infoLabel.LabelProp = global::Mono.Unix.Catalog.GetString("label3");
     this.fixed2.Add(this.infoLabel);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.infoLabel]));
     w3.X = 80;
     w3.Y = 70;
     this.Add(this.fixed2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 255;
     this.DefaultHeight = 165;
     this.Show();
     this.TokenAction.Activated += new global::System.EventHandler(this.OnTokenActionActivated);
     this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated);
 }
Beispiel #35
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.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);
 }
		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);
		}
Beispiel #37
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);
 }
Beispiel #38
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Actividad01.PasajerosListWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w1.Add(this.addAction, null);
     this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open");
     w1.Add(this.openAction, null);
     this.removeAction = new global::Gtk.Action("removeAction", null, null, "gtk-remove");
     w1.Add(this.removeAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Actividad01.PasajerosListWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("PasajerosListWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Actividad01.PasajerosListWindow.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='removeAction' action='removeAction'/><toolitem name='addAction' action='addAction'/></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.tvwDatos          = new global::Gtk.TreeView();
     this.tvwDatos.CanFocus = true;
     this.tvwDatos.Name     = "tvwDatos";
     this.GtkScrolledWindow.Add(this.tvwDatos);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w4.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
 }
Beispiel #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.mmFile            = new global::Gtk.Action("mmFile", global::Mono.Unix.Catalog.GetString("Файл"), null, null);
     this.mmFile.ShortLabel = global::Mono.Unix.Catalog.GetString("Файл");
     w1.Add(this.mmFile, null);
     this.Action            = new global::Gtk.Action("Action", global::Mono.Unix.Catalog.GetString("Помощь"), null, null);
     this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString("Помощь");
     w1.Add(this.Action, null);
     this.dialogQuestionAction            = new global::Gtk.Action("dialogQuestionAction", global::Mono.Unix.Catalog.GetString("О программе"), null, "gtk-dialog-question");
     this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("О программе");
     w1.Add(this.dialogQuestionAction, null);
     this.mmFileExit            = new global::Gtk.Action("mmFileExit", global::Mono.Unix.Catalog.GetString("Выход"), null, "gtk-no");
     this.mmFileExit.ShortLabel = global::Mono.Unix.Catalog.GetString("Выход");
     w1.Add(this.mmFileExit, null);
     this.mmFileOpen            = new global::Gtk.Action("mmFileOpen", global::Mono.Unix.Catalog.GetString("Открыть"), null, null);
     this.mmFileOpen.ShortLabel = global::Mono.Unix.Catalog.GetString("Открыть");
     w1.Add(this.mmFileOpen, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Мои Утилиты");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-authentication", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='main_menu'><menu name='mmFile' action='mmFile'><menuitem name='mmFileExit' action='mmFileExit'/></menu><menu name='Action' action='Action'><menuitem name='dialogQuestionAction' action='dialogQuestionAction'/></menu></menubar></ui>");
     this.main_menu      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/main_menu")));
     this.main_menu.Name = "main_menu";
     this.vbox1.Add(this.main_menu);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.main_menu]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 529;
     this.DefaultHeight = 344;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.dialogQuestionAction.Activated += new global::System.EventHandler(this.OnDialogQuestionActionActivated);
     this.mmFileExit.Activated           += new global::System.EventHandler(this.OnMmFileExitActivated);
 }
Beispiel #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.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);
 }
Beispiel #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.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);
 }
 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 ();
 }
 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);
 }
Beispiel #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.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);
 }
Beispiel #46
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget PArticulo.ListCategoriaView
     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.ListCategoriaView";
     // Container child PArticulo.ListCategoriaView.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();
 }
Beispiel #47
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.MenuAction            = new global::Gtk.Action("MenuAction", global::Mono.Unix.Catalog.GetString("Menu"), null, null);
     this.MenuAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Menu");
     w1.Add(this.MenuAction, null);
     this.GestionAction            = new global::Gtk.Action("GestionAction", global::Mono.Unix.Catalog.GetString("Gestion"), null, null);
     this.GestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gestion");
     w1.Add(this.GestionAction, 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.GestionClienteAction            = new global::Gtk.Action("GestionClienteAction", global::Mono.Unix.Catalog.GetString("Gestion Cliente"), null, null);
     this.GestionClienteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gestion Cliente");
     w1.Add(this.GestionClienteAction, null);
     this.GestionInstructorAction            = new global::Gtk.Action("GestionInstructorAction", global::Mono.Unix.Catalog.GetString("Gestion instructor"), null, null);
     this.GestionInstructorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gestion instructor");
     w1.Add(this.GestionInstructorAction, 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.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='MenuAction' action='MenuAction'><menuitem name='SalirAction' action='SalirAction'/></menu><menu name='GestionAction' action='GestionAction'><menuitem name='GestionClienteAction' action='GestionClienteAction'/><menuitem name='GestionInstructorAction' action='GestionInstructorAction'/></menu></menubar></ui>");
     this.menubar1          = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.CanFocus = true;
     this.menubar1.Name     = "menubar1";
     this.fixed1.Add(this.menubar1);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.menubar1]));
     w2.Y = 4;
     this.Add(this.fixed1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 458;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent                       += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.SalirAction.Activated             += new global::System.EventHandler(this.OnSalirActionActivated);
     this.GestionClienteAction.Activated    += new global::System.EventHandler(this.OnGestionClienteActionActivated);
     this.GestionInstructorAction.Activated += new global::System.EventHandler(this.OnGestionInstructorActionActivated);
 }
Beispiel #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.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);
 }
Beispiel #49
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);
 }
Beispiel #50
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._2048Action            = new global::Gtk.Action("_2048Action", global::Mono.Unix.Catalog.GetString("2048"), null, null);
     this._2048Action.ShortLabel = global::Mono.Unix.Catalog.GetString("2048");
     w1.Add(this._2048Action, 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.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("2048");
     this.Icon           = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./icon.png"));
     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><menubar name='menubar'><menu name='_2048Action' action='_2048Action'><menuitem name='NewGameAction' action='NewGameAction'/></menu></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.table               = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false);
     this.table.Name          = "table";
     this.table.RowSpacing    = ((uint)(6));
     this.table.ColumnSpacing = ((uint)(6));
     this.vbox.Add(this.table);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox [this.table]));
     w3.Position = 1;
     this.Add(this.vbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Beispiel #51
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget neoapi.audio_files
     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           = "neoapi.audio_files";
     this.Title          = global::Mono.Unix.Catalog.GetString("audio_files");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child neoapi.audio_files.Gtk.Container+ContainerChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 129;
     // Container child vpaned1.Gtk.Paned+PanedChild
     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.vpaned1.Add(this.toolbar1);
     global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.toolbar1]));
     w2.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w3 = new global::Gtk.Viewport();
     w3.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.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));
     w3.Add(this.table1);
     this.scrolledwindow1.Add(w3);
     this.vpaned1.Add(this.scrolledwindow1);
     this.Add(this.vpaned1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 692;
     this.DefaultHeight = 379;
     this.Show();
 }
Beispiel #52
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget sigom.WorkshopWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.UsurioAction            = new global::Gtk.Action("UsurioAction", global::Mono.Unix.Catalog.GetString("Usuário"), null, null);
     this.UsurioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Usuário");
     w1.Add(this.UsurioAction, null);
     this.CadastarAction            = new global::Gtk.Action("CadastarAction", global::Mono.Unix.Catalog.GetString("Cadastar"), null, null);
     this.CadastarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cadastar");
     w1.Add(this.CadastarAction, null);
     this.AlterarAction            = new global::Gtk.Action("AlterarAction", global::Mono.Unix.Catalog.GetString("Alterar"), null, null);
     this.AlterarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Alterar");
     w1.Add(this.AlterarAction, null);
     this.DeletarAction            = new global::Gtk.Action("DeletarAction", global::Mono.Unix.Catalog.GetString("Deletar"), null, null);
     this.DeletarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Deletar");
     w1.Add(this.DeletarAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Sensitive      = false;
     this.Name           = "sigom.WorkshopWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("WorkshopWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child sigom.WorkshopWindow.Gtk.Container+ContainerChild
     this.fixed2           = new global::Gtk.Fixed();
     this.fixed2.Name      = "fixed2";
     this.fixed2.HasWindow = false;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='UsurioAction' action='UsurioAction'><menuitem name='CadastarAction' action='CadastarAction'/><menuitem name='AlterarAction' action='AlterarAction'/><menuitem name='DeletarAction' action='DeletarAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.fixed2.Add(this.menubar1);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.menubar1]));
     w2.X = 11;
     w2.Y = 10;
     this.Add(this.fixed2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 420;
     this.DefaultHeight = 300;
     this.Show();
     this.CadastarAction.Activated += new global::System.EventHandler(this.OnCadastarActionActivated);
     this.AlterarAction.Activated  += new global::System.EventHandler(this.OnAlterarActionActivated);
     this.DeletarAction.Activated  += new global::System.EventHandler(this.OnDeletarActionActivated);
 }
Beispiel #53
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.HerramientasAction            = new global::Gtk.Action("HerramientasAction", global::Mono.Unix.Catalog.GetString("Herramientas"), null, null);
     this.HerramientasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Herramientas");
     w1.Add(this.HerramientasAction, null);
     this.HerramientasAction1            = new global::Gtk.Action("HerramientasAction1", global::Mono.Unix.Catalog.GetString("Herramientas"), null, null);
     this.HerramientasAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Herramientas");
     w1.Add(this.HerramientasAction1, null);
     this.sortAscendingAction            = new global::Gtk.Action("sortAscendingAction", global::Mono.Unix.Catalog.GetString("_Ascending"), null, "gtk-sort-ascending");
     this.sortAscendingAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Ascending");
     w1.Add(this.sortAscendingAction, null);
     this.sortAscendingAction1            = new global::Gtk.Action("sortAscendingAction1", global::Mono.Unix.Catalog.GetString("Pruebas"), null, "gtk-sort-ascending");
     this.sortAscendingAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Pruebas");
     w1.Add(this.sortAscendingAction1, 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.fixed3           = new global::Gtk.Fixed();
     this.fixed3.Name      = "fixed3";
     this.fixed3.HasWindow = false;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.btnPruebas              = new global::Gtk.Button();
     this.btnPruebas.CanFocus     = true;
     this.btnPruebas.Name         = "btnPruebas";
     this.btnPruebas.UseUnderline = true;
     this.btnPruebas.Label        = global::Mono.Unix.Catalog.GetString("Pruebas");
     this.fixed3.Add(this.btnPruebas);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed3[this.btnPruebas]));
     w2.X = 15;
     w2.Y = 14;
     this.Add(this.fixed3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 760;
     this.DefaultHeight = 365;
     this.Show();
     this.DeleteEvent        += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.btnPruebas.Clicked += new global::System.EventHandler(this.OnBtnPruebasClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget FennecCount.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.stopAction = new global::Gtk.Action("stopAction", null, global::Mono.Unix.Catalog.GetString("Logout"), "gtk-stop");
     w1.Add(this.stopAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "FennecCount.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child FennecCount.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='openAction' action='openAction'/><toolitem name='stopAction' action='stopAction'/></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.tabParent             = new global::Gtk.Notebook();
     this.tabParent.CanFocus    = true;
     this.tabParent.Name        = "tabParent";
     this.tabParent.CurrentPage = 0;
     this.vbox2.Add(this.tabParent);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.tabParent]));
     w3.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);
     this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated);
 }
 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);
 }
		/// <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");
		}
Beispiel #57
0
        /// <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);
 }
Beispiel #59
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.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);
 }
Beispiel #60
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.propertiesAction            = new global::Gtk.Action("propertiesAction", global::Mono.Unix.Catalog.GetString("Propiedades"), global::Mono.Unix.Catalog.GetString("Propiedades"), "gtk-properties");
     this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Propiedades");
     w1.Add(this.propertiesAction, 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.mainVBox         = new global::Gtk.VBox();
     this.mainVBox.Name    = "mainVBox";
     this.mainVBox.Spacing = 6;
     // Container child mainVBox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='propertiesAction' action='propertiesAction'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.mainVBox.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainVBox [this.toolbar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child mainVBox.Gtk.Box+BoxChild
     this.comboBox      = new global::Gtk.ComboBox();
     this.comboBox.Name = "comboBox";
     this.mainVBox.Add(this.comboBox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainVBox [this.comboBox]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     this.Add(this.mainVBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }