示例#1
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);
 }
 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 ();
 }
 public virtual void Build()
 {
     // Action group CryptoSecActionGroup
     this.OracleAction = new global::Gtk.Action ("OracleAction", global::Mono.Unix.Catalog.GetString ("Oracle"), null, "Oracle_small");
     this.OracleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Oracle");
     this.Add (this.OracleAction, null);
 }
 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);
 }
示例#5
0
文件: MainWindow.cs 项目: esterdam/ad
 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);
 }
示例#6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.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);
 }
示例#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.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);
 }
示例#8
0
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget MainWindow
		this.UIManager = new global::Gtk.UIManager ();
		global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
		this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
		this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
		w1.Add (this.FileAction, null);
		this.UIManager.InsertActionGroup (w1, 0);
		this.AddAccelGroup (this.UIManager.AccelGroup);
		this.Name = "MainWindow";
		this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		// Container child MainWindow.Gtk.Container+ContainerChild
		this.fixed1 = new global::Gtk.Fixed ();
		this.fixed1.Name = "fixed1";
		this.fixed1.HasWindow = false;
		// Container child fixed1.Gtk.Fixed+FixedChild
		this.label1 = new global::Gtk.Label ();
		this.label1.Name = "label1";
		this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Hello,Gtk!");
		this.fixed1.Add (this.label1);
		global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1]));
		w2.X = 260;
		w2.Y = 117;
		this.Add (this.fixed1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 645;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
	}
示例#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.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);
 }
示例#10
0
 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);
 }
示例#12
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 ();
 }
		public virtual void Build ()
		{
			// Action group ContactBook.GlobalActionGroup
			this.Run = new global::Gtk.Action ("Run", global::Mono.Unix.Catalog.GetString ("Run"), null, null);
			this.Run.ShortLabel = "Run";
			this.Add (this.Run, null);
			this.Run.Activated += new global::System.EventHandler (this.OnRunActivated);
		}
示例#14
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.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);
 }
示例#15
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.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);
 }
示例#16
0
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget MainWindow
		this.UIManager = new global::Gtk.UIManager ();
		global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
		this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
		this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
		w1.Add (this.FileAction, null);
		this.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);
	}
示例#17
0
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget PArticulo.ListArticuloView
			Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
			this.UIManager = new global::Gtk.UIManager ();
			global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
			this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh");
			w2.Add (this.refreshAction, null);
			this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add");
			w2.Add (this.addAction, null);
			this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete");
			w2.Add (this.deleteAction, null);
			this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit");
			w2.Add (this.editAction, null);
			this.UIManager.InsertActionGroup (w2, 0);
			this.Name = "PArticulo.ListArticuloView";
			// Container child PArticulo.ListArticuloView.Gtk.Container+ContainerChild
			this.vbox1 = new global::Gtk.VBox ();
			this.vbox1.Name = "vbox1";
			this.vbox1.Spacing = 6;
			// Container child vbox1.Gtk.Box+BoxChild
			this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='refreshAction' action='refreshAction'/><toolitem name='addAction' action='addAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='editAction' action='editAction'/></toolbar></ui>");
			this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
			this.toolbar1.Name = "toolbar1";
			this.toolbar1.ShowArrow = false;
			this.vbox1.Add (this.toolbar1);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
			w3.Position = 0;
			w3.Expand = false;
			w3.Fill = false;
			// Container child vbox1.Gtk.Box+BoxChild
			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow.Name = "GtkScrolledWindow";
			this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
			this.treeView = new global::Gtk.TreeView ();
			this.treeView.CanFocus = true;
			this.treeView.Name = "treeView";
			this.GtkScrolledWindow.Add (this.treeView);
			this.vbox1.Add (this.GtkScrolledWindow);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
			w5.Position = 1;
			this.Add (this.vbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			w1.SetUiManager (UIManager);
			this.Hide ();
			this.refreshAction.Activated += new global::System.EventHandler (this.OnRefreshActionActivated);
			this.addAction.Activated += new global::System.EventHandler (this.OnAddActionActivated);
			this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated);
		}
示例#18
0
文件: MainWindow.cs 项目: ruben206/ad
 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);
 }
示例#19
0
文件: MainWindow.cs 项目: c-trives/ad
 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 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);
 }
示例#21
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.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\'/></too" +
                                    "lbar></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);
 }
示例#22
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);
 }
示例#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.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);
 }
示例#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._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);
 }
 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);
 }
示例#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.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 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);
 }
示例#28
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);
 }
 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);
 }
示例#30
0
文件: MainWindow.cs 项目: pepe81/edcs
 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);
 }
示例#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.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);
 }
示例#32
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MyQA.view.HistoryScreen
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.KAction            = new global::Gtk.Action("KAction", global::Mono.Unix.Catalog.GetString("K"), null, null);
     this.KAction.ShortLabel = global::Mono.Unix.Catalog.GetString("K");
     w2.Add(this.KAction, null);
     this.kAction            = new global::Gtk.Action("kAction", global::Mono.Unix.Catalog.GetString("k"), null, null);
     this.kAction.ShortLabel = global::Mono.Unix.Catalog.GetString("k");
     w2.Add(this.kAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.WidthRequest  = 800;
     this.HeightRequest = 600;
     this.Name          = "MyQA.view.HistoryScreen";
     // Container child MyQA.view.HistoryScreen.Gtk.Container+ContainerChild
     this.fixed2           = new global::Gtk.Fixed();
     this.fixed2.Name      = "fixed2";
     this.fixed2.HasWindow = false;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.background = new global::Gtk.Image();
     this.background.WidthRequest  = 800;
     this.background.HeightRequest = 600;
     this.background.Name          = "background";
     this.fixed2.Add(this.background);
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.backBtn = new global::Gtk.Button();
     this.backBtn.WidthRequest  = 110;
     this.backBtn.HeightRequest = 50;
     this.backBtn.Name          = "backBtn";
     this.fixed2.Add(this.backBtn);
     global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.backBtn]));
     w4.X = 350;
     w4.Y = 450;
     this.Add(this.fixed2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.backBtn.Clicked += new global::System.EventHandler(this.ClickToBack);
 }
示例#33
0
文件: MainWindow.cs 项目: juankza/ad
 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);
 }
 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.FichierAction = new global::Gtk.Action ("FichierAction", global::Mono.Unix.Catalog.GetString ("Fichier"), null, null);
     this.FichierAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Fichier");
     w1.Add (this.FichierAction, null);
     this.NouvelleDBGBNAction = new global::Gtk.Action ("NouvelleDBGBNAction", global::Mono.Unix.Catalog.GetString ("Nouvelle DB GBN"), null, null);
     this.NouvelleDBGBNAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Nouvelle DB GBN");
     w1.Add (this.NouvelleDBGBNAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("W40Kreator - DBEditor");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.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=\'menubar2\'><menu name=\'FichierAction\' action=\'FichierAction\'><m" +
     "enuitem name=\'NouvelleDBGBNAction\' action=\'NouvelleDBGBNAction\'/></menu></menuba" +
     "r></ui>");
     this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.fixed1.Add (this.menubar2);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.menubar2]));
     w2.X = 14;
     w2.Y = 9;
     this.alignment1.Add (this.fixed1);
     this.Add (this.alignment1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 424;
     this.DefaultHeight = 300;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.NouvelleDBGBNAction.Activated += new global::System.EventHandler (this.NewCoreDB);
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget meticulus.controls.gtk.default_viewer
			Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
			this.UIManager = new global::Gtk.UIManager ();
			global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
			this.saveAsAction = new global::Gtk.Action ("saveAsAction", null, null, "gtk-save-as");
			w2.Add (this.saveAsAction, null);
			this.executeAction = new global::Gtk.Action ("executeAction", null, global::Mono.Unix.Catalog.GetString ("xdg-open"), "gtk-execute");
			w2.Add (this.executeAction, null);
			this.fullscreenAction = new global::Gtk.Action ("fullscreenAction", null, null, "gtk-fullscreen");
			w2.Add (this.fullscreenAction, null);
			this.UIManager.InsertActionGroup (w2, 0);
			this.Name = "meticulus.controls.gtk.default_viewer";
			// Container child meticulus.controls.gtk.default_viewer.Gtk.Container+ContainerChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 6;
			// Container child vbox2.Gtk.Box+BoxChild
			this.toolbar1 = new global::meticulus.controls.gtk.toolbar ();
			this.toolbar1.HeightRequest = 50;
			this.toolbar1.Events = ((global::Gdk.EventMask)(256));
			this.toolbar1.Name = "toolbar1";
			this.toolbar1.small = 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;
			this.Add (this.vbox2);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			w1.SetUiManager (UIManager);
			this.Hide ();
			this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated);
			this.executeAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
			this.fullscreenAction.Activated += new global::System.EventHandler (this.OnFullscreenActionActivated);
		}
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget meticulus.controls.gtk.text_viewer
			Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
			this.UIManager = new global::Gtk.UIManager ();
			global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
			this.spellCheckAction = new global::Gtk.Action ("spellCheckAction", null, null, "gtk-spell-check");
			w2.Add (this.spellCheckAction, null);
			this.Action = new global::Gtk.Action ("Action", null, null, null);
			w2.Add (this.Action, null);
			this.UIManager.InsertActionGroup (w2, 0);
			this.Name = "meticulus.controls.gtk.text_viewer";
			// Container child meticulus.controls.gtk.text_viewer.Gtk.Container+ContainerChild
			this.vbox1 = new global::Gtk.VBox ();
			this.vbox1.Name = "vbox1";
			this.vbox1.Spacing = 6;
			// Container child vbox1.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.textview1 = new global::Gtk.TextView ();
			this.textview1.CanFocus = true;
			this.textview1.Name = "textview1";
			this.textview1.Editable = false;
			this.textview1.WrapMode = ((global::Gtk.WrapMode)(2));
			this.scrolledwindow1.Add (this.textview1);
			this.vbox1.Add (this.scrolledwindow1);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.scrolledwindow1]));
			w4.Position = 1;
			this.Add (this.vbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			w1.SetUiManager (UIManager);
			this.Hide ();
		}
示例#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("");
     this.Action = new global::Gtk.Action("Action", null, null, null);
     w1.Add(this.Action, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Clonebit");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1600;
     this.DefaultHeight = 900;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
示例#38
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("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));
     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 MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.DateiAction            = new global::Gtk.Action("DateiAction", global::Mono.Unix.Catalog.GetString("Datei"), null, null);
     this.DateiAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Datei");
     w1.Add(this.DateiAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Beenden"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Beenden");
     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.fixed4           = new global::Gtk.Fixed();
     this.fixed4.Name      = "fixed4";
     this.fixed4.HasWindow = false;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar4\'><menu name=\'DateiAction\' action=\'DateiAction\'><menui" +
                                    "tem name=\'quitAction\' action=\'quitAction\'/></menu></menubar></ui>");
     this.menubar4      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar4")));
     this.menubar4.Name = "menubar4";
     this.fixed4.Add(this.menubar4);
     this.Add(this.fixed4);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 755;
     this.DefaultHeight = 565;
     this.Show();
     this.DeleteEvent          += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated);
 }
示例#40
0
文件: MainWindow.cs 项目: esterdam/ad
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.executeAction = new global::Gtk.Action ("executeAction", global::Mono.Unix.Catalog.GetString ("Ejecutar"), null, "gtk-execute");
     this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ejecutar");
     w1.Add (this.executeAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("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='executeAction' action='executeAction'/></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;
     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.executeAction.Activated += new global::System.EventHandler (this.OnExecuteActionActivated);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LampManager.PHPPanel
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.editAction             = new global::Gtk.Action("editAction", global::Mono.Unix.Catalog.GetString("Editar php.ini"), null, "gtk-edit");
     this.editAction.IsImportant = true;
     this.editAction.ShortLabel  = global::Mono.Unix.Catalog.GetString("Editar php.ini");
     w2.Add(this.editAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "LampManager.PHPPanel";
     // Container child LampManager.PHPPanel.Gtk.Container+ContainerChild
     this.vbox3             = new global::Gtk.VBox();
     this.vbox3.Name        = "vbox3";
     this.vbox3.Spacing     = 6;
     this.vbox3.BorderWidth = ((uint)(9));
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Version:</b>");
     this.label11.UseMarkup = true;
     this.hbox3.Add(this.label11);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label11]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.versionLabel           = new global::Gtk.Label();
     this.versionLabel.Name      = "versionLabel";
     this.versionLabel.LabelProp = global::Mono.Unix.Catalog.GetString("label12");
     this.hbox3.Add(this.versionLabel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.versionLabel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox3.Add(this.hbox3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.notebook3             = new global::Gtk.Notebook();
     this.notebook3.CanFocus    = true;
     this.notebook3.Name        = "notebook3";
     this.notebook3.CurrentPage = 0;
     // Container child notebook3.Gtk.Notebook+NotebookChild
     this.scrolledwindow3            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow3.CanFocus   = true;
     this.scrolledwindow3.Name       = "scrolledwindow3";
     this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow3.Gtk.Container+ContainerChild
     this.infoTextView          = new global::Gtk.TextView();
     this.infoTextView.CanFocus = true;
     this.infoTextView.Name     = "infoTextView";
     this.infoTextView.Editable = false;
     this.scrolledwindow3.Add(this.infoTextView);
     this.notebook3.Add(this.scrolledwindow3);
     // Notebook tab
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("PHPInfo");
     this.notebook3.SetTabLabel(this.scrolledwindow3, this.label10);
     this.label10.ShowAll();
     this.vbox3.Add(this.notebook3);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook3]));
     w8.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar2'><toolitem name='editAction' action='editAction'/></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 w9 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.toolbar2]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.editAction.Activated += new global::System.EventHandler(this.OnEditPHPIni);
 }
示例#42
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget FontTool.FontStyleWindow
     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.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.CloseAction            = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close");
     w1.Add(this.CloseAction, null);
     this.SettingsAction            = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null);
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings");
     w1.Add(this.SettingsAction, null);
     this.FontAction            = new global::Gtk.Action("FontAction", global::Mono.Unix.Catalog.GetString("Font"), null, null);
     this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Font");
     w1.Add(this.FontAction, null);
     this.WindowStyleAction            = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null);
     this.WindowStyleAction.Sensitive  = false;
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Window style");
     this.WindowStyleAction.Visible    = false;
     w1.Add(this.WindowStyleAction, 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.CustomStyleAction            = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE2"), null, null, 0);
     this.CustomStyleAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.CustomStyleAction.Sensitive  = false;
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE2");
     this.CustomStyleAction.Visible    = false;
     w1.Add(this.CustomStyleAction, null);
     this.PlatformStyleAction            = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction.Group      = this.CustomStyleAction.Group;
     this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     w1.Add(this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction            = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE2"), null, null, 0);
     this.DecoratedCustomStyleAction.Group      = this.CustomStyleAction.Group;
     this.DecoratedCustomStyleAction.Sensitive  = false;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE2");
     this.DecoratedCustomStyleAction.Visible    = false;
     w1.Add(this.DecoratedCustomStyleAction, null);
     this.OnlyEnglishAction            = new global::Gtk.ToggleAction("OnlyEnglishAction", global::Mono.Unix.Catalog.GetString("Only English"), null, null);
     this.OnlyEnglishAction.Active     = true;
     this.OnlyEnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Only English");
     w1.Add(this.OnlyEnglishAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.WidthRequest   = 536;
     this.HeightRequest  = 536;
     this.CanDefault     = true;
     this.Name           = "FontTool.FontStyleWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("FontTool");
     this.TypeHint       = ((global::Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Resizable      = false;
     this.Decorated      = false;
     // Container child FontTool.FontStyleWindow.Gtk.Container+ContainerChild
     this.vbox1      = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='SaveAction' action='SaveAction'/><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='OnlyEnglishAction' action='OnlyEnglishAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookFont             = new global::Gtk.Notebook();
     this.notebookFont.CanFocus    = true;
     this.notebookFont.Name        = "notebookFont";
     this.notebookFont.CurrentPage = 0;
     this.notebookFont.ShowTabs    = false;
     // Container child notebookFont.Gtk.Notebook+NotebookChild
     this.vboxFontSettings             = new global::Gtk.VBox();
     this.vboxFontSettings.Name        = "vboxFontSettings";
     this.vboxFontSettings.Spacing     = 6;
     this.vboxFontSettings.BorderWidth = ((uint)(6));
     // Container child vboxFontSettings.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.treeFont          = new global::Gtk.TreeView();
     this.treeFont.CanFocus = true;
     this.treeFont.Name     = "treeFont";
     this.GtkScrolledWindow.Add(this.treeFont);
     this.vboxFontSettings.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.GtkScrolledWindow]));
     w4.Position = 0;
     // Container child vboxFontSettings.Gtk.Box+BoxChild
     this.vboxSamplePreview         = new global::Gtk.VBox();
     this.vboxSamplePreview.Name    = "vboxSamplePreview";
     this.vboxSamplePreview.Spacing = 6;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.lPreview           = new global::Gtk.Label();
     this.lPreview.Name      = "lPreview";
     this.lPreview.Xalign    = 0F;
     this.lPreview.LabelProp = global::Mono.Unix.Catalog.GetString("Preview");
     this.vboxSamplePreview.Add(this.lPreview);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.lPreview]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.preview = new global::Gtk.DrawingArea();
     this.preview.HeightRequest = 90;
     this.preview.Name          = "preview";
     this.vboxSamplePreview.Add(this.preview);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.preview]));
     w6.Position = 1;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.ePreviewSample               = new global::Gtk.Entry();
     this.ePreviewSample.CanFocus      = true;
     this.ePreviewSample.Name          = "ePreviewSample";
     this.ePreviewSample.Text          = global::Mono.Unix.Catalog.GetString("DGLE2 is here!");
     this.ePreviewSample.IsEditable    = true;
     this.ePreviewSample.InvisibleChar = '●';
     this.vboxSamplePreview.Add(this.ePreviewSample);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.ePreviewSample]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vboxFontSettings.Add(this.vboxSamplePreview);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.vboxSamplePreview]));
     w8.Position = 1;
     w8.Expand   = false;
     // Container child vboxFontSettings.Gtk.Box+BoxChild
     this.hboxSettings         = new global::Gtk.HBox();
     this.hboxSettings.Name    = "hboxSettings";
     this.hboxSettings.Spacing = 6;
     // Container child hboxSettings.Gtk.Box+BoxChild
     this.tableSettings               = new global::Gtk.Table(((uint)(2)), ((uint)(4)), true);
     this.tableSettings.Name          = "tableSettings";
     this.tableSettings.RowSpacing    = ((uint)(12));
     this.tableSettings.ColumnSpacing = ((uint)(12));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbBold               = new global::Gtk.CheckButton();
     this.cbBold.CanFocus      = true;
     this.cbBold.Name          = "cbBold";
     this.cbBold.Label         = global::Mono.Unix.Catalog.GetString("Bold");
     this.cbBold.DrawIndicator = true;
     this.cbBold.UseUnderline  = true;
     this.tableSettings.Add(this.cbBold);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbBold]));
     w9.LeftAttach  = ((uint)(3));
     w9.RightAttach = ((uint)(4));
     w9.XOptions    = ((global::Gtk.AttachOptions)(4));
     w9.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbItalic               = new global::Gtk.CheckButton();
     this.cbItalic.CanFocus      = true;
     this.cbItalic.Name          = "cbItalic";
     this.cbItalic.Label         = global::Mono.Unix.Catalog.GetString("Italic");
     this.cbItalic.DrawIndicator = true;
     this.cbItalic.UseUnderline  = true;
     this.tableSettings.Add(this.cbItalic);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbItalic]));
     w10.LeftAttach  = ((uint)(2));
     w10.RightAttach = ((uint)(3));
     w10.XOptions    = ((global::Gtk.AttachOptions)(4));
     w10.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbStrikeout               = new global::Gtk.CheckButton();
     this.cbStrikeout.CanFocus      = true;
     this.cbStrikeout.Name          = "cbStrikeout";
     this.cbStrikeout.Label         = global::Mono.Unix.Catalog.GetString("Strikeout");
     this.cbStrikeout.DrawIndicator = true;
     this.cbStrikeout.UseUnderline  = true;
     this.tableSettings.Add(this.cbStrikeout);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbStrikeout]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(3));
     w11.RightAttach  = ((uint)(4));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbUnderline               = new global::Gtk.CheckButton();
     this.cbUnderline.CanFocus      = true;
     this.cbUnderline.Name          = "cbUnderline";
     this.cbUnderline.Label         = global::Mono.Unix.Catalog.GetString("Underline");
     this.cbUnderline.DrawIndicator = true;
     this.cbUnderline.UseUnderline  = true;
     this.tableSettings.Add(this.cbUnderline);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbUnderline]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.lSize           = new global::Gtk.Label();
     this.lSize.Name      = "lSize";
     this.lSize.Xalign    = 0F;
     this.lSize.LabelProp = global::Mono.Unix.Catalog.GetString("Size");
     this.tableSettings.Add(this.lSize);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lSize]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.lStretch           = new global::Gtk.Label();
     this.lStretch.Name      = "lStretch";
     this.lStretch.Xalign    = 0F;
     this.lStretch.LabelProp = global::Mono.Unix.Catalog.GetString("Stretch");
     this.tableSettings.Add(this.lStretch);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lStretch]));
     w14.TopAttach    = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.sbSize = new global::Gtk.SpinButton(4D, 72D, 1D);
     this.sbSize.WidthRequest             = 80;
     this.sbSize.CanFocus                 = true;
     this.sbSize.Name                     = "sbSize";
     this.sbSize.Adjustment.PageIncrement = 10D;
     this.sbSize.ClimbRate                = 1D;
     this.sbSize.Numeric                  = true;
     this.sbSize.Value                    = 12D;
     this.tableSettings.Add(this.sbSize);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbSize]));
     w15.LeftAttach  = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions    = ((global::Gtk.AttachOptions)(4));
     w15.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.sbStretch = new global::Gtk.SpinButton(0D, 72D, 1D);
     this.sbStretch.WidthRequest             = 80;
     this.sbStretch.CanFocus                 = true;
     this.sbStretch.Name                     = "sbStretch";
     this.sbStretch.Adjustment.PageIncrement = 10D;
     this.sbStretch.ClimbRate                = 1D;
     this.sbStretch.Numeric                  = true;
     this.tableSettings.Add(this.sbStretch);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbStretch]));
     w16.TopAttach    = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hboxSettings.Add(this.tableSettings);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.tableSettings]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hboxSettings.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.btnNextPreview              = new global::Gtk.Button();
     this.btnNextPreview.CanFocus     = true;
     this.btnNextPreview.Name         = "btnNextPreview";
     this.btnNextPreview.UseUnderline = true;
     // Container child btnNextPreview.Gtk.Container+ContainerChild
     global::Gtk.Alignment w18 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w19 = new global::Gtk.HBox();
     w19.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w20 = new global::Gtk.Image();
     w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu);
     w19.Add(w20);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w22 = new global::Gtk.Label();
     w22.LabelProp    = global::Mono.Unix.Catalog.GetString("Preview");
     w22.UseUnderline = true;
     w19.Add(w22);
     w18.Add(w19);
     this.btnNextPreview.Add(w18);
     this.vbox2.Add(this.btnNextPreview);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnNextPreview]));
     w26.PackType = ((global::Gtk.PackType)(1));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     this.hboxSettings.Add(this.vbox2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.vbox2]));
     w27.PackType = ((global::Gtk.PackType)(1));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vboxFontSettings.Add(this.hboxSettings);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.hboxSettings]));
     w28.Position = 2;
     w28.Expand   = false;
     w28.Fill     = false;
     w28.Padding  = ((uint)(6));
     this.notebookFont.Add(this.vboxFontSettings);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Settings");
     this.notebookFont.SetTabLabel(this.vboxFontSettings, this.label1);
     this.label1.ShowAll();
     // Container child notebookFont.Gtk.Notebook+NotebookChild
     this.vboxBuildPreview             = new global::Gtk.VBox();
     this.vboxBuildPreview.Name        = "vboxBuildPreview";
     this.vboxBuildPreview.Spacing     = 6;
     this.vboxBuildPreview.BorderWidth = ((uint)(6));
     // Container child vboxBuildPreview.Gtk.Box+BoxChild
     this.scrolledwindowPreview            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowPreview.CanFocus   = true;
     this.scrolledwindowPreview.Name       = "scrolledwindowPreview";
     this.scrolledwindowPreview.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindowPreview.Gtk.Container+ContainerChild
     global::Gtk.Viewport w30 = new global::Gtk.Viewport();
     w30.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.fontPreviewImage      = new global::FontTool.FontPreviewWidget();
     this.fontPreviewImage.Name = "fontPreviewImage";
     w30.Add(this.fontPreviewImage);
     this.scrolledwindowPreview.Add(w30);
     this.vboxBuildPreview.Add(this.scrolledwindowPreview);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.scrolledwindowPreview]));
     w33.Position = 0;
     // Container child vboxBuildPreview.Gtk.Box+BoxChild
     this.hboxPreview         = new global::Gtk.HBox();
     this.hboxPreview.Name    = "hboxPreview";
     this.hboxPreview.Spacing = 6;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.lImageSize           = new global::Gtk.Label();
     this.lImageSize.Name      = "lImageSize";
     this.lImageSize.LabelProp = global::Mono.Unix.Catalog.GetString("Image 0 X 0");
     this.hboxPreview.Add(this.lImageSize);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lImageSize]));
     w34.Position = 0;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.lFileSize           = new global::Gtk.Label();
     this.lFileSize.Name      = "lFileSize";
     this.lFileSize.LabelProp = global::Mono.Unix.Catalog.GetString("0 KB");
     this.hboxPreview.Add(this.lFileSize);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lFileSize]));
     w35.Position = 1;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.btnPrevSettings              = new global::Gtk.Button();
     this.btnPrevSettings.CanFocus     = true;
     this.btnPrevSettings.Name         = "btnPrevSettings";
     this.btnPrevSettings.UseUnderline = true;
     // Container child btnPrevSettings.Gtk.Container+ContainerChild
     global::Gtk.Alignment w36 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w37 = new global::Gtk.HBox();
     w37.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w38 = new global::Gtk.Image();
     w38.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu);
     w37.Add(w38);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w40 = new global::Gtk.Label();
     w40.LabelProp    = global::Mono.Unix.Catalog.GetString("Settings");
     w40.UseUnderline = true;
     w37.Add(w40);
     w36.Add(w37);
     this.btnPrevSettings.Add(w36);
     this.hboxPreview.Add(this.btnPrevSettings);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.btnPrevSettings]));
     w44.PackType = ((global::Gtk.PackType)(1));
     w44.Position = 2;
     w44.Expand   = false;
     w44.Fill     = false;
     this.vboxBuildPreview.Add(this.hboxPreview);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.hboxPreview]));
     w45.Position = 1;
     w45.Expand   = false;
     w45.Fill     = false;
     w45.Padding  = ((uint)(6));
     this.notebookFont.Add(this.vboxBuildPreview);
     global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookFont [this.vboxBuildPreview]));
     w46.Position = 1;
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Preview");
     this.notebookFont.SetTabLabel(this.vboxBuildPreview, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.notebookFont);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookFont]));
     w47.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 536;
     this.DefaultHeight = 536;
     this.HasDefault    = true;
     this.Show();
 }
示例#43
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.Action11            = new global::Gtk.Action("Action11", global::Mono.Unix.Catalog.GetString("Файл"), null, null);
     this.Action11.ShortLabel = global::Mono.Unix.Catalog.GetString("Файл");
     w1.Add(this.Action11, null);
     this.HTMLAction            = new global::Gtk.Action("HTMLAction", global::Mono.Unix.Catalog.GetString("Конвертувати в HTML"), null, null);
     this.HTMLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Конвертувати в HTML");
     w1.Add(this.HTMLAction, null);
     this.Action2            = new global::Gtk.Action("Action2", global::Mono.Unix.Catalog.GetString("Інфо"), null, null);
     this.Action2.ShortLabel = global::Mono.Unix.Catalog.GetString("Інфо");
     w1.Add(this.Action2, null);
     this.AboutAuthorAction            = new global::Gtk.Action("AboutAuthorAction", global::Mono.Unix.Catalog.GetString("Про автора"), null, null);
     this.AboutAuthorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Про автора");
     w1.Add(this.AboutAuthorAction, 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=\'Action11\' action=\'Action11\'><menuitem na" +
                                    "me=\'HTMLAction\' action=\'HTMLAction\'/></menu><menu name=\'Action2\' action=\'Action2" +
                                    "\'><menuitem name=\'AboutAuthorAction\' action=\'AboutAuthorAction\'/></menu></menuba" +
                                    "r></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Назва");
     this.hbox8.Add(this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     w3.Padding  = ((uint)(28));
     // Container child hbox8.Gtk.Box+BoxChild
     this.comboboxTitle      = global::Gtk.ComboBox.NewText();
     this.comboboxTitle.Name = "comboboxTitle";
     this.hbox8.Add(this.comboboxTitle);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.comboboxTitle]));
     w4.Position = 1;
     this.vbox2.Add(this.hbox8);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox8]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Ім\'я автора");
     this.hbox7.Add(this.label2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label2]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     w6.Padding  = ((uint)(13));
     // Container child hbox7.Gtk.Box+BoxChild
     this.comboboxAuthor      = global::Gtk.ComboBox.NewText();
     this.comboboxAuthor.Name = "comboboxAuthor";
     this.hbox7.Add(this.comboboxAuthor);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.comboboxAuthor]));
     w7.Position = 1;
     this.vbox2.Add(this.hbox7);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Жанр");
     this.hbox6.Add(this.label3);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label3]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     w9.Padding  = ((uint)(30));
     // Container child hbox6.Gtk.Box+BoxChild
     this.comboboxGenre      = global::Gtk.ComboBox.NewText();
     this.comboboxGenre.Name = "comboboxGenre";
     this.hbox6.Add(this.comboboxGenre);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.comboboxGenre]));
     w10.Position = 1;
     this.vbox2.Add(this.hbox6);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Мова оригіналу");
     this.hbox5.Add(this.label4);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label4]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.comboboxLanguage      = global::Gtk.ComboBox.NewText();
     this.comboboxLanguage.Name = "comboboxLanguage";
     this.hbox5.Add(this.comboboxLanguage);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.comboboxLanguage]));
     w13.Position = 1;
     this.vbox2.Add(this.hbox5);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Дата написання");
     this.hbox4.Add(this.label5);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label5]));
     w15.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.spinbuttonDateFrom          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.spinbuttonDateFrom.CanFocus = true;
     this.spinbuttonDateFrom.Name     = "spinbuttonDateFrom";
     this.spinbuttonDateFrom.Adjustment.PageIncrement = 10D;
     this.spinbuttonDateFrom.ClimbRate = 1D;
     this.spinbuttonDateFrom.Numeric   = true;
     this.hbox4.Add(this.spinbuttonDateFrom);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.spinbuttonDateFrom]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("-");
     this.hbox4.Add(this.label7);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label7]));
     w17.Position = 2;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.spinbuttonDateTo          = new global::Gtk.SpinButton(0D, 2020D, 1D);
     this.spinbuttonDateTo.CanFocus = true;
     this.spinbuttonDateTo.Name     = "spinbuttonDateTo";
     this.spinbuttonDateTo.Adjustment.PageIncrement = 10D;
     this.spinbuttonDateTo.ClimbRate = 1D;
     this.spinbuttonDateTo.Numeric   = true;
     this.spinbuttonDateTo.Value     = 2020D;
     this.hbox4.Add(this.spinbuttonDateTo);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.spinbuttonDateTo]));
     w18.Position = 3;
     w18.Expand   = false;
     w18.Fill     = false;
     this.vbox2.Add(this.hbox4);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4]));
     w19.Position = 4;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Кількість сторінок");
     this.hbox3.Add(this.label6);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label6]));
     w20.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.spinbuttonPagesFrom          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.spinbuttonPagesFrom.CanFocus = true;
     this.spinbuttonPagesFrom.Name     = "spinbuttonPagesFrom";
     this.spinbuttonPagesFrom.Adjustment.PageIncrement = 10D;
     this.spinbuttonPagesFrom.ClimbRate = 1D;
     this.spinbuttonPagesFrom.Numeric   = true;
     this.hbox3.Add(this.spinbuttonPagesFrom);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinbuttonPagesFrom]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("-");
     this.hbox3.Add(this.label8);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label8]));
     w22.Position = 2;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.spinbuttonPagesTo          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.spinbuttonPagesTo.CanFocus = true;
     this.spinbuttonPagesTo.Name     = "spinbuttonPagesTo";
     this.spinbuttonPagesTo.Adjustment.PageIncrement = 10D;
     this.spinbuttonPagesTo.ClimbRate = 1D;
     this.spinbuttonPagesTo.Numeric   = true;
     this.hbox3.Add(this.spinbuttonPagesTo);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinbuttonPagesTo]));
     w23.Position = 3;
     w23.Expand   = false;
     w23.Fill     = false;
     this.vbox2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w24.Position = 5;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.radiobuttonLINQ               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("LINQ"));
     this.radiobuttonLINQ.CanFocus      = true;
     this.radiobuttonLINQ.Name          = "radiobuttonLINQ";
     this.radiobuttonLINQ.DrawIndicator = true;
     this.radiobuttonLINQ.UseUnderline  = true;
     this.radiobuttonLINQ.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.hbox2.Add(this.radiobuttonLINQ);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.radiobuttonLINQ]));
     w25.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.radiobuttonSAX               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("SAX"));
     this.radiobuttonSAX.CanFocus      = true;
     this.radiobuttonSAX.Name          = "radiobuttonSAX";
     this.radiobuttonSAX.DrawIndicator = true;
     this.radiobuttonSAX.UseUnderline  = true;
     this.radiobuttonSAX.Group         = this.radiobuttonLINQ.Group;
     this.hbox2.Add(this.radiobuttonSAX);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.radiobuttonSAX]));
     w26.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.radiobuttonDOM               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("DOM"));
     this.radiobuttonDOM.CanFocus      = true;
     this.radiobuttonDOM.Name          = "radiobuttonDOM";
     this.radiobuttonDOM.DrawIndicator = true;
     this.radiobuttonDOM.UseUnderline  = true;
     this.radiobuttonDOM.Group         = this.radiobuttonLINQ.Group;
     this.hbox2.Add(this.radiobuttonDOM);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.radiobuttonDOM]));
     w27.Position = 2;
     this.vbox2.Add(this.hbox2);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w28.Position = 6;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonSearch              = new global::Gtk.Button();
     this.buttonSearch.CanFocus     = true;
     this.buttonSearch.Name         = "buttonSearch";
     this.buttonSearch.UseUnderline = true;
     this.buttonSearch.Label        = global::Mono.Unix.Catalog.GetString("Пошук");
     this.hbox9.Add(this.buttonSearch);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonSearch]));
     w29.Position = 0;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonClear              = new global::Gtk.Button();
     this.buttonClear.CanFocus     = true;
     this.buttonClear.Name         = "buttonClear";
     this.buttonClear.UseUnderline = true;
     this.buttonClear.Label        = global::Mono.Unix.Catalog.GetString("Очистити");
     this.hbox9.Add(this.buttonClear);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonClear]));
     w30.Position = 1;
     this.vbox2.Add(this.hbox9);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox9]));
     w31.PackType = ((global::Gtk.PackType)(1));
     w31.Position = 7;
     w31.Expand   = false;
     w31.Fill     = false;
     this.hbox1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
     w32.Position = 0;
     w32.Expand   = false;
     w32.Fill     = false;
     // 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.textview               = new global::Gtk.TextView();
     this.textview.CanFocus      = true;
     this.textview.Name          = "textview";
     this.textview.Editable      = false;
     this.textview.CursorVisible = false;
     this.GtkScrolledWindow.Add(this.textview);
     this.hbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
     w34.Position = 1;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w35.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 753;
     this.DefaultHeight = 348;
     this.Show();
     this.DeleteEvent                 += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.HTMLAction.Activated        += new global::System.EventHandler(this.BtnConvertActivated);
     this.AboutAuthorAction.Activated += new global::System.EventHandler(this.AboutAuthorActivated);
     this.buttonSearch.Clicked        += new global::System.EventHandler(this.OnSearchClicked);
     this.buttonClear.Clicked         += new global::System.EventHandler(this.OnClearClicked);
 }
示例#44
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.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.ColorAction            = new global::Gtk.Action("ColorAction", global::Mono.Unix.Catalog.GetString("_Color"), null, null);
     this.ColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Color");
     w1.Add(this.ColorAction, null);
     this.goBackAction            = new global::Gtk.Action("goBackAction", global::Mono.Unix.Catalog.GetString("_Back"), null, "gtk-go-back");
     this.goBackAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Undo");
     w1.Add(this.goBackAction, "<Primary>Left");
     this.goForwardAction            = new global::Gtk.Action("goForwardAction", global::Mono.Unix.Catalog.GetString("_Forward"), null, "gtk-go-forward");
     this.goForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Redo");
     w1.Add(this.goForwardAction, "<Primary>Right");
     this.CopyHexColorAction            = new global::Gtk.Action("CopyHexColorAction", global::Mono.Unix.Catalog.GetString("Copy He_x"), null, null);
     this.CopyHexColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy He_x");
     w1.Add(this.CopyHexColorAction, null);
     this.CopyHSLColorAction            = new global::Gtk.Action("CopyHSLColorAction", global::Mono.Unix.Catalog.GetString("Copy HS_L"), null, null);
     this.CopyHSLColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy HS_L");
     w1.Add(this.CopyHSLColorAction, null);
     this.CopyHSVColorAction            = new global::Gtk.Action("CopyHSVColorAction", global::Mono.Unix.Catalog.GetString("Copy HS_V"), null, null);
     this.CopyHSVColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy HS_V");
     w1.Add(this.CopyHSVColorAction, null);
     this.PasteAcquireAction            = new global::Gtk.Action("PasteAcquireAction", global::Mono.Unix.Catalog.GetString("_Paste"), null, null);
     this.PasteAcquireAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste");
     w1.Add(this.PasteAcquireAction, null);
     this.refreshAction            = new global::Gtk.Action("refreshAction", global::Mono.Unix.Catalog.GetString("_Random"), null, "gtk-refresh");
     this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rando_m");
     w1.Add(this.refreshAction, "<Primary>r");
     this.BrightenAction            = new global::Gtk.Action("BrightenAction", global::Mono.Unix.Catalog.GetString("_Brighten"), null, null);
     this.BrightenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Brighten");
     w1.Add(this.BrightenAction, "<Primary>k");
     this.DarkenAction            = new global::Gtk.Action("DarkenAction", global::Mono.Unix.Catalog.GetString("Dar_ken"), null, null);
     this.DarkenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Dar_ken");
     w1.Add(this.DarkenAction, "<Primary>j");
     this.SaturateAction            = new global::Gtk.Action("SaturateAction", global::Mono.Unix.Catalog.GetString("_Saturate"), null, null);
     this.SaturateAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Saturate");
     w1.Add(this.SaturateAction, "<Primary>l");
     this.DesaturateAction            = new global::Gtk.Action("DesaturateAction", global::Mono.Unix.Catalog.GetString("_Desaturate"), null, null);
     this.DesaturateAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Desaturate");
     w1.Add(this.DesaturateAction, "<Primary>h");
     this.InvertAction            = new global::Gtk.Action("InvertAction", global::Mono.Unix.Catalog.GetString("_Invert"), null, null);
     this.InvertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Invert");
     w1.Add(this.InvertAction, 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.SaveAsHTMLColorAction            = new global::Gtk.Action("SaveAsHTMLColorAction", global::Mono.Unix.Catalog.GetString("_Save as HTML"), null, null);
     this.SaveAsHTMLColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save as HTML");
     w1.Add(this.SaveAsHTMLColorAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction, null);
     this.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.executeAction            = new global::Gtk.Action("executeAction", global::Mono.Unix.Catalog.GetString("_Execute"), null, "gtk-execute");
     this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Execute");
     w1.Add(this.executeAction, null);
     this.aboutAction            = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w1.Add(this.aboutAction, null);
     this.AcquireAction            = new global::Gtk.Action("AcquireAction", global::Mono.Unix.Catalog.GetString("_Acquire"), null, null);
     this.AcquireAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Acquire");
     w1.Add(this.AcquireAction, null);
     this.newAction            = new global::Gtk.Action("newAction", global::Mono.Unix.Catalog.GetString("_New"), null, "gtk-new");
     this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New");
     w1.Add(this.newAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open");
     w1.Add(this.openAction, null);
     this.saveAction            = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Save"), null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save");
     w1.Add(this.saveAction, null);
     this.saveAsAction            = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Save _As"), null, "gtk-save-as");
     this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save _As");
     w1.Add(this.saveAsAction, null);
     this.undoAction            = new global::Gtk.Action("undoAction", global::Mono.Unix.Catalog.GetString("_Undo"), null, "gtk-undo");
     this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Undo");
     w1.Add(this.undoAction, "<Primary>z");
     this.redoAction            = new global::Gtk.Action("redoAction", global::Mono.Unix.Catalog.GetString("_Redo"), null, "gtk-redo");
     this.redoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Redo");
     w1.Add(this.redoAction, "<Primary>y");
     this.addAction            = new global::Gtk.Action("addAction", global::Mono.Unix.Catalog.GetString("_Add"), null, "gtk-add");
     this.addAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Add");
     w1.Add(this.addAction, "<Primary>a");
     this.deleteAction            = new global::Gtk.Action("deleteAction", global::Mono.Unix.Catalog.GetString("_Delete"), null, "gtk-delete");
     this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Delete");
     w1.Add(this.deleteAction, "Delete");
     this.AddAllAction            = new global::Gtk.Action("AddAllAction", global::Mono.Unix.Catalog.GetString("Add A_ll"), null, null);
     this.AddAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add A_ll");
     w1.Add(this.AddAllAction, null);
     this.cutAction            = new global::Gtk.Action("cutAction", global::Mono.Unix.Catalog.GetString("Cu_t"), null, "gtk-cut");
     this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cu_t");
     w1.Add(this.cutAction, null);
     this.copyAction            = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("_Copy"), null, "gtk-copy");
     this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Copy");
     w1.Add(this.copyAction, null);
     this.pasteAction            = new global::Gtk.Action("pasteAction", global::Mono.Unix.Catalog.GetString("_Paste"), null, "gtk-paste");
     this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste");
     w1.Add(this.pasteAction, null);
     this.ExportHTMLAction            = new global::Gtk.Action("ExportHTMLAction", global::Mono.Unix.Catalog.GetString("Export _HTML"), null, null);
     this.ExportHTMLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export HTML");
     w1.Add(this.ExportHTMLAction, null);
     this.propertiesAction            = new global::Gtk.Action("propertiesAction", global::Mono.Unix.Catalog.GetString("_Properties"), null, "gtk-properties");
     this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Properties");
     w1.Add(this.propertiesAction, null);
     this.BlendAction            = new global::Gtk.Action("BlendAction", global::Mono.Unix.Catalog.GetString("_Blend..."), null, null);
     this.BlendAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Blend...");
     w1.Add(this.BlendAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View");
     w1.Add(this.ViewAction, null);
     this.ListAction            = new global::Gtk.RadioAction("ListAction", global::Mono.Unix.Catalog.GetString("_List"), null, null, 0);
     this.ListAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.ListAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_List");
     w1.Add(this.ListAction, null);
     this.GridAction            = new global::Gtk.RadioAction("GridAction", global::Mono.Unix.Catalog.GetString("_Grid"), null, null, 0);
     this.GridAction.Group      = this.ListAction.Group;
     this.GridAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Grid");
     w1.Add(this.GridAction, null);
     this.RenameAction            = new global::Gtk.Action("RenameAction", global::Mono.Unix.Catalog.GetString("Re_name"), null, null);
     this.RenameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Re_name");
     w1.Add(this.RenameAction, null);
     this.sortAction            = new global::Gtk.Action("sortAction", global::Mono.Unix.Catalog.GetString("S_ort"), null, "gtk-sort-ascending");
     this.sortAction.ShortLabel = global::Mono.Unix.Catalog.GetString("S_ort");
     w1.Add(this.sortAction, null);
     this.ChangeMetadataAction            = new global::Gtk.Action("ChangeMetadataAction", global::Mono.Unix.Catalog.GetString("Change _Metadata"), null, null);
     this.ChangeMetadataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Change _Metadata");
     w1.Add(this.ChangeMetadataAction, 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";
     // Container child mainVbox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar1\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" +
                                    "m name=\'newAction\' action=\'newAction\'/><menuitem name=\'openAction\' action=\'openA" +
                                    "ction\'/><menuitem name=\'saveAction\' action=\'saveAction\'/><menuitem name=\'saveAsA" +
                                    "ction\' action=\'saveAsAction\'/><separator/><menuitem name=\'propertiesAction\' acti" +
                                    "on=\'propertiesAction\'/><separator/><menuitem name=\'ExportHTMLAction\' action=\'Exp" +
                                    "ortHTMLAction\'/><separator/><menuitem name=\'quitAction\' action=\'quitAction\'/></m" +
                                    "enu><menu name=\'EditAction\' action=\'EditAction\'><menuitem name=\'undoAction\' acti" +
                                    "on=\'undoAction\'/><menuitem name=\'redoAction\' action=\'redoAction\'/><separator/><m" +
                                    "enuitem name=\'cutAction\' action=\'cutAction\'/><menuitem name=\'copyAction\' action=" +
                                    "\'copyAction\'/><menuitem name=\'pasteAction\' action=\'pasteAction\'/><separator/><me" +
                                    "nuitem name=\'addAction\' action=\'addAction\'/><menuitem name=\'AddAllAction\' action" +
                                    "=\'AddAllAction\'/><menuitem name=\'deleteAction\' action=\'deleteAction\'/><menuitem " +
                                    "name=\'RenameAction\' action=\'RenameAction\'/><menuitem name=\'ChangeMetadataAction\'" +
                                    " action=\'ChangeMetadataAction\'/><separator/><menuitem name=\'sortAction\' action=\'" +
                                    "sortAction\'/></menu><menu name=\'ViewAction\' action=\'ViewAction\'><menuitem name=\'" +
                                    "ListAction\' action=\'ListAction\'/><menuitem name=\'GridAction\' action=\'GridAction\'" +
                                    "/></menu><menu name=\'AcquireAction\' action=\'AcquireAction\'><menuitem name=\'Paste" +
                                    "AcquireAction\' action=\'PasteAcquireAction\'/><menuitem name=\'refreshAction\' actio" +
                                    "n=\'refreshAction\'/><separator/><menuitem name=\'BlendAction\' action=\'BlendAction\'" +
                                    "/></menu><menu name=\'ColorAction\' action=\'ColorAction\'><menuitem name=\'goBackAct" +
                                    "ion\' action=\'goBackAction\'/><menuitem name=\'goForwardAction\' action=\'goForwardAc" +
                                    "tion\'/><separator/><menuitem name=\'CopyHexColorAction\' action=\'CopyHexColorActio" +
                                    "n\'/><menuitem name=\'CopyHSLColorAction\' action=\'CopyHSLColorAction\'/><menuitem n" +
                                    "ame=\'CopyHSVColorAction\' action=\'CopyHSVColorAction\'/><menuitem name=\'SaveAsHTML" +
                                    "ColorAction\' action=\'SaveAsHTMLColorAction\'/><separator/><menuitem name=\'Brighte" +
                                    "nAction\' action=\'BrightenAction\'/><menuitem name=\'DarkenAction\' action=\'DarkenAc" +
                                    "tion\'/><separator/><menuitem name=\'SaturateAction\' action=\'SaturateAction\'/><men" +
                                    "uitem name=\'DesaturateAction\' action=\'DesaturateAction\'/><separator/><menuitem n" +
                                    "ame=\'InvertAction\' action=\'InvertAction\'/></menu><menu name=\'HelpAction\' action=" +
                                    "\'HelpAction\'><menuitem name=\'aboutAction\' action=\'aboutAction\'/></menu></menubar" +
                                    "></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.mainVbox.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainVbox[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child mainVbox.Gtk.Box+BoxChild
     this.hpaned2          = new global::Gtk.HPaned();
     this.hpaned2.CanFocus = true;
     this.hpaned2.Name     = "hpaned2";
     this.hpaned2.Position = 156;
     // Container child hpaned2.Gtk.Paned+PanedChild
     this.paddedBox             = new global::Gtk.VBox();
     this.paddedBox.Name        = "paddedBox";
     this.paddedBox.Spacing     = 6;
     this.paddedBox.BorderWidth = ((uint)(6));
     // Container child paddedBox.Gtk.Box+BoxChild
     this.schemeBox      = new global::Gtk.ComboBox();
     this.schemeBox.Name = "schemeBox";
     this.paddedBox.Add(this.schemeBox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.paddedBox[this.schemeBox]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child paddedBox.Gtk.Box+BoxChild
     this.colorBox         = new global::Gtk.VBox();
     this.colorBox.Name    = "colorBox";
     this.colorBox.Spacing = 6;
     this.paddedBox.Add(this.colorBox);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.paddedBox[this.colorBox]));
     w4.Position = 1;
     this.hpaned2.Add(this.paddedBox);
     global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.paddedBox]));
     w5.Resize = false;
     // Container child hpaned2.Gtk.Paned+PanedChild
     this.eitherBox      = new global::Gtk.VBox();
     this.eitherBox.Name = "eitherBox";
     // Container child eitherBox.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.treeview1.HeadersVisible = false;
     this.GtkScrolledWindow.Add(this.treeview1);
     this.eitherBox.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.eitherBox[this.GtkScrolledWindow]));
     w7.Position = 0;
     // Container child eitherBox.Gtk.Box+BoxChild
     this.colorgridwidget1           = new global::Colours.ColorGridWidget();
     this.colorgridwidget1.Sensitive = false;
     this.colorgridwidget1.Events    = ((global::Gdk.EventMask)(256));
     this.colorgridwidget1.Name      = "colorgridwidget1";
     this.eitherBox.Add(this.colorgridwidget1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.eitherBox[this.colorgridwidget1]));
     w8.Position = 1;
     w8.Expand   = false;
     this.hpaned2.Add(this.eitherBox);
     this.mainVbox.Add(this.hpaned2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.mainVbox[this.hpaned2]));
     w10.Position = 1;
     this.Add(this.mainVbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 501;
     this.DefaultHeight = 316;
     this.colorgridwidget1.Hide();
     this.Show();
     this.DeleteEvent                         += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.goBackAction.Activated              += new global::System.EventHandler(this.OnUndoActionActivated);
     this.goForwardAction.Activated           += new global::System.EventHandler(this.OnRedoActionActivated);
     this.CopyHexColorAction.Activated        += new global::System.EventHandler(this.OnCopyHexActionActivated);
     this.CopyHSLColorAction.Activated        += new global::System.EventHandler(this.OnCopyHSLActionActivated);
     this.CopyHSVColorAction.Activated        += new global::System.EventHandler(this.OnCopyHSVActionActivated);
     this.PasteAcquireAction.Activated        += new global::System.EventHandler(this.OnPasteAcquireActionActivated);
     this.refreshAction.Activated             += new global::System.EventHandler(this.OnRandomActionActivated);
     this.BrightenAction.Activated            += new global::System.EventHandler(this.OnBrightenActionActivated);
     this.DarkenAction.Activated              += new global::System.EventHandler(this.OnDarkenActionActivated);
     this.SaturateAction.Activated            += new global::System.EventHandler(this.OnSaturateActionActivated);
     this.DesaturateAction.Activated          += new global::System.EventHandler(this.OnDesaturateActionActivated);
     this.InvertAction.Activated              += new global::System.EventHandler(this.OnInvertActionActivated);
     this.SaveAsHTMLColorAction.Activated     += new global::System.EventHandler(this.OnSaveAsHTMLColorActionActivated);
     this.quitAction.Activated                += new global::System.EventHandler(this.OnQuitActionActivated);
     this.aboutAction.Activated               += new global::System.EventHandler(this.OnAboutActionActivated);
     this.newAction.Activated                 += new global::System.EventHandler(this.OnNewActionActivated);
     this.openAction.Activated                += new global::System.EventHandler(this.OnOpenActionActivated);
     this.saveAction.Activated                += new global::System.EventHandler(this.OnSaveActionActivated);
     this.saveAsAction.Activated              += new global::System.EventHandler(this.OnSaveAsActionActivated);
     this.undoAction.Activated                += new global::System.EventHandler(this.OnPaletteUndoActionActivated);
     this.redoAction.Activated                += new global::System.EventHandler(this.OnPaletteRedoActionActivated);
     this.addAction.Activated                 += new global::System.EventHandler(this.OnAddActionActivated);
     this.deleteAction.Activated              += new global::System.EventHandler(this.OnDeleteActionActivated);
     this.AddAllAction.Activated              += new global::System.EventHandler(this.OnAddAllActionActivated);
     this.cutAction.Activated                 += new global::System.EventHandler(this.OnCutActionActivated);
     this.copyAction.Activated                += new global::System.EventHandler(this.OnCopyActionActivated);
     this.pasteAction.Activated               += new global::System.EventHandler(this.OnPasteActionActivated);
     this.ExportHTMLAction.Activated          += new global::System.EventHandler(this.OnExportHTMLActionActivated);
     this.propertiesAction.Activated          += new global::System.EventHandler(this.OnPropertiesActionActivated);
     this.BlendAction.Activated               += new global::System.EventHandler(this.OnBlendActionActivated);
     this.ListAction.Toggled                  += new global::System.EventHandler(this.OnListActionToggled);
     this.RenameAction.Activated              += new global::System.EventHandler(this.OnRenameActionActivated);
     this.sortAction.Activated                += new global::System.EventHandler(this.OnSortActionActivated);
     this.ChangeMetadataAction.Activated      += new global::System.EventHandler(this.OnChangeMetadataActionActivated);
     this.schemeBox.Changed                   += new global::System.EventHandler(this.OnSchemeBoxChanged);
     this.treeview1.RowActivated              += new global::Gtk.RowActivatedHandler(this.OnTreeview1RowActivated);
     this.treeview1.DragEnd                   += new global::Gtk.DragEndHandler(this.OnTreeview1DragEnd);
     this.treeview1.ButtonPressEvent          += new global::Gtk.ButtonPressEventHandler(this.OnTreeview1ButtonPressEvent);
     this.colorgridwidget1.FocusedColorChange += new global::System.EventHandler <System.EventArgs> (this.OnColorgridwidget1FocusedColorChange);
     this.colorgridwidget1.ColorChange        += new global::System.EventHandler <Colours.ColorGridChangeEventArgs> (this.OnColorgridwidget1ColorChange);
     this.colorgridwidget1.ColorClick         += new global::Gtk.ButtonPressEventHandler(this.OnTreeview1ButtonPressEvent);
 }
示例#45
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction, null);
     this.executeAction            = new global::Gtk.Action("executeAction", global::Mono.Unix.Catalog.GetString("_Execute"), null, "gtk-execute");
     this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Execute");
     w1.Add(this.executeAction, null);
     this.findAction = new global::Gtk.Action("findAction", null, null, "gtk-find");
     w1.Add(this.findAction, 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'><menuitem name='quitAction' action='quitAction'/></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.UIManager.AddUiFromString("<ui><toolbar name='toolbar2'><toolitem name='findAction' action='findAction'/><toolitem name='executeAction' action='executeAction'/></toolbar></ui>");
     this.toolbar2           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2")));
     this.toolbar2.Name      = "toolbar2";
     this.toolbar2.ShowArrow = false;
     this.vbox2.Add(this.toolbar2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar2]));
     w3.Position = 1;
     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;
     // 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.treeview2          = new global::Gtk.TreeView();
     this.treeview2.CanFocus = true;
     this.treeview2.Name     = "treeview2";
     this.GtkScrolledWindow.Add(this.treeview2);
     this.hbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow]));
     w5.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w6 = new global::Gtk.Label();
     w6.Visible = true;
     this.notebook1.Add(w6);
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebook1.SetTabLabel(w6, this.label1);
     this.label1.ShowAll();
     this.hbox1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.notebook1]));
     w7.Position = 1;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w8.Position = 2;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 838;
     this.DefaultHeight = 683;
     this.Show();
     this.DeleteEvent             += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.quitAction.Activated    += new global::System.EventHandler(this.OnQuitActionActivated);
     this.executeAction.Activated += new global::System.EventHandler(this.OnExecuteActionActivated);
     this.findAction.Activated    += new global::System.EventHandler(this.OnFindActionActivated);
 }
示例#46
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.newAction = new global::Gtk.Action("newAction", null, null, "gtk-new");
     w1.Add(this.newAction, null);
     this.editAction = new global::Gtk.Action("editAction", null, null, "gtk-edit");
     w1.Add(this.editAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'newAction\' action=\'newAction\'/><tool" +
                                    "item name=\'editAction\' action=\'editAction\'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeView          = new global::Gtk.TreeView();
     this.treeView.CanFocus = true;
     this.treeView.Name     = "treeView";
     this.GtkScrolledWindow.Add(this.treeView);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w4.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vBoxContacto         = new global::Gtk.VBox();
     this.vBoxContacto.Name    = "vBoxContacto";
     this.vBoxContacto.Spacing = 6;
     // Container child vBoxContacto.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Contacto");
     this.vBoxContacto.Add(this.label2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vBoxContacto[this.label2]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vBoxContacto.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.entry1               = new global::Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '•';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry2               = new global::Gtk.Entry();
     this.entry2.CanFocus      = true;
     this.entry2.Name          = "entry2";
     this.entry2.IsEditable    = true;
     this.entry2.InvisibleChar = '•';
     this.table1.Add(this.entry2);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry2]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre :");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Teléfono :");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vBoxContacto.Add(this.table1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vBoxContacto[this.table1]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vBoxContacto.Gtk.Box+BoxChild
     this.hbuttonbox1             = new global::Gtk.HButtonBox();
     this.hbuttonbox1.Name        = "hbuttonbox1";
     this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseStock     = true;
     this.button1.UseUnderline = true;
     this.button1.Label        = "gtk-ok";
     this.hbuttonbox1.Add(this.button1);
     global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button1]));
     w11.Expand = false;
     w11.Fill   = false;
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.button2              = new global::Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseStock     = true;
     this.button2.UseUnderline = true;
     this.button2.Label        = "gtk-cancel";
     this.hbuttonbox1.Add(this.button2);
     global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button2]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vBoxContacto.Add(this.hbuttonbox1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vBoxContacto[this.hbuttonbox1]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox1.Add(this.vBoxContacto);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vBoxContacto]));
     w14.Position = 2;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 402;
     this.DefaultHeight = 300;
     this.vBoxContacto.Hide();
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
示例#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.ArchivoAction            = new global::Gtk.Action("ArchivoAction", global::Mono.Unix.Catalog.GetString("Archivo"), null, null);
     this.ArchivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Archivo");
     w1.Add(this.ArchivoAction, null);
     this.NuevoDocumento            = new global::Gtk.Action("NuevoDocumento", global::Mono.Unix.Catalog.GetString("Nuevo"), null, "gtk-new");
     this.NuevoDocumento.ShortLabel = global::Mono.Unix.Catalog.GetString("Nuevo");
     w1.Add(this.NuevoDocumento, "<Primary>n");
     this.Abrir            = new global::Gtk.Action("Abrir", global::Mono.Unix.Catalog.GetString("Abrir"), null, "gtk-open");
     this.Abrir.ShortLabel = global::Mono.Unix.Catalog.GetString("Abrir");
     w1.Add(this.Abrir, null);
     this.Guardar            = new global::Gtk.Action("Guardar", global::Mono.Unix.Catalog.GetString("Guardar"), null, "gtk-save");
     this.Guardar.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar");
     w1.Add(this.Guardar, null);
     this.GuardarComo            = new global::Gtk.Action("GuardarComo", global::Mono.Unix.Catalog.GetString("Guardar Como"), null, "gtk-save-as");
     this.GuardarComo.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar Como");
     w1.Add(this.GuardarComo, null);
     this.printAction            = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("Exportar a PDF"), null, "gtk-print");
     this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar");
     w1.Add(this.printAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Salir"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir");
     w1.Add(this.quitAction, null);
     this.EditarAction            = new global::Gtk.Action("EditarAction", global::Mono.Unix.Catalog.GetString("Editar"), null, null);
     this.EditarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Editar");
     w1.Add(this.EditarAction, null);
     this.copyAction            = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("Copiar"), null, "gtk-copy");
     this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copiar");
     w1.Add(this.copyAction, null);
     this.cutAction            = new global::Gtk.Action("cutAction", global::Mono.Unix.Catalog.GetString("Cortar"), null, "gtk-cut");
     this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cortar");
     w1.Add(this.cutAction, null);
     this.pasteAction            = new global::Gtk.Action("pasteAction", global::Mono.Unix.Catalog.GetString("Pegar"), null, "gtk-paste");
     this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Pegar");
     w1.Add(this.pasteAction, null);
     this.VerAction            = new global::Gtk.Action("VerAction", global::Mono.Unix.Catalog.GetString("Ver"), null, null);
     this.VerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ver");
     w1.Add(this.VerAction, null);
     this.OcultarHerramientas            = new global::Gtk.ToggleAction("OcultarHerramientas", global::Mono.Unix.Catalog.GetString("Ocultar Herramientas"), null, null);
     this.OcultarHerramientas.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Herramientas");
     w1.Add(this.OcultarHerramientas, null);
     this.OcultarExplorador            = new global::Gtk.ToggleAction("OcultarExplorador", global::Mono.Unix.Catalog.GetString("Ocultar Explorador"), null, null);
     this.OcultarExplorador.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Explorador");
     w1.Add(this.OcultarExplorador, null);
     this.HNuevo            = new global::Gtk.Action("HNuevo", global::Mono.Unix.Catalog.GetString("HNuevo"), global::Mono.Unix.Catalog.GetString("Nuevo"), "gtk-new");
     this.HNuevo.ShortLabel = global::Mono.Unix.Catalog.GetString("HNuevo");
     w1.Add(this.HNuevo, null);
     this.HAbrir = new global::Gtk.Action("HAbrir", null, global::Mono.Unix.Catalog.GetString("Abrir"), "gtk-open");
     w1.Add(this.HAbrir, null);
     this.HGuardar = new global::Gtk.Action("HGuardar", null, global::Mono.Unix.Catalog.GetString("Guardar"), "gtk-save");
     w1.Add(this.HGuardar, null);
     this.HCopiar = new global::Gtk.Action("HCopiar", null, global::Mono.Unix.Catalog.GetString("Copiar"), "gtk-copy");
     w1.Add(this.HCopiar, null);
     this.HCortar = new global::Gtk.Action("HCortar", null, global::Mono.Unix.Catalog.GetString("Cortar"), "gtk-cut");
     w1.Add(this.HCortar, null);
     this.HPegar = new global::Gtk.Action("HPegar", null, global::Mono.Unix.Catalog.GetString("Pegar"), "gtk-paste");
     w1.Add(this.HPegar, null);
     this.BuscarAction            = new global::Gtk.Action("BuscarAction", global::Mono.Unix.Catalog.GetString("Buscar"), null, null);
     this.BuscarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Buscar");
     w1.Add(this.BuscarAction, null);
     this.findAction            = new global::Gtk.Action("findAction", global::Mono.Unix.Catalog.GetString("Buscar..."), null, "gtk-find");
     this.findAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Buscar...");
     w1.Add(this.findAction, null);
     this.AyudaAction            = new global::Gtk.Action("AyudaAction", global::Mono.Unix.Catalog.GetString("Ayuda"), null, null);
     this.AyudaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ayuda");
     w1.Add(this.AyudaAction, null);
     this.SeleccionAction            = new global::Gtk.Action("SeleccionAction", global::Mono.Unix.Catalog.GetString("Seleccion"), null, null);
     this.SeleccionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seleccion");
     w1.Add(this.SeleccionAction, null);
     this.SeleccionarTodoAction            = new global::Gtk.Action("SeleccionarTodoAction", global::Mono.Unix.Catalog.GetString("Seleccionar Todo"), null, null);
     this.SeleccionarTodoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seleccionar Todo");
     w1.Add(this.SeleccionarTodoAction, null);
     this.AcercaDeCodeSEAction            = new global::Gtk.Action("AcercaDeCodeSEAction", global::Mono.Unix.Catalog.GetString("Acerca de CodeSE"), null, null);
     this.AcercaDeCodeSEAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Acerca de CodeSE");
     w1.Add(this.AcercaDeCodeSEAction, null);
     this.Compilar = new global::Gtk.Action("Compilar", null, global::Mono.Unix.Catalog.GetString("Compilar"), "gtk-go-up");
     w1.Add(this.Compilar, null);
     this.OcultarConsola            = new global::Gtk.ToggleAction("OcultarConsola", global::Mono.Unix.Catalog.GetString("Ocultar Consola"), null, null);
     this.OcultarConsola.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Consola");
     w1.Add(this.OcultarConsola, null);
     this.HerramientasAction            = new global::Gtk.Action("HerramientasAction", global::Mono.Unix.Catalog.GetString("Herramientas"), null, null);
     this.HerramientasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Herramientas");
     w1.Add(this.HerramientasAction, null);
     this.FuenteAction            = new global::Gtk.Action("FuenteAction", global::Mono.Unix.Catalog.GetString("Fuente"), null, null);
     this.FuenteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fuente");
     w1.Add(this.FuenteAction, null);
     this.dndMultipleAction            = new global::Gtk.Action("dndMultipleAction", global::Mono.Unix.Catalog.GetString("Recientes"), null, "gtk-dnd-multiple");
     this.dndMultipleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Recientes");
     w1.Add(this.dndMultipleAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = "CodeSyntaxEditor";
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.Caja         = new global::Gtk.VBox();
     this.Caja.Name    = "Caja";
     this.Caja.Spacing = 6;
     // Container child Caja.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='BarraMenu'><menu name='ArchivoAction' action='ArchivoAction'><menuitem name='NuevoDocumento' action='NuevoDocumento'/><menuitem name='Abrir' action='Abrir'/><menuitem name='Guardar' action='Guardar'/><menuitem name='GuardarComo' action='GuardarComo'/><menuitem name='printAction' action='printAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditarAction' action='EditarAction'><menuitem name='copyAction' action='copyAction'/><menuitem name='cutAction' action='cutAction'/><menuitem name='pasteAction' action='pasteAction'/></menu><menu name='SeleccionAction' action='SeleccionAction'><menuitem name='SeleccionarTodoAction' action='SeleccionarTodoAction'/></menu><menu name='BuscarAction' action='BuscarAction'><menuitem name='findAction' action='findAction'/></menu><menu name='VerAction' action='VerAction'><menuitem name='OcultarHerramientas' action='OcultarHerramientas'/><menuitem name='OcultarExplorador' action='OcultarExplorador'/><menuitem name='OcultarConsola' action='OcultarConsola'/></menu><menu name='HerramientasAction' action='HerramientasAction'><menuitem name='FuenteAction' action='FuenteAction'/></menu><menu name='AyudaAction' action='AyudaAction'><menuitem name='AcercaDeCodeSEAction' action='AcercaDeCodeSEAction'/></menu></menubar></ui>");
     this.BarraMenu      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/BarraMenu")));
     this.BarraMenu.Name = "BarraMenu";
     this.Caja.Add(this.BarraMenu);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.Caja[this.BarraMenu]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child Caja.Gtk.Box+BoxChild
     this.Caja1         = new global::Gtk.HBox();
     this.Caja1.Name    = "Caja1";
     this.Caja1.Spacing = 6;
     // Container child Caja1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='Herramientas'><toolitem name='HNuevo' action='HNuevo'/><toolitem name='HAbrir' action='HAbrir'/><toolitem name='HGuardar' action='HGuardar'/><toolitem name='HCopiar' action='HCopiar'/><toolitem name='HCortar' action='HCortar'/><toolitem name='HPegar' action='HPegar'/><toolitem name='Compilar' action='Compilar'/></toolbar></ui>");
     this.Herramientas              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/Herramientas")));
     this.Herramientas.Name         = "Herramientas";
     this.Herramientas.Orientation  = ((global::Gtk.Orientation)(1));
     this.Herramientas.ShowArrow    = false;
     this.Herramientas.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.Herramientas.IconSize     = ((global::Gtk.IconSize)(1));
     this.Caja1.Add(this.Herramientas);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.Caja1[this.Herramientas]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child Caja1.Gtk.Box+BoxChild
     this.Caja2          = new global::Gtk.HPaned();
     this.Caja2.CanFocus = true;
     this.Caja2.Name     = "Caja2";
     this.Caja2.Position = 568;
     // Container child Caja2.Gtk.Paned+PanedChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 269;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.ScrollPagina            = new global::Gtk.ScrolledWindow();
     this.ScrollPagina.CanFocus   = true;
     this.ScrollPagina.Name       = "ScrollPagina";
     this.ScrollPagina.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child ScrollPagina.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.Pagina             = new global::Gtk.Notebook();
     this.Pagina.CanFocus    = true;
     this.Pagina.Name        = "Pagina";
     this.Pagina.CurrentPage = -1;
     w4.Add(this.Pagina);
     this.ScrollPagina.Add(w4);
     this.vpaned1.Add(this.ScrollPagina);
     global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.ScrollPagina]));
     w7.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.ScrollConsola            = new global::Gtk.ScrolledWindow();
     this.ScrollConsola.Name       = "ScrollConsola";
     this.ScrollConsola.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child ScrollConsola.Gtk.Container+ContainerChild
     this.Consola            = new global::Gtk.TextView();
     this.Consola.CanDefault = true;
     this.Consola.CanFocus   = true;
     this.Consola.Name       = "Consola";
     this.ScrollConsola.Add(this.Consola);
     this.vpaned1.Add(this.ScrollConsola);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.ScrollConsola]));
     w9.Resize = false;
     w9.Shrink = false;
     this.vbox3.Add(this.vpaned1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vpaned1]));
     w10.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.Barra_de_Busqueda         = new global::Gtk.Statusbar();
     this.Barra_de_Busqueda.Name    = "Barra_de_Busqueda";
     this.Barra_de_Busqueda.Spacing = 6;
     // Container child Barra_de_Busqueda.Gtk.Box+BoxChild
     this.Estado_de_Archivo         = new global::Gtk.Label();
     this.Estado_de_Archivo.Name    = "Estado_de_Archivo";
     this.Estado_de_Archivo.Justify = ((global::Gtk.Justification)(2));
     this.Barra_de_Busqueda.Add(this.Estado_de_Archivo);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.Estado_de_Archivo]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child Barra_de_Busqueda.Gtk.Box+BoxChild
     this.Entrada               = new global::Gtk.Entry();
     this.Entrada.CanFocus      = true;
     this.Entrada.Name          = "Entrada";
     this.Entrada.IsEditable    = true;
     this.Entrada.InvisibleChar = '•';
     this.Barra_de_Busqueda.Add(this.Entrada);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.Entrada]));
     w12.Position = 2;
     // Container child Barra_de_Busqueda.Gtk.Box+BoxChild
     this.BtnBus              = new global::Gtk.Button();
     this.BtnBus.CanFocus     = true;
     this.BtnBus.Name         = "BtnBus";
     this.BtnBus.UseUnderline = true;
     this.BtnBus.Label        = global::Mono.Unix.Catalog.GetString("Buscar");
     this.Barra_de_Busqueda.Add(this.BtnBus);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.BtnBus]));
     w13.Position = 3;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox3.Add(this.Barra_de_Busqueda);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.Barra_de_Busqueda]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Caja2.Add(this.vbox3);
     global::Gtk.Paned.PanedChild w15 = ((global::Gtk.Paned.PanedChild)(this.Caja2[this.vbox3]));
     w15.Resize = false;
     // Container child Caja2.Gtk.Paned+PanedChild
     this.ScrollExplorador                 = new global::Gtk.ScrolledWindow();
     this.ScrollExplorador.CanFocus        = true;
     this.ScrollExplorador.Name            = "ScrollExplorador";
     this.ScrollExplorador.ShadowType      = ((global::Gtk.ShadowType)(1));
     this.ScrollExplorador.WindowPlacement = ((global::Gtk.CornerType)(2));
     // Container child ScrollExplorador.Gtk.Container+ContainerChild
     global::Gtk.Viewport w16 = new global::Gtk.Viewport();
     w16.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.Explorador             = new global::Gtk.Notebook();
     this.Explorador.CanFocus    = true;
     this.Explorador.Name        = "Explorador";
     this.Explorador.CurrentPage = 0;
     // Container child Explorador.Gtk.Notebook+NotebookChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.Directorios      = global::Gtk.ComboBox.NewText();
     this.Directorios.Name = "Directorios";
     this.vbox1.Add(this.Directorios);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.Directorios]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.Archivos          = new global::Gtk.TreeView();
     this.Archivos.CanFocus = true;
     this.Archivos.Name     = "Archivos";
     this.GtkScrolledWindow.Add(this.Archivos);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w19.Position = 1;
     this.Explorador.Add(this.vbox1);
     // Notebook tab
     this.LPortapapeles           = new global::Gtk.Label();
     this.LPortapapeles.Name      = "LPortapapeles";
     this.LPortapapeles.LabelProp = global::Mono.Unix.Catalog.GetString("Explorador");
     this.Explorador.SetTabLabel(this.vbox1, this.LPortapapeles);
     this.LPortapapeles.ShowAll();
     w16.Add(this.Explorador);
     this.ScrollExplorador.Add(w16);
     this.Caja2.Add(this.ScrollExplorador);
     global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.Caja2[this.ScrollExplorador]));
     w23.Resize = false;
     w23.Shrink = false;
     this.Caja1.Add(this.Caja2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.Caja1[this.Caja2]));
     w24.Position = 1;
     this.Caja.Add(this.Caja1);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.Caja[this.Caja1]));
     w25.Position = 1;
     // Container child Caja.Gtk.Box+BoxChild
     this.Estado             = new global::Gtk.Statusbar();
     this.Estado.Name        = "Estado";
     this.Estado.Homogeneous = true;
     this.Estado.Spacing     = 6;
     // Container child Estado.Gtk.Box+BoxChild
     this.Caracteres           = new global::Gtk.Label();
     this.Caracteres.Name      = "Caracteres";
     this.Caracteres.LabelProp = global::Mono.Unix.Catalog.GetString("Caracteres: 0");
     this.Estado.Add(this.Caracteres);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.Estado[this.Caracteres]));
     w26.Position = 1;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child Estado.Gtk.Box+BoxChild
     this.Lineas           = new global::Gtk.Label();
     this.Lineas.Name      = "Lineas";
     this.Lineas.LabelProp = global::Mono.Unix.Catalog.GetString("Lineas: 0");
     this.Estado.Add(this.Lineas);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.Estado[this.Lineas]));
     w27.Position = 2;
     w27.Expand   = false;
     w27.Fill     = false;
     this.Caja.Add(this.Estado);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.Caja[this.Estado]));
     w28.Position = 2;
     w28.Expand   = false;
     w28.Fill     = false;
     this.Add(this.Caja);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 779;
     this.DefaultHeight = 448;
     this.Barra_de_Busqueda.Hide();
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.NuevoDocumento.Activated        += new global::System.EventHandler(this.OnNuevoDocumentoActivated);
     this.Abrir.Activated                 += new global::System.EventHandler(this.OnAbrirActivated);
     this.Guardar.Activated               += new global::System.EventHandler(this.OnGuardarActivated);
     this.GuardarComo.Activated           += new global::System.EventHandler(this.OnGuardarComoActivated);
     this.printAction.Activated           += new global::System.EventHandler(this.OnExportarPDFActivated);
     this.quitAction.Activated            += new global::System.EventHandler(this.OnSalirActivated);
     this.copyAction.Activated            += new global::System.EventHandler(this.OnNuevoDocumentoActivated);
     this.OcultarHerramientas.Activated   += new global::System.EventHandler(this.OnOcultarHerramientasToggled);
     this.OcultarExplorador.Activated     += new global::System.EventHandler(this.OnOcultarExploradorToggled);
     this.HNuevo.Activated                += new global::System.EventHandler(this.OnNuevoDocumentoActivated);
     this.HAbrir.Activated                += new global::System.EventHandler(this.OnAbrirActivated);
     this.HGuardar.Activated              += new global::System.EventHandler(this.OnGuardarActivated);
     this.HCopiar.Activated               += new global::System.EventHandler(this.OnHCopiarActivated);
     this.HCortar.Activated               += new global::System.EventHandler(this.OnHCortarActivated);
     this.HPegar.Activated                += new global::System.EventHandler(this.OnHPegarActivated);
     this.findAction.Activated            += new global::System.EventHandler(this.OnFindActionActivated);
     this.SeleccionarTodoAction.Activated += new global::System.EventHandler(this.OnSeleccionarTodoActionActivated);
     this.AcercaDeCodeSEAction.Activated  += new global::System.EventHandler(this.OnAcercaDeCodeSEActionActivated);
     this.Compilar.Activated              += new global::System.EventHandler(this.OnCompilarActivated);
     this.OcultarConsola.Toggled          += new global::System.EventHandler(this.OnOcultarConsolaToggled);
     this.FuenteAction.Activated          += new global::System.EventHandler(this.OnFuenteActionActivated);
     this.BtnBus.Clicked      += new global::System.EventHandler(this.OnBtnBusActivated);
     this.Directorios.Changed += new global::System.EventHandler(this.OnDirectoriosChanged);
 }
示例#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.ActionAction            = new global::Gtk.Action("ActionAction", global::Mono.Unix.Catalog.GetString("Action"), null, null);
     this.ActionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Action");
     w1.Add(this.ActionAction, null);
     this.CreateNewSaleAction            = new global::Gtk.Action("CreateNewSaleAction", global::Mono.Unix.Catalog.GetString("Create New Sale"), null, null);
     this.CreateNewSaleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Create New Sale");
     w1.Add(this.CreateNewSaleAction, null);
     this.ActionsAction            = new global::Gtk.Action("ActionsAction", global::Mono.Unix.Catalog.GetString("Actions"), null, null);
     this.ActionsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Actions");
     w1.Add(this.ActionsAction, null);
     this.StartNewSaleAction            = new global::Gtk.Action("StartNewSaleAction", global::Mono.Unix.Catalog.GetString("Start New Sale"), null, null);
     this.StartNewSaleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Start New Sale");
     w1.Add(this.StartNewSaleAction, null);
     this.ActionsAction1            = new global::Gtk.Action("ActionsAction1", global::Mono.Unix.Catalog.GetString("Actions"), null, null);
     this.ActionsAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Actions");
     w1.Add(this.ActionsAction1, 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><menubar name='menubar4'/></ui>");
     this.menubar4      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar4")));
     this.menubar4.Name = "menubar4";
     this.vbox3.Add(this.menubar4);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.menubar4]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.ScanButton              = new global::Gtk.Button();
     this.ScanButton.CanFocus     = true;
     this.ScanButton.Name         = "ScanButton";
     this.ScanButton.UseUnderline = true;
     this.ScanButton.Label        = global::Mono.Unix.Catalog.GetString("Add Item");
     this.hbox7.Add(this.ScanButton);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ScanButton]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.ItemBarcodeField               = new global::Gtk.Entry();
     this.ItemBarcodeField.CanFocus      = true;
     this.ItemBarcodeField.Name          = "ItemBarcodeField";
     this.ItemBarcodeField.IsEditable    = true;
     this.ItemBarcodeField.InvisibleChar = '•';
     this.hbox7.Add(this.ItemBarcodeField);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ItemBarcodeField]));
     w4.Position = 1;
     this.vbox5.Add(this.hbox7);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox7]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     this.hbox5.Add(this.vbox5);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox5]));
     w6.Position = 0;
     this.vbox3.Add(this.hbox5);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.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.ScannedItemTable              = new global::Gtk.TreeView();
     this.ScannedItemTable.CanFocus     = true;
     this.ScannedItemTable.Name         = "ScannedItemTable";
     this.ScannedItemTable.SearchColumn = 1;
     this.GtkScrolledWindow.Add(this.ScannedItemTable);
     this.vbox6.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.GtkScrolledWindow]));
     w9.Position = 0;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.CompleteSaleBtn              = new global::Gtk.Button();
     this.CompleteSaleBtn.CanFocus     = true;
     this.CompleteSaleBtn.Name         = "CompleteSaleBtn";
     this.CompleteSaleBtn.UseUnderline = true;
     this.CompleteSaleBtn.Label        = global::Mono.Unix.Catalog.GetString("Complete Sale");
     this.hbox6.Add(this.CompleteSaleBtn);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.CompleteSaleBtn]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox6.Add(this.hbox6);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox6]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     this.vbox3.Add(this.vbox6);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vbox6]));
     w12.Position = 2;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 487;
     this.DefaultHeight = 299;
     this.Show();
     this.DeleteEvent             += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.ScanButton.Clicked      += new global::System.EventHandler(this.OnScanButtonClick);
     this.CompleteSaleBtn.Clicked += new global::System.EventHandler(this.OnCompleteSaleClick);
 }
示例#49
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget lab07.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Открыть"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Открыть");
     w1.Add(this.openAction, "<Primary><Mod2>o");
     this.saveAsAction            = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Сохранить схему"), null, "gtk-save-as");
     this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить схему");
     w1.Add(this.saveAsAction, "<Primary><Mod2>s");
     this.convertAction            = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("Сохранить картинку"), null, "gtk-convert");
     this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить картинку");
     w1.Add(this.convertAction, "<Primary><Alt><Mod2>s");
     this.indexAction            = new global::Gtk.Action("indexAction", global::Mono.Unix.Catalog.GetString("Сохранить журнал"), null, "gtk-index");
     this.indexAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить журнал");
     w1.Add(this.indexAction, "<Alt><Mod2>s");
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Выйти"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Выйти");
     w1.Add(this.quitAction, "<Primary><Mod2>q");
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "lab07.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child lab07.MainWindow.Gtk.Container+ContainerChild
     this.vpaned          = new global::Gtk.VPaned();
     this.vpaned.CanFocus = true;
     this.vpaned.Name     = "vpaned";
     this.vpaned.Position = 320;
     // Container child vpaned.Gtk.Paned+PanedChild
     this.vboxUp         = new global::Gtk.VBox();
     this.vboxUp.Name    = "vboxUp";
     this.vboxUp.Spacing = 6;
     // Container child vboxUp.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='toolBar'><toolitem name='openAction' action='openAction'/><toolitem name='saveAsAction' action='saveAsAction'/><toolitem name='convertAction' action='convertAction'/><toolitem name='indexAction' action='indexAction'/><toolitem name='quitAction' action='quitAction'/></toolbar></ui>");
     this.toolBar              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolBar")));
     this.toolBar.Name         = "toolBar";
     this.toolBar.ShowArrow    = false;
     this.toolBar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolBar.IconSize     = ((global::Gtk.IconSize)(1));
     this.vboxUp.Add(this.toolBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxUp[this.toolBar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vboxUp.Gtk.Box+BoxChild
     this.drawingArea      = new global::Gtk.DrawingArea();
     this.drawingArea.Name = "drawingArea";
     this.vboxUp.Add(this.drawingArea);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxUp[this.drawingArea]));
     w3.Position = 1;
     this.vpaned.Add(this.vboxUp);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.vboxUp]));
     w4.Resize = false;
     // Container child vpaned.Gtk.Paned+PanedChild
     this.vboxDown         = new global::Gtk.VBox();
     this.vboxDown.Name    = "vboxDown";
     this.vboxDown.Spacing = 6;
     // Container child vboxDown.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.viewLogText          = new global::Gtk.TextView();
     this.viewLogText.CanFocus = true;
     this.viewLogText.Name     = "viewLogText";
     this.GtkScrolledWindow.Add(this.viewLogText);
     this.vboxDown.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxDown[this.GtkScrolledWindow]));
     w6.Position = 0;
     // Container child vboxDown.Gtk.Box+BoxChild
     this.statusBar         = new global::Gtk.Statusbar();
     this.statusBar.Name    = "statusBar";
     this.statusBar.Spacing = 6;
     this.vboxDown.Add(this.statusBar);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxDown[this.statusBar]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vpaned.Add(this.vboxDown);
     this.Add(this.vpaned);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 697;
     this.DefaultHeight = 418;
     this.Show();
     this.DeleteEvent                   += new global::Gtk.DeleteEventHandler(this.effectDelete);
     this.openAction.Activated          += new global::System.EventHandler(this.effectLoadScheme);
     this.saveAsAction.Activated        += new global::System.EventHandler(this.effectSaveScheme);
     this.convertAction.Activated       += new global::System.EventHandler(this.effectSavePic);
     this.indexAction.Activated         += new global::System.EventHandler(this.effectSaveLog);
     this.quitAction.Activated          += new global::System.EventHandler(this.effectQuit);
     this.drawingArea.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler(this.effectMotion);
     this.drawingArea.ExposeEvent       += new global::Gtk.ExposeEventHandler(this.effectExpose);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget DesktopAPP_APIPOST.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.TeenvioAction            = new global::Gtk.Action("TeenvioAction", global::Mono.Unix.Catalog.GetString("_Teenvio"), null, null);
     this.TeenvioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Teenvio");
     w1.Add(this.TeenvioAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.helpAction            = new global::Gtk.Action("helpAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-help");
     this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.helpAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction, null);
     this.ContactsAction            = new global::Gtk.Action("ContactsAction", global::Mono.Unix.Catalog.GetString("_Contacts"), null, null);
     this.ContactsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Contacts");
     w1.Add(this.ContactsAction, null);
     this.ListAction            = new global::Gtk.Action("ListAction", global::Mono.Unix.Catalog.GetString("List"), null, null);
     this.ListAction.ShortLabel = global::Mono.Unix.Catalog.GetString("List");
     w1.Add(this.ListAction, null);
     this.GroupsAction            = new global::Gtk.Action("GroupsAction", global::Mono.Unix.Catalog.GetString("Groups"), null, null);
     this.GroupsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Groups");
     w1.Add(this.GroupsAction, null);
     this.ImportAction            = new global::Gtk.Action("ImportAction", global::Mono.Unix.Catalog.GetString("Import"), null, null);
     this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Import");
     w1.Add(this.ImportAction, null);
     this.CampaingsAction            = new global::Gtk.Action("CampaingsAction", global::Mono.Unix.Catalog.GetString("Ca_mpaings"), null, null);
     this.CampaingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ca_mpaings");
     w1.Add(this.CampaingsAction, null);
     this.ListAction1            = new global::Gtk.Action("ListAction1", global::Mono.Unix.Catalog.GetString("List"), null, null);
     this.ListAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("List");
     w1.Add(this.ListAction1, null);
     this.NewAction            = new global::Gtk.Action("NewAction", global::Mono.Unix.Catalog.GetString("New"), null, null);
     this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New");
     w1.Add(this.NewAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "DesktopAPP_APIPOST.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Teenvio");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child DesktopAPP_APIPOST.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='TeenvioAction' action='TeenvioAction'><menuitem name='quitAction' action='quitAction'/></menu><menu name='ContactsAction' action='ContactsAction'><menuitem name='ListAction' action='ListAction'/><menuitem name='GroupsAction' action='GroupsAction'/><menuitem name='ImportAction' action='ImportAction'/></menu><menu name='CampaingsAction' action='CampaingsAction'><menuitem name='ListAction1' action='ListAction1'/><menuitem name='NewAction' action='NewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2             = new global::Gtk.HBox();
     this.hbox2.Name        = "hbox2";
     this.hbox2.Spacing     = 6;
     this.hbox2.BorderWidth = ((uint)(12));
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Last Campaigns");
     this.vbox3.Add(this.label3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label3]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.comboCampaigns      = global::Gtk.ComboBox.NewText();
     this.comboCampaigns.Name = "comboCampaigns";
     this.vbox3.Add(this.comboCampaigns);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.comboCampaigns]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox2.Add(this.vbox3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3]));
     w5.Position = 0;
     this.hbox2.Add(this.vbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.lblTableTitle           = new global::Gtk.Label();
     this.lblTableTitle.Name      = "lblTableTitle";
     this.lblTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Table");
     this.vbox4.Add(this.lblTableTitle);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblTableTitle]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.nodeviewTable          = new global::Gtk.NodeView();
     this.nodeviewTable.CanFocus = true;
     this.nodeviewTable.Name     = "nodeviewTable";
     this.GtkScrolledWindow.Add(this.nodeviewTable);
     this.vbox4.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow]));
     w9.Position = 1;
     this.hbox2.Add(this.vbox4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4]));
     w10.Position = 1;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w11.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1             = new global::Gtk.Statusbar();
     this.statusbar1.Name        = "statusbar1";
     this.statusbar1.Spacing     = 6;
     this.statusbar1.BorderWidth = ((uint)(1));
     // Container child statusbar1.Gtk.Box+BoxChild
     this.lblState           = new global::Gtk.Label();
     this.lblState.Name      = "lblState";
     this.lblState.Xalign    = 0F;
     this.lblState.LabelProp = global::Mono.Unix.Catalog.GetString("Ready");
     this.statusbar1.Add(this.lblState);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.lblState]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.lblStatusBarVersion           = new global::Gtk.Label();
     this.lblStatusBarVersion.Name      = "lblStatusBarVersion";
     this.lblStatusBarVersion.LabelProp = global::Mono.Unix.Catalog.GetString("Version:");
     this.statusbar1.Add(this.lblStatusBarVersion);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.lblStatusBarVersion]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w14.Position = 2;
     w14.Expand   = false;
     w14.Fill     = false;
     w14.Padding  = ((uint)(1));
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 607;
     this.DefaultHeight = 432;
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.quitAction.Activated  += new global::System.EventHandler(this.OnQuitActionActivated);
     this.ListAction1.Activated += new global::System.EventHandler(this.OnListAction1Activated);
 }
示例#51
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.NewAction            = new global::Gtk.Action("NewAction", global::Mono.Unix.Catalog.GetString("_New"), global::Mono.Unix.Catalog.GetString("Creates new pipe"), "gtk-new");
     this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New");
     w1.Add(this.NewAction, "<Control>n");
     this.OpenAction            = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("_Open"), global::Mono.Unix.Catalog.GetString("Opens existing pipe"), "gtk-open");
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open");
     w1.Add(this.OpenAction, "<Control>o");
     this.SaveAction            = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("_Save"), global::Mono.Unix.Catalog.GetString("Saves pipe"), "gtk-floppy");
     this.SaveAction.Sensitive  = false;
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save");
     w1.Add(this.SaveAction, "<Control>s");
     this.SaveAsAction            = new global::Gtk.Action("SaveAsAction", global::Mono.Unix.Catalog.GetString("Save _As"), global::Mono.Unix.Catalog.GetString("Saves pipe as new file"), "gtk-save-as");
     this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save _As");
     w1.Add(this.SaveAsAction, "<Control>q");
     this.ImportAction            = new global::Gtk.Action("ImportAction", global::Mono.Unix.Catalog.GetString("_Import"), global::Mono.Unix.Catalog.GetString("Imports PCL formatted pipe from the clipboard"), "gtk-go-down");
     this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import");
     w1.Add(this.ImportAction, null);
     this.ExportAction            = new global::Gtk.Action("ExportAction", global::Mono.Unix.Catalog.GetString("_Export"), global::Mono.Unix.Catalog.GetString("Exports PCL formatted pipe to the clipboard"), "gtk-go-up");
     this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Export");
     w1.Add(this.ExportAction, null);
     this.ExitAction            = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("E_xit"), global::Mono.Unix.Catalog.GetString("Quits application"), "gtk-quit");
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("E_xit");
     w1.Add(this.ExitAction, null);
     this.EditAction            = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("_Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Edit");
     w1.Add(this.EditAction, null);
     this.CutAction            = new global::Gtk.Action("CutAction", global::Mono.Unix.Catalog.GetString("Cu_t"), null, "gtk-cut");
     this.CutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cu_t");
     w1.Add(this.CutAction, "<Control>x");
     this.CopyAction            = new global::Gtk.Action("CopyAction", global::Mono.Unix.Catalog.GetString("_Copy"), null, "gtk-copy");
     this.CopyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Copy");
     w1.Add(this.CopyAction, "<Control>c");
     this.PasteAction            = new global::Gtk.Action("PasteAction", global::Mono.Unix.Catalog.GetString("_Paste"), null, "gtk-paste");
     this.PasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste");
     w1.Add(this.PasteAction, "<Control>v");
     this.DeleteAction            = new global::Gtk.Action("DeleteAction", global::Mono.Unix.Catalog.GetString("_Delete"), null, "gtk-delete");
     this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Delete");
     w1.Add(this.DeleteAction, null);
     this.SelectAllAction            = new global::Gtk.Action("SelectAllAction", global::Mono.Unix.Catalog.GetString("Select _All"), null, "gtk-select-all");
     this.SelectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Select _All");
     w1.Add(this.SelectAllAction, "<Control>a");
     this.PreferencesAction            = new global::Gtk.Action("PreferencesAction", global::Mono.Unix.Catalog.GetString("Prefere_nces"), null, "gtk-preferences");
     this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Prefere_nces");
     w1.Add(this.PreferencesAction, null);
     this.PipeAction            = new global::Gtk.Action("PipeAction", global::Mono.Unix.Catalog.GetString("_Pipe"), null, null);
     this.PipeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Pipe");
     w1.Add(this.PipeAction, null);
     this.RunAction            = new global::Gtk.Action("RunAction", global::Mono.Unix.Catalog.GetString("_Run"), global::Mono.Unix.Catalog.GetString("Runs entire pipe"), "gtk-media-play");
     this.RunAction.Sensitive  = false;
     this.RunAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Run");
     w1.Add(this.RunAction, "<Control>r");
     this.RunToLineAction            = new global::Gtk.Action("RunToLineAction", global::Mono.Unix.Catalog.GetString("Run _To Line"), global::Mono.Unix.Catalog.GetString("Runs pipe to current line only"), "gtk-media-record");
     this.RunToLineAction.Sensitive  = false;
     this.RunToLineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Run _To Line");
     w1.Add(this.RunToLineAction, "<Control>t");
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.UserGuideAction            = new global::Gtk.Action("UserGuideAction", global::Mono.Unix.Catalog.GetString("_User Guide"), null, "gtk-help");
     this.UserGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_User Guide");
     w1.Add(this.UserGuideAction, "F1");
     this.SupportForumAction            = new global::Gtk.Action("SupportForumAction", global::Mono.Unix.Catalog.GetString("Support _Forum"), null, null);
     this.SupportForumAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Support _Forum");
     w1.Add(this.SupportForumAction, null);
     this.VisitOurHomepageAction            = new global::Gtk.Action("VisitOurHomepageAction", global::Mono.Unix.Catalog.GetString("Visit Our Homepage"), null, "gtk-home");
     this.VisitOurHomepageAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Visit Our Homepage");
     w1.Add(this.VisitOurHomepageAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.QuickStartTutorialAction            = new global::Gtk.Action("QuickStartTutorialAction", global::Mono.Unix.Catalog.GetString("Quick Start Tutorial"), global::Mono.Unix.Catalog.GetString("Display quick start tutorial"), null);
     this.QuickStartTutorialAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quick Start Tutorial");
     w1.Add(this.QuickStartTutorialAction, null);
     this.FontAction            = new global::Gtk.Action("FontAction", global::Mono.Unix.Catalog.GetString("_Font"), null, null);
     this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Font");
     w1.Add(this.FontAction, null);
     this.AppendStrAction            = new global::Gtk.Action("AppendStrAction", global::Mono.Unix.Catalog.GetString("AppendStr"), null, "gtk-add");
     this.AppendStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString("AppendStr");
     w1.Add(this.AppendStrAction, null);
     this.BottomLinesAction            = new global::Gtk.Action("BottomLinesAction", global::Mono.Unix.Catalog.GetString("BottomLines"), null, "gtk-goto-bottom");
     this.BottomLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("BottomLines");
     w1.Add(this.BottomLinesAction, null);
     this.CallAction            = new global::Gtk.Action("CallAction", global::Mono.Unix.Catalog.GetString("Call"), null, null);
     this.CallAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Call");
     w1.Add(this.CallAction, null);
     this.CountCharsAction            = new global::Gtk.Action("CountCharsAction", global::Mono.Unix.Catalog.GetString("CountChars"), null, null);
     this.CountCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CountChars");
     w1.Add(this.CountCharsAction, null);
     this.CountLinesAction            = new global::Gtk.Action("CountLinesAction", global::Mono.Unix.Catalog.GetString("CountLines"), null, null);
     this.CountLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CountLines");
     w1.Add(this.CountLinesAction, null);
     this.DelBlankLinesAction            = new global::Gtk.Action("DelBlankLinesAction", global::Mono.Unix.Catalog.GetString("DelBlankLines"), null, null);
     this.DelBlankLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DelBlankLines");
     w1.Add(this.DelBlankLinesAction, null);
     this.DelCharsAction            = new global::Gtk.Action("DelCharsAction", global::Mono.Unix.Catalog.GetString("DelChars"), null, null);
     this.DelCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DelChars");
     w1.Add(this.DelCharsAction, null);
     this.ExclLinesAction            = new global::Gtk.Action("ExclLinesAction", global::Mono.Unix.Catalog.GetString("ExclLines"), null, null);
     this.ExclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("ExclLines");
     w1.Add(this.ExclLinesAction, null);
     this.InclLinesAction            = new global::Gtk.Action("InclLinesAction", global::Mono.Unix.Catalog.GetString("InclLines"), null, null);
     this.InclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InclLines");
     w1.Add(this.InclLinesAction, null);
     this.InsLineNoAction            = new global::Gtk.Action("InsLineNoAction", global::Mono.Unix.Catalog.GetString("InsLineNo"), null, null);
     this.InsLineNoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InsLineNo");
     w1.Add(this.InsLineNoAction, null);
     this.InsStrAction            = new global::Gtk.Action("InsStrAction", global::Mono.Unix.Catalog.GetString("InsStr"), null, null);
     this.InsStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InsStr");
     w1.Add(this.InsStrAction, null);
     this.WrapTextAction            = new global::Gtk.ToggleAction("WrapTextAction", global::Mono.Unix.Catalog.GetString("_Wrap Text"), null, null);
     this.WrapTextAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Wrap Text");
     w1.Add(this.WrapTextAction, null);
     this.InsertCursorColAction            = new global::Gtk.Action("InsertCursorColAction", global::Mono.Unix.Catalog.GetString("Insert Cursor Col"), null, "gtk-add");
     this.InsertCursorColAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Insert Cursor Col");
     w1.Add(this.InsertCursorColAction, null);
     this.DemosAction            = new global::Gtk.Action("DemosAction", global::Mono.Unix.Catalog.GetString("_Demos"), null, null);
     this.DemosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Demos");
     w1.Add(this.DemosAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("PipeWrench");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "stock_standard-filter", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><menuitem name='ExportAction' action='ExportAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='CutAction' action='CutAction'/><menuitem name='CopyAction' action='CopyAction'/><menuitem name='PasteAction' action='PasteAction'/><menuitem name='DeleteAction' action='DeleteAction'/><menuitem name='SelectAllAction' action='SelectAllAction'/><separator/><menuitem name='InsertCursorColAction' action='InsertCursorColAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='PipeAction' action='PipeAction'><menuitem name='RunAction' action='RunAction'/><menuitem name='RunToLineAction' action='RunToLineAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='UserGuideAction' action='UserGuideAction'/><menuitem name='DemosAction' action='DemosAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='NewAction' action='NewAction'/><toolitem name='OpenAction' action='OpenAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='SaveAsAction' action='SaveAsAction'/><separator/><toolitem name='ImportAction' action='ImportAction'/><toolitem name='ExportAction' action='ExportAction'/><separator/><toolitem name='RunAction' action='RunAction'/><toolitem name='RunToLineAction' action='RunToLineAction'/></toolbar></ui>");
     this.toolbar1              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar1.IconSize     = ((global::Gtk.IconSize)(3));
     this.vbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 178;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.CommandsFrame             = new global::Gtk.Frame();
     this.CommandsFrame.Name        = "CommandsFrame";
     this.CommandsFrame.BorderWidth = ((uint)(3));
     // Container child CommandsFrame.Gtk.Container+ContainerChild
     this.GtkAlignment               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name          = "GtkAlignment";
     this.GtkAlignment.LeftPadding   = ((uint)(6));
     this.GtkAlignment.TopPadding    = ((uint)(6));
     this.GtkAlignment.RightPadding  = ((uint)(6));
     this.GtkAlignment.BottomPadding = ((uint)(6));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.UIManager.AddUiFromString("<ui><toolbar name='CommandsToolbar'/></ui>");
     this.CommandsToolbar              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/CommandsToolbar")));
     this.CommandsToolbar.Name         = "CommandsToolbar";
     this.CommandsToolbar.Orientation  = ((global::Gtk.Orientation)(1));
     this.CommandsToolbar.ShowArrow    = false;
     this.CommandsToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.CommandsToolbar.IconSize     = ((global::Gtk.IconSize)(2));
     w4.Add(this.CommandsToolbar);
     this.scrolledwindow1.Add(w4);
     this.GtkAlignment.Add(this.scrolledwindow1);
     this.CommandsFrame.Add(this.GtkAlignment);
     this.GtkLabel6                 = new global::Gtk.Label();
     this.GtkLabel6.Name            = "GtkLabel6";
     this.GtkLabel6.LabelProp       = global::Mono.Unix.Catalog.GetString("<b>Commands</b>");
     this.GtkLabel6.UseMarkup       = true;
     this.CommandsFrame.LabelWidget = this.GtkLabel6;
     this.hpaned1.Add(this.CommandsFrame);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.CommandsFrame]));
     w9.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 156;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.PipeFrame             = new global::Gtk.Frame();
     this.PipeFrame.Name        = "PipeFrame";
     this.PipeFrame.BorderWidth = ((uint)(3));
     // Container child PipeFrame.Gtk.Container+ContainerChild
     this.GtkAlignment2               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name          = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding   = ((uint)(6));
     this.GtkAlignment2.TopPadding    = ((uint)(6));
     this.GtkAlignment2.RightPadding  = ((uint)(6));
     this.GtkAlignment2.BottomPadding = ((uint)(6));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.PipeTextView = new global::Gtk.TextView();
     this.PipeTextView.TooltipMarkup = "Enter pipe commands here";
     this.PipeTextView.CanFocus      = true;
     this.PipeTextView.Name          = "PipeTextView";
     this.PipeTextView.AcceptsTab    = false;
     this.PipeTextView.RightMargin   = 3;
     this.GtkScrolledWindow.Add(this.PipeTextView);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w11.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Arguments");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ArgsEntry = new global::Gtk.Entry();
     this.ArgsEntry.TooltipMarkup = "Enter any pipe arguments here";
     this.ArgsEntry.CanFocus      = true;
     this.ArgsEntry.Name          = "ArgsEntry";
     this.ArgsEntry.IsEditable    = true;
     this.ArgsEntry.InvisibleChar = '●';
     this.hbox1.Add(this.ArgsEntry);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ArgsEntry]));
     w13.Position = 1;
     this.vbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.GtkAlignment2.Add(this.vbox3);
     this.PipeFrame.Add(this.GtkAlignment2);
     this.GtkLabel10            = new global::Gtk.Label();
     this.GtkLabel10.Name       = "GtkLabel10";
     this.GtkLabel10.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>Pipe</b>");
     this.GtkLabel10.UseMarkup  = true;
     this.PipeFrame.LabelWidget = this.GtkLabel10;
     this.vpaned1.Add(this.PipeFrame);
     global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.PipeFrame]));
     w17.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.TextFrame             = new global::Gtk.Frame();
     this.TextFrame.Name        = "TextFrame";
     this.TextFrame.BorderWidth = ((uint)(3));
     // Container child TextFrame.Gtk.Container+ContainerChild
     this.GtkAlignment1               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name          = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding   = ((uint)(6));
     this.GtkAlignment1.TopPadding    = ((uint)(6));
     this.GtkAlignment1.RightPadding  = ((uint)(6));
     this.GtkAlignment1.BottomPadding = ((uint)(6));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.TextNotebook             = new global::Gtk.Notebook();
     this.TextNotebook.CanFocus    = true;
     this.TextNotebook.Name        = "TextNotebook";
     this.TextNotebook.CurrentPage = 1;
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.InputTextView               = new global::Gtk.TextView();
     this.InputTextView.Buffer.Text   = "replace this text\nwith the text you\nwant to edit.";
     this.InputTextView.TooltipMarkup = "Copy the text to process here";
     this.InputTextView.CanFocus      = true;
     this.InputTextView.Name          = "InputTextView";
     this.InputTextView.AcceptsTab    = false;
     this.InputTextView.RightMargin   = 3;
     this.GtkScrolledWindow1.Add(this.InputTextView);
     this.vbox2.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1]));
     w19.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("File");
     this.hbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileEntry = new global::Gtk.Entry();
     this.InputFileEntry.TooltipMarkup = "Use browse button to select input text file";
     this.InputFileEntry.CanFocus      = true;
     this.InputFileEntry.Name          = "InputFileEntry";
     this.InputFileEntry.IsEditable    = false;
     this.InputFileEntry.InvisibleChar = '●';
     this.hbox2.Add(this.InputFileEntry);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileEntry]));
     w21.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileBrowseButton = new global::Gtk.Button();
     this.InputFileBrowseButton.TooltipMarkup = "Browse for input text file";
     this.InputFileBrowseButton.CanFocus      = true;
     this.InputFileBrowseButton.Name          = "InputFileBrowseButton";
     this.InputFileBrowseButton.UseUnderline  = true;
     this.InputFileBrowseButton.Label         = global::Mono.Unix.Catalog.GetString("...");
     this.hbox2.Add(this.InputFileBrowseButton);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileBrowseButton]));
     w22.Position = 2;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.InputFileClearButton = new global::Gtk.Button();
     this.InputFileClearButton.TooltipMarkup = "Clear input text file";
     this.InputFileClearButton.CanFocus      = true;
     this.InputFileClearButton.Name          = "InputFileClearButton";
     this.InputFileClearButton.UseUnderline  = true;
     this.InputFileClearButton.Label         = global::Mono.Unix.Catalog.GetString("Clear");
     this.hbox2.Add(this.InputFileClearButton);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileClearButton]));
     w23.Position = 3;
     w23.Expand   = false;
     w23.Fill     = false;
     this.vbox2.Add(this.hbox2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.TextNotebook.Add(this.vbox2);
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.OutputTextView = new global::Gtk.TextView();
     this.OutputTextView.TooltipMarkup = "Edited text is output here";
     this.OutputTextView.CanFocus      = true;
     this.OutputTextView.Name          = "OutputTextView";
     this.OutputTextView.AcceptsTab    = false;
     this.OutputTextView.RightMargin   = 3;
     this.GtkScrolledWindow2.Add(this.OutputTextView);
     this.vbox4.Add(this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2]));
     w27.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("File");
     this.hbox3.Add(this.label3);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3]));
     w28.Position = 0;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileEntry = new global::Gtk.Entry();
     this.OutputFileEntry.TooltipMarkup = "Use browse button to select output text file";
     this.OutputFileEntry.CanFocus      = true;
     this.OutputFileEntry.Name          = "OutputFileEntry";
     this.OutputFileEntry.IsEditable    = false;
     this.OutputFileEntry.InvisibleChar = '●';
     this.hbox3.Add(this.OutputFileEntry);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileEntry]));
     w29.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileBrowseButton = new global::Gtk.Button();
     this.OutputFileBrowseButton.TooltipMarkup = "Browse for output text file";
     this.OutputFileBrowseButton.CanFocus      = true;
     this.OutputFileBrowseButton.Name          = "OutputFileBrowseButton";
     this.OutputFileBrowseButton.UseUnderline  = true;
     this.OutputFileBrowseButton.Label         = global::Mono.Unix.Catalog.GetString("...");
     this.hbox3.Add(this.OutputFileBrowseButton);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileBrowseButton]));
     w30.Position = 2;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.OutputFileClearButton = new global::Gtk.Button();
     this.OutputFileClearButton.TooltipMarkup = "Clear output text file";
     this.OutputFileClearButton.CanFocus      = true;
     this.OutputFileClearButton.Name          = "OutputFileClearButton";
     this.OutputFileClearButton.UseUnderline  = true;
     this.OutputFileClearButton.Label         = global::Mono.Unix.Catalog.GetString("Clear");
     this.hbox3.Add(this.OutputFileClearButton);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileClearButton]));
     w31.Position = 3;
     w31.Expand   = false;
     w31.Fill     = false;
     this.vbox4.Add(this.hbox3);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3]));
     w32.Position = 1;
     w32.Expand   = false;
     w32.Fill     = false;
     this.TextNotebook.Add(this.vbox4);
     global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.vbox4]));
     w33.Position = 1;
     // Container child TextNotebook.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow3            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow3.Name       = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.ErrorsTextView = new global::Gtk.TextView();
     this.ErrorsTextView.TooltipMarkup = "Errors are reported here";
     this.ErrorsTextView.CanFocus      = true;
     this.ErrorsTextView.Name          = "ErrorsTextView";
     this.ErrorsTextView.Editable      = false;
     this.ErrorsTextView.AcceptsTab    = false;
     this.ErrorsTextView.RightMargin   = 3;
     this.GtkScrolledWindow3.Add(this.ErrorsTextView);
     this.TextNotebook.Add(this.GtkScrolledWindow3);
     global::Gtk.Notebook.NotebookChild w35 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.GtkScrolledWindow3]));
     w35.Position = 2;
     this.GtkAlignment1.Add(this.TextNotebook);
     this.TextFrame.Add(this.GtkAlignment1);
     this.GtkLabel14            = new global::Gtk.Label();
     this.GtkLabel14.Name       = "GtkLabel14";
     this.GtkLabel14.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>Text</b>");
     this.GtkLabel14.UseMarkup  = true;
     this.TextFrame.LabelWidget = this.GtkLabel14;
     this.vpaned1.Add(this.TextFrame);
     this.hpaned1.Add(this.vpaned1);
     this.vbox1.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
     w40.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.TheStatusBar         = new global::Gtk.Statusbar();
     this.TheStatusBar.Name    = "TheStatusBar";
     this.TheStatusBar.Spacing = 6;
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.StatusBarCursorPosLabel           = new global::Gtk.Label();
     this.StatusBarCursorPosLabel.Name      = "StatusBarCursorPosLabel";
     this.StatusBarCursorPosLabel.LabelProp = global::Mono.Unix.Catalog.GetString("(0, 0)");
     this.TheStatusBar.Add(this.StatusBarCursorPosLabel);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarCursorPosLabel]));
     w41.Position = 0;
     w41.Expand   = false;
     w41.Fill     = false;
     w41.Padding  = ((uint)(4));
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.TheStatusBar.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.vseparator1]));
     w42.Position = 1;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child TheStatusBar.Gtk.Box+BoxChild
     this.StatusBarTextLabel           = new global::Gtk.Label();
     this.StatusBarTextLabel.Name      = "StatusBarTextLabel";
     this.StatusBarTextLabel.LabelProp = global::Mono.Unix.Catalog.GetString("    ");
     this.TheStatusBar.Add(this.StatusBarTextLabel);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarTextLabel]));
     w43.Position = 2;
     w43.Expand   = false;
     w43.Fill     = false;
     w43.Padding  = ((uint)(4));
     this.vbox1.Add(this.TheStatusBar);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.TheStatusBar]));
     w44.Position = 3;
     w44.Expand   = false;
     w44.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 488;
     this.DefaultHeight = 458;
     this.Show();
     this.DeleteEvent                       += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.NewAction.Activated               += new global::System.EventHandler(this.NewAction_OnActivated);
     this.OpenAction.Activated              += new global::System.EventHandler(this.OpenAction_OnActivated);
     this.SaveAction.Activated              += new global::System.EventHandler(this.SaveAction_OnActivated);
     this.SaveAsAction.Activated            += new global::System.EventHandler(this.SaveAsAction_OnActivated);
     this.ImportAction.Activated            += new global::System.EventHandler(this.ImportAction_OnActivated);
     this.ExportAction.Activated            += new global::System.EventHandler(this.ExportAction_OnActivated);
     this.ExitAction.Activated              += new global::System.EventHandler(this.OnExit);
     this.CutAction.Activated               += new global::System.EventHandler(this.Cut_OnActivated);
     this.CopyAction.Activated              += new global::System.EventHandler(this.Copy_OnActivated);
     this.PasteAction.Activated             += new global::System.EventHandler(this.Paste_OnActivated);
     this.DeleteAction.Activated            += new global::System.EventHandler(this.Delete_OnActivated);
     this.SelectAllAction.Activated         += new global::System.EventHandler(this.SelectAll_OnActivated);
     this.PreferencesAction.Activated       += new global::System.EventHandler(this.Preferences_OnActivated);
     this.RunAction.Activated               += new global::System.EventHandler(this.RunAction_OnActivated);
     this.RunToLineAction.Activated         += new global::System.EventHandler(this.RunToLineAction_OnActivated);
     this.UserGuideAction.Activated         += new global::System.EventHandler(this.UserGuide_OnActivated);
     this.AboutAction.Activated             += new global::System.EventHandler(this.About_OnActivated);
     this.InsertCursorColAction.Activated   += new global::System.EventHandler(this.InsertCursorCol_OnActivated);
     this.DemosAction.Activated             += new global::System.EventHandler(this.Demos_OnActivated);
     this.PipeTextView.MoveCursor           += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor);
     this.PipeTextView.ButtonReleaseEvent   += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent);
     this.PipeTextView.Focused              += new global::Gtk.FocusedHandler(this.TextView_OnFocused);
     this.PipeTextView.KeyReleaseEvent      += new global::Gtk.KeyReleaseEventHandler(this.PipeTextView_OnKeyReleaseEvent);
     this.InputTextView.ButtonReleaseEvent  += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent);
     this.InputTextView.MoveCursor          += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor);
     this.InputTextView.Focused             += new global::Gtk.FocusedHandler(this.TextView_OnFocused);
     this.InputFileEntry.Changed            += new global::System.EventHandler(this.InputFileEntry_OnChanged);
     this.InputFileBrowseButton.Clicked     += new global::System.EventHandler(this.InputFileBrowseButton_OnClicked);
     this.InputFileClearButton.Clicked      += new global::System.EventHandler(this.InputFileClearButton_Clicked);
     this.OutputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent);
     this.OutputTextView.MoveCursor         += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor);
     this.OutputTextView.Focused            += new global::Gtk.FocusedHandler(this.TextView_OnFocused);
     this.OutputFileEntry.Changed           += new global::System.EventHandler(this.OutputFileEntry_OnChanged);
     this.OutputFileBrowseButton.Clicked    += new global::System.EventHandler(this.OutputFileBrowseButton_OnClicked);
     this.OutputFileClearButton.Clicked     += new global::System.EventHandler(this.OutputFileClearButton_Clicked);
 }
示例#52
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.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;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction1' action='FileAction1'/><menu name='EditAction' action='EditAction'/></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ip_entry = new global::Gtk.Entry();
     this.ip_entry.WidthRequest  = 261;
     this.ip_entry.CanFocus      = true;
     this.ip_entry.Name          = "ip_entry";
     this.ip_entry.Text          = global::Mono.Unix.Catalog.GetString("Ip");
     this.ip_entry.IsEditable    = true;
     this.ip_entry.InvisibleChar = '●';
     this.hbox1.Add(this.ip_entry);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ip_entry]));
     w3.Position = 0;
     w3.Expand   = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.port_entry               = new global::Gtk.Entry();
     this.port_entry.CanFocus      = true;
     this.port_entry.Name          = "port_entry";
     this.port_entry.Text          = global::Mono.Unix.Catalog.GetString("Port");
     this.port_entry.IsEditable    = true;
     this.port_entry.InvisibleChar = '●';
     this.hbox1.Add(this.port_entry);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.port_entry]));
     w4.Position = 1;
     w4.Expand   = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.connect_button              = new global::Gtk.Button();
     this.connect_button.CanFocus     = true;
     this.connect_button.Name         = "connect_button";
     this.connect_button.UseUnderline = true;
     this.connect_button.Label        = global::Mono.Unix.Catalog.GetString("Connect");
     this.hbox1.Add(this.connect_button);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.connect_button]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.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.textview1          = new global::Gtk.TextView();
     this.textview1.CanFocus = true;
     this.textview1.Name     = "textview1";
     this.textview1.Editable = false;
     this.scrolledwindow1.Add(this.textview1);
     this.vbox1.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.scrolledwindow1]));
     w8.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.entry1               = new global::Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '●';
     this.vbox1.Add(this.entry1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.entry1]));
     w9.PackType = ((global::Gtk.PackType)(1));
     w9.Position = 3;
     w9.Expand   = false;
     w9.Fill     = false;
     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);
     this.connect_button.Clicked += new global::System.EventHandler(this.OnConnectClicked);
     this.entry1.Activated       += new global::System.EventHandler(this.OnEntryActivated);
     this.entry1.KeyPressEvent   += new global::Gtk.KeyPressEventHandler(this.OnEntryKeyPressed);
 }
示例#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.PlikAction            = new global::Gtk.Action("PlikAction", global::Mono.Unix.Catalog.GetString("Plik"), null, null);
     this.PlikAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Plik");
     w1.Add(this.PlikAction, null);
     this.ModelAction            = new global::Gtk.Action("ModelAction", global::Mono.Unix.Catalog.GetString("Model"), null, null);
     this.ModelAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Model");
     w1.Add(this.ModelAction, null);
     this.TeksturaAction            = new global::Gtk.Action("TeksturaAction", global::Mono.Unix.Catalog.GetString("Tekstura"), null, null);
     this.TeksturaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tekstura");
     w1.Add(this.TeksturaAction, null);
     this.ZastpAction            = new global::Gtk.Action("ZastpAction", global::Mono.Unix.Catalog.GetString("Zastąp..."), null, null);
     this.ZastpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Zastąp...");
     w1.Add(this.ZastpAction, null);
     this.WczytajNowyAction            = new global::Gtk.Action("WczytajNowyAction", global::Mono.Unix.Catalog.GetString("Wczytaj nowy..."), null, null);
     this.WczytajNowyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Wczytaj nowy...");
     w1.Add(this.WczytajNowyAction, null);
     this.WczytajAction            = new global::Gtk.Action("WczytajAction", global::Mono.Unix.Catalog.GetString("Wczytaj..."), null, null);
     this.WczytajAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Wczytaj...");
     w1.Add(this.WczytajAction, null);
     this.PomocAction            = new global::Gtk.Action("PomocAction", global::Mono.Unix.Catalog.GetString("Pomoc"), null, null);
     this.PomocAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Pomoc");
     w1.Add(this.PomocAction, null);
     this.SterowanieAction            = new global::Gtk.Action("SterowanieAction", global::Mono.Unix.Catalog.GetString("Sterowanie..."), null, null);
     this.SterowanieAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Sterowanie...");
     w1.Add(this.SterowanieAction, 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.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubarMain'><menu name='PlikAction' action='PlikAction'><menu name='ModelAction' action='ModelAction'><menuitem name='ZastpAction' action='ZastpAction'/><menuitem name='WczytajNowyAction' action='WczytajNowyAction'/></menu><menu name='TeksturaAction' action='TeksturaAction'><menuitem name='WczytajAction' action='WczytajAction'/></menu></menu><menu name='PomocAction' action='PomocAction'><menuitem name='SterowanieAction' action='SterowanieAction'/></menu></menubar></ui>");
     this.menubarMain      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubarMain")));
     this.menubarMain.Name = "menubarMain";
     this.hbox1.Add(this.menubarMain);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.menubarMain]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.labelOpoznienie           = new global::Gtk.Label();
     this.labelOpoznienie.Name      = "labelOpoznienie";
     this.labelOpoznienie.LabelProp = global::Mono.Unix.Catalog.GetString("0 ms");
     this.hbox1.Add(this.labelOpoznienie);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelOpoznienie]));
     w3.PackType = ((global::Gtk.PackType)(1));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     w3.Padding  = ((uint)(15));
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.frame1            = new global::Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.eventboxEkran      = new global::Gtk.EventBox();
     this.eventboxEkran.Name = "eventboxEkran";
     // Container child eventboxEkran.Gtk.Container+ContainerChild
     this.imageEkran = new global::Gtk.Image();
     this.imageEkran.WidthRequest  = 1024;
     this.imageEkran.HeightRequest = 768;
     this.imageEkran.Name          = "imageEkran";
     this.eventboxEkran.Add(this.imageEkran);
     this.GtkAlignment.Add(this.eventboxEkran);
     this.frame1.Add(this.GtkAlignment);
     this.hbox2.Add(this.frame1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.frame1]));
     w8.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox();
     this.vbox2.WidthRequest = 200;
     this.vbox2.Name         = "vbox2";
     this.vbox2.Spacing      = 6;
     this.vbox2.BorderWidth  = ((uint)(15));
     // Container child vbox2.Gtk.Box+BoxChild
     this.comboboxModele      = global::Gtk.ComboBox.NewText();
     this.comboboxModele.Name = "comboboxModele";
     this.vbox2.Add(this.comboboxModele);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.comboboxModele]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.buttonZmienZrodloSwiatla              = new global::Gtk.Button();
     this.buttonZmienZrodloSwiatla.CanFocus     = true;
     this.buttonZmienZrodloSwiatla.Name         = "buttonZmienZrodloSwiatla";
     this.buttonZmienZrodloSwiatla.UseUnderline = true;
     this.buttonZmienZrodloSwiatla.Label        = global::Mono.Unix.Catalog.GetString("Ustaw jako źródło światła");
     this.vbox2.Add(this.buttonZmienZrodloSwiatla);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonZmienZrodloSwiatla]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Tryb edycji:");
     this.hbox3.Add(this.label4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label4]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.labelTrybEdycji           = new global::Gtk.Label();
     this.labelTrybEdycji.Name      = "labelTrybEdycji";
     this.labelTrybEdycji.LabelProp = global::Mono.Unix.Catalog.GetString("Przesuwanie");
     this.hbox3.Add(this.labelTrybEdycji);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelTrybEdycji]));
     w12.PackType = ((global::Gtk.PackType)(1));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w13.PackType = ((global::Gtk.PackType)(1));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     w13.Padding  = ((uint)(15));
     // Container child vbox2.Gtk.Box+BoxChild
     this.checkbuttonSiatkaPodlogi               = new global::Gtk.CheckButton();
     this.checkbuttonSiatkaPodlogi.CanFocus      = true;
     this.checkbuttonSiatkaPodlogi.Name          = "checkbuttonSiatkaPodlogi";
     this.checkbuttonSiatkaPodlogi.Label         = global::Mono.Unix.Catalog.GetString("Siatka podłogi");
     this.checkbuttonSiatkaPodlogi.DrawIndicator = true;
     this.checkbuttonSiatkaPodlogi.UseUnderline  = true;
     this.checkbuttonSiatkaPodlogi.FocusOnClick  = false;
     this.vbox2.Add(this.checkbuttonSiatkaPodlogi);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkbuttonSiatkaPodlogi]));
     w14.PackType = ((global::Gtk.PackType)(1));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.checkbuttonSiatka               = new global::Gtk.CheckButton();
     this.checkbuttonSiatka.CanFocus      = true;
     this.checkbuttonSiatka.Name          = "checkbuttonSiatka";
     this.checkbuttonSiatka.Label         = global::Mono.Unix.Catalog.GetString("Siatka");
     this.checkbuttonSiatka.DrawIndicator = true;
     this.checkbuttonSiatka.UseUnderline  = true;
     this.checkbuttonSiatka.FocusOnClick  = false;
     this.vbox2.Add(this.checkbuttonSiatka);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkbuttonSiatka]));
     w15.PackType = ((global::Gtk.PackType)(1));
     w15.Position = 4;
     w15.Expand   = false;
     w15.Fill     = false;
     this.hbox2.Add(this.vbox2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox2]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     w16.Padding  = ((uint)(5));
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w17.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1258;
     this.DefaultHeight = 804;
     this.Show();
     this.DeleteEvent                      += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.ZastpAction.Activated            += new global::System.EventHandler(this.OnZastpActionActivated);
     this.WczytajNowyAction.Activated      += new global::System.EventHandler(this.OnWczytajNowyActionActivated);
     this.WczytajAction.Activated          += new global::System.EventHandler(this.OnWczytajActionActivated);
     this.SterowanieAction.Activated       += new global::System.EventHandler(this.OnSterowanieActionActivated);
     this.eventboxEkran.ButtonPressEvent   += new global::Gtk.ButtonPressEventHandler(this.OnEventboxEkranButtonPressEvent);
     this.eventboxEkran.ScrollEvent        += new global::Gtk.ScrollEventHandler(this.OnEventboxEkranScrollEvent);
     this.eventboxEkran.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnEventboxEkranButtonReleaseEvent);
     this.eventboxEkran.MotionNotifyEvent  += new global::Gtk.MotionNotifyEventHandler(this.OnEventboxEkranMotionNotifyEvent);
     this.buttonZmienZrodloSwiatla.Clicked += new global::System.EventHandler(this.OnButtonZmienZrodloSwiatlaClicked);
 }
示例#54
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget CCategoria.CategoriaView
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save");
     w1.Add(this.saveAction, 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           = "CCategoria.CategoriaView";
     this.Title          = global::Mono.Unix.Catalog.GetString("CategoriaView");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child CCategoria.CategoriaView.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='saveAction' action='saveAction'/><toolitem name='deleteAction' action='deleteAction'/></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)(1)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.entryNombre               = new global::Gtk.Entry();
     this.entryNombre.CanFocus      = true;
     this.entryNombre.Name          = "entryNombre";
     this.entryNombre.IsEditable    = true;
     this.entryNombre.InvisibleChar = '•';
     this.table1.Add(this.entryNombre);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNombre]));
     w3.LeftAttach  = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.Nombre           = new global::Gtk.Label();
     this.Nombre.Name      = "Nombre";
     this.Nombre.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre");
     this.table1.Add(this.Nombre);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.Nombre]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 125;
     this.Show();
 }
示例#55
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Desafio3.FuncionProgram
     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.dialogInfoAction = new global::Gtk.Action("dialogInfoAction", null, null, "gtk-dialog-info");
     w1.Add(this.dialogInfoAction, null);
     this.sortAscendingAction = new global::Gtk.Action("sortAscendingAction", null, null, "gtk-sort-ascending");
     w1.Add(this.sortAscendingAction, null);
     this.sortDescendingAction = new global::Gtk.Action("sortDescendingAction", null, null, "gtk-sort-descending");
     w1.Add(this.sortDescendingAction, null);
     this.dndAction = new global::Gtk.Action("dndAction", null, null, "gtk-dnd");
     w1.Add(this.dndAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Desafio3.FuncionProgram";
     this.Title          = global::Mono.Unix.Catalog.GetString("FuncionProgram");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Desafio3.FuncionProgram.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=\'toolbar1\'><toolitem name=\'saveAction\' action=\'saveAction\'/></t" +
                                    "oolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox3.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.toolbar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.button2              = new global::Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     this.button2.BorderWidth  = ((uint)(9));
     this.button2.Label        = global::Mono.Unix.Catalog.GetString("Operar y Mostrar");
     this.table2.Add(this.button2);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2[this.button2]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach   = ((uint)(2));
     w3.RightAttach  = ((uint)(3));
     w3.XPadding     = ((uint)(8));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.table2.Add(this.hseparator1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.hseparator1]));
     w4.LeftAttach  = ((uint)(2));
     w4.RightAttach = ((uint)(3));
     w4.XOptions    = ((global::Gtk.AttachOptions)(4));
     w4.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hseparator2      = new global::Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.table2.Add(this.hseparator2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.hseparator2]));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Datos trabajadores");
     this.table2.Add(this.label5);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.label5]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions    = ((global::Gtk.AttachOptions)(0));
     w6.YOptions    = ((global::Gtk.AttachOptions)(0));
     // Container child table2.Gtk.Table+TableChild
     this.table4               = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false);
     this.table4.Name          = "table4";
     this.table4.RowSpacing    = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     this.table4.BorderWidth   = ((uint)(24));
     // Container child table4.Gtk.Table+TableChild
     this.Code_Entry               = new global::Gtk.Entry();
     this.Code_Entry.CanFocus      = true;
     this.Code_Entry.Name          = "Code_Entry";
     this.Code_Entry.IsEditable    = true;
     this.Code_Entry.InvisibleChar = '•';
     this.table4.Add(this.Code_Entry);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table4[this.Code_Entry]));
     w7.LeftAttach  = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.Hora_Entry               = new global::Gtk.Entry();
     this.Hora_Entry.CanFocus      = true;
     this.Hora_Entry.Name          = "Hora_Entry";
     this.Hora_Entry.IsEditable    = true;
     this.Hora_Entry.InvisibleChar = '•';
     this.table4.Add(this.Hora_Entry);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table4[this.Hora_Entry]));
     w8.TopAttach    = ((uint)(2));
     w8.BottomAttach = ((uint)(3));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Codigo: ");
     this.label6.Justify   = ((global::Gtk.Justification)(2));
     this.table4.Add(this.label6);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table4[this.label6]));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre del Trabajador");
     this.table4.Add(this.label7);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4[this.label7]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Horas trabajadas");
     this.table4.Add(this.label8);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4[this.label8]));
     w11.TopAttach    = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.Nom_Entry               = new global::Gtk.Entry();
     this.Nom_Entry.CanFocus      = true;
     this.Nom_Entry.Name          = "Nom_Entry";
     this.Nom_Entry.IsEditable    = true;
     this.Nom_Entry.InvisibleChar = '•';
     this.table4.Add(this.Nom_Entry);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table4[this.Nom_Entry]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.table2.Add(this.table4);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.table4]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(7));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.button3              = new global::Gtk.Button();
     this.button3.CanFocus     = true;
     this.button3.Name         = "button3";
     this.button3.UseUnderline = true;
     this.button3.Label        = global::Mono.Unix.Catalog.GetString("Mostrar Max/Min");
     this.vbox1.Add(this.button3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.button3]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("Mostrar Sal>300");
     this.vbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.button1]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.table2.Add(this.vbox1);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.vbox1]));
     w16.TopAttach    = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach   = ((uint)(2));
     w16.RightAttach  = ((uint)(3));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add(this.table2);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table2]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.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.treeview2          = new global::Gtk.TreeView();
     this.treeview2.CanFocus = true;
     this.treeview2.Name     = "treeview2";
     this.GtkScrolledWindow.Add(this.treeview2);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
     w19.Position = 2;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 681;
     this.DefaultHeight = 542;
     this.Show();
     this.DeleteEvent          += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated);
     this.button3.Clicked      += new global::System.EventHandler(this.OnButton3Clicked);
     this.button1.Clicked      += new global::System.EventHandler(this.OnButton1Clicked);
     this.button2.Clicked      += new global::System.EventHandler(this.OnButton2Clicked);
 }
示例#56
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.NavigateBackwardAction = new global::Gtk.Action(
         "NavigateBackwardAction",
         global::Mono.Unix.Catalog.GetString("Navigate backward"),
         null,
         "gtk-go-back"
         );
     this.NavigateBackwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Navigate backward");
     w2.Add(this.NavigateBackwardAction, null);
     this.NavigateForwardAction = new global::Gtk.Action(
         "NavigateForwardAction",
         global::Mono.Unix.Catalog.GetString("Navigate forward"),
         null,
         "gtk-go-forward"
         );
     this.NavigateForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Navigate forward");
     w2.Add(this.NavigateForwardAction, null);
     this.goBackAction = new global::Gtk.Action(
         "goBackAction",
         null,
         null,
         "gtk-go-back"
         );
     w2.Add(this.goBackAction, null);
     this.goForwardAction = new global::Gtk.Action(
         "goForwardAction",
         null,
         null,
         "gtk-go-forward"
         );
     w2.Add(this.goForwardAction, null);
     this.goBackAction1 = new global::Gtk.Action(
         "goBackAction1",
         null,
         null,
         "gtk-go-back"
         );
     w2.Add(this.goBackAction1, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget";
     // Container child MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonBack              = new global::Gtk.Button();
     this.buttonBack.CanFocus     = true;
     this.buttonBack.Name         = "buttonBack";
     this.buttonBack.UseStock     = true;
     this.buttonBack.UseUnderline = true;
     this.buttonBack.Label        = "gtk-go-back";
     this.hbox2.Add(this.buttonBack);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonBack]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonForeward              = new global::Gtk.Button();
     this.buttonForeward.CanFocus     = true;
     this.buttonForeward.Name         = "buttonForeward";
     this.buttonForeward.UseStock     = true;
     this.buttonForeward.UseUnderline = true;
     this.buttonForeward.Label        = "gtk-go-forward";
     this.hbox2.Add(this.buttonForeward);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonForeward]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label3              = new global::Gtk.Label();
     this.label3.Name         = "label3";
     this.label3.LabelProp    = global::Mono.Unix.Catalog.GetString("_Visibility:");
     this.label3.UseUnderline = true;
     this.hbox2.Add(this.label3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label3]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.languageCombobox      = global::Gtk.ComboBox.NewText();
     this.languageCombobox.Name = "languageCombobox";
     this.hbox2.Add(this.languageCombobox);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.languageCombobox]));
     w6.PackType = ((global::Gtk.PackType)(1));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label1              = new global::Gtk.Label();
     this.label1.Name         = "label1";
     this.label1.LabelProp    = global::Mono.Unix.Catalog.GetString("_Language:");
     this.label1.UseUnderline = true;
     this.hbox2.Add(this.label1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1]));
     w7.PackType = ((global::Gtk.PackType)(1));
     w7.Position = 4;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.searchentry1      = new global::MonoDevelop.Components.SearchEntry();
     this.searchentry1.Name = "searchentry1";
     this.searchentry1.ForceFilterButtonVisible = false;
     this.searchentry1.IsCheckMenu    = false;
     this.searchentry1.ActiveFilterID = 0;
     this.searchentry1.Ready          = false;
     this.searchentry1.HasFocus       = false;
     this.hbox2.Add(this.searchentry1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.searchentry1]));
     w8.PackType = ((global::Gtk.PackType)(1));
     w8.Position = 5;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2              = new global::Gtk.Label();
     this.label2.Name         = "label2";
     this.label2.Xalign       = 1F;
     this.label2.LabelProp    = global::Mono.Unix.Catalog.GetString("_Search:");
     this.label2.UseUnderline = true;
     this.hbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w9.PackType = ((global::Gtk.PackType)(1));
     w9.Position = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.comboboxVisibilty      = global::Gtk.ComboBox.NewText();
     this.comboboxVisibilty.Name = "comboboxVisibilty";
     this.hbox2.Add(this.comboboxVisibilty);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.comboboxVisibilty]));
     w10.PackType = ((global::Gtk.PackType)(1));
     w10.Position = 7;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 271;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.treeViewPlaceholder      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.treeViewPlaceholder.Name = "treeViewPlaceholder";
     this.hpaned1.Add(this.treeViewPlaceholder);
     global::Gtk.Paned.PanedChild w12 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.treeViewPlaceholder]));
     w12.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     this.notebook1.ShowBorder  = false;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.notebookInspection             = new global::Gtk.Notebook();
     this.notebookInspection.CanFocus    = true;
     this.notebookInspection.Name        = "notebookInspection";
     this.notebookInspection.CurrentPage = 1;
     this.notebookInspection.ShowBorder  = false;
     // Container child notebookInspection.Gtk.Notebook+NotebookChild
     this.documentationScrolledWindow                = new global::MonoDevelop.Components.CompactScrolledWindow();
     this.documentationScrolledWindow.CanFocus       = true;
     this.documentationScrolledWindow.Name           = "documentationScrolledWindow";
     this.documentationScrolledWindow.ShowBorderLine = false;
     this.notebookInspection.Add(this.documentationScrolledWindow);
     // Notebook tab
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("summary");
     this.notebookInspection.SetTabLabel(
         this.documentationScrolledWindow,
         this.label4
         );
     this.label4.ShowAll();
     // Notebook tab
     global::Gtk.Label w14 = new global::Gtk.Label();
     w14.Visible = true;
     this.notebookInspection.Add(w14);
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("decompiler");
     this.notebookInspection.SetTabLabel(w14, this.label5);
     this.label5.ShowAll();
     this.notebook1.Add(this.notebookInspection);
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.searchWidget         = new global::Gtk.VBox();
     this.searchWidget.Name    = "searchWidget";
     this.searchWidget.Spacing = 6;
     // Container child searchWidget.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.searchTreeview          = new global::Gtk.TreeView();
     this.searchTreeview.CanFocus = true;
     this.searchTreeview.Name     = "searchTreeview";
     this.scrolledwindow1.Add(this.searchTreeview);
     this.searchWidget.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.searchWidget [this.scrolledwindow1]));
     w17.Position = 0;
     this.notebook1.Add(this.searchWidget);
     global::Gtk.Notebook.NotebookChild w18 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.searchWidget]));
     w18.Position = 1;
     this.vbox3.Add(this.notebook1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.notebook1]));
     w19.Position = 0;
     this.hpaned1.Add(this.vbox3);
     this.vbox1.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
     w21.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.label3.MnemonicWidget = this.comboboxVisibilty;
     this.label1.MnemonicWidget = this.languageCombobox;
     this.label2.MnemonicWidget = this.searchentry1;
     this.Show();
     this.NavigateBackwardAction.Activated += new global::System.EventHandler(this.OnNavigateBackwardActionActivated);
     this.NavigateForwardAction.Activated  += new global::System.EventHandler(this.OnNavigateForwardActionActivated);
 }
示例#57
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.Action1            = new global::Gtk.Action("Action1", null, null, null);
     this.Action1.ShortLabel = "";
     w1.Add(this.Action1, 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.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.EditAction1            = new global::Gtk.Action("EditAction1", global::Mono.Unix.Catalog.GetString("Edit"), null, null);
     this.EditAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit");
     w1.Add(this.EditAction1, null);
     this.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.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.WidthRequest   = 1024;
     this.HeightRequest  = 768;
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("OpenCOBOL Interactive Compiler v1.0 rc .001");
     this.Icon           = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, ".\\oc-icon.png"));
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(4)), ((uint)(1)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.hbox3 = new global::Gtk.HBox();
     this.hbox3.HeightRequest = 0;
     this.hbox3.Name          = "hbox3";
     this.hbox3.Spacing       = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.fixed2 = new global::Gtk.Fixed();
     this.fixed2.WidthRequest  = 600;
     this.fixed2.HeightRequest = 0;
     this.fixed2.Name          = "fixed2";
     this.fixed2.HasWindow     = false;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Program</b>");
     this.label11.UseMarkup = true;
     this.fixed2.Add(this.label11);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.label11]));
     w2.X = 13;
     w2.Y = 7;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.btnCompile              = new global::Gtk.Button();
     this.btnCompile.CanFocus     = true;
     this.btnCompile.Name         = "btnCompile";
     this.btnCompile.UseUnderline = true;
     this.btnCompile.Label        = global::Mono.Unix.Catalog.GetString("Compile");
     this.fixed2.Add(this.btnCompile);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.btnCompile]));
     w3.X = 912;
     w3.Y = 2;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.txtProgram               = new global::Gtk.Entry();
     this.txtProgram.CanFocus      = true;
     this.txtProgram.Name          = "txtProgram";
     this.txtProgram.IsEditable    = true;
     this.txtProgram.WidthChars    = 120;
     this.txtProgram.InvisibleChar = '●';
     this.fixed2.Add(this.txtProgram);
     global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.txtProgram]));
     w4.X = 71;
     w4.Y = 4;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.filechooserbutton1      = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Select A File"), ((global::Gtk.FileChooserAction)(0)));
     this.filechooserbutton1.Name = "filechooserbutton1";
     this.fixed2.Add(this.filechooserbutton1);
     global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.filechooserbutton1]));
     w5.X = 804;
     w5.Y = 4;
     this.hbox3.Add(this.fixed2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fixed2]));
     w6.Position = 0;
     this.table1.Add(this.hbox3);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox3]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar3\'><menu name=\'FileAction\' action=\'FileAction\'/><menu n" +
                                    "ame=\'EditAction1\' action=\'EditAction1\'/><menu name=\'HelpAction1\' action=\'HelpAct" +
                                    "ion1\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu></menubar></ui>");
     this.menubar3      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3")));
     this.menubar3.Name = "menubar3";
     this.table1.Add(this.menubar3);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.menubar3]));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.nbOutput             = new global::Gtk.Notebook();
     this.nbOutput.CanFocus    = true;
     this.nbOutput.Name        = "nbOutput";
     this.nbOutput.CurrentPage = 0;
     // Container child nbOutput.Gtk.Notebook+NotebookChild
     this.scrolledwindow3            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow3.CanFocus   = true;
     this.scrolledwindow3.Name       = "scrolledwindow3";
     this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow3.Gtk.Container+ContainerChild
     this.txtOutput          = new global::Gtk.TextView();
     this.txtOutput.CanFocus = true;
     this.txtOutput.Name     = "txtOutput";
     this.scrolledwindow3.Add(this.txtOutput);
     this.nbOutput.Add(this.scrolledwindow3);
     // Notebook tab
     this.tabOutput           = new global::Gtk.Label();
     this.tabOutput.Name      = "tabOutput";
     this.tabOutput.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Output</b>");
     this.tabOutput.UseMarkup = true;
     this.nbOutput.SetTabLabel(this.scrolledwindow3, this.tabOutput);
     this.tabOutput.ShowAll();
     // Container child nbOutput.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.txtCfile          = new global::Gtk.TextView();
     this.txtCfile.CanFocus = true;
     this.txtCfile.Name     = "txtCfile";
     this.GtkScrolledWindow.Add(this.txtCfile);
     this.nbOutput.Add(this.GtkScrolledWindow);
     global::Gtk.Notebook.NotebookChild w12 = ((global::Gtk.Notebook.NotebookChild)(this.nbOutput [this.GtkScrolledWindow]));
     w12.Position = 1;
     // Notebook tab
     this.tabCFile           = new global::Gtk.Label();
     this.tabCFile.Name      = "tabCFile";
     this.tabCFile.LabelProp = global::Mono.Unix.Catalog.GetString("<b>.c File </b>");
     this.tabCFile.UseMarkup = true;
     this.nbOutput.SetTabLabel(this.GtkScrolledWindow, this.tabCFile);
     this.tabCFile.ShowAll();
     // Container child nbOutput.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.txtCLfile          = new global::Gtk.TextView();
     this.txtCLfile.CanFocus = true;
     this.txtCLfile.Name     = "txtCLfile";
     this.GtkScrolledWindow1.Add(this.txtCLfile);
     this.nbOutput.Add(this.GtkScrolledWindow1);
     global::Gtk.Notebook.NotebookChild w14 = ((global::Gtk.Notebook.NotebookChild)(this.nbOutput [this.GtkScrolledWindow1]));
     w14.Position = 2;
     // Notebook tab
     this.tabCHFile           = new global::Gtk.Label();
     this.tabCHFile.Name      = "tabCHFile";
     this.tabCHFile.LabelProp = global::Mono.Unix.Catalog.GetString("<b>.c.h File </b>");
     this.tabCHFile.UseMarkup = true;
     this.nbOutput.SetTabLabel(this.GtkScrolledWindow1, this.tabCHFile);
     this.tabCHFile.ShowAll();
     // Container child nbOutput.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.txtCLHfile          = new global::Gtk.TextView();
     this.txtCLHfile.CanFocus = true;
     this.txtCLHfile.Name     = "txtCLHfile";
     this.GtkScrolledWindow2.Add(this.txtCLHfile);
     this.nbOutput.Add(this.GtkScrolledWindow2);
     global::Gtk.Notebook.NotebookChild w16 = ((global::Gtk.Notebook.NotebookChild)(this.nbOutput [this.GtkScrolledWindow2]));
     w16.Position = 3;
     // Notebook tab
     this.tabCLHfile           = new global::Gtk.Label();
     this.tabCLHfile.Name      = "tabCLHfile";
     this.tabCLHfile.LabelProp = global::Mono.Unix.Catalog.GetString("<b>.c.l.h File </b>");
     this.tabCLHfile.UseMarkup = true;
     this.tabCLHfile.Justify   = ((global::Gtk.Justification)(2));
     this.nbOutput.SetTabLabel(this.GtkScrolledWindow2, this.tabCLHfile);
     this.tabCLHfile.ShowAll();
     this.table1.Add(this.nbOutput);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.nbOutput]));
     w17.TopAttach    = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     this.table2.BorderWidth   = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.chkBS2000               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("BS2000"));
     this.chkBS2000.CanFocus      = true;
     this.chkBS2000.Name          = "chkBS2000";
     this.chkBS2000.DrawIndicator = true;
     this.chkBS2000.UseUnderline  = true;
     this.chkBS2000.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.table2.Add(this.chkBS2000);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkBS2000]));
     w18.TopAttach    = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XPadding     = ((uint)(31));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkCobol2k2               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("COBOL 2002"));
     this.chkCobol2k2.CanFocus      = true;
     this.chkCobol2k2.Name          = "chkCobol2k2";
     this.chkCobol2k2.DrawIndicator = true;
     this.chkCobol2k2.UseUnderline  = true;
     this.chkCobol2k2.Group         = this.chkBS2000.Group;
     this.table2.Add(this.chkCobol2k2);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkCobol2k2]));
     w19.TopAttach    = ((uint)(3));
     w19.BottomAttach = ((uint)(4));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XPadding     = ((uint)(31));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkCobol85               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("COBOL 85"));
     this.chkCobol85.CanFocus      = true;
     this.chkCobol85.Name          = "chkCobol85";
     this.chkCobol85.DrawIndicator = true;
     this.chkCobol85.UseUnderline  = true;
     this.chkCobol85.Group         = this.chkBS2000.Group;
     this.table2.Add(this.chkCobol85);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkCobol85]));
     w20.TopAttach    = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.XPadding     = ((uint)(31));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkDebug               = new global::Gtk.CheckButton();
     this.chkDebug.CanFocus      = true;
     this.chkDebug.Name          = "chkDebug";
     this.chkDebug.Label         = global::Mono.Unix.Catalog.GetString("Compile Debug Lines");
     this.chkDebug.DrawIndicator = true;
     this.chkDebug.UseUnderline  = true;
     this.table2.Add(this.chkDebug);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkDebug]));
     w21.TopAttach    = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkDefault               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("DEFAULT"));
     this.chkDefault.CanFocus      = true;
     this.chkDefault.Name          = "chkDefault";
     this.chkDefault.DrawIndicator = true;
     this.chkDefault.UseUnderline  = true;
     this.chkDefault.Group         = this.chkBS2000.Group;
     this.table2.Add(this.chkDefault);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkDefault]));
     w22.TopAttach    = ((uint)(4));
     w22.BottomAttach = ((uint)(5));
     w22.LeftAttach   = ((uint)(1));
     w22.RightAttach  = ((uint)(2));
     w22.XPadding     = ((uint)(31));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkDll               = new global::Gtk.CheckButton();
     this.chkDll.CanFocus      = true;
     this.chkDll.Name          = "chkDll";
     this.chkDll.Label         = global::Mono.Unix.Catalog.GetString("Generate MAIN PROGRAMS as DLLs");
     this.chkDll.DrawIndicator = true;
     this.chkDll.UseUnderline  = true;
     this.table2.Add(this.chkDll);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkDll]));
     w23.TopAttach    = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkExecute               = new global::Gtk.CheckButton();
     this.chkExecute.CanFocus      = true;
     this.chkExecute.Name          = "chkExecute";
     this.chkExecute.Label         = global::Mono.Unix.Catalog.GetString("Execute upon successful completion");
     this.chkExecute.DrawIndicator = true;
     this.chkExecute.UseUnderline  = true;
     this.table2.Add(this.chkExecute);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkExecute]));
     w24.TopAttach    = ((uint)(4));
     w24.BottomAttach = ((uint)(5));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkIBM               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("IBM"));
     this.chkIBM.CanFocus      = true;
     this.chkIBM.Name          = "chkIBM";
     this.chkIBM.DrawIndicator = true;
     this.chkIBM.UseUnderline  = true;
     this.chkIBM.Group         = this.chkBS2000.Group;
     this.table2.Add(this.chkIBM);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkIBM]));
     w25.TopAttach    = ((uint)(5));
     w25.BottomAttach = ((uint)(6));
     w25.LeftAttach   = ((uint)(1));
     w25.RightAttach  = ((uint)(2));
     w25.XPadding     = ((uint)(31));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkMicroFocus               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("MicroFocus"));
     this.chkMicroFocus.CanFocus      = true;
     this.chkMicroFocus.Name          = "chkMicroFocus";
     this.chkMicroFocus.DrawIndicator = true;
     this.chkMicroFocus.UseUnderline  = true;
     this.chkMicroFocus.Group         = this.chkBS2000.Group;
     this.table2.Add(this.chkMicroFocus);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkMicroFocus]));
     w26.TopAttach    = ((uint)(6));
     w26.BottomAttach = ((uint)(7));
     w26.LeftAttach   = ((uint)(1));
     w26.RightAttach  = ((uint)(2));
     w26.XPadding     = ((uint)(31));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkMVS               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("mvs"));
     this.chkMVS.CanFocus      = true;
     this.chkMVS.Name          = "chkMVS";
     this.chkMVS.DrawIndicator = true;
     this.chkMVS.UseUnderline  = true;
     this.chkMVS.Group         = this.chkBS2000.Group;
     this.table2.Add(this.chkMVS);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkMVS]));
     w27.TopAttach    = ((uint)(7));
     w27.BottomAttach = ((uint)(8));
     w27.LeftAttach   = ((uint)(1));
     w27.RightAttach  = ((uint)(2));
     w27.XPadding     = ((uint)(31));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkNoTrunc               = new global::Gtk.CheckButton();
     this.chkNoTrunc.CanFocus      = true;
     this.chkNoTrunc.Name          = "chkNoTrunc";
     this.chkNoTrunc.Label         = global::Mono.Unix.Catalog.GetString("Do not truncate COMP/BINARY values");
     this.chkNoTrunc.DrawIndicator = true;
     this.chkNoTrunc.UseUnderline  = true;
     this.table2.Add(this.chkNoTrunc);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkNoTrunc]));
     w28.TopAttach    = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkSubRoutine               = new global::Gtk.CheckButton();
     this.chkSubRoutine.CanFocus      = true;
     this.chkSubRoutine.Name          = "chkSubRoutine";
     this.chkSubRoutine.Label         = global::Mono.Unix.Catalog.GetString("This program is a SUBROUTINE");
     this.chkSubRoutine.DrawIndicator = true;
     this.chkSubRoutine.UseUnderline  = true;
     this.table2.Add(this.chkSubRoutine);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkSubRoutine]));
     w29.TopAttach    = ((uint)(3));
     w29.BottomAttach = ((uint)(4));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkTraceAll               = new global::Gtk.CheckButton();
     this.chkTraceAll.CanFocus      = true;
     this.chkTraceAll.Name          = "chkTraceAll";
     this.chkTraceAll.Label         = global::Mono.Unix.Catalog.GetString("Trace procedures + statements");
     this.chkTraceAll.DrawIndicator = true;
     this.chkTraceAll.UseUnderline  = true;
     this.table2.Add(this.chkTraceAll);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkTraceAll]));
     w30.TopAttach    = ((uint)(7));
     w30.BottomAttach = ((uint)(8));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.chkTraceYN               = new global::Gtk.CheckButton();
     this.chkTraceYN.CanFocus      = true;
     this.chkTraceYN.Name          = "chkTraceYN";
     this.chkTraceYN.Label         = global::Mono.Unix.Catalog.GetString("Trace procedures");
     this.chkTraceYN.DrawIndicator = true;
     this.chkTraceYN.UseUnderline  = true;
     this.table2.Add(this.chkTraceYN);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkTraceYN]));
     w31.TopAttach    = ((uint)(6));
     w31.BottomAttach = ((uint)(7));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.fixed1           = new global::Gtk.Fixed();
     this.fixed1.Name      = "fixed1";
     this.fixed1.HasWindow = false;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 0F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Add  \"directory\" to copy/include search path</b>");
     this.label10.UseMarkup = true;
     this.fixed1.Add(this.label10);
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.txtCopyInc               = new global::Gtk.Entry();
     this.txtCopyInc.CanFocus      = true;
     this.txtCopyInc.Name          = "txtCopyInc";
     this.txtCopyInc.IsEditable    = true;
     this.txtCopyInc.WidthChars    = 95;
     this.txtCopyInc.MaxLength     = 135;
     this.txtCopyInc.InvisibleChar = '●';
     this.fixed1.Add(this.txtCopyInc);
     global::Gtk.Fixed.FixedChild w33 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.txtCopyInc]));
     w33.Y = 28;
     this.table2.Add(this.fixed1);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed1]));
     w34.TopAttach    = ((uint)(5));
     w34.BottomAttach = ((uint)(6));
     w34.LeftAttach   = ((uint)(2));
     w34.RightAttach  = ((uint)(3));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Switches</b>");
     this.label1.UseMarkup = true;
     this.table2.Add(this.label1);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1]));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Configuration</b>");
     this.label2.UseMarkup = true;
     this.table2.Add(this.label2);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2]));
     w36.LeftAttach  = ((uint)(1));
     w36.RightAttach = ((uint)(2));
     w36.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Program parameters (if any)</b>");
     this.label7.UseMarkup = true;
     this.table2.Add(this.label7);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w37.TopAttach    = ((uint)(3));
     w37.BottomAttach = ((uint)(4));
     w37.LeftAttach   = ((uint)(2));
     w37.RightAttach  = ((uint)(3));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Additional Compiler Switches</b>");
     this.label8.UseMarkup = true;
     this.table2.Add(this.label8);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w38.TopAttach    = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.LeftAttach   = ((uint)(2));
     w38.RightAttach  = ((uint)(3));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("<b> Add \"directory\" to library search path </b>");
     this.label9.UseMarkup = true;
     this.table2.Add(this.label9);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w39.TopAttach    = ((uint)(6));
     w39.BottomAttach = ((uint)(7));
     w39.LeftAttach   = ((uint)(2));
     w39.RightAttach  = ((uint)(3));
     w39.XOptions     = ((global::Gtk.AttachOptions)(4));
     w39.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lblOS           = new global::Gtk.Label();
     this.lblOS.Name      = "lblOS";
     this.lblOS.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.lblOS.UseMarkup = true;
     this.table2.Add(this.lblOS);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblOS]));
     w40.LeftAttach  = ((uint)(2));
     w40.RightAttach = ((uint)(3));
     w40.XOptions    = ((global::Gtk.AttachOptions)(4));
     w40.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.txtAddSwitch               = new global::Gtk.Entry();
     this.txtAddSwitch.CanFocus      = true;
     this.txtAddSwitch.Name          = "txtAddSwitch";
     this.txtAddSwitch.IsEditable    = true;
     this.txtAddSwitch.WidthChars    = 95;
     this.txtAddSwitch.MaxLength     = 135;
     this.txtAddSwitch.InvisibleChar = '●';
     this.table2.Add(this.txtAddSwitch);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table2 [this.txtAddSwitch]));
     w41.TopAttach    = ((uint)(2));
     w41.BottomAttach = ((uint)(3));
     w41.LeftAttach   = ((uint)(2));
     w41.RightAttach  = ((uint)(3));
     w41.XOptions     = ((global::Gtk.AttachOptions)(4));
     w41.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.txtLibrary               = new global::Gtk.Entry();
     this.txtLibrary.CanFocus      = true;
     this.txtLibrary.Name          = "txtLibrary";
     this.txtLibrary.IsEditable    = true;
     this.txtLibrary.WidthChars    = 89;
     this.txtLibrary.MaxLength     = 135;
     this.txtLibrary.InvisibleChar = '●';
     this.table2.Add(this.txtLibrary);
     global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table2 [this.txtLibrary]));
     w42.TopAttach    = ((uint)(7));
     w42.BottomAttach = ((uint)(8));
     w42.LeftAttach   = ((uint)(2));
     w42.RightAttach  = ((uint)(3));
     w42.XOptions     = ((global::Gtk.AttachOptions)(4));
     w42.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.txtPgmParams               = new global::Gtk.Entry();
     this.txtPgmParams.CanFocus      = true;
     this.txtPgmParams.Name          = "txtPgmParams";
     this.txtPgmParams.IsEditable    = true;
     this.txtPgmParams.WidthChars    = 95;
     this.txtPgmParams.MaxLength     = 135;
     this.txtPgmParams.InvisibleChar = '●';
     this.table2.Add(this.txtPgmParams);
     global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table2 [this.txtPgmParams]));
     w43.TopAttach    = ((uint)(4));
     w43.BottomAttach = ((uint)(5));
     w43.LeftAttach   = ((uint)(2));
     w43.RightAttach  = ((uint)(3));
     w43.XOptions     = ((global::Gtk.AttachOptions)(4));
     w43.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox4.Add(this.table2);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.table2]));
     w44.Position = 0;
     w44.Expand   = false;
     w44.Fill     = false;
     this.notebook1.Add(this.hbox4);
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Common Settings</b>");
     this.label3.UseMarkup = true;
     this.notebook1.SetTabLabel(this.hbox4, this.label3);
     this.label3.ShowAll();
     this.table1.Add(this.notebook1);
     global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1 [this.notebook1]));
     w46.TopAttach    = ((uint)(2));
     w46.BottomAttach = ((uint)(3));
     w46.XOptions     = ((global::Gtk.AttachOptions)(4));
     w46.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1024;
     this.DefaultHeight = 768;
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.HelpAction1.Activated += new global::System.EventHandler(this.OnHelpAction1Activated);
     this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated);
     this.btnCompile.Clicked    += new global::System.EventHandler(this.OnBtnCompileClicked);
     this.filechooserbutton1.SelectionChanged += new global::System.EventHandler(this.OnFilechooserbutton1SelectionChanged);
 }
示例#58
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.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.SeguridadAction            = new global::Gtk.Action("SeguridadAction", global::Mono.Unix.Catalog.GetString("Seguridad"), null, null);
     this.SeguridadAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seguridad");
     w1.Add(this.SeguridadAction, null);
     this.GestionDeUsuariosAction            = new global::Gtk.Action("GestionDeUsuariosAction", global::Mono.Unix.Catalog.GetString("Gestion de Usuarios"), null, null);
     this.GestionDeUsuariosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gestion de Usuarios");
     w1.Add(this.GestionDeUsuariosAction, null);
     this.GestionDeRolesAction            = new global::Gtk.Action("GestionDeRolesAction", global::Mono.Unix.Catalog.GetString("Gestion de Roles"), null, null);
     this.GestionDeRolesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gestion de Roles");
     w1.Add(this.GestionDeRolesAction, null);
     this.GestionDeOpcionesAction            = new global::Gtk.Action("GestionDeOpcionesAction", global::Mono.Unix.Catalog.GetString("Gestion de Opciones"), null, null);
     this.GestionDeOpcionesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gestion de Opciones");
     w1.Add(this.GestionDeOpcionesAction, null);
     this.ControlDeUsuariosAction            = new global::Gtk.Action("ControlDeUsuariosAction", global::Mono.Unix.Catalog.GetString("Control de Usuarios"), null, null);
     this.ControlDeUsuariosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Control de Usuarios");
     w1.Add(this.ControlDeUsuariosAction, null);
     this.ControlDeRolesAction            = new global::Gtk.Action("ControlDeRolesAction", global::Mono.Unix.Catalog.GetString("Control de Roles"), null, null);
     this.ControlDeRolesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Control de Roles");
     w1.Add(this.ControlDeRolesAction, null);
     this.ControlDeOpcionesAction            = new global::Gtk.Action("ControlDeOpcionesAction", global::Mono.Unix.Catalog.GetString("Control de opciones"), null, null);
     this.ControlDeOpcionesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Control de opciones");
     w1.Add(this.ControlDeOpcionesAction, null);
     this.AsignarOpcionesARolAction            = new global::Gtk.Action("AsignarOpcionesARolAction", global::Mono.Unix.Catalog.GetString("Asignar opciones a rol"), null, null);
     this.AsignarOpcionesARolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Asignar opciones a rol");
     w1.Add(this.AsignarOpcionesARolAction, null);
     this.AsignarRolAUsuariosAction            = new global::Gtk.Action("AsignarRolAUsuariosAction", global::Mono.Unix.Catalog.GetString("Asignar Rol a Usuarios"), null, null);
     this.AsignarRolAUsuariosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Asignar Rol a Usuarios");
     w1.Add(this.AsignarRolAUsuariosAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.WidthRequest   = 900;
     this.HeightRequest  = 540;
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable      = false;
     this.DefaultWidth   = 900;
     this.DefaultHeight  = 540;
     // Container child 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='menubar2'><menu name='MenuAction' action='MenuAction'><menuitem name='SalirAction' action='SalirAction'/></menu><menu name='SeguridadAction' action='SeguridadAction'><menu name='GestionDeUsuariosAction' action='GestionDeUsuariosAction'><menuitem name='ControlDeUsuariosAction' action='ControlDeUsuariosAction'/></menu><menu name='GestionDeRolesAction' action='GestionDeRolesAction'><menuitem name='ControlDeRolesAction' action='ControlDeRolesAction'/><menuitem name='AsignarRolAUsuariosAction' action='AsignarRolAUsuariosAction'/></menu><menu name='GestionDeOpcionesAction' action='GestionDeOpcionesAction'><menuitem name='ControlDeOpcionesAction' action='ControlDeOpcionesAction'/><menuitem name='AsignarOpcionesARolAction' action='AsignarOpcionesARolAction'/></menu></menu></menubar></ui>");
     this.menubar2      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.fixed2.Add(this.menubar2);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.menubar2]));
     w2.X = 6;
     w2.Y = 7;
     this.Add(this.fixed2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent                       += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.SalirAction.Activated             += new global::System.EventHandler(this.onSalirActionActivated);
     this.ControlDeUsuariosAction.Activated += new global::System.EventHandler(this.onControlDeUsuarios);
 }
示例#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.UsuariosAction            = new global::Gtk.Action("UsuariosAction", global::Mono.Unix.Catalog.GetString("Usuarios"), null, null);
     this.UsuariosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Usuarios");
     w1.Add(this.UsuariosAction, null);
     this.RolesAction            = new global::Gtk.Action("RolesAction", global::Mono.Unix.Catalog.GetString("Roles"), null, null);
     this.RolesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Roles");
     w1.Add(this.RolesAction, null);
     this.BtnFrmCrearUsuario            = new global::Gtk.Action("BtnFrmCrearUsuario", global::Mono.Unix.Catalog.GetString("Crear Usuario"), null, "gtk-add");
     this.BtnFrmCrearUsuario.ShortLabel = global::Mono.Unix.Catalog.GetString("Gestión de Usuario");
     w1.Add(this.BtnFrmCrearUsuario, null);
     this.CrearUsuarioAction            = new global::Gtk.Action("CrearUsuarioAction", global::Mono.Unix.Catalog.GetString("Crear Usuario"), null, null);
     this.CrearUsuarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Crear Usuario");
     w1.Add(this.CrearUsuarioAction, null);
     this.findAndReplaceAction            = new global::Gtk.Action("findAndReplaceAction", global::Mono.Unix.Catalog.GetString("Modificar Usuario"), null, "gtk-find-and-replace");
     this.findAndReplaceAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Modificar Usuario");
     w1.Add(this.findAndReplaceAction, null);
     this.removeAction            = new global::Gtk.Action("removeAction", global::Mono.Unix.Catalog.GetString("Eliminar Usuario"), null, "gtk-remove");
     this.removeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Eliminar Usuario");
     w1.Add(this.removeAction, null);
     this.GestinDeRolesAction            = new global::Gtk.Action("GestinDeRolesAction", global::Mono.Unix.Catalog.GetString("Gestión de Roles"), null, null);
     this.GestinDeRolesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gestión de Roles");
     w1.Add(this.GestinDeRolesAction, null);
     this.AgregarRolAUsuarioAction            = new global::Gtk.Action("AgregarRolAUsuarioAction", global::Mono.Unix.Catalog.GetString("Agregar rol a usuario"), null, null);
     this.AgregarRolAUsuarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Agregar rol a usuario");
     w1.Add(this.AgregarRolAUsuarioAction, 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='UsuariosAction' action='UsuariosAction'><menuitem name='BtnFrmCrearUsuario' action='BtnFrmCrearUsuario'/><menuitem name='findAndReplaceAction' action='findAndReplaceAction'/><menuitem name='removeAction' action='removeAction'/></menu><menu name='RolesAction' action='RolesAction'><menuitem name='GestinDeRolesAction' action='GestinDeRolesAction'/><menuitem name='AgregarRolAUsuarioAction' action='AgregarRolAUsuarioAction'/></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;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 466;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.BtnFrmCrearUsuario.Activated       += new global::System.EventHandler(this.OnBtnFrmCrearUsuarioActivated);
     this.GestinDeRolesAction.Activated      += new global::System.EventHandler(this.OnGestinDeRolesActionActivated);
     this.AgregarRolAUsuarioAction.Activated += new global::System.EventHandler(this.OnAgregarRolAUsuarioActionActivated);
 }
示例#60
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget PArticulo.ArticuloView
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.Action = new global::Gtk.Action("Action", null, null, null);
     w1.Add(this.Action, null);
     this.buttonSave = new global::Gtk.Action("buttonSave", null, null, "gtk-save");
     w1.Add(this.buttonSave, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "PArticulo.ArticuloView";
     this.Title          = global::Mono.Unix.Catalog.GetString("Window");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child PArticulo.ArticuloView.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar2'><toolitem name='buttonSave' action='buttonSave'/></toolbar></ui>");
     this.toolbar2           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2")));
     this.toolbar2.Name      = "toolbar2";
     this.toolbar2.ShowArrow = false;
     this.vbox1.Add(this.toolbar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.comboBoxCategoria      = global::Gtk.ComboBox.NewText();
     this.comboBoxCategoria.Name = "comboBoxCategoria";
     this.table1.Add(this.comboBoxCategoria);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboBoxCategoria]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryNombre               = new global::Gtk.Entry();
     this.entryNombre.CanFocus      = true;
     this.entryNombre.Name          = "entryNombre";
     this.entryNombre.IsEditable    = true;
     this.entryNombre.InvisibleChar = '•';
     this.table1.Add(this.entryNombre);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNombre]));
     w4.LeftAttach  = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions    = ((global::Gtk.AttachOptions)(4));
     w4.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Categoria");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w6.TopAttach    = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Precio");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w7.TopAttach    = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinButtonPrecio          = new global::Gtk.SpinButton(0, 100, 1);
     this.spinButtonPrecio.CanFocus = true;
     this.spinButtonPrecio.Name     = "spinButtonPrecio";
     this.spinButtonPrecio.Adjustment.PageIncrement = 10;
     this.spinButtonPrecio.ClimbRate = 1;
     this.spinButtonPrecio.Digits    = ((uint)(2));
     this.spinButtonPrecio.Numeric   = true;
     this.table1.Add(this.spinButtonPrecio);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinButtonPrecio]));
     w8.TopAttach    = ((uint)(2));
     w8.BottomAttach = ((uint)(3));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 241;
     this.DefaultHeight = 157;
     this.Show();
     this.buttonSave.Activated += new global::System.EventHandler(this.SaveArticulo);
 }