예제 #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ViewWidgets.Mango.HandsetView
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.Action = new global::Gtk.Action("Action", null, null, null);
     w2.Add(this.Action, null);
     this.orderAction = new global::Gtk.Action("orderAction", null, null, "order");
     w2.Add(this.orderAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "Vodovoz.ViewWidgets.Mango.HandsetView";
     // Container child Vodovoz.ViewWidgets.Mango.HandsetView.Gtk.Container+ContainerChild
     this.buttonMakeCall              = new global::Gtk.Button();
     this.buttonMakeCall.CanFocus     = true;
     this.buttonMakeCall.Name         = "buttonMakeCall";
     this.buttonMakeCall.UseUnderline = true;
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.phone.make-call-16.png");
     this.buttonMakeCall.Image = w3;
     this.Add(this.buttonMakeCall);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.buttonMakeCall.Clicked += new global::System.EventHandler(this.Clicked_buttonMakeCall);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Dialogs.UndeliveriesWithCommentsPrintDlg
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "Vodovoz.Dialogs.UndeliveriesWithCommentsPrintDlg";
     // Container child Vodovoz.Dialogs.UndeliveriesWithCommentsPrintDlg.Gtk.Container+ContainerChild
     this.reportViewer = new global::fyiReporting.RdlGtkViewer.ReportViewer();
     this.reportViewer.WidthRequest   = 0;
     this.reportViewer.HeightRequest  = 0;
     this.reportViewer.Events         = ((global::Gdk.EventMask)(256));
     this.reportViewer.Name           = "reportViewer";
     this.reportViewer.ShowErrors     = false;
     this.reportViewer.ShowParameters = false;
     this.Add(this.reportViewer);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ocmgtk.HTMLEditorWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "ocmgtk.HTMLEditorWidget";
     // Container child ocmgtk.HTMLEditorWidget.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.editorWindow            = new global::Gtk.ScrolledWindow();
     this.editorWindow.CanFocus   = true;
     this.editorWindow.Name       = "editorWindow";
     this.editorWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child editorWindow.Gtk.Container+ContainerChild
     this.editor          = new global::Gtk.TextView();
     this.editor.CanFocus = true;
     this.editor.Name     = "editor";
     this.editor.WrapMode = ((global::Gtk.WrapMode)(2));
     this.editorWindow.Add(this.editor);
     this.vbox3.Add(this.editorWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.editorWindow]));
     w4.Position = 0;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
 }
예제 #4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget AssetImporter.AddinItems.Pad.AssetsPadWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w2.Add(this.addAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "AssetImporter.AddinItems.Pad.AssetsPadWidget";
     // Container child AssetImporter.AddinItems.Pad.AssetsPadWidget.Gtk.Container+ContainerChild
     this.RootVBox         = new global::Gtk.VBox();
     this.RootVBox.Name    = "RootVBox";
     this.RootVBox.Spacing = 6;
     // Container child RootVBox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'addAction\' action=\'addAction\'/></too" +
                                    "lbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.RootVBox.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.RootVBox[this.toolbar1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     this.Add(this.RootVBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ocmgtk.NotesWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.boldAction = new global::Gtk.ToggleAction("boldAction", null, null, "gtk-bold");
     w2.Add(this.boldAction, null);
     this.italicAction = new global::Gtk.Action("italicAction", null, null, "gtk-italic");
     w2.Add(this.italicAction, null);
     this.missingImageAction = new global::Gtk.Action("missingImageAction", null, null, "gtk-missing-image");
     w2.Add(this.missingImageAction, null);
     this.underlineAction = new global::Gtk.Action("underlineAction", null, null, "gtk-underline");
     w2.Add(this.underlineAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "ocmgtk.NotesWidget";
     // Container child ocmgtk.NotesWidget.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 6;
     this.vbox1.BorderWidth = ((uint)(6));
     // Container child vbox1.Gtk.Box+BoxChild
     this.editorWidget = null;
     this.vbox1.Add(this.editorWidget);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.editorWidget]));
     w3.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbuttonbox1             = new global::Gtk.HButtonBox();
     this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.saveButton              = new global::Gtk.Button();
     this.saveButton.Sensitive    = false;
     this.saveButton.CanFocus     = true;
     this.saveButton.Name         = "saveButton";
     this.saveButton.UseUnderline = true;
     this.saveButton.Label        = global::Mono.Unix.Catalog.GetString("_Save");
     global::Gtk.Image w4 = new global::Gtk.Image();
     w4.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.saveButton.Image = w4;
     this.hbuttonbox1.Add(this.saveButton);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.saveButton]));
     w5.Expand = false;
     w5.Fill   = false;
     this.vbox1.Add(this.hbuttonbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.saveButton.Clicked += new global::System.EventHandler(this.OnSaveNotes);
 }
예제 #6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget PArticulo.ListCategoriaView
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh");
     w2.Add(this.refreshAction, null);
     this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w2.Add(this.addAction, null);
     this.deleteAction = new global::Gtk.Action("deleteAction", null, null, "gtk-delete");
     w2.Add(this.deleteAction, null);
     this.editAction = new global::Gtk.Action("editAction", null, null, "gtk-edit");
     w2.Add(this.editAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "PArticulo.ListCategoriaView";
     // Container child PArticulo.ListCategoriaView.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='refreshAction' action='refreshAction'/><toolitem name='addAction' action='addAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='editAction' action='editAction'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeView          = new global::Gtk.TreeView();
     this.treeView.CanFocus = true;
     this.treeView.Name     = "treeView";
     this.GtkScrolledWindow.Add(this.treeView);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w5.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
 }
 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);
 }
예제 #8
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);
 }
예제 #9
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QS.Report.Views.RdlViewerView
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "QS.Report.Views.RdlViewerView";
     // Container child QS.Report.Views.RdlViewerView.Gtk.Container+ContainerChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.panelParameters         = new global::QSWidgetLib.LeftSidePanel();
     this.panelParameters.Events  = ((global::Gdk.EventMask)(256));
     this.panelParameters.Name    = "panelParameters";
     this.panelParameters.Title   = "Параметры";
     this.panelParameters.IsHided = false;
     this.hbox1.Add(this.panelParameters);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.panelParameters]));
     w3.Position = 0;
     w3.Expand   = false;
     // Container child hbox1.Gtk.Box+BoxChild
     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.hbox1.Add(this.reportviewer1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.reportviewer1]));
     w4.Position = 1;
     this.Add(this.hbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.reportviewer1.ReportPrinted += new global::System.EventHandler(this.OnReportviewer1ReportPrinted);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.D.Profiler.Gui.ProfilerPadWidget
     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", global::MonoDevelop.Core.GettextCatalog.GetString("Scann"), global::MonoDevelop.Core.GettextCatalog.GetString("Analysing the trace.log of the selected project"), "gtk-refresh");
     this.refreshAction.ShortLabel = global::MonoDevelop.Core.GettextCatalog.GetString("Scann");
     w2.Add(this.refreshAction, null);
     this.switchProfilingModeAction            = new global::Gtk.Action("switchProfilingModeAction", global::MonoDevelop.Core.GettextCatalog.GetString("Switch Profiling Mode"), global::MonoDevelop.Core.GettextCatalog.GetString("Enable / Disable Profiling Mode"), "gtk-yes");
     this.switchProfilingModeAction.ShortLabel = global::MonoDevelop.Core.GettextCatalog.GetString("Switch Profiling Mode");
     w2.Add(this.switchProfilingModeAction, null);
     this.openTraceLogAction = new global::Gtk.Action("openTraceLogAction", null, global::MonoDevelop.Core.GettextCatalog.GetString("Open the trace.log file of the selected project"), "gtk-open");
     w2.Add(this.openTraceLogAction, null);
     this.copyRowAction = new global::Gtk.Action("copyRowAction", null, global::MonoDevelop.Core.GettextCatalog.GetString("Copy the selected row to the clipboard"), "gtk-copy");
     w2.Add(this.copyRowAction, null);
     this.goToFunctionAction = new global::Gtk.Action("goToFunctionAction", null, global::MonoDevelop.Core.GettextCatalog.GetString("Go to the selected function"), "gtk-jump-to");
     w2.Add(this.goToFunctionAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MonoDevelop.D.Profiler.Gui.ProfilerPadWidget";
     // Container child MonoDevelop.D.Profiler.Gui.ProfilerPadWidget.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='toolbar2'><toolitem name='switchProfilingModeAction' action='switchProfilingModeAction'/><toolitem name='refreshAction' action='refreshAction'/><toolitem name='openTraceLogAction' action='openTraceLogAction'/><toolitem name='copyRowAction' action='copyRowAction'/><toolitem name='goToFunctionAction' action='goToFunctionAction'/></toolbar></ui>");
     this.toolbar2              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2")));
     this.toolbar2.Name         = "toolbar2";
     this.toolbar2.ShowArrow    = false;
     this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar2.IconSize     = ((global::Gtk.IconSize)(2));
     this.vbox2.Add(this.toolbar2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar2]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.nodeView             = new global::Gtk.NodeView();
     this.nodeView.CanFocus    = true;
     this.nodeView.Name        = "nodeView";
     this.nodeView.Reorderable = true;
     this.GtkScrolledWindow.Add(this.nodeView);
     this.vbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     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.OnRefreshActionActivated);
     this.switchProfilingModeAction.Activated += new global::System.EventHandler(this.OnSwitchProfilingModeActionActivated);
     this.openTraceLogAction.Activated        += new global::System.EventHandler(this.OnOpenTraceLogActionActivated);
     this.copyRowAction.Activated             += new global::System.EventHandler(this.OnCopyRowActionActivated);
     this.goToFunctionAction.Activated        += new global::System.EventHandler(this.OnGoToFunctionActionActivated);
     this.nodeView.RowActivated += new global::Gtk.RowActivatedHandler(this.OnNodeViewRowActivated);
 }
예제 #11
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget fyiReporting.RdlGtkViewer.ReportViewer
     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");
     this.refreshAction.IsImportant = true;
     w2.Add(this.refreshAction, null);
     this.PdfAction            = new global::Gtk.Action("PdfAction", global::Mono.Unix.Catalog.GetString("_Pdf"), null, "PdfIcon");
     this.PdfAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Pdf");
     w2.Add(this.PdfAction, null);
     this.printAction            = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("_Print"), null, "gtk-print");
     this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Print");
     w2.Add(this.printAction, null);
     this.ZoomOutAction             = new global::Gtk.Action("ZoomOutAction", null, null, "gtk-zoom-out");
     this.ZoomOutAction.IsImportant = true;
     w2.Add(this.ZoomOutAction, null);
     this.ZoomInAction             = new global::Gtk.Action("ZoomInAction", null, null, "gtk-zoom-in");
     this.ZoomInAction.IsImportant = true;
     w2.Add(this.ZoomInAction, null);
     this.errorsAction             = new global::Gtk.ToggleAction("errorsAction", null, null, "gtk-dialog-warning");
     this.errorsAction.DrawAsRadio = true;
     this.errorsAction.IsImportant = true;
     this.errorsAction.ShortLabel  = global::Mono.Unix.Catalog.GetString("Show _Errors");
     w2.Add(this.errorsAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.WidthRequest  = 0;
     this.HeightRequest = 0;
     this.Name          = "fyiReporting.RdlGtkViewer.ReportViewer";
     // Container child fyiReporting.RdlGtkViewer.ReportViewer.Gtk.Container+ContainerChild
     this.vbox         = new global::Gtk.VBox();
     this.vbox.Name    = "vbox";
     this.vbox.Spacing = 6;
     // Container child vbox.Gtk.Box+BoxChild
     this.hboxHeader         = new global::Gtk.HBox();
     this.hboxHeader.Name    = "hboxHeader";
     this.hboxHeader.Spacing = 6;
     // Container child hboxHeader.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='printAction' action='printAction'/><toolitem name='PdfAction' action='PdfAction'/><separator/><toolitem name='ZoomInAction' action='ZoomInAction'/><toolitem name='ZoomOutAction' action='ZoomOutAction'/><toolitem name='refreshAction' action='refreshAction'/><separator/><toolitem name='errorsAction' action='errorsAction'/></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)(3));
     this.toolbar.IconSize     = ((global::Gtk.IconSize)(2));
     this.hboxHeader.Add(this.toolbar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxHeader [this.toolbar]));
     w3.Position = 0;
     this.vbox.Add(this.hboxHeader);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hboxHeader]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox.Gtk.Box+BoxChild
     this.hbox         = new global::Gtk.HBox();
     this.hbox.Name    = "hbox";
     this.hbox.Spacing = 6;
     // Container child hbox.Gtk.Box+BoxChild
     this.vboxParameters         = new global::Gtk.VBox();
     this.vboxParameters.Name    = "vboxParameters";
     this.vboxParameters.Spacing = 6;
     this.hbox.Add(this.vboxParameters);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox [this.vboxParameters]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox.Gtk.Box+BoxChild
     this.hpanedReport          = new global::Gtk.HPaned();
     this.hpanedReport.CanFocus = true;
     this.hpanedReport.Name     = "hpanedReport";
     this.hpanedReport.Position = 455;
     // Container child hpanedReport.Gtk.Paned+PanedChild
     this.scrolledwindowPages            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowPages.CanFocus   = true;
     this.scrolledwindowPages.Name       = "scrolledwindowPages";
     this.scrolledwindowPages.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindowPages.Gtk.Container+ContainerChild
     global::Gtk.Viewport w6 = new global::Gtk.Viewport();
     w6.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.vboxPages         = new global::Gtk.VBox();
     this.vboxPages.Name    = "vboxPages";
     this.vboxPages.Spacing = 6;
     w6.Add(this.vboxPages);
     this.scrolledwindowPages.Add(w6);
     this.hpanedReport.Add(this.scrolledwindowPages);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpanedReport [this.scrolledwindowPages]));
     w9.Resize = false;
     // Container child hpanedReport.Gtk.Paned+PanedChild
     this.scrolledwindowErrors            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowErrors.CanFocus   = true;
     this.scrolledwindowErrors.Name       = "scrolledwindowErrors";
     this.scrolledwindowErrors.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindowErrors.Gtk.Container+ContainerChild
     this.textviewErrors = new global::Gtk.TextView();
     this.textviewErrors.WidthRequest = 200;
     this.textviewErrors.CanFocus     = true;
     this.textviewErrors.Name         = "textviewErrors";
     this.scrolledwindowErrors.Add(this.textviewErrors);
     this.hpanedReport.Add(this.scrolledwindowErrors);
     global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpanedReport [this.scrolledwindowErrors]));
     w11.Resize = false;
     w11.Shrink = false;
     this.hbox.Add(this.hpanedReport);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox [this.hpanedReport]));
     w12.Position = 1;
     this.vbox.Add(this.hbox);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox]));
     w13.Position = 1;
     this.Add(this.vbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.vboxParameters.Hide();
     this.textviewErrors.Hide();
     this.Hide();
     this.refreshAction.Activated    += new global::System.EventHandler(this.OnRefreshActionActivated);
     this.PdfAction.Activated        += new global::System.EventHandler(this.OnPdfActionActivated);
     this.printAction.Activated      += new global::System.EventHandler(this.OnPrintActionActivated);
     this.ZoomOutAction.Activated    += new global::System.EventHandler(this.OnZoomOutActionActivated);
     this.ZoomInAction.Activated     += new global::System.EventHandler(this.OnZoomInActionActivated);
     this.hpanedReport.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnHpanedReportSizeAllocated);
 }
예제 #12
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget CryptoExchange.BotsView
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w2.Add(this.addAction, null);
     this.removeAction = new global::Gtk.Action("removeAction", null, null, "gtk-remove");
     w2.Add(this.removeAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "CryptoExchange.BotsView";
     // Container child CryptoExchange.BotsView.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // 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.alignment2      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name = "alignment2";
     // Container child alignment2.Gtk.Container+ContainerChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'addAction\' action=\'addAction\'/><tool" +
                                    "item name=\'removeAction\' action=\'removeAction\'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.IconSize  = ((global::Gtk.IconSize)(4));
     this.alignment2.Add(this.toolbar1);
     this.hbox2.Add(this.alignment2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.alignment2]));
     w4.Position = 0;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.nodeview1          = new global::Gtk.NodeView();
     this.nodeview1.CanFocus = true;
     this.nodeview1.Name     = "nodeview1";
     this.GtkScrolledWindow.Add(this.nodeview1);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w7.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.addAction.Activated += new global::System.EventHandler(this.OnAddActionActivated);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Ide.FindInFiles.SearchResultWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.ViewModeAction            = new global::Gtk.Action("ViewModeAction", global::MonoDevelop.Core.GettextCatalog.GetString("ViewMode"), null, null);
     this.ViewModeAction.ShortLabel = global::MonoDevelop.Core.GettextCatalog.GetString("ViewMode");
     w2.Add(this.ViewModeAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MonoDevelop.Ide.FindInFiles.SearchResultWidget";
     // Container child MonoDevelop.Ide.FindInFiles.SearchResultWidget.Gtk.Container+ContainerChild
     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";
     // Container child vbox2.Gtk.Box+BoxChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 499;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow      = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewSearchResults          = new global::Gtk.TreeView();
     this.treeviewSearchResults.CanFocus = true;
     this.treeviewSearchResults.Name     = "treeviewSearchResults";
     this.GtkScrolledWindow.Add(this.treeviewSearchResults);
     this.hpaned1.Add(this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow]));
     w4.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.scrolledwindowLogView            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowLogView.CanFocus   = true;
     this.scrolledwindowLogView.Name       = "scrolledwindowLogView";
     this.scrolledwindowLogView.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindowLogView.Gtk.Container+ContainerChild
     this.textviewLog          = new global::Gtk.TextView();
     this.textviewLog.CanFocus = true;
     this.textviewLog.Name     = "textviewLog";
     this.textviewLog.Editable = false;
     this.scrolledwindowLogView.Add(this.textviewLog);
     this.hpaned1.Add(this.scrolledwindowLogView);
     this.vbox2.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1]));
     w7.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.labelStatus        = new global::Gtk.Label();
     this.labelStatus.Name   = "labelStatus";
     this.labelStatus.Xalign = 0F;
     this.vbox2.Add(this.labelStatus);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelStatus]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     w8.Padding  = ((uint)(3));
     this.hbox1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
     w9.Position = 0;
     // Container child hbox1.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.Orientation  = ((global::Gtk.Orientation)(1));
     this.toolbar.ShowArrow    = false;
     this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar.IconSize     = ((global::Gtk.IconSize)(1));
     this.hbox1.Add(this.toolbar);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.Add(this.hbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
 }
예제 #14
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QSBusinessCommon.MeasurementUnitsDlg
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "QSBusinessCommon.MeasurementUnitsDlg";
     // Container child QSBusinessCommon.MeasurementUnitsDlg.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gtk.Button();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w3;
     this.hbox4.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w5;
     this.hbox4.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.vbox3.Add(this.hbox4);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.datatable1               = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.datatable1.Name          = "datatable1";
     this.datatable1.RowSpacing    = ((uint)(6));
     this.datatable1.ColumnSpacing = ((uint)(6));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentryOKEI               = new global::Gamma.GtkWidgets.yEntry();
     this.dataentryOKEI.CanFocus      = true;
     this.dataentryOKEI.Name          = "dataentryOKEI";
     this.dataentryOKEI.IsEditable    = true;
     this.dataentryOKEI.MaxLength     = 3;
     this.dataentryOKEI.InvisibleChar = '●';
     this.datatable1.Add(this.dataentryOKEI);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataentryOKEI]));
     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));
     // Container child datatable1.Gtk.Table+TableChild
     this.entryName               = new global::Gamma.GtkWidgets.yEntry();
     this.entryName.CanFocus      = true;
     this.entryName.Name          = "entryName";
     this.entryName.IsEditable    = true;
     this.entryName.MaxLength     = 10;
     this.entryName.InvisibleChar = '●';
     this.datatable1.Add(this.entryName);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entryName]));
     w9.LeftAttach  = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Код ОКЕИ:");
     this.datatable1.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Знаков после запятой:");
     this.label10.Justify   = ((global::Gtk.Justification)(1));
     this.datatable1.Add(this.label10);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label10]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Название:");
     this.datatable1.Add(this.label11);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label11]));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.spinDigits          = new global::Gamma.GtkWidgets.ySpinButton(0, 5, 1);
     this.spinDigits.CanFocus = true;
     this.spinDigits.Name     = "spinDigits";
     this.spinDigits.Adjustment.PageIncrement = 10;
     this.spinDigits.ClimbRate      = 1;
     this.spinDigits.Numeric        = true;
     this.spinDigits.ValueAsDecimal = 0m;
     this.spinDigits.ValueAsInt     = 0;
     this.datatable1.Add(this.spinDigits);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1[this.spinDigits]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add(this.datatable1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.datatable1]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
 }
예제 #15
0
        protected virtual void Build()
        {
#pragma warning disable 436
            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.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.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 w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.treeViewPlaceholder]));
            w3.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.documentationScrolledWindow         = new global::Gtk.HBox();
            this.documentationScrolledWindow.Name    = "documentationScrolledWindow";
            this.documentationScrolledWindow.Spacing = 6;
            this.notebook1.Add(this.documentationScrolledWindow);
            // 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 w6 = ((global::Gtk.Box.BoxChild)(this.searchWidget[this.scrolledwindow1]));
            w6.Position = 0;
            this.notebook1.Add(this.searchWidget);
            global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.searchWidget]));
            w7.Position = 1;
            this.vbox3.Add(this.notebook1);
            global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1]));
            w8.Position = 0;
            this.hpaned1.Add(this.vbox3);
            this.vbox1.Add(this.hpaned1);
            global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned1]));
            w10.Position = 0;
            this.Add(this.vbox1);
            if ((this.Child != null))
            {
                this.Child.ShowAll();
            }
            w1.SetUiManager(UIManager);
            this.Hide();
        }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Smuxi.Frontend.Gnome.MenuWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.f_SmuxiAction            = new global::Gtk.Action("f_SmuxiAction", global::Mono.Unix.Catalog.GetString("_Smuxi"), null, null);
     this.f_SmuxiAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Smuxi");
     w2.Add(this.f_SmuxiAction, null);
     this.ServerAction            = new global::Gtk.Action("ServerAction", global::Mono.Unix.Catalog.GetString("_Server"), null, null);
     this.ServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Server");
     w2.Add(this.ServerAction, null);
     this.ChatAction            = new global::Gtk.Action("ChatAction", global::Mono.Unix.Catalog.GetString("_Chat"), null, null);
     this.ChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Chat");
     w2.Add(this.ChatAction, null);
     this.EngineAction            = new global::Gtk.Action("EngineAction", global::Mono.Unix.Catalog.GetString("_Engine"), null, null);
     this.EngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Engine");
     w2.Add(this.EngineAction, 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");
     w2.Add(this.ViewAction, null);
     this.f_HelpAction            = new global::Gtk.Action("f_HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.f_HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w2.Add(this.f_HelpAction, null);
     this.f_ConnectToolAction             = new global::Gtk.Action("f_ConnectToolAction", global::Mono.Unix.Catalog.GetString("Connect"), null, "gtk-network");
     this.f_ConnectToolAction.IsImportant = true;
     this.f_ConnectToolAction.ShortLabel  = global::Mono.Unix.Catalog.GetString("Connect");
     w2.Add(this.f_ConnectToolAction, null);
     this.f_OpenLogToolAction             = new global::Gtk.Action("f_OpenLogToolAction", global::Mono.Unix.Catalog.GetString("Open Log"), null, "gtk-open");
     this.f_OpenLogToolAction.IsImportant = true;
     this.f_OpenLogToolAction.ShortLabel  = global::Mono.Unix.Catalog.GetString("Open Log");
     w2.Add(this.f_OpenLogToolAction, null);
     this.f_FullscreenToolAction             = new global::Gtk.Action("f_FullscreenToolAction", null, null, "gtk-fullscreen");
     this.f_FullscreenToolAction.IsImportant = true;
     w2.Add(this.f_FullscreenToolAction, null);
     this.f_PreferencesToolAction             = new global::Gtk.Action("f_PreferencesToolAction", null, null, "gtk-preferences");
     this.f_PreferencesToolAction.IsImportant = true;
     w2.Add(this.f_PreferencesToolAction, null);
     this.f_PreferencesAction            = new global::Gtk.Action("f_PreferencesAction", global::Mono.Unix.Catalog.GetString("_Preferences"), null, "gtk-preferences");
     this.f_PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Preferences");
     w2.Add(this.f_PreferencesAction, null);
     this.f_QuitAction            = new global::Gtk.Action("f_QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, null);
     this.f_QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w2.Add(this.f_QuitAction, "<Control>q");
     this.f_ConnectAction            = new global::Gtk.Action("f_ConnectAction", global::Mono.Unix.Catalog.GetString("_Connect"), null, "gtk-network");
     this.f_ConnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Connect");
     w2.Add(this.f_ConnectAction, null);
     this.f_AddServerAction            = new global::Gtk.Action("f_AddServerAction", global::Mono.Unix.Catalog.GetString("_Add"), null, "gtk-add");
     this.f_AddServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Add");
     w2.Add(this.f_AddServerAction, null);
     this.f_ManageServerAction            = new global::Gtk.Action("f_ManageServerAction", global::Mono.Unix.Catalog.GetString("_Manage"), null, "gtk-edit");
     this.f_ManageServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Manage");
     w2.Add(this.f_ManageServerAction, null);
     this.f_JoinChatAction            = new global::Gtk.Action("f_JoinChatAction", global::Mono.Unix.Catalog.GetString("_Open / Join Chat"), null, null);
     this.f_JoinChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open / Join Chat");
     w2.Add(this.f_JoinChatAction, "<Control>l");
     this.f_FindGroupChatAction            = new global::Gtk.Action("f_FindGroupChatAction", global::Mono.Unix.Catalog.GetString("_Find Group Chat"), null, null);
     this.f_FindGroupChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Find Group Chat");
     w2.Add(this.f_FindGroupChatAction, null);
     this.f_ClearAllActivityAction            = new global::Gtk.Action("f_ClearAllActivityAction", global::Mono.Unix.Catalog.GetString("C_lear All Activity"), null, "gtk-clear");
     this.f_ClearAllActivityAction.ShortLabel = global::Mono.Unix.Catalog.GetString("C_lear All Activity");
     w2.Add(this.f_ClearAllActivityAction, null);
     this.f_NextChatAction            = new global::Gtk.Action("f_NextChatAction", global::Mono.Unix.Catalog.GetString("_Next Chat"), null, "gtk-go-forward");
     this.f_NextChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Next Chat");
     w2.Add(this.f_NextChatAction, "<Control>Page_Down");
     this.f_PreviousChatAction            = new global::Gtk.Action("f_PreviousChatAction", global::Mono.Unix.Catalog.GetString("_Previous Chat"), null, "gtk-go-back");
     this.f_PreviousChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Previous Chat");
     w2.Add(this.f_PreviousChatAction, "<Control>Page_Up");
     this.f_CloseChatAction            = new global::Gtk.Action("f_CloseChatAction", global::Mono.Unix.Catalog.GetString("_Close"), null, null);
     this.f_CloseChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close");
     w2.Add(this.f_CloseChatAction, "<Control>w");
     this.f_UseLocalEngineAction            = new global::Gtk.Action("f_UseLocalEngineAction", global::Mono.Unix.Catalog.GetString("_Use Local Engine"), null, null);
     this.f_UseLocalEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Use Local Engine");
     w2.Add(this.f_UseLocalEngineAction, null);
     this.f_AddRemoteEngineAction            = new global::Gtk.Action("f_AddRemoteEngineAction", global::Mono.Unix.Catalog.GetString("_Add Remote Engine"), null, null);
     this.f_AddRemoteEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Add Remote Engine");
     w2.Add(this.f_AddRemoteEngineAction, null);
     this.f_SwitchRemoteEngineAction            = new global::Gtk.Action("f_SwitchRemoteEngineAction", global::Mono.Unix.Catalog.GetString("Switch Remote Engine"), null, null);
     this.f_SwitchRemoteEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Switch Remote Engine");
     w2.Add(this.f_SwitchRemoteEngineAction, null);
     this.f_CaretModeAction            = new global::Gtk.ToggleAction("f_CaretModeAction", global::Mono.Unix.Catalog.GetString("_Caret Mode"), null, null);
     this.f_CaretModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Caret Mode");
     w2.Add(this.f_CaretModeAction, "F7");
     this.f_BrowseModeAction            = new global::Gtk.ToggleAction("f_BrowseModeAction", global::Mono.Unix.Catalog.GetString("_Browse Mode"), null, null);
     this.f_BrowseModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Browse Mode");
     w2.Add(this.f_BrowseModeAction, "F8");
     this.f_ShowMenubarAction            = new global::Gtk.ToggleAction("f_ShowMenubarAction", global::Mono.Unix.Catalog.GetString("Show _Menubar"), null, null);
     this.f_ShowMenubarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show _Menubar");
     w2.Add(this.f_ShowMenubarAction, null);
     this.f_ShowStatusbarAction            = new global::Gtk.ToggleAction("f_ShowStatusbarAction", global::Mono.Unix.Catalog.GetString("Show _Statusbar"), null, null);
     this.f_ShowStatusbarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show _Statusbar");
     w2.Add(this.f_ShowStatusbarAction, null);
     this.f_FullscreenAction            = new global::Gtk.Action("f_FullscreenAction", global::Mono.Unix.Catalog.GetString("_Fullscreen"), null, "gtk-fullscreen");
     this.f_FullscreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Fullscreen");
     w2.Add(this.f_FullscreenAction, "F11");
     this.f_AboutAction            = new global::Gtk.Action("f_AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.f_AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w2.Add(this.f_AboutAction, null);
     this.f_OpenLogAction            = new global::Gtk.Action("f_OpenLogAction", global::Mono.Unix.Catalog.GetString("Open Log"), null, null);
     this.f_OpenLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Log");
     w2.Add(this.f_OpenLogAction, null);
     this.f_FindGroupChatToolAction             = new global::Gtk.Action("f_FindGroupChatToolAction", global::Mono.Unix.Catalog.GetString("Find Group Chat"), null, null);
     this.f_FindGroupChatToolAction.IsImportant = true;
     this.f_FindGroupChatToolAction.ShortLabel  = global::Mono.Unix.Catalog.GetString("Find Group Chat");
     w2.Add(this.f_FindGroupChatToolAction, null);
     this.f_WebsiteAction            = new global::Gtk.Action("f_WebsiteAction", global::Mono.Unix.Catalog.GetString("_Website"), null, null);
     this.f_WebsiteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Website");
     w2.Add(this.f_WebsiteAction, null);
     this.f_ShowToolbarAction            = new global::Gtk.ToggleAction("f_ShowToolbarAction", global::Mono.Unix.Catalog.GetString("Show _Toolbar"), null, null);
     this.f_ShowToolbarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show _Toolbar");
     w2.Add(this.f_ShowToolbarAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "Smuxi.Frontend.Gnome.MenuWidget";
     // Container child Smuxi.Frontend.Gnome.MenuWidget.Gtk.Container+ContainerChild
     this.vbox2      = new global::Gtk.VBox();
     this.vbox2.Name = "vbox2";
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='f_MenuBar'><menu name='f_SmuxiAction' action='f_SmuxiAction'><menuitem name='f_PreferencesAction' action='f_PreferencesAction'/><menuitem name='f_QuitAction' action='f_QuitAction'/></menu><menu name='ServerAction' action='ServerAction'><menuitem name='f_ConnectAction' action='f_ConnectAction'/><separator/><menuitem name='f_AddServerAction' action='f_AddServerAction'/><menuitem name='f_ManageServerAction' action='f_ManageServerAction'/></menu><menu name='ChatAction' action='ChatAction'><menuitem name='f_JoinChatAction' action='f_JoinChatAction'/><menuitem name='f_FindGroupChatAction' action='f_FindGroupChatAction'/><menuitem name='f_ClearAllActivityAction' action='f_ClearAllActivityAction'/><separator/><menuitem name='f_NextChatAction' action='f_NextChatAction'/><menuitem name='f_PreviousChatAction' action='f_PreviousChatAction'/><separator/><menuitem name='f_OpenLogAction' action='f_OpenLogAction'/><menuitem name='f_CloseChatAction' action='f_CloseChatAction'/></menu><menu name='EngineAction' action='EngineAction'><menuitem name='f_UseLocalEngineAction' action='f_UseLocalEngineAction'/><separator/><menuitem name='f_AddRemoteEngineAction' action='f_AddRemoteEngineAction'/><menuitem name='f_SwitchRemoteEngineAction' action='f_SwitchRemoteEngineAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='f_CaretModeAction' action='f_CaretModeAction'/><menuitem name='f_BrowseModeAction' action='f_BrowseModeAction'/><menuitem name='f_ShowMenubarAction' action='f_ShowMenubarAction'/><menuitem name='f_ShowToolbarAction' action='f_ShowToolbarAction'/><menuitem name='f_ShowStatusbarAction' action='f_ShowStatusbarAction'/><menuitem name='f_FullscreenAction' action='f_FullscreenAction'/></menu><menu name='f_HelpAction' action='f_HelpAction'><menuitem name='f_WebsiteAction' action='f_WebsiteAction'/><menuitem name='f_AboutAction' action='f_AboutAction'/></menu></menubar></ui>");
     this.f_MenuBar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/f_MenuBar")));
     this.f_MenuBar.Name = "f_MenuBar";
     this.vbox2.Add(this.f_MenuBar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.f_MenuBar]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1      = new global::Gtk.HBox();
     this.hbox1.Name = "hbox1";
     // Container child hbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='f_MenuToolbar'><toolitem name='f_ConnectToolAction' action='f_ConnectToolAction'/><toolitem name='f_FindGroupChatToolAction' action='f_FindGroupChatToolAction'/><toolitem name='f_OpenLogToolAction' action='f_OpenLogToolAction'/><toolitem name='f_FullscreenToolAction' action='f_FullscreenToolAction'/><toolitem name='f_PreferencesToolAction' action='f_PreferencesToolAction'/></toolbar></ui>");
     this.f_MenuToolbar              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/f_MenuToolbar")));
     this.f_MenuToolbar.Name         = "f_MenuToolbar";
     this.f_MenuToolbar.ShowArrow    = false;
     this.f_MenuToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.f_MenuToolbar.IconSize     = ((global::Gtk.IconSize)(3));
     this.hbox1.Add(this.f_MenuToolbar);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_MenuToolbar]));
     w4.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='f_JoinToolbar'/></ui>");
     this.f_JoinToolbar           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/f_JoinToolbar")));
     this.f_JoinToolbar.Name      = "f_JoinToolbar";
     this.f_JoinToolbar.ShowArrow = false;
     this.hbox1.Add(this.f_JoinToolbar);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_JoinToolbar]));
     w5.PackType = ((global::Gtk.PackType)(1));
     w5.Position = 1;
     w5.Expand   = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.f_ConnectToolAction.Activated        += new global::System.EventHandler(this.OnConnectActionActivated);
     this.f_OpenLogToolAction.Activated        += new global::System.EventHandler(this.OnOpenLogActionActivated);
     this.f_FullscreenToolAction.Activated     += new global::System.EventHandler(this.OnFullscreenActionActivated);
     this.f_PreferencesToolAction.Activated    += new global::System.EventHandler(this.OnPreferencesActionActivated);
     this.f_PreferencesAction.Activated        += new global::System.EventHandler(this.OnPreferencesActionActivated);
     this.f_QuitAction.Activated               += new global::System.EventHandler(this.OnQuitActionActivated);
     this.f_ConnectAction.Activated            += new global::System.EventHandler(this.OnConnectActionActivated);
     this.f_AddServerAction.Activated          += new global::System.EventHandler(this.OnAddServerActionActivated);
     this.f_ManageServerAction.Activated       += new global::System.EventHandler(this.OnManageServerActionActivated);
     this.f_JoinChatAction.Activated           += new global::System.EventHandler(this.OnJoinChatActionActivated);
     this.f_FindGroupChatAction.Activated      += new global::System.EventHandler(this.OnFindGroupChatActionActivated);
     this.f_ClearAllActivityAction.Activated   += new global::System.EventHandler(this.OnClearAllActivityActionActivated);
     this.f_NextChatAction.Activated           += new global::System.EventHandler(this.OnNextChatActionActivated);
     this.f_PreviousChatAction.Activated       += new global::System.EventHandler(this.OnPreviousChatActionActivated);
     this.f_CloseChatAction.Activated          += new global::System.EventHandler(this.OnCloseChatActionActivated);
     this.f_UseLocalEngineAction.Activated     += new global::System.EventHandler(this.OnUseLocalEngineActionActivated);
     this.f_AddRemoteEngineAction.Activated    += new global::System.EventHandler(this.OnAddRemoteEngineActionActivated);
     this.f_SwitchRemoteEngineAction.Activated += new global::System.EventHandler(this.OnSwitchRemoteEngineActionActivated);
     this.f_CaretModeAction.Toggled            += new global::System.EventHandler(this.OnCaretModeActionToggled);
     this.f_BrowseModeAction.Toggled           += new global::System.EventHandler(this.OnBrowseModeActionToggled);
     this.f_ShowMenubarAction.Toggled          += new global::System.EventHandler(this.OnShowMenubarActionToggled);
     this.f_ShowStatusbarAction.Toggled        += new global::System.EventHandler(this.OnShowStatusbarActionToggled);
     this.f_FullscreenAction.Activated         += new global::System.EventHandler(this.OnFullscreenActionActivated);
     this.f_AboutAction.Activated              += new global::System.EventHandler(this.OnAboutActionActivated);
     this.f_OpenLogAction.Activated            += new global::System.EventHandler(this.OnOpenLogActionActivated);
     this.f_FindGroupChatToolAction.Activated  += new global::System.EventHandler(this.OnFindGroupChatActionActivated);
     this.f_WebsiteAction.Activated            += new global::System.EventHandler(this.OnWebsiteActionActivated);
     this.f_ShowToolbarAction.Toggled          += new global::System.EventHandler(this.OnShowToolbarActionToggled);
 }
예제 #17
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MequantaStudio.SmartQuant.StrategyMonitorWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.stopAction = new global::Gtk.Action("stopAction", null, null, "gtk-stop");
     w2.Add(this.stopAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MequantaStudio.SmartQuant.StrategyMonitorWidget";
     // Container child MequantaStudio.SmartQuant.StrategyMonitorWidget.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='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 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.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 88;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview2          = new global::Gtk.TreeView();
     this.treeview2.CanFocus = true;
     this.treeview2.Name     = "treeview2";
     this.GtkScrolledWindow.Add(this.treeview2);
     this.notebook1.Add(this.GtkScrolledWindow);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow, this.label1);
     this.label1.ShowAll();
     this.vpaned1.Add(this.notebook1);
     global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.notebook1]));
     w6.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.vpaned2          = new global::Gtk.VPaned();
     this.vpaned2.CanFocus = true;
     this.vpaned2.Name     = "vpaned2";
     this.vpaned2.Position = 89;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.notebook2             = new global::Gtk.Notebook();
     this.notebook2.CanFocus    = true;
     this.notebook2.Name        = "notebook2";
     this.notebook2.CurrentPage = 0;
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.treeview3          = new global::Gtk.TreeView();
     this.treeview3.CanFocus = true;
     this.treeview3.Name     = "treeview3";
     this.GtkScrolledWindow1.Add(this.treeview3);
     this.notebook2.Add(this.GtkScrolledWindow1);
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebook2.SetTabLabel(this.GtkScrolledWindow1, this.label2);
     this.label2.ShowAll();
     this.vpaned2.Add(this.notebook2);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.notebook2]));
     w9.Resize = false;
     // Container child vpaned2.Gtk.Paned+PanedChild
     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.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar2'/></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 w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar2]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.treeview4          = new global::Gtk.TreeView();
     this.treeview4.CanFocus = true;
     this.treeview4.Name     = "treeview4";
     this.GtkScrolledWindow2.Add(this.treeview4);
     this.vbox3.Add(this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow2]));
     w12.Position = 1;
     this.notebook3.Add(this.vbox3);
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebook3.SetTabLabel(this.vbox3, this.label3);
     this.label3.ShowAll();
     this.vpaned2.Add(this.notebook3);
     this.vpaned1.Add(this.vpaned2);
     this.vbox2.Add(this.vpaned1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1]));
     w16.Position = 1;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Show();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoReports.Gui.Widgets.MonoreportsDesignerControl
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = 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");
     w2.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");
     w2.Add(this.FileAction1, 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");
     w2.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");
     w2.Add(this.HelpAction, null);
     this.HelpAction1            = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w2.Add(this.HelpAction1, null);
     this.executeAction = new global::Gtk.Action("executeAction", null, null, "gtk-execute");
     w2.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");
     w2.Add(this.aboutAction, null);
     this.zoomFitAction = new global::Gtk.Action("zoomFitAction", null, null, "gtk-zoom-fit");
     w2.Add(this.zoomFitAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Otwórz"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Otwórz");
     w2.Add(this.openAction, null);
     this.saveAction            = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Zapisz"), null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Zapisz");
     w2.Add(this.saveAction, null);
     this.executeAction1 = new global::Gtk.Action("executeAction1", null, null, "gtk-execute");
     w2.Add(this.executeAction1, null);
     this.dialogErrorAction = new global::Gtk.Action("dialogErrorAction", null, null, "gtk-dialog-error");
     w2.Add(this.dialogErrorAction, null);
     this.editAction = new global::Gtk.ToggleAction("editAction", null, null, "gtk-edit");
     w2.Add(this.editAction, null);
     this.sortAscendingAction = new global::Gtk.Action("sortAscendingAction", null, null, "gtk-sort-ascending");
     w2.Add(this.sortAscendingAction, 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");
     w2.Add(this.EditAction, null);
     this.ReportSettingsAction            = new global::Gtk.Action("ReportSettingsAction", global::Mono.Unix.Catalog.GetString("Report Settings"), null, null);
     this.ReportSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Report Settings");
     w2.Add(this.ReportSettingsAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MonoReports.Gui.Widgets.MonoreportsDesignerControl";
     // Container child MonoReports.Gui.Widgets.MonoreportsDesignerControl.Gtk.Container+ContainerChild
     this.mainVbox         = new global::Gtk.VBox();
     this.mainVbox.Name    = "mainVbox";
     this.mainVbox.Spacing = -1;
     // Container child mainVbox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='mainMenubar'><menu name='FileAction1' action='FileAction1'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='ReportSettingsAction' action='ReportSettingsAction'/></menu><menu name='HelpAction1' action='HelpAction1'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.mainMenubar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/mainMenubar")));
     this.mainMenubar.Name = "mainMenubar";
     this.mainVbox.Add(this.mainMenubar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.mainMenubar]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child mainVbox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'mainToolbar\'/></ui>");
     this.mainToolbar           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/mainToolbar")));
     this.mainToolbar.Name      = "mainToolbar";
     this.mainToolbar.ShowArrow = false;
     this.mainToolbar.IconSize  = ((global::Gtk.IconSize)(1));
     this.mainVbox.Add(this.mainToolbar);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.mainToolbar]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child mainVbox.Gtk.Box+BoxChild
     this.contentHbox         = new global::Gtk.HBox();
     this.contentHbox.Name    = "contentHbox";
     this.contentHbox.Spacing = 6;
     // Container child contentHbox.Gtk.Box+BoxChild
     this.mainHPaned          = new global::Gtk.HPaned();
     this.mainHPaned.CanFocus = true;
     this.mainHPaned.Name     = "mainHPaned";
     this.mainHPaned.Position = 721;
     // Container child mainHPaned.Gtk.Paned+PanedChild
     this.maindesignview1        = new global::MonoReports.Gui.Widgets.MainDesignView();
     this.maindesignview1.Events = ((global::Gdk.EventMask)(256));
     this.maindesignview1.Name   = "maindesignview1";
     this.mainHPaned.Add(this.maindesignview1);
     global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.mainHPaned [this.maindesignview1]));
     w5.Resize = false;
     // Container child mainHPaned.Gtk.Paned+PanedChild
     this.rightVPaned          = new global::Gtk.VPaned();
     this.rightVPaned.CanFocus = true;
     this.rightVPaned.Name     = "rightVPaned";
     this.rightVPaned.Position = 291;
     // Container child rightVPaned.Gtk.Paned+PanedChild
     this.reportExplorer      = new global::MonoReports.Gui.Widgets.ReportExplorer();
     this.reportExplorer.Name = "reportExplorer";
     this.rightVPaned.Add(this.reportExplorer);
     global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.rightVPaned [this.reportExplorer]));
     w6.Resize = false;
     // Container child rightVPaned.Gtk.Paned+PanedChild
     this.mainPropertygrid             = new global::PropertyGrid.PropertyGrid();
     this.mainPropertygrid.Name        = "mainPropertygrid";
     this.mainPropertygrid.ShowToolbar = false;
     this.mainPropertygrid.ShowHelp    = false;
     this.rightVPaned.Add(this.mainPropertygrid);
     this.mainHPaned.Add(this.rightVPaned);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.mainHPaned [this.rightVPaned]));
     w8.Resize = false;
     this.contentHbox.Add(this.mainHPaned);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.contentHbox [this.mainHPaned]));
     w9.Position = 0;
     this.mainVbox.Add(this.contentHbox);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.contentHbox]));
     w10.Position = 2;
     // Container child mainVbox.Gtk.Box+BoxChild
     this.bottomStatusbar         = new global::Gtk.Statusbar();
     this.bottomStatusbar.Name    = "bottomStatusbar";
     this.bottomStatusbar.Spacing = 6;
     // Container child bottomStatusbar.Gtk.Box+BoxChild
     this.StatusBarLabel      = new global::Gtk.Label();
     this.StatusBarLabel.Name = "StatusBarLabel";
     this.bottomStatusbar.Add(this.StatusBarLabel);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.bottomStatusbar [this.StatusBarLabel]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     this.mainVbox.Add(this.bottomStatusbar);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.bottomStatusbar]));
     w12.Position = 3;
     w12.Expand   = false;
     w12.Fill     = false;
     this.Add(this.mainVbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.DeleteEvent                    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.quitAction.Activated           += new global::System.EventHandler(this.OnQuitActionActivated);
     this.aboutAction.Activated          += new global::System.EventHandler(this.OnAboutActionActivated);
     this.openAction.Activated           += new global::System.EventHandler(this.OnOpenActionActivated);
     this.saveAction.Activated           += new global::System.EventHandler(this.OnSaveActionActivated);
     this.editAction.Activated           += new global::System.EventHandler(this.OnEditActionActivated);
     this.ReportSettingsAction.Activated += new global::System.EventHandler(this.OnReportSettingsActionActivated);
     this.mainPropertygrid.Changed       += new global::System.EventHandler(this.OnMainPropertygridChanged);
 }
예제 #19
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.AddinAuthoring.AddinDescriptionWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MonoDevelop.AddinAuthoring.AddinDescriptionWidget";
     // Container child MonoDevelop.AddinAuthoring.AddinDescriptionWidget.Gtk.Container+ContainerChild
     this.mainBox         = new global::Gtk.VBox();
     this.mainBox.Name    = "mainBox";
     this.mainBox.Spacing = 3;
     // Container child mainBox.Gtk.Box+BoxChild
     this.notebook             = new global::Gtk.Notebook();
     this.notebook.CanFocus    = true;
     this.notebook.Name        = "notebook";
     this.notebook.CurrentPage = 2;
     this.notebook.TabPos      = ((global::Gtk.PositionType)(3));
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(11)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(12));
     // Container child table1.Gtk.Table+TableChild
     this.checkIsRoot               = new global::Gtk.CheckButton();
     this.checkIsRoot.CanFocus      = true;
     this.checkIsRoot.Name          = "checkIsRoot";
     this.checkIsRoot.Label         = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Add-in root");
     this.checkIsRoot.DrawIndicator = true;
     this.checkIsRoot.UseUnderline  = true;
     this.table1.Add(this.checkIsRoot);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkIsRoot]));
     w3.TopAttach    = ((uint)(3));
     w3.BottomAttach = ((uint)(4));
     w3.RightAttach  = ((uint)(2));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboNs      = global::Gtk.ComboBoxEntry.NewText();
     this.comboNs.Name = "comboNs";
     this.table1.Add(this.comboNs);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboNs]));
     w4.TopAttach    = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryAuthor               = new global::Gtk.Entry();
     this.entryAuthor.CanFocus      = true;
     this.entryAuthor.Name          = "entryAuthor";
     this.entryAuthor.IsEditable    = true;
     this.entryAuthor.InvisibleChar = '●';
     this.table1.Add(this.entryAuthor);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryAuthor]));
     w5.TopAttach    = ((uint)(8));
     w5.BottomAttach = ((uint)(9));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryIdentifier               = new global::Gtk.Entry();
     this.entryIdentifier.CanFocus      = true;
     this.entryIdentifier.Name          = "entryIdentifier";
     this.entryIdentifier.IsEditable    = true;
     this.entryIdentifier.InvisibleChar = '●';
     this.table1.Add(this.entryIdentifier);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryIdentifier]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryLicense               = new global::Gtk.Entry();
     this.entryLicense.CanFocus      = true;
     this.entryLicense.Name          = "entryLicense";
     this.entryLicense.IsEditable    = true;
     this.entryLicense.InvisibleChar = '●';
     this.table1.Add(this.entryLicense);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryLicense]));
     w7.TopAttach    = ((uint)(9));
     w7.BottomAttach = ((uint)(10));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryName               = new global::Gtk.Entry();
     this.entryName.CanFocus      = true;
     this.entryName.Name          = "entryName";
     this.entryName.IsEditable    = true;
     this.entryName.InvisibleChar = '●';
     this.table1.Add(this.entryName);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryName]));
     w8.TopAttach    = ((uint)(5));
     w8.BottomAttach = ((uint)(6));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryUrl               = new global::Gtk.Entry();
     this.entryUrl.CanFocus      = true;
     this.entryUrl.Name          = "entryUrl";
     this.entryUrl.IsEditable    = true;
     this.entryUrl.InvisibleChar = '●';
     this.table1.Add(this.entryUrl);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryUrl]));
     w9.TopAttach    = ((uint)(10));
     w9.BottomAttach = ((uint)(11));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.entryVersion               = new global::Gtk.Entry();
     this.entryVersion.CanFocus      = true;
     this.entryVersion.Name          = "entryVersion";
     this.entryVersion.IsEditable    = true;
     this.entryVersion.WidthChars    = 15;
     this.entryVersion.InvisibleChar = '●';
     this.hbox9.Add(this.entryVersion);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.entryVersion]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Compatible Version:");
     this.hbox9.Add(this.label4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label4]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.entryCompatVersion               = new global::Gtk.Entry();
     this.entryCompatVersion.CanFocus      = true;
     this.entryCompatVersion.Name          = "entryCompatVersion";
     this.entryCompatVersion.IsEditable    = true;
     this.entryCompatVersion.WidthChars    = 15;
     this.entryCompatVersion.InvisibleChar = '●';
     this.hbox9.Add(this.entryCompatVersion);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.entryCompatVersion]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.table1.Add(this.hbox9);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox9]));
     w13.TopAttach    = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.table1.Add(this.hseparator1);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.hseparator1]));
     w14.TopAttach    = ((uint)(7));
     w14.BottomAttach = ((uint)(8));
     w14.RightAttach  = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hseparator2      = new global::Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.table1.Add(this.hseparator2);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.hseparator2]));
     w15.TopAttach    = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.RightAttach  = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.Xalign    = 0F;
     this.label12.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("License:");
     this.table1.Add(this.label12);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12]));
     w16.TopAttach    = ((uint)(9));
     w16.BottomAttach = ((uint)(10));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.Xalign    = 0F;
     this.label13.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Author:");
     this.table1.Add(this.label13);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label13]));
     w17.TopAttach    = ((uint)(8));
     w17.BottomAttach = ((uint)(9));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label14           = new global::Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.Xalign    = 0F;
     this.label14.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Name:");
     this.table1.Add(this.label14);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label14]));
     w18.TopAttach    = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label15           = new global::Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.Xalign    = 0F;
     this.label15.Yalign    = 0F;
     this.label15.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Description:");
     this.table1.Add(this.label15);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label15]));
     w19.TopAttach    = ((uint)(6));
     w19.BottomAttach = ((uint)(7));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Namespace:");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Version:");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w21.TopAttach    = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("URL:");
     this.table1.Add(this.label7);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w22.TopAttach    = ((uint)(10));
     w22.BottomAttach = ((uint)(11));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Identifier:");
     this.table1.Add(this.label8);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     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.textviewDesc          = new global::Gtk.TextView();
     this.textviewDesc.CanFocus = true;
     this.textviewDesc.Name     = "textviewDesc";
     this.scrolledwindow1.Add(this.textviewDesc);
     this.table1.Add(this.scrolledwindow1);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.scrolledwindow1]));
     w25.TopAttach    = ((uint)(6));
     w25.BottomAttach = ((uint)(7));
     w25.LeftAttach   = ((uint)(1));
     w25.RightAttach  = ((uint)(2));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add(this.table1);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table1]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hseparator3      = new global::Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.vbox3.Add(this.hseparator3);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator3]));
     w27.PackType = ((global::Gtk.PackType)(1));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     this.notebook.Add(this.vbox3);
     // Notebook tab
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Header");
     this.notebook.SetTabLabel(this.vbox3, this.label5);
     this.label5.ShowAll();
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.extensionPointsEditor        = new global::MonoDevelop.AddinAuthoring.ExtensionPointsEditorWidget();
     this.extensionPointsEditor.Events = ((global::Gdk.EventMask)(256));
     this.extensionPointsEditor.Name   = "extensionPointsEditor";
     this.notebook.Add(this.extensionPointsEditor);
     global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.extensionPointsEditor]));
     w29.Position = 1;
     // Notebook tab
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Extension Points");
     this.notebook.SetTabLabel(this.extensionPointsEditor, this.label9);
     this.label9.ShowAll();
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.hbox5             = new global::Gtk.HBox();
     this.hbox5.Name        = "hbox5";
     this.hbox5.Spacing     = 6;
     this.hbox5.BorderWidth = ((uint)(6));
     // Container child hbox5.Gtk.Box+BoxChild
     this.extensionEditor        = new global::MonoDevelop.AddinAuthoring.ExtensionEditorWidget();
     this.extensionEditor.Events = ((global::Gdk.EventMask)(256));
     this.extensionEditor.Name   = "extensionEditor";
     this.hbox5.Add(this.extensionEditor);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.extensionEditor]));
     w30.Position = 0;
     this.notebook.Add(this.hbox5);
     global::Gtk.Notebook.NotebookChild w31 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.hbox5]));
     w31.Position = 2;
     // Notebook tab
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Extensions");
     this.notebook.SetTabLabel(this.hbox5, this.label10);
     this.label10.ShowAll();
     this.mainBox.Add(this.notebook);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.mainBox [this.notebook]));
     w32.Position = 0;
     this.Add(this.mainBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Show();
     this.entryVersion.Changed       += new global::System.EventHandler(this.OnEntryChanged);
     this.entryCompatVersion.Changed += new global::System.EventHandler(this.OnEntryChanged);
     this.entryUrl.Changed           += new global::System.EventHandler(this.OnEntryChanged);
     this.entryName.Changed          += new global::System.EventHandler(this.OnEntryChanged);
     this.entryLicense.Changed       += new global::System.EventHandler(this.OnEntryChanged);
     this.entryIdentifier.Changed    += new global::System.EventHandler(this.OnEntryChanged);
     this.entryIdentifier.Changed    += new global::System.EventHandler(this.OnEntryIdentifierChanged);
     this.entryAuthor.Changed        += new global::System.EventHandler(this.OnEntryChanged);
     this.checkIsRoot.Clicked        += new global::System.EventHandler(this.OnCheckIsRootClicked);
 }
예제 #20
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.OrganizationDlg
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "Vodovoz.OrganizationDlg";
     // Container child Vodovoz.OrganizationDlg.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gtk.Button();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w3;
     this.hbox1.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w5;
     this.hbox1.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.hbox1.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.radioTabInfo               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Основное"));
     this.radioTabInfo.CanFocus      = true;
     this.radioTabInfo.Name          = "radioTabInfo";
     this.radioTabInfo.DrawIndicator = false;
     this.radioTabInfo.UseUnderline  = true;
     this.radioTabInfo.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.hbox1.Add(this.radioTabInfo);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabInfo]));
     w8.Position = 3;
     // Container child hbox1.Gtk.Box+BoxChild
     this.radioTabAccounts               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Счета"));
     this.radioTabAccounts.CanFocus      = true;
     this.radioTabAccounts.Name          = "radioTabAccounts";
     this.radioTabAccounts.DrawIndicator = false;
     this.radioTabAccounts.UseUnderline  = true;
     this.radioTabAccounts.Group         = this.radioTabInfo.Group;
     this.hbox1.Add(this.radioTabAccounts);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabAccounts]));
     w9.Position = 4;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookMain             = new global::Gtk.Notebook();
     this.notebookMain.CanFocus    = true;
     this.notebookMain.Name        = "notebookMain";
     this.notebookMain.CurrentPage = 0;
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.scrolledwindow1                  = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus         = true;
     this.scrolledwindow1.Name             = "scrolledwindow1";
     this.scrolledwindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.scrolledwindow1.ShadowType       = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w11 = new global::Gtk.Viewport();
     w11.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.datatableMain               = new global::Gtk.Table(((uint)(13)), ((uint)(2)), false);
     this.datatableMain.Name          = "datatableMain";
     this.datatableMain.RowSpacing    = ((uint)(6));
     this.datatableMain.ColumnSpacing = ((uint)(6));
     this.datatableMain.BorderWidth   = ((uint)(2));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryEmail               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryEmail.CanFocus      = true;
     this.dataentryEmail.Name          = "dataentryEmail";
     this.dataentryEmail.IsEditable    = true;
     this.dataentryEmail.MaxLength     = 45;
     this.dataentryEmail.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryEmail);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryEmail]));
     w12.TopAttach    = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryFullName               = new global::Gamma.GtkWidgets.yEntry();
     this.dataentryFullName.CanFocus      = true;
     this.dataentryFullName.Name          = "dataentryFullName";
     this.dataentryFullName.IsEditable    = true;
     this.dataentryFullName.MaxLength     = 200;
     this.dataentryFullName.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryFullName);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryFullName]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryINN               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryINN.CanFocus      = true;
     this.dataentryINN.Name          = "dataentryINN";
     this.dataentryINN.IsEditable    = true;
     this.dataentryINN.MaxLength     = 12;
     this.dataentryINN.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryINN);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryINN]));
     w14.TopAttach    = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryKPP               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryKPP.CanFocus      = true;
     this.dataentryKPP.Name          = "dataentryKPP";
     this.dataentryKPP.IsEditable    = true;
     this.dataentryKPP.MaxLength     = 9;
     this.dataentryKPP.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryKPP);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryKPP]));
     w15.TopAttach    = ((uint)(7));
     w15.BottomAttach = ((uint)(8));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryName               = new global::Gamma.GtkWidgets.yEntry();
     this.dataentryName.CanFocus      = true;
     this.dataentryName.Name          = "dataentryName";
     this.dataentryName.IsEditable    = true;
     this.dataentryName.MaxLength     = 100;
     this.dataentryName.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryName);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryName]));
     w16.LeftAttach  = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryOGRN               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryOGRN.CanFocus      = true;
     this.dataentryOGRN.Name          = "dataentryOGRN";
     this.dataentryOGRN.IsEditable    = true;
     this.dataentryOGRN.MaxLength     = 15;
     this.dataentryOGRN.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryOGRN);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryOGRN]));
     w17.TopAttach    = ((uint)(8));
     w17.BottomAttach = ((uint)(9));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryOKPO               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryOKPO.CanFocus      = true;
     this.dataentryOKPO.Name          = "dataentryOKPO";
     this.dataentryOKPO.IsEditable    = true;
     this.dataentryOKPO.MaxLength     = 13;
     this.dataentryOKPO.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryOKPO);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryOKPO]));
     w18.TopAttach    = ((uint)(9));
     w18.BottomAttach = ((uint)(10));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryOKVED               = new global::Gamma.GtkWidgets.yEntry();
     this.dataentryOKVED.CanFocus      = true;
     this.dataentryOKVED.Name          = "dataentryOKVED";
     this.dataentryOKVED.IsEditable    = true;
     this.dataentryOKVED.MaxLength     = 100;
     this.dataentryOKVED.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryOKVED);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryOKVED]));
     w19.TopAttach    = ((uint)(10));
     w19.BottomAttach = ((uint)(11));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.datatextviewJurAddress          = new global::Gamma.GtkWidgets.yTextView();
     this.datatextviewJurAddress.CanFocus = true;
     this.datatextviewJurAddress.Name     = "datatextviewJurAddress";
     this.datatextviewJurAddress.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow1.Add(this.datatextviewJurAddress);
     this.datatableMain.Add(this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.GtkScrolledWindow1]));
     w21.TopAttach    = ((uint)(12));
     w21.BottomAttach = ((uint)(13));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.datatextviewAddress          = new global::Gamma.GtkWidgets.yTextView();
     this.datatextviewAddress.CanFocus = true;
     this.datatextviewAddress.Name     = "datatextviewAddress";
     this.datatextviewAddress.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow2.Add(this.datatextviewAddress);
     this.datatableMain.Add(this.GtkScrolledWindow2);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.GtkScrolledWindow2]));
     w23.TopAttach    = ((uint)(11));
     w23.BottomAttach = ((uint)(12));
     w23.LeftAttach   = ((uint)(1));
     w23.RightAttach  = ((uint)(2));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("ОГРН/ОГРНИП:");
     this.datatableMain.Add(this.label10);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label10]));
     w24.TopAttach    = ((uint)(8));
     w24.BottomAttach = ((uint)(9));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("E-mail:");
     this.datatableMain.Add(this.label11);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label11]));
     w25.TopAttach    = ((uint)(3));
     w25.BottomAttach = ((uint)(4));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.Xalign    = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Руководитель:");
     this.datatableMain.Add(this.label13);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label13]));
     w26.TopAttach    = ((uint)(4));
     w26.BottomAttach = ((uint)(5));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label14           = new global::Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.Xalign    = 1F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Главный бухгалтер:");
     this.datatableMain.Add(this.label14);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label14]));
     w27.TopAttach    = ((uint)(5));
     w27.BottomAttach = ((uint)(6));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label15           = new global::Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.Xalign    = 1F;
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("ОКПО:");
     this.datatableMain.Add(this.label15);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label15]));
     w28.TopAttach    = ((uint)(9));
     w28.BottomAttach = ((uint)(10));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label16           = new global::Gtk.Label();
     this.label16.Name      = "label16";
     this.label16.Xalign    = 1F;
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("ОКВЭД:");
     this.datatableMain.Add(this.label16);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label16]));
     w29.TopAttach    = ((uint)(10));
     w29.BottomAttach = ((uint)(11));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Полное название:");
     this.datatableMain.Add(this.label3);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label3]));
     w30.TopAttach    = ((uint)(1));
     w30.BottomAttach = ((uint)(2));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Название<span foreground=\"red\">*</span>:");
     this.label4.UseMarkup = true;
     this.datatableMain.Add(this.label4);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label4]));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.Yalign    = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес:");
     this.datatableMain.Add(this.label5);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label5]));
     w32.TopAttach    = ((uint)(11));
     w32.BottomAttach = ((uint)(12));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.Yalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Юр. адрес:");
     this.datatableMain.Add(this.label6);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label6]));
     w33.TopAttach    = ((uint)(12));
     w33.BottomAttach = ((uint)(13));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:");
     this.datatableMain.Add(this.label7);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label7]));
     w34.TopAttach    = ((uint)(6));
     w34.BottomAttach = ((uint)(7));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("КПП:");
     this.datatableMain.Add(this.label8);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label8]));
     w35.TopAttach    = ((uint)(7));
     w35.BottomAttach = ((uint)(8));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 1F;
     this.label9.Yalign    = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Телефоны:");
     this.datatableMain.Add(this.label9);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label9]));
     w36.TopAttach    = ((uint)(2));
     w36.BottomAttach = ((uint)(3));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.phonesview1            = new global::Vodovoz.Views.Contacts.PhonesView();
     this.phonesview1.Events     = ((global::Gdk.EventMask)(256));
     this.phonesview1.Name       = "phonesview1";
     this.phonesview1.IsReadOnly = false;
     this.datatableMain.Add(this.phonesview1);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.phonesview1]));
     w37.TopAttach    = ((uint)(2));
     w37.BottomAttach = ((uint)(3));
     w37.LeftAttach   = ((uint)(1));
     w37.RightAttach  = ((uint)(2));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceBuhgalter        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceBuhgalter.Events = ((global::Gdk.EventMask)(256));
     this.referenceBuhgalter.Name   = "referenceBuhgalter";
     this.datatableMain.Add(this.referenceBuhgalter);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceBuhgalter]));
     w38.TopAttach    = ((uint)(5));
     w38.BottomAttach = ((uint)(6));
     w38.LeftAttach   = ((uint)(1));
     w38.RightAttach  = ((uint)(2));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceLeader        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceLeader.Events = ((global::Gdk.EventMask)(256));
     this.referenceLeader.Name   = "referenceLeader";
     this.datatableMain.Add(this.referenceLeader);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceLeader]));
     w39.TopAttach    = ((uint)(4));
     w39.BottomAttach = ((uint)(5));
     w39.LeftAttach   = ((uint)(1));
     w39.RightAttach  = ((uint)(2));
     w39.XOptions     = ((global::Gtk.AttachOptions)(4));
     w39.YOptions     = ((global::Gtk.AttachOptions)(4));
     w11.Add(this.datatableMain);
     this.scrolledwindow1.Add(w11);
     this.notebookMain.Add(this.scrolledwindow1);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация");
     this.notebookMain.SetTabLabel(this.scrolledwindow1, this.label1);
     this.label1.ShowAll();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.accountsview1        = new global::QSBanks.AccountsView();
     this.accountsview1.Events = ((global::Gdk.EventMask)(256));
     this.accountsview1.Name   = "accountsview1";
     this.notebookMain.Add(this.accountsview1);
     global::Gtk.Notebook.NotebookChild w43 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.accountsview1]));
     w43.Position = 1;
     // Notebook tab
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Счет");
     this.notebookMain.SetTabLabel(this.accountsview1, this.label12);
     this.label12.ShowAll();
     this.vbox1.Add(this.notebookMain);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebookMain]));
     w44.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.radioTabInfo.Toggled     += new global::System.EventHandler(this.OnRadioTabInfoToggled);
     this.radioTabAccounts.Toggled += new global::System.EventHandler(this.OnRadioTabAccountsToggled);
 }
예제 #21
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget LinuxGUITest.BalanceBoardInformation
     Stetic.BinContainer w1 = Stetic.BinContainer.Attach(this);
     Gtk.UIManager       w2 = new Gtk.UIManager();
     Gtk.ActionGroup     w3 = new Gtk.ActionGroup("Default");
     this.BalanceBoardAction            = new Gtk.Action("BalanceBoardAction", Mono.Unix.Catalog.GetString("BalanceBoard"), null, null);
     this.BalanceBoardAction.ShortLabel = Mono.Unix.Catalog.GetString("BalanceBoard");
     w3.Add(this.BalanceBoardAction, null);
     this.DisconnectAction            = new Gtk.Action("DisconnectAction", Mono.Unix.Catalog.GetString("Disconnect"), null, null);
     this.DisconnectAction.ShortLabel = Mono.Unix.Catalog.GetString("Disconnect");
     w3.Add(this.DisconnectAction, null);
     w2.InsertActionGroup(w3, 0);
     this.Name = "LinuxGUITest.BalanceBoardInformation";
     // Container child LinuxGUITest.BalanceBoardInformation.Gtk.Container+ContainerChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     w2.AddUiFromString("<ui><menubar name='menubar1'><menu action='BalanceBoardAction'><menuitem action='DisconnectAction'/></menu></menubar></ui>");
     this.menubar1      = ((Gtk.MenuBar)(w2.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator2      = new Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.vbox1.Add(this.hseparator2);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.hseparator2]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.checkboxLed               = new Gtk.CheckButton();
     this.checkboxLed.CanFocus      = true;
     this.checkboxLed.Name          = "checkboxLed";
     this.checkboxLed.Label         = Mono.Unix.Catalog.GetString("Led");
     this.checkboxLed.DrawIndicator = true;
     this.checkboxLed.UseUnderline  = true;
     this.hbox4.Add(this.checkboxLed);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox4[this.checkboxLed]));
     w6.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.lblButton           = new Gtk.Label();
     this.lblButton.Name      = "lblButton";
     this.lblButton.LabelProp = Mono.Unix.Catalog.GetString("Button");
     this.hbox4.Add(this.lblButton);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox4[this.lblButton]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.entryButton               = new Gtk.Entry();
     this.entryButton.CanFocus      = true;
     this.entryButton.Name          = "entryButton";
     this.entryButton.IsEditable    = false;
     this.entryButton.InvisibleChar = '●';
     this.hbox4.Add(this.entryButton);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox4[this.entryButton]));
     w8.Position = 2;
     this.vbox1.Add(this.hbox4);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox4]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.table4               = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table4.Name          = "table4";
     this.table4.RowSpacing    = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.entryBottomLeft               = new Gtk.Entry();
     this.entryBottomLeft.CanFocus      = true;
     this.entryBottomLeft.Name          = "entryBottomLeft";
     this.entryBottomLeft.IsEditable    = false;
     this.entryBottomLeft.InvisibleChar = '●';
     this.table4.Add(this.entryBottomLeft);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table4[this.entryBottomLeft]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.entryBottomRight               = new Gtk.Entry();
     this.entryBottomRight.CanFocus      = true;
     this.entryBottomRight.Name          = "entryBottomRight";
     this.entryBottomRight.IsEditable    = false;
     this.entryBottomRight.InvisibleChar = '●';
     this.table4.Add(this.entryBottomRight);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table4[this.entryBottomRight]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.entryTopLeft               = new Gtk.Entry();
     this.entryTopLeft.CanFocus      = true;
     this.entryTopLeft.Name          = "entryTopLeft";
     this.entryTopLeft.IsEditable    = false;
     this.entryTopLeft.InvisibleChar = '●';
     this.table4.Add(this.entryTopLeft);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table4[this.entryTopLeft]));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.entryTopRight               = new Gtk.Entry();
     this.entryTopRight.CanFocus      = true;
     this.entryTopRight.Name          = "entryTopRight";
     this.entryTopRight.IsEditable    = false;
     this.entryTopRight.InvisibleChar = '●';
     this.table4.Add(this.entryTopRight);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table4[this.entryTopRight]));
     w13.LeftAttach  = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.YOptions    = ((Gtk.AttachOptions)(4));
     this.vbox3.Add(this.table4);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox3[this.table4]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.lblTotalWeight           = new Gtk.Label();
     this.lblTotalWeight.Name      = "lblTotalWeight";
     this.lblTotalWeight.LabelProp = Mono.Unix.Catalog.GetString("Total Weight");
     this.hbox3.Add(this.lblTotalWeight);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox3[this.lblTotalWeight]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.entryTotalWeight               = new Gtk.Entry();
     this.entryTotalWeight.CanFocus      = true;
     this.entryTotalWeight.Name          = "entryTotalWeight";
     this.entryTotalWeight.IsEditable    = false;
     this.entryTotalWeight.InvisibleChar = '●';
     this.hbox3.Add(this.entryTotalWeight);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox3[this.entryTotalWeight]));
     w16.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.entryAverageWeight               = new Gtk.Entry();
     this.entryAverageWeight.CanFocus      = true;
     this.entryAverageWeight.Name          = "entryAverageWeight";
     this.entryAverageWeight.IsEditable    = false;
     this.entryAverageWeight.InvisibleChar = '●';
     this.hbox3.Add(this.entryAverageWeight);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox3[this.entryAverageWeight]));
     w17.PackType = ((Gtk.PackType)(1));
     w17.Position = 2;
     // Container child hbox3.Gtk.Box+BoxChild
     this.labelAverageWeight           = new Gtk.Label();
     this.labelAverageWeight.Name      = "labelAverageWeight";
     this.labelAverageWeight.LabelProp = Mono.Unix.Catalog.GetString("Average");
     this.hbox3.Add(this.labelAverageWeight);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox3[this.labelAverageWeight]));
     w18.PackType = ((Gtk.PackType)(1));
     w18.Position = 3;
     w18.Expand   = false;
     w18.Fill     = false;
     this.vbox3.Add(this.hbox3);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     this.GtkAlignment.Add(this.vbox3);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel2           = new Gtk.Label();
     this.GtkLabel2.Name      = "GtkLabel2";
     this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("<b>Weight Sensors</b>");
     this.GtkLabel2.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel2;
     this.vbox1.Add(this.frame1);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
     w22.Position = 3;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.frame2            = new Gtk.Frame();
     this.frame2.Name       = "frame2";
     this.frame2.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.drawingareaBalance      = new Gtk.DrawingArea();
     this.drawingareaBalance.Name = "drawingareaBalance";
     this.GtkAlignment1.Add(this.drawingareaBalance);
     this.frame2.Add(this.GtkAlignment1);
     this.GtkLabel3           = new Gtk.Label();
     this.GtkLabel3.Name      = "GtkLabel3";
     this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Balance</b>");
     this.GtkLabel3.UseMarkup = true;
     this.frame2.LabelWidget  = this.GtkLabel3;
     this.vbox1.Add(this.frame2);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame2]));
     w25.Position = 4;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnUpdateBattery              = new Gtk.Button();
     this.btnUpdateBattery.CanFocus     = true;
     this.btnUpdateBattery.Name         = "btnUpdateBattery";
     this.btnUpdateBattery.UseUnderline = true;
     this.btnUpdateBattery.Label        = Mono.Unix.Catalog.GetString("Update Battery");
     this.hbox1.Add(this.btnUpdateBattery);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox1[this.btnUpdateBattery]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressbar1      = new Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.hbox1.Add(this.progressbar1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox1[this.progressbar1]));
     w27.Position = 1;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w28.Position = 5;
     w28.Expand   = false;
     w28.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(w2);
     this.Show();
     this.DisconnectAction.Activated     += new System.EventHandler(this.OnDisconnectActionActivated);
     this.checkboxLed.Pressed            += new System.EventHandler(this.OnCheckboxLedPressed);
     this.drawingareaBalance.ExposeEvent += new Gtk.ExposeEventHandler(this.OnDrawingareaBalanceExposeEvent);
     this.btnUpdateBattery.Pressed       += new System.EventHandler(this.OnBtnUpdateBatteryPressed);
 }
 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.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.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 w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.treeViewPlaceholder]));
     w3.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.documentationScrolledWindow                = new global::MonoDevelop.Components.CompactScrolledWindow();
     this.documentationScrolledWindow.CanFocus       = true;
     this.documentationScrolledWindow.Name           = "documentationScrolledWindow";
     this.documentationScrolledWindow.ShowBorderLine = false;
     this.notebook1.Add(this.documentationScrolledWindow);
     // 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 w6 = ((global::Gtk.Box.BoxChild)(this.searchWidget [this.scrolledwindow1]));
     w6.Position = 0;
     this.notebook1.Add(this.searchWidget);
     global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.searchWidget]));
     w7.Position = 1;
     this.vbox3.Add(this.notebook1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.notebook1]));
     w8.Position = 0;
     this.hpaned1.Add(this.vbox3);
     this.vbox1.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
     w10.Position = 0;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.NavigateBackwardAction.Activated += new global::System.EventHandler(this.OnNavigateBackwardActionActivated);
     this.NavigateForwardAction.Activated  += new global::System.EventHandler(this.OnNavigateForwardActionActivated);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MequantaStudio.SmartQuant.ImportHistoricalDataWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     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.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", null, null, "gtk-media-play");
     w2.Add(this.mediaPlayAction, null);
     this.mediaStopAction = new global::Gtk.Action("mediaStopAction", null, null, "gtk-media-stop");
     w2.Add(this.mediaStopAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MequantaStudio.SmartQuant.ImportHistoricalDataWidget";
     // Container child MequantaStudio.SmartQuant.ImportHistoricalDataWidget.Gtk.Container+ContainerChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar3'><toolitem name='addAction' action='addAction'/><toolitem name='deleteAction' action='deleteAction'/><separator/><toolitem name='mediaPlayAction' action='mediaPlayAction'/><toolitem name='mediaStopAction' action='mediaStopAction'/></toolbar></ui>");
     this.toolbar3           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar3")));
     this.toolbar3.Name      = "toolbar3";
     this.toolbar3.ShowArrow = false;
     this.vbox4.Add(this.toolbar3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.toolbar3]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame1            = new global::Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
     // 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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.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.combobox1      = global::Gtk.ComboBox.NewText();
     this.combobox1.Name = "combobox1";
     this.table1.Add(this.combobox1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox1]));
     w4.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.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 0F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Data type");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Bar size");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w6.TopAttach    = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton1          = new global::Gtk.SpinButton(0, 100, 1);
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name     = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10;
     this.spinbutton1.ClimbRate = 1;
     this.spinbutton1.Numeric   = true;
     this.table1.Add(this.spinbutton1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinbutton1]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1]));
     w8.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.comboboxentry1      = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxentry1.Name = "comboboxentry1";
     this.table2.Add(this.comboboxentry1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboboxentry1]));
     w9.LeftAttach  = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboboxentry2      = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxentry2.Name = "comboboxentry2";
     this.table2.Add(this.comboboxentry2);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboboxentry2]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("From");
     this.table2.Add(this.label6);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6]));
     w11.XOptions = ((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("To");
     this.table2.Add(this.label7);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add(this.table2);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2]));
     w13.Position = 1;
     this.GtkAlignment.Add(this.hbox1);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel1           = new global::Gtk.Label();
     this.GtkLabel1.Name      = "GtkLabel1";
     this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Settings</b>");
     this.GtkLabel1.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel1;
     this.vbox4.Add(this.frame1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.frame1]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.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.treeview5          = new global::Gtk.TreeView();
     this.treeview5.CanFocus = true;
     this.treeview5.Name     = "treeview5";
     this.GtkScrolledWindow.Add(this.treeview5);
     this.vbox4.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow]));
     w18.Position = 2;
     this.Add(this.vbox4);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Show();
 }
예제 #24
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MequantaStudio.SmartQuant.InstrumentDataWidget
     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.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MequantaStudio.SmartQuant.InstrumentDataWidget";
     // Container child MequantaStudio.SmartQuant.InstrumentDataWidget.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.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 156;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.dsTvw          = new global::Gtk.TreeView();
     this.dsTvw.CanFocus = true;
     this.dsTvw.Name     = "dsTvw";
     this.GtkScrolledWindow.Add(this.dsTvw);
     this.vpaned1.Add(this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow]));
     w5.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.detailTvw          = new global::Gtk.TreeView();
     this.detailTvw.CanFocus = true;
     this.detailTvw.Name     = "detailTvw";
     this.GtkScrolledWindow1.Add(this.detailTvw);
     this.notebook1.Add(this.GtkScrolledWindow1);
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Data");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow1, this.label3);
     this.label3.ShowAll();
     this.vpaned1.Add(this.notebook1);
     this.vbox2.Add(this.vpaned1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1]));
     w9.Position = 1;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QCCTVCameraViewWidget.CameraView
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.SourceAction            = new global::Gtk.Action("SourceAction", global::Mono.Unix.Catalog.GetString("Source"), null, null);
     this.SourceAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Source");
     w2.Add(this.SourceAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "QCCTVCameraViewWidget.CameraView";
     // Container child QCCTVCameraViewWidget.CameraView.Gtk.Container+ContainerChild
     this.mainBox         = new global::Gtk.VBox();
     this.mainBox.Name    = "mainBox";
     this.mainBox.Spacing = 6;
     // Container child mainBox.Gtk.Box+BoxChild
     this.fixbox = new global::Gtk.Fixed();
     this.fixbox.WidthRequest  = 300;
     this.fixbox.HeightRequest = 200;
     this.fixbox.Name          = "fixbox";
     this.fixbox.HasWindow     = false;
     // Container child fixbox.Gtk.Fixed+FixedChild
     this.output        = new global::Gtk.Image();
     this.output.Name   = "output";
     this.output.Xalign = 0F;
     this.output.Yalign = 0F;
     this.fixbox.Add(this.output);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixbox [this.output]));
     w3.X = -1;
     // Container child fixbox.Gtk.Fixed+FixedChild
     this.setBox = new global::Gtk.VBox();
     this.setBox.WidthRequest  = 300;
     this.setBox.HeightRequest = 30;
     this.setBox.Name          = "setBox";
     this.setBox.Spacing       = 6;
     // Container child setBox.Gtk.Box+BoxChild
     this.bottombox         = new global::Gtk.HBox();
     this.bottombox.Name    = "bottombox";
     this.bottombox.Spacing = 6;
     // Container child bottombox.Gtk.Box+BoxChild
     this.activity = new global::Gtk.ProgressBar();
     this.activity.WidthRequest = 100;
     this.activity.Name         = "activity";
     this.bottombox.Add(this.activity);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.bottombox [this.activity]));
     w4.Position = 0;
     // Container child bottombox.Gtk.Box+BoxChild
     this.sensitivity = new global::Gtk.ProgressBar();
     this.sensitivity.WidthRequest = 100;
     this.sensitivity.Name         = "sensitivity";
     this.bottombox.Add(this.sensitivity);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.bottombox [this.sensitivity]));
     w5.Position = 1;
     // Container child bottombox.Gtk.Box+BoxChild
     this.fpslabel           = new global::Gtk.Label();
     this.fpslabel.Name      = "fpslabel";
     this.fpslabel.LabelProp = global::Mono.Unix.Catalog.GetString("60");
     this.bottombox.Add(this.fpslabel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.bottombox [this.fpslabel]));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child bottombox.Gtk.Box+BoxChild
     this.detect = new global::Gtk.Image();
     this.detect.WidthRequest  = 15;
     this.detect.HeightRequest = 15;
     this.detect.Name          = "detect";
     this.bottombox.Add(this.detect);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.bottombox [this.detect]));
     w7.Position = 4;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child bottombox.Gtk.Box+BoxChild
     this.record = new global::Gtk.Image();
     this.record.WidthRequest  = 15;
     this.record.HeightRequest = 15;
     this.record.Name          = "record";
     this.bottombox.Add(this.record);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.bottombox [this.record]));
     w8.Position = 5;
     w8.Expand   = false;
     w8.Fill     = false;
     this.setBox.Add(this.bottombox);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.setBox [this.bottombox]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     this.fixbox.Add(this.setBox);
     global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixbox [this.setBox]));
     w10.X = 2;
     w10.Y = 126;
     // Container child fixbox.Gtk.Fixed+FixedChild
     this.statsBox = new global::Gtk.Fixed();
     this.statsBox.WidthRequest  = 300;
     this.statsBox.HeightRequest = 30;
     this.statsBox.Name          = "statsBox";
     this.statsBox.HasWindow     = false;
     // Container child statsBox.Gtk.Fixed+FixedChild
     this.bgstats = new global::Gtk.EventBox();
     this.bgstats.WidthRequest  = 300;
     this.bgstats.HeightRequest = 30;
     this.bgstats.Name          = "bgstats";
     // Container child bgstats.Gtk.Container+ContainerChild
     this.hbox1 = new global::Gtk.HBox();
     this.hbox1.WidthRequest  = 300;
     this.hbox1.HeightRequest = 20;
     this.hbox1.Name          = "hbox1";
     this.hbox1.Spacing       = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.fixed1 = new global::Gtk.Fixed();
     this.fixed1.WidthRequest  = 10;
     this.fixed1.HeightRequest = 10;
     this.fixed1.Name          = "fixed1";
     this.fixed1.HasWindow     = false;
     this.hbox1.Add(this.fixed1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed1]));
     w11.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.IPaddresLabel           = new global::Gtk.Label();
     this.IPaddresLabel.Name      = "IPaddresLabel";
     this.IPaddresLabel.LabelProp = global::Mono.Unix.Catalog.GetString("0.0.0.0");
     this.hbox1.Add(this.IPaddresLabel);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.IPaddresLabel]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.NameLabel           = new global::Gtk.Label();
     this.NameLabel.Name      = "NameLabel";
     this.NameLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Name");
     this.hbox1.Add(this.NameLabel);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.NameLabel]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.FpsLabel           = new global::Gtk.Label();
     this.FpsLabel.Name      = "FpsLabel";
     this.FpsLabel.LabelProp = global::Mono.Unix.Catalog.GetString("0 FPS");
     this.hbox1.Add(this.FpsLabel);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.FpsLabel]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.fixed3           = new global::Gtk.Fixed();
     this.fixed3.Name      = "fixed3";
     this.fixed3.HasWindow = false;
     this.hbox1.Add(this.fixed3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed3]));
     w15.Position = 4;
     // Container child hbox1.Gtk.Box+BoxChild
     this.fixed2 = new global::Gtk.Fixed();
     this.fixed2.WidthRequest  = 10;
     this.fixed2.HeightRequest = 10;
     this.fixed2.Name          = "fixed2";
     this.fixed2.HasWindow     = false;
     this.hbox1.Add(this.fixed2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed2]));
     w16.PackType = ((global::Gtk.PackType)(1));
     w16.Position = 5;
     // Container child hbox1.Gtk.Box+BoxChild
     this.DriverLabel           = new global::Gtk.Label();
     this.DriverLabel.Name      = "DriverLabel";
     this.DriverLabel.LabelProp = global::Mono.Unix.Catalog.GetString("n/a");
     this.hbox1.Add(this.DriverLabel);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.DriverLabel]));
     w17.PackType = ((global::Gtk.PackType)(1));
     w17.Position = 6;
     w17.Expand   = false;
     w17.Fill     = false;
     this.bgstats.Add(this.hbox1);
     this.statsBox.Add(this.bgstats);
     this.fixbox.Add(this.statsBox);
     // Container child fixbox.Gtk.Fixed+FixedChild
     this.fixed4 = new global::Gtk.Fixed();
     this.fixed4.WidthRequest  = 300;
     this.fixed4.HeightRequest = 30;
     this.fixed4.Name          = "fixed4";
     this.fixed4.HasWindow     = false;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.optionbox = new global::Gtk.EventBox();
     this.optionbox.WidthRequest  = 500;
     this.optionbox.HeightRequest = 30;
     this.optionbox.Name          = "optionbox";
     // Container child optionbox.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox();
     this.vbox3.WidthRequest  = 300;
     this.vbox3.HeightRequest = 30;
     this.vbox3.Name          = "vbox3";
     this.vbox3.Spacing       = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.topbox         = new global::Gtk.HBox();
     this.topbox.Name    = "topbox";
     this.topbox.Spacing = 6;
     // Container child topbox.Gtk.Box+BoxChild
     this.source_box = new global::Gtk.ComboBox();
     this.source_box.WidthRequest = 200;
     this.source_box.Name         = "source_box";
     this.topbox.Add(this.source_box);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.topbox [this.source_box]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child topbox.Gtk.Box+BoxChild
     this.MotionButton              = new global::Gtk.Button();
     this.MotionButton.CanFocus     = true;
     this.MotionButton.Name         = "MotionButton";
     this.MotionButton.UseUnderline = true;
     this.MotionButton.Label        = global::Mono.Unix.Catalog.GetString("Motion");
     this.topbox.Add(this.MotionButton);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.topbox [this.MotionButton]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child topbox.Gtk.Box+BoxChild
     this.RecordButton              = new global::Gtk.Button();
     this.RecordButton.CanFocus     = true;
     this.RecordButton.Name         = "RecordButton";
     this.RecordButton.UseUnderline = true;
     this.RecordButton.Label        = global::Mono.Unix.Catalog.GetString("Record");
     this.topbox.Add(this.RecordButton);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.topbox [this.RecordButton]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.vbox3.Add(this.topbox);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.topbox]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     this.optionbox.Add(this.vbox3);
     this.fixed4.Add(this.optionbox);
     this.fixbox.Add(this.fixed4);
     global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.fixbox [this.fixed4]));
     w27.Y = 20;
     // Container child fixbox.Gtk.Fixed+FixedChild
     this.controls = new global::Gtk.Fixed();
     this.controls.WidthRequest  = 75;
     this.controls.HeightRequest = 75;
     this.controls.Name          = "controls";
     this.controls.HasWindow     = false;
     // Container child controls.Gtk.Fixed+FixedChild
     this.eventbox1      = new global::Gtk.EventBox();
     this.eventbox1.Name = "eventbox1";
     this.controls.Add(this.eventbox1);
     global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.controls [this.eventbox1]));
     w28.X = -34;
     w28.Y = 61;
     // Container child controls.Gtk.Fixed+FixedChild
     this.button4 = new global::Gtk.Button();
     this.button4.WidthRequest  = 30;
     this.button4.HeightRequest = 30;
     this.button4.CanFocus      = true;
     this.button4.Name          = "button4";
     this.button4.UseUnderline  = true;
     this.button4.Relief        = ((global::Gtk.ReliefStyle)(2));
     global::Gtk.Image w29 = new global::Gtk.Image();
     w29.Pixbuf         = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-down", global::Gtk.IconSize.Menu);
     this.button4.Image = w29;
     this.controls.Add(this.button4);
     global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.controls [this.button4]));
     w30.X = 24;
     w30.Y = 48;
     // Container child controls.Gtk.Fixed+FixedChild
     this.button3 = new global::Gtk.Button();
     this.button3.WidthRequest  = 30;
     this.button3.HeightRequest = 30;
     this.button3.CanFocus      = true;
     this.button3.Name          = "button3";
     this.button3.UseUnderline  = true;
     this.button3.Relief        = ((global::Gtk.ReliefStyle)(2));
     global::Gtk.Image w31 = new global::Gtk.Image();
     w31.Pixbuf         = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu);
     this.button3.Image = w31;
     this.controls.Add(this.button3);
     global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.controls [this.button3]));
     w32.X = 45;
     w32.Y = 25;
     // Container child controls.Gtk.Fixed+FixedChild
     this.button1 = new global::Gtk.Button();
     this.button1.WidthRequest  = 30;
     this.button1.HeightRequest = 30;
     this.button1.CanFocus      = true;
     this.button1.Name          = "button1";
     this.button1.UseUnderline  = true;
     this.button1.Relief        = ((global::Gtk.ReliefStyle)(2));
     this.button1.Yalign        = 0F;
     global::Gtk.Image w33 = new global::Gtk.Image();
     w33.Pixbuf         = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu);
     this.button1.Image = w33;
     this.controls.Add(this.button1);
     global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.controls [this.button1]));
     w34.Y = 25;
     // Container child controls.Gtk.Fixed+FixedChild
     this.button2 = new global::Gtk.Button();
     this.button2.WidthRequest  = 30;
     this.button2.HeightRequest = 30;
     this.button2.CanFocus      = true;
     this.button2.Name          = "button2";
     this.button2.Relief        = ((global::Gtk.ReliefStyle)(2));
     this.button2.Xalign        = 0F;
     this.button2.Yalign        = 0F;
     global::Gtk.Image w35 = new global::Gtk.Image();
     w35.Pixbuf         = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-up", global::Gtk.IconSize.Menu);
     this.button2.Image = w35;
     this.controls.Add(this.button2);
     global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.controls [this.button2]));
     w36.X = 25;
     this.fixbox.Add(this.controls);
     global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.fixbox [this.controls]));
     w37.X = 268;
     w37.Y = 71;
     this.mainBox.Add(this.fixbox);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.mainBox [this.fixbox]));
     w38.Position = 0;
     this.Add(this.mainBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.topbox.Hide();
     this.Hide();
     this.source_box.Changed   += new global::System.EventHandler(this.OnSelectDeviceChanged);
     this.MotionButton.Clicked += new global::System.EventHandler(this.OnMotionButtonClicked);
     this.button4.Clicked      += new global::System.EventHandler(this.OnButton4Clicked);
     this.button4.Released     += new global::System.EventHandler(this.OnButton4Released);
     this.button4.Pressed      += new global::System.EventHandler(this.OnButton4Pressed);
     this.button3.Clicked      += new global::System.EventHandler(this.OnButton3Clicked);
     this.button3.Released     += new global::System.EventHandler(this.OnButton3Released);
     this.button3.Pressed      += new global::System.EventHandler(this.OnButton3Pressed);
     this.button1.Clicked      += new global::System.EventHandler(this.OnButton1Clicked);
     this.button1.Released     += new global::System.EventHandler(this.OnButton1Released);
     this.button1.Pressed      += new global::System.EventHandler(this.OnButton1Pressed);
     this.button2.Clicked      += new global::System.EventHandler(this.OnButton2Clicked);
     this.button2.Released     += new global::System.EventHandler(this.OnButton2Released);
     this.button2.Pressed      += new global::System.EventHandler(this.OnButton2Pressed);
 }
예제 #26
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.VersionControl.Views.LogWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MonoDevelop.VersionControl.Views.LogWidget";
     // Container child MonoDevelop.VersionControl.Views.LogWidget.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='commandBar'/></ui>");
     this.commandBar              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/commandBar")));
     this.commandBar.Name         = "commandBar";
     this.commandBar.ShowArrow    = false;
     this.commandBar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.commandBar.IconSize     = ((global::Gtk.IconSize)(1));
     this.vbox1.Add(this.commandBar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.commandBar]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vpaned1          = new global::Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 204;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 236;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.scrolledLoading            = new global::Gtk.ScrolledWindow();
     this.scrolledLoading.CanFocus   = true;
     this.scrolledLoading.Name       = "scrolledLoading";
     this.scrolledLoading.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledLoading.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Loading...");
     w4.Add(this.label3);
     this.scrolledLoading.Add(w4);
     this.vbox4.Add(this.scrolledLoading);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledLoading]));
     w7.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.scrolledLog            = new global::Gtk.ScrolledWindow();
     this.scrolledLog.Name       = "scrolledLog";
     this.scrolledLog.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledLog.Gtk.Container+ContainerChild
     this.treeviewLog          = new global::Gtk.TreeView();
     this.treeviewLog.CanFocus = true;
     this.treeviewLog.Name     = "treeviewLog";
     this.scrolledLog.Add(this.treeviewLog);
     this.vbox4.Add(this.scrolledLog);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledLog]));
     w9.Position = 1;
     this.hpaned1.Add(this.vbox4);
     global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox4]));
     w10.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.imageUser = new global::Gtk.Image();
     this.imageUser.WidthRequest  = 32;
     this.imageUser.HeightRequest = 32;
     this.imageUser.Name          = "imageUser";
     this.hbox1.Add(this.imageUser);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.imageUser]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.labelAuthor            = new global::Gtk.Label();
     this.labelAuthor.Name       = "labelAuthor";
     this.labelAuthor.Xalign     = 0F;
     this.labelAuthor.LabelProp  = "Author";
     this.labelAuthor.Selectable = true;
     this.hbox2.Add(this.labelAuthor);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelAuthor]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.labelRevision            = new global::Gtk.Label();
     this.labelRevision.Name       = "labelRevision";
     this.labelRevision.Xalign     = 1F;
     this.labelRevision.LabelProp  = "Revision";
     this.labelRevision.Selectable = true;
     this.hbox2.Add(this.labelRevision);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelRevision]));
     w13.Position = 1;
     this.vbox5.Add(this.hbox2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.labelDate            = new global::Gtk.Label();
     this.labelDate.Name       = "labelDate";
     this.labelDate.Xalign     = 0F;
     this.labelDate.LabelProp  = "Date";
     this.labelDate.Selectable = true;
     this.vbox5.Add(this.labelDate);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.labelDate]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.hbox1.Add(this.vbox5);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5]));
     w16.Position = 1;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox2.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.textviewDetails          = new global::Gtk.TextView();
     this.textviewDetails.CanFocus = true;
     this.textviewDetails.Name     = "textviewDetails";
     this.textviewDetails.Editable = false;
     this.scrolledwindow1.Add(this.textviewDetails);
     this.vbox2.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1]));
     w19.Position = 1;
     this.hpaned1.Add(this.vbox2);
     this.vpaned1.Add(this.hpaned1);
     global::Gtk.Paned.PanedChild w21 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hpaned1]));
     w21.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.scrolledwindowFiles            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowFiles.CanFocus   = true;
     this.scrolledwindowFiles.Name       = "scrolledwindowFiles";
     this.scrolledwindowFiles.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vpaned1.Add(this.scrolledwindowFiles);
     this.vbox1.Add(this.vpaned1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1]));
     w23.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.scrolledLoading.Hide();
     this.Show();
     this.labelRevision.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnLabelRevisionButtonPressEvent);
 }
예제 #27
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);
 }
예제 #28
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MequantaStudio.SmartQuant.ImportWizardStep3Widget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", null, null, "gtk-media-play");
     w2.Add(this.mediaPlayAction, null);
     this.mediaPauseAction = new global::Gtk.Action("mediaPauseAction", null, null, "gtk-media-pause");
     w2.Add(this.mediaPauseAction, null);
     this.mediaStopAction = new global::Gtk.Action("mediaStopAction", null, null, "gtk-media-stop");
     w2.Add(this.mediaStopAction, null);
     this.yesAction = new global::Gtk.Action("yesAction", null, null, "gtk-yes");
     w2.Add(this.yesAction, null);
     this.Action = new global::Gtk.Action("Action", null, null, null);
     w2.Add(this.Action, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MequantaStudio.SmartQuant.ImportWizardStep3Widget";
     // Container child MequantaStudio.SmartQuant.ImportWizardStep3Widget.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='mediaPlayAction' action='mediaPlayAction'/><toolitem name='mediaPauseAction' action='mediaPauseAction'/><toolitem name='mediaStopAction' action='mediaStopAction'/><toolitem name='yesAction' action='yesAction'/></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.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.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.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Current file");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Total");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.table1.Add(this.progressbar1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.progressbar1]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressbar2      = new global::Gtk.ProgressBar();
     this.progressbar2.Name = "progressbar2";
     this.table1.Add(this.progressbar2);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.progressbar2]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.GtkAlignment.Add(this.table1);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel1           = new global::Gtk.Label();
     this.GtkLabel1.Name      = "GtkLabel1";
     this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Progress</b>");
     this.GtkLabel1.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel1;
     this.vbox1.Add(this.frame1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame1]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.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 w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w12.Position = 2;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Show();
 }
예제 #29
0
 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);
 }
예제 #30
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget vocab.SimpleAssessmentWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.closeAction = new global::Gtk.Action("closeAction", null, null, "gtk-close");
     w2.Add(this.closeAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "vocab.SimpleAssessmentWidget";
     // Container child vocab.SimpleAssessmentWidget.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='closeAction' action='closeAction'/></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.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 126;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.hpaned1.Add(this.label1);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.label1]));
     w4.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.placeholderwidget2        = new global::vocab.PlaceHolderWidget();
     this.placeholderwidget2.Events = ((global::Gdk.EventMask)(256));
     this.placeholderwidget2.Name   = "placeholderwidget2";
     this.vbox3.Add(this.placeholderwidget2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.placeholderwidget2]));
     w5.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbuttonbox1             = new global::Gtk.VButtonBox();
     this.vbuttonbox1.Name        = "vbuttonbox1";
     this.vbuttonbox1.Homogeneous = true;
     this.vbuttonbox1.BorderWidth = ((uint)(18));
     this.vbox3.Add(this.vbuttonbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vbuttonbox1]));
     w6.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.placeholderwidget1        = new global::vocab.PlaceHolderWidget();
     this.placeholderwidget1.Events = ((global::Gdk.EventMask)(256));
     this.placeholderwidget1.Name   = "placeholderwidget1";
     this.vbox3.Add(this.placeholderwidget1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.placeholderwidget1]));
     w7.Position = 2;
     w7.Padding  = ((uint)(16));
     this.hpaned1.Add(this.vbox3);
     this.vbox2.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hpaned1]));
     w9.Position = 1;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated);
 }