protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.File = new global::Gtk.Action ("File", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.File.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.File, null); this.quit = new global::Gtk.Action ("quit", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.quit, null); this.Compare = new global::Gtk.Action ("Compare", global::Mono.Unix.Catalog.GetString ("_Compare"), null, null); this.Compare.ShortLabel = global::Mono.Unix.Catalog.GetString ("Compare"); w1.Add (this.Compare, null); this.Custom = new global::Gtk.Action ("Custom", global::Mono.Unix.Catalog.GetString ("Custom..."), null, null); this.Custom.ShortLabel = global::Mono.Unix.Catalog.GetString ("Custom..."); w1.Add (this.Custom, null); this.a = new global::Gtk.Action ("a", global::Mono.Unix.Catalog.GetString ("a"), null, null); this.a.ShortLabel = global::Mono.Unix.Catalog.GetString ("a"); w1.Add (this.a, null); this.b = new global::Gtk.Action ("b", global::Mono.Unix.Catalog.GetString ("b"), null, null); this.b.ShortLabel = global::Mono.Unix.Catalog.GetString ("b"); w1.Add (this.b, null); this.View = new global::Gtk.Action ("View", global::Mono.Unix.Catalog.GetString ("_View"), null, null); this.View.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.View, null); this.ShowMissing = new global::Gtk.ToggleAction ("ShowMissing", global::Mono.Unix.Catalog.GetString ("Show missing"), null, null); this.ShowMissing.Active = true; this.ShowMissing.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show missing"); w1.Add (this.ShowMissing, null); this.ShowExtra = new global::Gtk.ToggleAction ("ShowExtra", global::Mono.Unix.Catalog.GetString ("Show extra"), null, null); this.ShowExtra.Active = true; this.ShowExtra.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show extra"); w1.Add (this.ShowExtra, null); this.ShowPresent = new global::Gtk.ToggleAction ("ShowPresent", global::Mono.Unix.Catalog.GetString ("Show present"), null, null); this.ShowPresent.Active = true; this.ShowPresent.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show present"); w1.Add (this.ShowPresent, null); this.ShowErrors = new global::Gtk.ToggleAction ("ShowErrors", global::Mono.Unix.Catalog.GetString ("Show errors"), null, null); this.ShowErrors.Active = true; this.ShowErrors.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show errors"); w1.Add (this.ShowErrors, null); this.Refresh = new global::Gtk.Action ("Refresh", global::Mono.Unix.Catalog.GetString ("Refresh"), null, "gtk-refresh"); this.Refresh.ShortLabel = global::Mono.Unix.Catalog.GetString ("Refresh"); w1.Add (this.Refresh, "<Control>r"); this.ShowTodo = new global::Gtk.ToggleAction ("ShowTodo", global::Mono.Unix.Catalog.GetString ("Show Todo"), null, null); this.ShowTodo.Active = true; this.ShowTodo.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show Todo"); w1.Add (this.ShowTodo, null); this.RecentComparisonsAction = new global::Gtk.Action ("RecentComparisonsAction", global::Mono.Unix.Catalog.GetString ("Recent Comparisons"), null, null); this.RecentComparisonsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Recent Comparisons"); w1.Add (this.RecentComparisonsAction, null); this.ShowNotImplemented = new global::Gtk.ToggleAction ("ShowNotImplemented", global::Mono.Unix.Catalog.GetString ("Show NotImplemented"), null, null); this.ShowNotImplemented.Active = true; this.ShowNotImplemented.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show NotImplemented"); w1.Add (this.ShowNotImplemented, null); this.ToggleRowExpansionAction = new global::Gtk.Action ("ToggleRowExpansionAction", global::Mono.Unix.Catalog.GetString ("Toggle Row Expansion"), null, null); this.ToggleRowExpansionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Toggle Row Expansion"); w1.Add (this.ToggleRowExpansionAction, "<Mod2>space"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("GUI CorCompare"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='File' action='File'><separator/><menuitem name='Refresh' action='Refresh'/><separator/><menuitem name='quit' action='quit'/></menu><menu name='Compare' action='Compare'><menuitem name='Custom' action='Custom'/></menu><menu name='View' action='View'><menuitem name='ShowErrors' action='ShowErrors'/><menuitem name='ShowMissing' action='ShowMissing'/><menuitem name='ShowNotImplemented' action='ShowNotImplemented'/><menuitem name='ShowExtra' action='ShowExtra'/><menuitem name='ShowTodo' action='ShowTodo'/><menuitem name='ShowPresent' action='ShowPresent'/><separator/><menuitem name='ToggleRowExpansionAction' action='ToggleRowExpansionAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; this.notebook1.ShowBorder = false; this.notebook1.ShowTabs = false; // 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.tree = new global::Gtk.TreeView (); this.tree.CanFocus = true; this.tree.Name = "tree"; this.GtkScrolledWindow.Add (this.tree); 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 (); // Container child notebook1.Gtk.Notebook+NotebookChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xpad = 20; this.label3.Ypad = 20; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("This tool allows you to compare the API of assemblies.\n\nTo initiate a comparison, use the \"Compare\" menu and use one of the presets based on the assemblies you have installed on your system and some popular profiles, or use \"Custom\" to define your own comparison"); this.label3.Wrap = true; this.notebook1.Add (this.label3); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.label3])); w5.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("page2"); this.notebook1.SetTabLabel (this.label3, this.label2); this.label2.ShowAll (); this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w6.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.AdditionalInfoWindow = new global::Gtk.ScrolledWindow (); this.AdditionalInfoWindow.Name = "AdditionalInfoWindow"; this.AdditionalInfoWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child AdditionalInfoWindow.Gtk.Container+ContainerChild this.AdditionalInfoText = new global::Gtk.TextView (); this.AdditionalInfoText.CanFocus = true; this.AdditionalInfoText.Name = "AdditionalInfoText"; this.AdditionalInfoText.Editable = false; this.AdditionalInfoWindow.Add (this.AdditionalInfoText); this.vbox1.Add (this.AdditionalInfoWindow); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.AdditionalInfoWindow])); w8.Position = 2; w8.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Missing"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("TODO"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Extra"); this.table1.Add (this.label6); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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 ("Not implemented"); this.table1.Add (this.label7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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 ("No errors"); this.label8.Justify = ((global::Gtk.Justification)(2)); this.table1.Add (this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Error"); this.table1.Add (this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w14.LeftAttach = ((uint)(3)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.legendImageError = new global::Gtk.Image (); this.legendImageError.Name = "legendImageError"; this.table1.Add (this.legendImageError); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageError])); w15.LeftAttach = ((uint)(4)); w15.RightAttach = ((uint)(5)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.legendImageExtra = new global::Gtk.Image (); this.legendImageExtra.Name = "legendImageExtra"; this.table1.Add (this.legendImageExtra); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageExtra])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(4)); w16.RightAttach = ((uint)(5)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.legendImageMissing = new global::Gtk.Image (); this.legendImageMissing.Name = "legendImageMissing"; this.table1.Add (this.legendImageMissing); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageMissing])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(4)); w17.RightAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.legendImageNIEX = new global::Gtk.Image (); this.legendImageNIEX.Name = "legendImageNIEX"; this.table1.Add (this.legendImageNIEX); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageNIEX])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.legendImageOK = new global::Gtk.Image (); this.legendImageOK.Name = "legendImageOK"; this.table1.Add (this.legendImageOK); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageOK])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.legendImageTODO = new global::Gtk.Image (); this.legendImageTODO.Name = "legendImageTODO"; this.table1.Add (this.legendImageTODO); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageTODO])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.table1.Add (this.vseparator1); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.vseparator1])); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vseparator2 = new global::Gtk.VSeparator (); this.vseparator2.Name = "vseparator2"; this.table1.Add (this.vseparator2); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.vseparator2])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vseparator3 = new global::Gtk.VSeparator (); this.vseparator3.Name = "vseparator3"; this.table1.Add (this.vseparator3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.vseparator3])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander1.Add (this.table1); this.GtkLabel4 = new global::Gtk.Label (); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("Legend"); this.GtkLabel4.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel4; this.vbox1.Add (this.expander1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expander1])); w25.Position = 3; w25.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.Name = "progressbar1"; this.statusbar1.Add (this.progressbar1); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1])); w26.Position = 2; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w27.Position = 4; w27.Expand = false; w27.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 648; this.DefaultHeight = 759; this.AdditionalInfoWindow.Hide (); this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.quit.Activated += new global::System.EventHandler (this.OnQuitActivated); this.Custom.Activated += new global::System.EventHandler (this.OnCustomActivated); this.ShowMissing.Toggled += new global::System.EventHandler (this.OnShowMissingToggled); this.ShowExtra.Toggled += new global::System.EventHandler (this.OnShowExtraToggled); this.ShowPresent.Toggled += new global::System.EventHandler (this.OnShowPresentToggled); this.ShowErrors.Toggled += new global::System.EventHandler (this.OnShowErrorsToggled); this.Refresh.Activated += new global::System.EventHandler (this.OnRefreshActivated); this.ShowTodo.Toggled += new global::System.EventHandler (this.OnShowTodoToggled); this.ShowNotImplemented.Toggled += new global::System.EventHandler (this.OnShowNotImplementedToggled); this.ToggleRowExpansionAction.Activated += new global::System.EventHandler (this.OnToggleRowExpansion); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Resolution.LineItem global::Stetic.BinContainer.Attach (this); this.WidthRequest = 100; this.Name = "Resolution.LineItem"; // Container child Resolution.LineItem.Gtk.Container+ContainerChild this.eventbox1 = new global::Gtk.EventBox (); this.eventbox1.Name = "eventbox1"; // Container child eventbox1.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.table6 = new global::Gtk.Table (((uint)(1)), ((uint)(4)), false); this.table6.Name = "table6"; this.table6.RowSpacing = ((uint)(6)); this.table6.ColumnSpacing = ((uint)(6)); // Container child table6.Gtk.Table+TableChild this.page = new global::Gtk.Label (); this.page.Name = "page"; this.page.LabelProp = global::Mono.Unix.Catalog.GetString ("label11"); this.table6.Add (this.page); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table6 [this.page])); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.scan = new global::Gtk.Expander (null); this.scan.Sensitive = false; this.scan.CanFocus = true; this.scan.Name = "scan"; this.GtkLabel = new global::Gtk.Label (); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.UseUnderline = true; this.scan.LabelWidget = this.GtkLabel; this.table6.Add (this.scan); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table6 [this.scan])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.student = new global::Gtk.Label (); this.student.WidthRequest = 110; this.student.Name = "student"; this.student.LabelProp = global::Mono.Unix.Catalog.GetString ("label10"); this.table6.Add (this.student); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table6 [this.student])); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.vseparator5 = new global::Gtk.VSeparator (); this.vseparator5.Name = "vseparator5"; this.table6.Add (this.vseparator5); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table6 [this.vseparator5])); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.table6); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table6])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator (); this.hseparator3.Name = "hseparator3"; this.vbox4.Add (this.hseparator3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator3])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.eventbox1.Add (this.vbox4); this.Add (this.eventbox1); if ((this.Child != null)) this.Child.ShowAll(); this.Show (); this.eventbox1.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.DateiAction = new global::Gtk.Action ("DateiAction", global::Mono.Unix.Catalog.GetString ("Datei"), null, null); this.DateiAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Datei"); w1.Add (this.DateiAction, null); this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("Neu"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Neu"); w1.Add (this.newAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Öffnen"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Öffnen"); w1.Add (this.openAction, null); this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Speichern"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Speichern"); w1.Add (this.saveAction, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", global::Mono.Unix.Catalog.GetString ("Speichern unter"), null, "gtk-save-as"); this.saveAsAction.HideIfEmpty = false; this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Speichern unter"); w1.Add (this.saveAsAction, "<Primary><Alt>s"); this.closeAction = new global::Gtk.Action ("closeAction", global::Mono.Unix.Catalog.GetString ("Schließen"), null, "gtk-close"); this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Schließen"); w1.Add (this.closeAction, "<Primary>e"); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Beenden"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Beenden"); w1.Add (this.quitAction, null); this.BearbeitenAction = new global::Gtk.Action ("BearbeitenAction", global::Mono.Unix.Catalog.GetString ("Bearbeiten"), null, null); this.BearbeitenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Bearbeiten"); w1.Add (this.BearbeitenAction, null); this.SaveRegex = new global::Gtk.Action ("SaveRegex", null, null, "gtk-save"); this.SaveRegex.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.SaveRegex, null); this.CloseRegex = new global::Gtk.Action ("CloseRegex", null, null, "gtk-close"); this.CloseRegex.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close"); w1.Add (this.CloseRegex, null); this.SaveRegexOtherFileName = new global::Gtk.Action ("SaveRegexOtherFileName", null, null, "gtk-save-as"); this.SaveRegexOtherFileName.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save as"); w1.Add (this.SaveRegexOtherFileName, null); this.newAction1 = new global::Gtk.Action ("newAction1", null, null, "gtk-new"); this.newAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Neu"); w1.Add (this.newAction1, null); this.OpenRegex = new global::Gtk.Action ("OpenRegex", null, null, "gtk-open"); this.OpenRegex.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open"); w1.Add (this.OpenRegex, null); this.undoAction = new global::Gtk.Action ("undoAction", null, null, "gtk-undo"); this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Undo"); w1.Add (this.undoAction, null); this.redoAction = new global::Gtk.Action ("redoAction", null, null, "gtk-redo"); this.redoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redo"); w1.Add (this.redoAction, null); this.cutAction = new global::Gtk.Action ("cutAction", null, null, "gtk-cut"); this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cut"); w1.Add (this.cutAction, null); this.copyAction = new global::Gtk.Action ("copyAction", null, null, "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Copy"); w1.Add (this.copyAction, null); this.pasteAction = new global::Gtk.Action ("pasteAction", null, null, "gtk-paste"); this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Paste"); w1.Add (this.pasteAction, null); this.Execute = new global::Gtk.Action ("Execute", global::Mono.Unix.Catalog.GetString ("Ausführen"), null, "gtk-media-play"); this.Execute.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ausführen"); w1.Add (this.Execute, null); this.clearAction = new global::Gtk.Action ("clearAction", null, null, "gtk-clear"); this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Clear"); w1.Add (this.clearAction, null); this.Library = new global::Gtk.Action ("Library", global::Mono.Unix.Catalog.GetString ("Bibliothek"), null, "gtk-select-all"); this.Library.ShortLabel = global::Mono.Unix.Catalog.GetString ("Library"); w1.Add (this.Library, null); this.separatorAction = new global::Gtk.Action ("separatorAction", null, null, "gtk-separator"); w1.Add (this.separatorAction, null); this.undoAction1 = new global::Gtk.Action ("undoAction1", global::Mono.Unix.Catalog.GetString ("Rückgängig"), null, "gtk-undo"); this.undoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Undo"); w1.Add (this.undoAction1, "<Primary>z"); this.redoAction1 = new global::Gtk.Action ("redoAction1", global::Mono.Unix.Catalog.GetString ("Wiederholen"), null, "gtk-redo"); this.redoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Redo"); w1.Add (this.redoAction1, "<Primary>w"); this.cutAction1 = new global::Gtk.Action ("cutAction1", global::Mono.Unix.Catalog.GetString ("Ausschneiden"), null, "gtk-cut"); this.cutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cu_t"); w1.Add (this.cutAction1, null); this.copyAction1 = new global::Gtk.Action ("copyAction1", global::Mono.Unix.Catalog.GetString ("Kopieren"), null, "gtk-copy"); this.copyAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Copy"); w1.Add (this.copyAction1, null); this.pasteAction1 = new global::Gtk.Action ("pasteAction1", global::Mono.Unix.Catalog.GetString ("Einfügen"), null, "gtk-paste"); this.pasteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Paste"); w1.Add (this.pasteAction1, null); this.RegexAction = new global::Gtk.Action ("RegexAction", global::Mono.Unix.Catalog.GetString ("Regex"), null, null); this.RegexAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Regex"); w1.Add (this.RegexAction, null); this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", global::Mono.Unix.Catalog.GetString ("RunParser"), null, "gtk-media-play"); this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RunParser"); w1.Add (this.mediaPlayAction, "<Primary>space"); this.ExtrasAction = new global::Gtk.Action ("ExtrasAction", global::Mono.Unix.Catalog.GetString ("Extras"), null, null); this.ExtrasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Extras"); w1.Add (this.ExtrasAction, null); this.propertiesAction = new global::Gtk.Action ("propertiesAction", global::Mono.Unix.Catalog.GetString ("_Properties"), null, "gtk-properties"); this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Properties"); w1.Add (this.propertiesAction, null); this.HilfeAction = new global::Gtk.Action ("HilfeAction", global::Mono.Unix.Catalog.GetString ("Hilfe"), null, null); this.HilfeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hilfe"); w1.Add (this.HilfeAction, null); this.cancelAction = new global::Gtk.Action ("cancelAction", global::Mono.Unix.Catalog.GetString ("Fehler melden"), null, "gtk-cancel"); this.cancelAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Fehler melden"); w1.Add (this.cancelAction, "<Primary>b"); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("Info"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.aboutAction, "<Primary>i"); this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("Einstellungen"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Properties"); w1.Add (this.preferencesAction, "<Primary>p"); this.selectAllAction = new global::Gtk.Action ("selectAllAction", global::Mono.Unix.Catalog.GetString ("LibraryMenu"), null, "gtk-select-all"); this.selectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("LibraryMenu"); w1.Add (this.selectAllAction, "<Primary>l"); this.spellCheckAction = new global::Gtk.Action ("spellCheckAction", global::Mono.Unix.Catalog.GetString ("_Spell Check"), null, "gtk-spell-check"); this.spellCheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Spell Check"); w1.Add (this.spellCheckAction, null); this.aboutAction1 = new global::Gtk.Action ("aboutAction1", global::Mono.Unix.Catalog.GetString ("Info"), null, "gtk-about"); this.aboutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Info"); w1.Add (this.aboutAction1, null); this.ExportAction = new global::Gtk.Action ("ExportAction", global::Mono.Unix.Catalog.GetString ("Export"), null, null); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export"); w1.Add (this.ExportAction, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.convertAction = new global::Gtk.Action ("convertAction", global::Mono.Unix.Catalog.GetString ("Exportieren"), null, "gtk-convert"); this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exportieren"); w1.Add (this.convertAction, null); this.NurTextTxtAction = new global::Gtk.Action ("NurTextTxtAction", global::Mono.Unix.Catalog.GetString ("Nur Text (*.txt)"), null, null); this.NurTextTxtAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Nur Text (*.txt)"); w1.Add (this.NurTextTxtAction, "<Primary><Alt>t"); this.HypertextHtmlAction = new global::Gtk.Action ("HypertextHtmlAction", global::Mono.Unix.Catalog.GetString ("Hypertext (*.html)"), null, null); this.HypertextHtmlAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hypertext (*.html)"); w1.Add (this.HypertextHtmlAction, "<Primary><Alt>h"); this.KommaGetrenntCsvAction = new global::Gtk.Action ("KommaGetrenntCsvAction", global::Mono.Unix.Catalog.GetString ("Komma - getrennt (*.csv)"), null, null); this.KommaGetrenntCsvAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Komma - getrennt (*.csv)"); w1.Add (this.KommaGetrenntCsvAction, "<Primary><Alt>c"); this.preferencesAction1 = new global::Gtk.Action ("preferencesAction1", null, null, "gtk-preferences"); this.preferencesAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Preferences"); w1.Add (this.preferencesAction1, null); this.berDieseVersionAction = new global::Gtk.Action ("berDieseVersionAction", global::Mono.Unix.Catalog.GetString ("Über diese Version"), null, null); this.berDieseVersionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Über diese Version"); w1.Add (this.berDieseVersionAction, null); this.dialogQuestionAction = new global::Gtk.Action ("dialogQuestionAction", global::Mono.Unix.Catalog.GetString ("Über diese Version"), null, "gtk-dialog-question"); this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Über diese Version"); w1.Add (this.dialogQuestionAction, "<Primary>y"); this.connectAction = new global::Gtk.Action ("connectAction", global::Mono.Unix.Catalog.GetString ("Web"), null, "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Web"); w1.Add (this.connectAction, "<Primary><Alt>i"); this.clearAction1 = new global::Gtk.Action ("clearAction1", global::Mono.Unix.Catalog.GetString ("Leeren"), null, "gtk-clear"); this.clearAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Leeren"); w1.Add (this.clearAction1, "<Primary><Alt><Mod4><Super>c"); this.saveAsAction2 = new global::Gtk.Action ("saveAsAction2", global::Mono.Unix.Catalog.GetString ("Kopie speichern unter"), null, "gtk-save-as"); this.saveAsAction2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Kopie speichern unter"); w1.Add (this.saveAsAction2, "<Primary>k"); this.printAction = new global::Gtk.Action ("printAction", global::Mono.Unix.Catalog.GetString ("Drucken"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Drucken"); w1.Add (this.printAction, null); this.selectFontAction = new global::Gtk.Action ("selectFontAction", global::Mono.Unix.Catalog.GetString ("Tastenkombinationen"), null, "gtk-select-font"); this.selectFontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Tastenkombinationen"); w1.Add (this.selectFontAction, "<Primary><Alt>k"); this.restore = new global::Gtk.Action ("restore", global::Mono.Unix.Catalog.GetString ("Ausdrücke wiederherstellen"), null, "gtk-undelete"); this.restore.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ausdrücke wiederherstellen"); w1.Add (this.restore, "<Primary><Alt>u"); this.homeAction = new global::Gtk.Action ("homeAction", global::Mono.Unix.Catalog.GetString ("Start"), null, "gtk-home"); this.homeAction.Sensitive = false; this.homeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Willkommensseite"); w1.Add (this.homeAction, null); this.mediaPlayAction1 = new global::Gtk.Action ("mediaPlayAction1", global::Mono.Unix.Catalog.GetString ("Run"), null, "gtk-media-play"); this.mediaPlayAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run"); w1.Add (this.mediaPlayAction1, "<Primary>space"); this.quitAction1 = new global::Gtk.Action ("quitAction1", global::Mono.Unix.Catalog.GetString ("Beenden"), null, "gtk-quit"); this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Beenden"); w1.Add (this.quitAction1, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("Terminus.bin.Debug.Boot.Images.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(2)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='DateiAction' action='DateiAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><menuitem name='saveAsAction2' action='saveAsAction2'/><menuitem name='closeAction' action='closeAction'/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='BearbeitenAction' action='BearbeitenAction'><menuitem name='undoAction1' action='undoAction1'/><menuitem name='redoAction1' action='redoAction1'/><menuitem name='cutAction1' action='cutAction1'/><menuitem name='copyAction1' action='copyAction1'/><menuitem name='pasteAction1' action='pasteAction1'/><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='RegexAction' action='RegexAction'><menuitem name='mediaPlayAction1' action='mediaPlayAction1'/><menu name='convertAction' action='convertAction'><menuitem name='NurTextTxtAction' action='NurTextTxtAction'/><menuitem name='HypertextHtmlAction' action='HypertextHtmlAction'/><menuitem name='KommaGetrenntCsvAction' action='KommaGetrenntCsvAction'/></menu><menuitem name='clearAction1' action='clearAction1'/></menu><menu name='ExtrasAction' action='ExtrasAction'><menuitem name='selectAllAction' action='selectAllAction'/><menuitem name='restore' action='restore'/></menu><menu name='HilfeAction' action='HilfeAction'><menuitem name='connectAction' action='connectAction'/><menuitem name='selectFontAction' action='selectFontAction'/><menuitem name='cancelAction' action='cancelAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='newAction1' action='newAction1'/><toolitem name='OpenRegex' action='OpenRegex'/><toolitem name='SaveRegex' action='SaveRegex'/><toolitem name='SaveRegexOtherFileName' action='SaveRegexOtherFileName'/><toolitem name='CloseRegex' action='CloseRegex'/><separator/><toolitem name='undoAction' action='undoAction'/><toolitem name='redoAction' action='redoAction'/><separator/><toolitem name='Execute' action='Execute'/><toolitem name='clearAction' action='clearAction'/><separator/><toolitem name='cutAction' action='cutAction'/><toolitem name='copyAction' action='copyAction'/><toolitem name='pasteAction' action='pasteAction'/><separator/><toolitem name='Library' action='Library'/><separator/><toolitem name='preferencesAction1' action='preferencesAction1'/><toolitem name='aboutAction1' action='aboutAction1'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(4)); this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = -1; this.notebook1.ShowBorder = false; this.notebook1.Scrollable = true; this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w4.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander3 = new global::Gtk.Expander (null); this.expander3.CanFocus = true; this.expander3.Name = "expander3"; // Container child expander3.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.IgnoreCase = new global::Gtk.CheckButton (); this.IgnoreCase.TooltipMarkup = "Die Groß- und Kleinschreibung Ihres Ausdrucks wird ignoriert.\nBeispiel: \"test\" trifft auch auf \"TEST\" zu."; this.IgnoreCase.CanFocus = true; this.IgnoreCase.Name = "IgnoreCase"; this.IgnoreCase.Label = global::Mono.Unix.Catalog.GetString ("Groß- /Kleinschreibung ignorieren."); this.IgnoreCase.DrawIndicator = true; this.IgnoreCase.UseUnderline = true; this.vbox3.Add (this.IgnoreCase); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.IgnoreCase])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ExplicitCapture = new global::Gtk.CheckButton (); this.ExplicitCapture.TooltipMarkup = "Die Datenquelle muss genau auf den Ausdruck übereinstimmen."; this.ExplicitCapture.CanFocus = true; this.ExplicitCapture.Name = "ExplicitCapture"; this.ExplicitCapture.Label = global::Mono.Unix.Catalog.GetString ("Explicit Capture"); this.ExplicitCapture.DrawIndicator = true; this.ExplicitCapture.UseUnderline = true; this.vbox3.Add (this.ExplicitCapture); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ExplicitCapture])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.IgnorePatternWhitespace = new global::Gtk.CheckButton (); this.IgnorePatternWhitespace.TooltipMarkup = "Leerzeichen werden im Ausdruck/ Datenquelle ignoriert."; this.IgnorePatternWhitespace.CanFocus = true; this.IgnorePatternWhitespace.Name = "IgnorePatternWhitespace"; this.IgnorePatternWhitespace.Label = global::Mono.Unix.Catalog.GetString ("Leerzeichen ignorieren"); this.IgnorePatternWhitespace.DrawIndicator = true; this.IgnorePatternWhitespace.UseUnderline = true; this.vbox3.Add (this.IgnorePatternWhitespace); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.IgnorePatternWhitespace])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Alle Ergebnisse anzeigen")); this.radiobutton1.TooltipMarkup = "Alle aus dem Ausdruck resultierenden Ergebnisse anzeigen"; this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.hbox1.Add (this.radiobutton1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton1])); w8.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Nur nicht gruppierte Ergebnisse")); this.radiobutton2.TooltipMarkup = "Nur Ergebnisse präsentieren, die nicht in eine Gruppe eingeordnet sind."; this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.hbox1.Add (this.radiobutton2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton2])); w9.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Nur Gruppen")); this.radiobutton3.TooltipMarkup = "Nur Ergebnisse einblenden, die aus Gruppen resultieren."; this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.hbox1.Add (this.radiobutton3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton3])); w10.Position = 2; this.vbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w11.Position = 4; w11.Expand = false; w11.Fill = false; this.expander3.Add (this.vbox3); this.GtkLabel26 = new global::Gtk.Label (); this.GtkLabel26.Name = "GtkLabel26"; this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString ("Verarbeitungsoptionen"); this.GtkLabel26.UseUnderline = true; this.expander3.LabelWidget = this.GtkLabel26; this.vbox2.Add (this.expander3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander3])); w13.Position = 0; w13.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.Output = new global::Gtk.TextView (); this.Output.HeightRequest = 111; this.Output.CanFocus = true; this.Output.Name = "Output"; this.Output.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add (this.Output); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel27 = new global::Gtk.Label (); this.GtkLabel27.Name = "GtkLabel27"; this.GtkLabel27.LabelProp = global::Mono.Unix.Catalog.GetString ("Ergebnis(se)"); this.GtkLabel27.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel27; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w16.Position = 1; w16.Expand = false; this.vbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.cStatusLabele = new global::Gtk.Label (); this.cStatusLabele.Name = "cStatusLabele"; this.cStatusLabele.Xpad = 3; this.cStatusLabele.Xalign = 0F; this.vbox1.Add (this.cStatusLabele); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.cStatusLabele])); w18.Position = 4; w18.Expand = false; w18.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 935; this.DefaultHeight = 500; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.SaveRegex.Activated += new global::System.EventHandler (this.OnSaveAction1Activated); this.CloseRegex.Activated += new global::System.EventHandler (this.OnCloseAction1Activated); this.SaveRegexOtherFileName.Activated += new global::System.EventHandler (this.OnSaveAsAction1Activated); this.OpenRegex.Activated += new global::System.EventHandler (this.OnOpenAction1Activated); this.undoAction.Activated += new global::System.EventHandler (this.OnUndoActionActivated); this.redoAction.Activated += new global::System.EventHandler (this.OnRedoActionActivated); this.Execute.Activated += new global::System.EventHandler (this.OnExecuteActionActivated); this.clearAction.Activated += new global::System.EventHandler (this.OnClearActionActivated); this.cutAction1.Activated += new global::System.EventHandler (this.OnCutAction1Activated); this.copyAction1.Activated += new global::System.EventHandler (this.OnCopyAction1Activated); this.pasteAction1.Activated += new global::System.EventHandler (this.OnPasteAction1Activated); this.cancelAction.Activated += new global::System.EventHandler (this.OnCancelActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.selectAllAction.Activated += new global::System.EventHandler (this.OnSelectAllActionActivated); this.spellCheckAction.Activated += new global::System.EventHandler (this.OnSpellCheckActionActivated); this.NurTextTxtAction.Activated += new global::System.EventHandler (this.OnNurTextTxtActionActivated); this.HypertextHtmlAction.Activated += new global::System.EventHandler (this.OnHypertextHtmlActionActivated); this.KommaGetrenntCsvAction.Activated += new global::System.EventHandler (this.OnKommaGetrenntCsvActionActivated); this.preferencesAction1.Activated += new global::System.EventHandler (this.OnPreferencesAction1Activated); this.connectAction.Activated += new global::System.EventHandler (this.OnConnectActionActivated); this.saveAsAction2.Activated += new global::System.EventHandler (this.OnSaveAsAction2Activated); this.printAction.Activated += new global::System.EventHandler (this.OnPrintActionActivated); this.selectFontAction.Activated += new global::System.EventHandler (this.OnSelectFontActionActivated); this.restore.Activated += new global::System.EventHandler (this.OnRestoreActivated); this.quitAction1.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.notebook1.SelectPage += new global::Gtk.SelectPageHandler (this.OnNotebook1SelectPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.ErrorMessageView this.Name = "Vodovoz.Views.ErrorMessageView"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child Vodovoz.Views.ErrorMessageView.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.image249 = new global::Gtk.Image(); this.image249.Name = "image249"; this.image249.Xalign = 0F; this.image249.Yalign = 0F; this.image249.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.hbox1.Add(this.image249); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.image249])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("К сожалению в программе произошла непредвиденная ошибка."); this.vbox2.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Вы можете помочь нам улучшить программу и исправить данную проблему. \nДля этого в" + "оспользуйтесь формой отправки отчета об ошибке.\n"); this.label3.Justify = ((global::Gtk.Justification)(3)); this.vbox2.Add(this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label3])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryEmail = new global::Gamma.GtkWidgets.yEntry(); this.entryEmail.CanFocus = true; this.entryEmail.Name = "entryEmail"; this.entryEmail.IsEditable = true; this.entryEmail.InvisibleChar = '•'; this.table1.Add(this.entryEmail); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmail])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.textviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.textviewDescription.CanFocus = true; this.textviewDescription.Name = "textviewDescription"; this.GtkScrolledWindow1.Add(this.textviewDescription); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.TooltipMarkup = "В этом поле опишите последовательность действий, которая привела к возникновению " + "ошибки."; this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Описание:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.TooltipMarkup = "Для отправки отчета нам требуется ваш email. Мы будем использовать его, для уточн" + "ения информации об ошибке, а также для оперативного информирования об устранении" + " данной проблемы."; this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("E-mail для связи:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Для отправки отчета, пожалуйста, заполните следующие поля:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewError = new global::Gamma.GtkWidgets.yTextView(); this.textviewError.CanFocus = true; this.textviewError.Name = "textviewError"; this.textviewError.Editable = false; this.textviewError.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.textviewError); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Техническая информация"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expander1])); w15.Position = 4; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w16.Position = 1; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w17.Position = 0; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.hbox2.Add(this.ylabel1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ylabel1])); w18.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.ybuttonSendReport = new global::Gamma.GtkWidgets.yButton(); this.ybuttonSendReport.WidthRequest = 140; this.ybuttonSendReport.CanFocus = true; this.ybuttonSendReport.Name = "ybuttonSendReport"; this.ybuttonSendReport.UseUnderline = true; this.ybuttonSendReport.BorderWidth = ((uint)(2)); this.ybuttonSendReport.Label = global::Mono.Unix.Catalog.GetString("Отправить отчет"); global::Gtk.Image w19 = new global::Gtk.Image(); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-disconnect", global::Gtk.IconSize.Menu); this.ybuttonSendReport.Image = w19; this.hbox2.Add(this.ybuttonSendReport); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonSendReport])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.ybuttonCopy = new global::Gamma.GtkWidgets.yButton(); this.ybuttonCopy.WidthRequest = 140; this.ybuttonCopy.CanFocus = true; this.ybuttonCopy.Name = "ybuttonCopy"; this.ybuttonCopy.UseUnderline = true; this.ybuttonCopy.BorderWidth = ((uint)(2)); this.ybuttonCopy.Label = global::Mono.Unix.Catalog.GetString("Скопировать"); global::Gtk.Image w21 = new global::Gtk.Image(); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); this.ybuttonCopy.Image = w21; this.hbox2.Add(this.ybuttonCopy); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonCopy])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.ybuttonOK = new global::Gamma.GtkWidgets.yButton(); this.ybuttonOK.WidthRequest = 140; this.ybuttonOK.CanFocus = true; this.ybuttonOK.Name = "ybuttonOK"; this.ybuttonOK.UseUnderline = true; this.ybuttonOK.BorderWidth = ((uint)(2)); this.ybuttonOK.Label = global::Mono.Unix.Catalog.GetString("Понятно"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu); this.ybuttonOK.Image = w23; this.hbox2.Add(this.ybuttonOK); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonOK])); w24.Position = 3; w24.Expand = false; w24.Fill = false; w1.Add(this.hbox2); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Internal child Vodovoz.Views.ErrorMessageView.ActionArea global::Gtk.HButtonBox w26 = this.ActionArea; w26.Sensitive = false; w26.Name = "dialog1_ActionArea"; w26.Spacing = 10; w26.BorderWidth = ((uint)(5)); w26.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w26[this.buttonCancel])); w27.Expand = false; w27.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w26[this.buttonOk])); w28.Position = 1; w28.Expand = false; w28.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1055; this.DefaultHeight = 786; w26.Hide(); this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget PubnubMessagingExampleGTK.SettingsDialog this.Name = "PubnubMessagingExampleGTK.SettingsDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Settings"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 420; this.DefaultHeight = 420; // Internal child PubnubMessagingExampleGTK.SettingsDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.mainFixedPanel = new global::Gtk.Fixed(); this.mainFixedPanel.HeightRequest = 420; this.mainFixedPanel.Name = "mainFixedPanel"; this.mainFixedPanel.HasWindow = false; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.WidthRequest = 550; this.hseparator1.HeightRequest = 1; this.hseparator1.Name = "hseparator1"; this.mainFixedPanel.Add(this.hseparator1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.hseparator1])); w2.X = 1; w2.Y = 39; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label78 = new global::Gtk.Label(); this.label78.Name = "label78"; this.label78.LabelProp = global::Mono.Unix.Catalog.GetString("Channel(s)"); this.mainFixedPanel.Add(this.label78); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label78])); w3.X = 31; w3.Y = 67; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.WidthRequest = 550; this.hseparator2.HeightRequest = 1; this.hseparator2.Name = "hseparator2"; this.mainFixedPanel.Add(this.hseparator2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.hseparator2])); w4.Y = 122; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label79 = new global::Gtk.Label(); this.label79.Name = "label79"; this.label79.LabelProp = global::Mono.Unix.Catalog.GetString("SSL"); this.mainFixedPanel.Add(this.label79); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label79])); w5.X = 32; w5.Y = 96; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label81 = new global::Gtk.Label(); this.label81.Name = "label81"; this.label81.LabelProp = global::Mono.Unix.Catalog.GetString("Cipher"); this.mainFixedPanel.Add(this.label81); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label81])); w6.X = 34; w6.Y = 152; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryCipher = new global::Gtk.Entry(); this.entryCipher.CanFocus = true; this.entryCipher.Name = "entryCipher"; this.entryCipher.IsEditable = true; this.entryCipher.InvisibleChar = '•'; this.mainFixedPanel.Add(this.entryCipher); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryCipher])); w7.X = 139; w7.Y = 147; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryUuid = new global::Gtk.Entry(); this.entryUuid.CanFocus = true; this.entryUuid.Name = "entryUuid"; this.entryUuid.IsEditable = true; this.entryUuid.InvisibleChar = '•'; this.mainFixedPanel.Add(this.entryUuid); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryUuid])); w8.X = 139; w8.Y = 207; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label83 = new global::Gtk.Label(); this.label83.Name = "label83"; this.label83.LabelProp = global::Mono.Unix.Catalog.GetString("Custom UUID"); this.mainFixedPanel.Add(this.label83); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label83])); w9.X = 33; w9.Y = 209; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryChannel = new global::Gtk.Entry(); this.entryChannel.WidthRequest = 300; this.entryChannel.CanFocus = true; this.entryChannel.Name = "entryChannel"; this.entryChannel.IsEditable = true; this.entryChannel.InvisibleChar = '•'; this.mainFixedPanel.Add(this.entryChannel); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryChannel])); w10.X = 141; w10.Y = 62; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.expander2 = new global::Gtk.Expander(null); this.expander2.HeightRequest = 170; this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.fixed5 = new global::Gtk.Fixed(); this.fixed5.WidthRequest = 400; this.fixed5.HeightRequest = 135; this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; // Container child fixed5.Gtk.Fixed+FixedChild this.entryServer = new global::Gtk.Entry(); this.entryServer.CanFocus = true; this.entryServer.Name = "entryServer"; this.entryServer.IsEditable = true; this.entryServer.InvisibleChar = '•'; this.fixed5.Add(this.entryServer); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryServer])); w11.X = 129; w11.Y = 10; // Container child fixed5.Gtk.Fixed+FixedChild this.entryPort = new global::Gtk.Entry(); this.entryPort.CanFocus = true; this.entryPort.Name = "entryPort"; this.entryPort.IsEditable = true; this.entryPort.InvisibleChar = '•'; this.fixed5.Add(this.entryPort); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryPort])); w12.X = 129; w12.Y = 43; // Container child fixed5.Gtk.Fixed+FixedChild this.label84 = new global::Gtk.Label(); this.label84.Name = "label84"; this.label84.LabelProp = global::Mono.Unix.Catalog.GetString("Server"); this.fixed5.Add(this.label84); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label84])); w13.X = 26; w13.Y = 16; // Container child fixed5.Gtk.Fixed+FixedChild this.label85 = new global::Gtk.Label(); this.label85.Name = "label85"; this.label85.LabelProp = global::Mono.Unix.Catalog.GetString("Port"); this.fixed5.Add(this.label85); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label85])); w14.X = 26; w14.Y = 45; // Container child fixed5.Gtk.Fixed+FixedChild this.entryUsername = new global::Gtk.Entry(); this.entryUsername.CanFocus = true; this.entryUsername.Name = "entryUsername"; this.entryUsername.IsEditable = true; this.entryUsername.InvisibleChar = '•'; this.fixed5.Add(this.entryUsername); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryUsername])); w15.X = 129; w15.Y = 75; // Container child fixed5.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Password"); this.fixed5.Add(this.label2); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label2])); w16.X = 26; w16.Y = 112; // Container child fixed5.Gtk.Fixed+FixedChild this.lblUsername = new global::Gtk.Label(); this.lblUsername.Name = "lblUsername"; this.lblUsername.LabelProp = global::Mono.Unix.Catalog.GetString("Username"); this.fixed5.Add(this.lblUsername); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.lblUsername])); w17.X = 26; w17.Y = 79; // Container child fixed5.Gtk.Fixed+FixedChild this.entryPassword = new global::Gtk.Entry(); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.InvisibleChar = '•'; this.fixed5.Add(this.entryPassword); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryPassword])); w18.X = 128; w18.Y = 109; this.expander2.Add(this.fixed5); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.HeightRequest = 0; this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Proxy Settings"); this.GtkLabel2.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel2; this.mainFixedPanel.Add(this.expander2); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.expander2])); w20.X = 26; w20.Y = 246; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label75 = new global::Gtk.Label(); this.label75.Name = "label75"; this.label75.LabelProp = global::Mono.Unix.Catalog.GetString("Basic Settings"); this.mainFixedPanel.Add(this.label75); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label75])); w21.X = 225; w21.Y = 13; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label76 = new global::Gtk.Label(); this.label76.Name = "label76"; this.label76.LabelProp = global::Mono.Unix.Catalog.GetString("Enter multiple channels separated by comma"); this.mainFixedPanel.Add(this.label76); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label76])); w22.X = 127; w22.Y = 42; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label80 = new global::Gtk.Label(); this.label80.Name = "label80"; this.label80.LabelProp = global::Mono.Unix.Catalog.GetString("Enter cipher for encryption or leave blank for unencrypted transfer"); this.mainFixedPanel.Add(this.label80); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label80])); w23.X = 61; w23.Y = 126; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label82 = new global::Gtk.Label(); this.label82.Name = "label82"; this.label82.LabelProp = global::Mono.Unix.Catalog.GetString("Enter custom UUID or leave blank for default UUID"); this.mainFixedPanel.Add(this.label82); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label82])); w24.X = 104; w24.Y = 181; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.sslToggle = new global::Gtk.ToggleButton(); this.sslToggle.CanFocus = true; this.sslToggle.Name = "sslToggle"; this.sslToggle.UseUnderline = true; this.sslToggle.Active = true; this.sslToggle.Label = global::Mono.Unix.Catalog.GetString("Off"); this.mainFixedPanel.Add(this.sslToggle); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.sslToggle])); w25.X = 139; w25.Y = 93; w1.Add(this.mainFixedPanel); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w1 [this.mainFixedPanel])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Internal child PubnubMessagingExampleGTK.SettingsDialog.ActionArea global::Gtk.HButtonBox w27 = this.ActionArea; w27.Name = "dialog1_ActionArea"; w27.Spacing = 10; w27.BorderWidth = ((uint)(5)); w27.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnCancel = new global::Gtk.Button(); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.AddActionWidget(this.btnCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.btnCancel])); w28.Expand = false; w28.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; w27.Add(this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.buttonOk])); w29.Position = 1; w29.Expand = false; w29.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.expander2.Activated += new global::System.EventHandler(this.ProxyExpanderActivated); this.sslToggle.Toggled += new global::System.EventHandler(this.SslToggled); this.buttonOk.Clicked += new global::System.EventHandler(this.OkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QSOsm.JsonAddressEntry global::Stetic.BinContainer.Attach(this); this.Name = "QSOsm.JsonAddressEntry"; // Container child QSOsm.JsonAddressEntry.Gtk.Container+ContainerChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryBuilding = new global::QSOsm.HouseEntry(); this.entryBuilding.CanFocus = true; this.entryBuilding.Name = "entryBuilding"; this.entryBuilding.IsEditable = true; this.entryBuilding.WidthChars = 17; this.entryBuilding.InvisibleChar = '●'; this.table1.Add(this.entryBuilding); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryBuilding])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryCity = new global::QSOsm.CityEntry(); this.entryCity.CanFocus = true; this.entryCity.Name = "entryCity"; this.entryCity.IsEditable = true; this.entryCity.InvisibleChar = '●'; this.table1.Add(this.entryCity); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryCity])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryStreet = new global::QSOsm.StreetEntry(); this.entryStreet.CanFocus = true; this.entryStreet.Name = "entryStreet"; this.entryStreet.IsEditable = true; this.entryStreet.InvisibleChar = '●'; this.entryStreet.CityId = 0; this.table1.Add(this.entryStreet); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryStreet])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.yvalidatedentryPostalCode = new global::Gamma.Widgets.yValidatedEntry(); this.yvalidatedentryPostalCode.CanFocus = true; this.yvalidatedentryPostalCode.Name = "yvalidatedentryPostalCode"; this.yvalidatedentryPostalCode.IsEditable = true; this.yvalidatedentryPostalCode.MaxLength = 6; this.yvalidatedentryPostalCode.InvisibleChar = '●'; this.hbox1.Add(this.yvalidatedentryPostalCode); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.yvalidatedentryPostalCode])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonClean = new global::Gtk.Button(); this.buttonClean.TooltipMarkup = "Очистить адрес"; this.buttonClean.CanFocus = true; this.buttonClean.Name = "buttonClean"; this.buttonClean.UseUnderline = true; this.buttonClean.Relief = ((global::Gtk.ReliefStyle)(1)); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonClean.Image = w5; this.hbox1.Add(this.buttonClean); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonClean])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1])); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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.yentryLiter = new global::Gamma.GtkWidgets.yEntry(); this.yentryLiter.CanFocus = true; this.yentryLiter.Name = "yentryLiter"; this.yentryLiter.IsEditable = true; this.yentryLiter.WidthChars = 10; this.yentryLiter.InvisibleChar = '●'; this.hbox9.Add(this.yentryLiter); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.yentryLiter])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.comboRoomType = new global::Gamma.Widgets.yEnumComboBox(); this.comboRoomType.Name = "comboRoomType"; this.comboRoomType.ShowSpecialStateAll = false; this.comboRoomType.ShowSpecialStateNot = false; this.comboRoomType.UseShortTitle = false; this.comboRoomType.DefaultFirst = false; this.hbox9.Add(this.comboRoomType); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.comboRoomType])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("№:"); this.hbox9.Add(this.label5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label5])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.entryRoom = new global::Gamma.GtkWidgets.yEntry(); this.entryRoom.CanFocus = true; this.entryRoom.Name = "entryRoom"; this.entryRoom.IsEditable = true; this.entryRoom.MaxLength = 20; this.entryRoom.InvisibleChar = '●'; this.hbox9.Add(this.entryRoom); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.entryRoom])); w11.Position = 3; this.table1.Add(this.hbox9); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox9])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Город:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Улица:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label7); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label8); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFloor = new global::Gtk.Label(); this.labelFloor.Name = "labelFloor"; this.labelFloor.Xalign = 1F; this.labelFloor.LabelProp = global::Mono.Unix.Catalog.GetString("Этаж:"); this.table1.Add(this.labelFloor); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelFloor])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinFloor = new global::Gamma.GtkWidgets.ySpinButton(-5, 100, 1); this.spinFloor.WidthRequest = 0; this.spinFloor.HeightRequest = 0; this.spinFloor.CanFocus = true; this.spinFloor.Name = "spinFloor"; this.spinFloor.Adjustment.PageIncrement = 10; this.spinFloor.ClimbRate = 1; this.spinFloor.Numeric = true; this.spinFloor.Value = 4; this.spinFloor.ValueAsDecimal = 0m; this.spinFloor.ValueAsInt = 0; this.table1.Add(this.spinFloor); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinFloor])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryAddition = new global::Gamma.GtkWidgets.yEntry(); this.yentryAddition.CanFocus = true; this.yentryAddition.Name = "yentryAddition"; this.yentryAddition.IsEditable = true; this.yentryAddition.MaxLength = 100; this.yentryAddition.InvisibleChar = '●'; this.table1.Add(this.yentryAddition); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryAddition])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander1.Add(this.table1); this.ExpanderLabel = new global::Gtk.Label(); this.ExpanderLabel.Name = "ExpanderLabel"; this.ExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("АДРЕС ПУСТОЙ"); this.ExpanderLabel.Selectable = true; this.expander1.LabelWidget = this.ExpanderLabel; this.Add(this.expander1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.spinFloor.Shown += new global::System.EventHandler(this.OnSpinFloorShown); this.labelFloor.Shown += new global::System.EventHandler(this.OnLabelFloorShown); this.buttonClean.Clicked += new global::System.EventHandler(this.OnButtonCleanClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.DescriptionWidget global::Stetic.BinContainer.Attach(this); this.Name = "ocmgtk.DescriptionWidget"; // Container child ocmgtk.DescriptionWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hintButton = new global::Gtk.Button(); this.hintButton.Name = "hintButton"; this.hintButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child hintButton.Gtk.Container+ContainerChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span fgcolor=\"blue\">Hint</span>"); this.label1.UseMarkup = true; this.hintButton.Add(this.label1); this.vbox2.Add(this.hintButton); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hintButton])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.tbugExpander = new global::Gtk.Expander(null); this.tbugExpander.CanFocus = true; this.tbugExpander.Name = "tbugExpander"; // Container child tbugExpander.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.tbugView = new global::Gtk.TreeView(); this.tbugView.CanFocus = true; this.tbugView.Name = "tbugView"; this.scrolledwindow1.Add(this.tbugView); this.tbugExpander.Add(this.scrolledwindow1); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.Xalign = 0F; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Trackables</b>"); this.GtkLabel2.UseMarkup = true; this.GtkLabel2.UseUnderline = true; this.tbugExpander.LabelWidget = this.GtkLabel2; this.vbox2.Add(this.tbugExpander); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.tbugExpander])); w5.Position = 1; w5.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.descAlign = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.descAlign.Name = "descAlign"; this.vbox2.Add(this.descAlign); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.descAlign])); w6.Position = 2; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.hintButton.Clicked += new global::System.EventHandler(this.onHintClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSUpdater.DB.DBUpdateProcess this.Name = "QSUpdater.DB.DBUpdateProcess"; this.Title = global::Mono.Unix.Catalog.GetString ("Требуется обновление базы данных"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child QSUpdater.DB.DBUpdateProcess.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("После обновления базы, предыдущие версии программы не будут работать. Во избежании порчи данных, убедитесь что в момент обновления никто не использует базу в работе."); this.label1.Wrap = true; w1.Add (this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.checkCreateBackup = new global::Gtk.CheckButton (); this.checkCreateBackup.CanFocus = true; this.checkCreateBackup.Name = "checkCreateBackup"; this.checkCreateBackup.Label = global::Mono.Unix.Catalog.GetString ("Создать резервную копию перед обновлением"); this.checkCreateBackup.Active = true; this.checkCreateBackup.DrawIndicator = true; this.checkCreateBackup.UseUnderline = true; w1.Add (this.checkCreateBackup); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.checkCreateBackup])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild this.entryFileName = new global::Gtk.Entry (); this.entryFileName.CanFocus = true; this.entryFileName.Name = "entryFileName"; this.entryFileName.IsEditable = false; this.entryFileName.InvisibleChar = '●'; this.hbox1.Add (this.entryFileName); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryFileName])); w4.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonFileChooser = new global::Gtk.Button (); this.buttonFileChooser.CanFocus = true; this.buttonFileChooser.Name = "buttonFileChooser"; this.buttonFileChooser.UseUnderline = true; global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-directory", global::Gtk.IconSize.Menu); this.buttonFileChooser.Image = w5; this.hbox1.Add (this.buttonFileChooser); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonFileChooser])); w6.Position = 1; w6.Expand = false; w6.Fill = false; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.progressbarTotal = new global::Gtk.ProgressBar (); this.progressbarTotal.Name = "progressbarTotal"; w1.Add (this.progressbarTotal); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.progressbarTotal])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.progressbarOperation = new global::Gtk.ProgressBar (); this.progressbarOperation.Name = "progressbarOperation"; w1.Add (this.progressbarOperation); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.progressbarOperation])); w9.Position = 4; w9.Expand = false; w9.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.HeightRequest = 246; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewLog = new global::Gtk.TextView (); this.textviewLog.CanFocus = true; this.textviewLog.Name = "textviewLog"; this.GtkScrolledWindow.Add (this.textviewLog); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Технический журнал"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; w1.Add (this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.expander1])); w12.Position = 5; // Internal child QSUpdater.DB.DBUpdateProcess.ActionArea global::Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 10; w13.BorderWidth = ((uint)(5)); w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonCancel])); w14.Expand = false; w14.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-execute"; w13.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonOk])); w15.Position = 1; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 486; this.DefaultHeight = 381; this.progressbarOperation.Hide (); this.Show (); this.checkCreateBackup.Toggled += new global::System.EventHandler (this.OnCheckCreateBackupToggled); this.buttonFileChooser.Clicked += new global::System.EventHandler (this.OnButtonFileChooserClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FAction = new global::Gtk.Action ("FAction", global::Mono.Unix.Catalog.GetString ("文件(_F)"), null, null); this.FAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("文件(_F)"); w1.Add (this.FAction, null); this.HAction = new global::Gtk.Action ("HAction", global::Mono.Unix.Catalog.GetString ("帮助(_H)"), null, null); this.HAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("帮助(_H)"); w1.Add (this.HAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("退出(_Q)"), null, "gtk-quit"); this.quitAction.IsImportant = true; this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("退出(_Q)"); w1.Add (this.quitAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("关于(_A)"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("关于(_A)"); w1.Add (this.aboutAction, null); this.EAction = new global::Gtk.Action ("EAction", global::Mono.Unix.Catalog.GetString ("编辑(_E)"), null, null); this.EAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("编辑(_E)"); w1.Add (this.EAction, null); this.openportAction = new global::Gtk.Action ("openportAction", global::Mono.Unix.Catalog.GetString ("打开串口(_O)"), null, "gtk-connect"); this.openportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("打开串口(_O)"); w1.Add (this.openportAction, null); this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("首选项(_P)"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("首选项(_P)"); w1.Add (this.preferencesAction, null); this.TAction = new global::Gtk.Action ("TAction", global::Mono.Unix.Catalog.GetString ("工具(_T)"), null, null); this.TAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("工具(_T)"); w1.Add (this.TAction, null); this.AAction = new global::Gtk.Action ("AAction", global::Mono.Unix.Catalog.GetString ("分析(_A)"), null, null); this.AAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("分析(_A)"); w1.Add (this.AAction, null); this.GAction = new global::Gtk.Action ("GAction", global::Mono.Unix.Catalog.GetString ("曲线拟合分析(_G)"), null, null); this.GAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("曲线拟合分析(_G)"); w1.Add (this.GAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("串口调试助手"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.commbug.commbug_24x24.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.tableMain = new global::Gtk.Table (((uint)(3)), ((uint)(1)), false); this.tableMain.Name = "tableMain"; this.tableMain.RowSpacing = ((uint)(6)); this.tableMain.ColumnSpacing = ((uint)(6)); // Container child tableMain.Gtk.Table+TableChild this.hpanedMain = new global::Gtk.HPaned (); this.hpanedMain.CanFocus = true; this.hpanedMain.Name = "hpanedMain"; this.hpanedMain.Position = 297; // Container child hpanedMain.Gtk.Paned+PanedChild this.vboxLeft = new global::Gtk.VBox (); this.vboxLeft.Name = "vboxLeft"; this.vboxLeft.Spacing = 6; // Container child vboxLeft.Gtk.Box+BoxChild this.expanderCommSet = new global::Gtk.Expander (null); this.expanderCommSet.CanFocus = true; this.expanderCommSet.Name = "expanderCommSet"; this.expanderCommSet.Expanded = true; // Container child expanderCommSet.Gtk.Container+ContainerChild this.alignmentCommSet = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.alignmentCommSet.Name = "alignmentCommSet"; this.alignmentCommSet.LeftPadding = ((uint)(12)); // Container child alignmentCommSet.Gtk.Container+ContainerChild this.vboxCommSet = new global::Gtk.VBox (); this.vboxCommSet.Name = "vboxCommSet"; this.vboxCommSet.Spacing = 6; // Container child vboxCommSet.Gtk.Box+BoxChild this.tableCommSetBasic = new global::Gtk.Table (((uint)(1)), ((uint)(1)), false); this.tableCommSetBasic.Name = "tableCommSetBasic"; this.tableCommSetBasic.RowSpacing = ((uint)(6)); this.tableCommSetBasic.ColumnSpacing = ((uint)(6)); // Container child tableCommSetBasic.Gtk.Table+TableChild this.tableCommBasic = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false); this.tableCommBasic.Name = "tableCommBasic"; this.tableCommBasic.RowSpacing = ((uint)(6)); this.tableCommBasic.ColumnSpacing = ((uint)(6)); // Container child tableCommBasic.Gtk.Table+TableChild this.comboboxentryBaudRate = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("1200")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("2400")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("4800")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("9600")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("19200")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("38400")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("57600")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("115200")); this.comboboxentryBaudRate.TooltipMarkup = "设置串口波特率。"; this.comboboxentryBaudRate.Name = "comboboxentryBaudRate"; this.comboboxentryBaudRate.Active = 3; this.tableCommBasic.Add (this.comboboxentryBaudRate); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.comboboxentryBaudRate])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.comboboxentryPortName = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentryPortName.Name = "comboboxentryPortName"; this.tableCommBasic.Add (this.comboboxentryPortName); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.comboboxentryPortName])); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(7)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.imageBaudRate = new global::Gtk.Image (); this.imageBaudRate.TooltipMarkup = "设置串口波特率。"; this.imageBaudRate.Name = "imageBaudRate"; this.imageBaudRate.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.baudrate.baudrate_24x24.png"); this.tableCommBasic.Add (this.imageBaudRate); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.imageBaudRate])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.imageCommSelect = new global::Gtk.Image (); this.imageCommSelect.TooltipMarkup = "选择您要调试的串口。"; this.imageCommSelect.Name = "imageCommSelect"; this.imageCommSelect.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.port.port_24x24.png"); this.tableCommBasic.Add (this.imageCommSelect); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.imageCommSelect])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.labelBaudRate = new global::Gtk.Label (); this.labelBaudRate.TooltipMarkup = "设置串口波特率。"; this.labelBaudRate.Name = "labelBaudRate"; this.labelBaudRate.Xalign = 0F; this.labelBaudRate.LabelProp = global::Mono.Unix.Catalog.GetString ("波特率"); this.tableCommBasic.Add (this.labelBaudRate); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.labelBaudRate])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.labelCommSelect = new global::Gtk.Label (); this.labelCommSelect.TooltipMarkup = "选择您要调试的串口。"; this.labelCommSelect.Name = "labelCommSelect"; this.labelCommSelect.LabelProp = global::Mono.Unix.Catalog.GetString ("串口选择"); this.tableCommBasic.Add (this.labelCommSelect); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.labelCommSelect])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableCommSetBasic.Add (this.tableCommBasic); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableCommSetBasic [this.tableCommBasic])); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxCommSet.Add (this.tableCommSetBasic); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxCommSet [this.tableCommSetBasic])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxCommSet.Gtk.Box+BoxChild this.expanderSetComm = new global::Gtk.Expander (null); this.expanderSetComm.CanFocus = true; this.expanderSetComm.Name = "expanderSetComm"; this.expanderSetComm.Expanded = true; // Container child expanderSetComm.Gtk.Container+ContainerChild this.tableCommSet = new global::Gtk.Table (((uint)(1)), ((uint)(5)), false); this.tableCommSet.Name = "tableCommSet"; this.tableCommSet.RowSpacing = ((uint)(6)); this.tableCommSet.ColumnSpacing = ((uint)(6)); // Container child tableCommSet.Gtk.Table+TableChild this.tableCommSetDataBits = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableCommSetDataBits.Name = "tableCommSetDataBits"; this.tableCommSetDataBits.RowSpacing = ((uint)(6)); this.tableCommSetDataBits.ColumnSpacing = ((uint)(6)); // Container child tableCommSetDataBits.Gtk.Table+TableChild this.labelDataBits = new global::Gtk.Label (); this.labelDataBits.Name = "labelDataBits"; this.labelDataBits.LabelProp = global::Mono.Unix.Catalog.GetString ("数据位"); this.tableCommSetDataBits.Add (this.labelDataBits); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableCommSetDataBits [this.labelDataBits])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSetDataBits.Gtk.Table+TableChild this.spinbuttonDataBits = new global::Gtk.SpinButton (5, 8, 1); this.spinbuttonDataBits.CanFocus = true; this.spinbuttonDataBits.Name = "spinbuttonDataBits"; this.spinbuttonDataBits.Adjustment.PageIncrement = 10; this.spinbuttonDataBits.ClimbRate = 1; this.spinbuttonDataBits.Numeric = true; this.spinbuttonDataBits.Value = 8; this.tableCommSetDataBits.Add (this.spinbuttonDataBits); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableCommSetDataBits [this.spinbuttonDataBits])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableCommSet.Add (this.tableCommSetDataBits); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.tableCommSetDataBits])); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSet.Gtk.Table+TableChild this.tableCommSetParity = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableCommSetParity.Name = "tableCommSetParity"; this.tableCommSetParity.RowSpacing = ((uint)(6)); this.tableCommSetParity.ColumnSpacing = ((uint)(6)); // Container child tableCommSetParity.Gtk.Table+TableChild this.comboboxPatity = global::Gtk.ComboBox.NewText (); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("None")); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("Even")); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("Odd")); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("Mark")); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("Space")); this.comboboxPatity.Name = "comboboxPatity"; this.comboboxPatity.Active = 0; this.tableCommSetParity.Add (this.comboboxPatity); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableCommSetParity [this.comboboxPatity])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSetParity.Gtk.Table+TableChild this.labelParity = new global::Gtk.Label (); this.labelParity.Name = "labelParity"; this.labelParity.LabelProp = global::Mono.Unix.Catalog.GetString ("校验"); this.tableCommSetParity.Add (this.labelParity); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableCommSetParity [this.labelParity])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableCommSet.Add (this.tableCommSetParity); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.tableCommSetParity])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSet.Gtk.Table+TableChild this.tableCommSetStopBits = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableCommSetStopBits.Name = "tableCommSetStopBits"; this.tableCommSetStopBits.RowSpacing = ((uint)(6)); this.tableCommSetStopBits.ColumnSpacing = ((uint)(6)); // Container child tableCommSetStopBits.Gtk.Table+TableChild this.comboboxStopBits = global::Gtk.ComboBox.NewText (); this.comboboxStopBits.AppendText (global::Mono.Unix.Catalog.GetString ("None")); this.comboboxStopBits.AppendText (global::Mono.Unix.Catalog.GetString ("1")); this.comboboxStopBits.AppendText (global::Mono.Unix.Catalog.GetString ("1.5")); this.comboboxStopBits.AppendText (global::Mono.Unix.Catalog.GetString ("2")); this.comboboxStopBits.Name = "comboboxStopBits"; this.comboboxStopBits.Active = 1; this.tableCommSetStopBits.Add (this.comboboxStopBits); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableCommSetStopBits [this.comboboxStopBits])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSetStopBits.Gtk.Table+TableChild this.labelStopBits = new global::Gtk.Label (); this.labelStopBits.Name = "labelStopBits"; this.labelStopBits.LabelProp = global::Mono.Unix.Catalog.GetString ("停止位"); this.tableCommSetStopBits.Add (this.labelStopBits); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableCommSetStopBits [this.labelStopBits])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableCommSet.Add (this.tableCommSetStopBits); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.tableCommSetStopBits])); w18.LeftAttach = ((uint)(4)); w18.RightAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSet.Gtk.Table+TableChild this.vseparatorCommSetL = new global::Gtk.VSeparator (); this.vseparatorCommSetL.Name = "vseparatorCommSetL"; this.tableCommSet.Add (this.vseparatorCommSetL); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.vseparatorCommSetL])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSet.Gtk.Table+TableChild this.vseparatorCommSetR = new global::Gtk.VSeparator (); this.vseparatorCommSetR.Name = "vseparatorCommSetR"; this.tableCommSet.Add (this.vseparatorCommSetR); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.vseparatorCommSetR])); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.expanderSetComm.Add (this.tableCommSet); this.GtkLabelCommAdvanced = new global::Gtk.Label (); this.GtkLabelCommAdvanced.TooltipMarkup = "详细设置串口参数。"; this.GtkLabelCommAdvanced.Name = "GtkLabelCommAdvanced"; this.GtkLabelCommAdvanced.LabelProp = global::Mono.Unix.Catalog.GetString ("详细设置"); this.GtkLabelCommAdvanced.UseUnderline = true; this.expanderSetComm.LabelWidget = this.GtkLabelCommAdvanced; this.vboxCommSet.Add (this.expanderSetComm); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxCommSet [this.expanderSetComm])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vboxCommSet.Gtk.Box+BoxChild this.tableComm = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.tableComm.Name = "tableComm"; this.tableComm.RowSpacing = ((uint)(6)); this.tableComm.ColumnSpacing = ((uint)(6)); // Container child tableComm.Gtk.Table+TableChild this.imagePortState = new global::Gtk.Image (); this.imagePortState.Name = "imagePortState"; this.imagePortState.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.port_state.port_state-off_24x24.png"); this.tableComm.Add (this.imagePortState); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableComm [this.imagePortState])); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableComm.Gtk.Table+TableChild this.togglebuttonPortSwitch = new global::Gtk.ToggleButton (); this.togglebuttonPortSwitch.CanFocus = true; this.togglebuttonPortSwitch.Name = "togglebuttonPortSwitch"; this.togglebuttonPortSwitch.UseUnderline = true; this.togglebuttonPortSwitch.Label = global::Mono.Unix.Catalog.GetString ("打开串口(_O)"); this.tableComm.Add (this.togglebuttonPortSwitch); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableComm [this.togglebuttonPortSwitch])); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxCommSet.Add (this.tableComm); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vboxCommSet [this.tableComm])); w25.PackType = ((global::Gtk.PackType)(1)); w25.Position = 2; w25.Expand = false; w25.Fill = false; this.alignmentCommSet.Add (this.vboxCommSet); this.expanderCommSet.Add (this.alignmentCommSet); this.GtkLabelCommSet = new global::Gtk.Label (); this.GtkLabelCommSet.TooltipMarkup = "设置串口参数。"; this.GtkLabelCommSet.Name = "GtkLabelCommSet"; this.GtkLabelCommSet.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>串口设置</b>"); this.GtkLabelCommSet.UseMarkup = true; this.GtkLabelCommSet.UseUnderline = true; this.expanderCommSet.LabelWidget = this.GtkLabelCommSet; this.vboxLeft.Add (this.expanderCommSet); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.expanderCommSet])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vboxLeft.Gtk.Box+BoxChild this.hseparatorLeftA = new global::Gtk.HSeparator (); this.hseparatorLeftA.Name = "hseparatorLeftA"; this.vboxLeft.Add (this.hseparatorLeftA); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.hseparatorLeftA])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child vboxLeft.Gtk.Box+BoxChild this.expanderSendSet = new global::Gtk.Expander (null); this.expanderSendSet.CanFocus = true; this.expanderSendSet.Name = "expanderSendSet"; this.expanderSendSet.Expanded = true; // Container child expanderSendSet.Gtk.Container+ContainerChild this.alignmentSendSetExpan = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignmentSendSetExpan.Name = "alignmentSendSetExpan"; // Container child alignmentSendSetExpan.Gtk.Container+ContainerChild this.GtkAlignmentSendSet = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignmentSendSet.Name = "GtkAlignmentSendSet"; this.GtkAlignmentSendSet.LeftPadding = ((uint)(12)); // Container child GtkAlignmentSendSet.Gtk.Container+ContainerChild this.tableSendSet = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableSendSet.Name = "tableSendSet"; this.tableSendSet.RowSpacing = ((uint)(6)); this.tableSendSet.ColumnSpacing = ((uint)(6)); // Container child tableSendSet.Gtk.Table+TableChild this.expanderAutoSend = new global::Gtk.Expander (null); this.expanderAutoSend.CanFocus = true; this.expanderAutoSend.Name = "expanderAutoSend"; this.expanderAutoSend.Expanded = true; // Container child expanderAutoSend.Gtk.Container+ContainerChild this.tableAutoSend = new global::Gtk.Table (((uint)(1)), ((uint)(4)), false); this.tableAutoSend.Name = "tableAutoSend"; this.tableAutoSend.RowSpacing = ((uint)(6)); this.tableAutoSend.ColumnSpacing = ((uint)(6)); // Container child tableAutoSend.Gtk.Table+TableChild this.checkbuttonAutoSend = new global::Gtk.CheckButton (); this.checkbuttonAutoSend.CanFocus = true; this.checkbuttonAutoSend.Name = "checkbuttonAutoSend"; this.checkbuttonAutoSend.Label = global::Mono.Unix.Catalog.GetString ("自动发送"); this.checkbuttonAutoSend.DrawIndicator = true; this.checkbuttonAutoSend.UseUnderline = true; this.tableAutoSend.Add (this.checkbuttonAutoSend); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tableAutoSend [this.checkbuttonAutoSend])); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAutoSend.Gtk.Table+TableChild this.labelSetInterval = new global::Gtk.Label (); this.labelSetInterval.Name = "labelSetInterval"; this.labelSetInterval.LabelProp = global::Mono.Unix.Catalog.GetString ("定时"); this.tableAutoSend.Add (this.labelSetInterval); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tableAutoSend [this.labelSetInterval])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAutoSend.Gtk.Table+TableChild this.labelSetIntervalms = new global::Gtk.Label (); this.labelSetIntervalms.Name = "labelSetIntervalms"; this.labelSetIntervalms.LabelProp = global::Mono.Unix.Catalog.GetString ("ms"); this.tableAutoSend.Add (this.labelSetIntervalms); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableAutoSend [this.labelSetIntervalms])); w32.LeftAttach = ((uint)(3)); w32.RightAttach = ((uint)(4)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAutoSend.Gtk.Table+TableChild this.spinbuttonInterval = new global::Gtk.SpinButton (0.01, 10000, 0.01); this.spinbuttonInterval.TooltipMarkup = "设定自动发送的间隔时间,\n单位是毫秒(ms)。"; this.spinbuttonInterval.CanFocus = true; this.spinbuttonInterval.Name = "spinbuttonInterval"; this.spinbuttonInterval.Adjustment.PageIncrement = 10; this.spinbuttonInterval.ClimbRate = 1; this.spinbuttonInterval.Numeric = true; this.spinbuttonInterval.Value = 500; this.tableAutoSend.Add (this.spinbuttonInterval); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableAutoSend [this.spinbuttonInterval])); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); this.expanderAutoSend.Add (this.tableAutoSend); this.GtkLabelAutoSend = new global::Gtk.Label (); this.GtkLabelAutoSend.Name = "GtkLabelAutoSend"; this.GtkLabelAutoSend.LabelProp = global::Mono.Unix.Catalog.GetString ("自动发送设置"); this.GtkLabelAutoSend.UseUnderline = true; this.expanderAutoSend.LabelWidget = this.GtkLabelAutoSend; this.tableSendSet.Add (this.expanderAutoSend); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableSendSet [this.expanderAutoSend])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendSet.Gtk.Table+TableChild this.expanderSendContents = new global::Gtk.Expander (null); this.expanderSendContents.CanFocus = true; this.expanderSendContents.Name = "expanderSendContents"; this.expanderSendContents.Expanded = true; // Container child expanderSendContents.Gtk.Container+ContainerChild this.tableSendContents = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.tableSendContents.Name = "tableSendContents"; this.tableSendContents.RowSpacing = ((uint)(6)); this.tableSendContents.ColumnSpacing = ((uint)(6)); // Container child tableSendContents.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.HeightRequest = 60; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewSend = new global::Gtk.TextView (); this.textviewSend.CanFocus = true; this.textviewSend.Name = "textviewSend"; this.textviewSend.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add (this.textviewSend); this.tableSendContents.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableSendContents [this.GtkScrolledWindow])); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendContents.Gtk.Table+TableChild this.tableSendContentsSet = new global::Gtk.Table (((uint)(4)), ((uint)(1)), false); this.tableSendContentsSet.Name = "tableSendContentsSet"; this.tableSendContentsSet.RowSpacing = ((uint)(6)); this.tableSendContentsSet.ColumnSpacing = ((uint)(6)); // Container child tableSendContentsSet.Gtk.Table+TableChild this.buttonSend = new global::Gtk.Button (); this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; // Container child buttonSend.Gtk.Container+ContainerChild global::Gtk.Alignment w38 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w39 = new global::Gtk.HBox (); w39.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w40 = new global::Gtk.Image (); w40.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.send.send_24x24.png"); w39.Add (w40); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w42 = new global::Gtk.Label (); w42.LabelProp = global::Mono.Unix.Catalog.GetString ("发送"); w42.UseUnderline = true; w39.Add (w42); w38.Add (w39); this.buttonSend.Add (w38); this.tableSendContentsSet.Add (this.buttonSend); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.tableSendContentsSet [this.buttonSend])); w46.TopAttach = ((uint)(3)); w46.BottomAttach = ((uint)(4)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendContentsSet.Gtk.Table+TableChild this.radiobuttonDec = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("10进制")); this.radiobuttonDec.CanFocus = true; this.radiobuttonDec.Name = "radiobuttonDec"; this.radiobuttonDec.Active = true; this.radiobuttonDec.DrawIndicator = true; this.radiobuttonDec.UseUnderline = true; this.radiobuttonDec.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.tableSendContentsSet.Add (this.radiobuttonDec); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.tableSendContentsSet [this.radiobuttonDec])); w47.TopAttach = ((uint)(2)); w47.BottomAttach = ((uint)(3)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendContentsSet.Gtk.Table+TableChild this.radiobuttonHex = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("16进制")); this.radiobuttonHex.CanFocus = true; this.radiobuttonHex.Name = "radiobuttonHex"; this.radiobuttonHex.DrawIndicator = true; this.radiobuttonHex.UseUnderline = true; this.radiobuttonHex.Group = this.radiobuttonDec.Group; this.tableSendContentsSet.Add (this.radiobuttonHex); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.tableSendContentsSet [this.radiobuttonHex])); w48.TopAttach = ((uint)(1)); w48.BottomAttach = ((uint)(2)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendContentsSet.Gtk.Table+TableChild this.radiobuttonText = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("文本")); this.radiobuttonText.CanFocus = true; this.radiobuttonText.Name = "radiobuttonText"; this.radiobuttonText.DrawIndicator = true; this.radiobuttonText.UseUnderline = true; this.radiobuttonText.Group = this.radiobuttonDec.Group; this.tableSendContentsSet.Add (this.radiobuttonText); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.tableSendContentsSet [this.radiobuttonText])); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableSendContents.Add (this.tableSendContentsSet); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.tableSendContents [this.tableSendContentsSet])); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); this.expanderSendContents.Add (this.tableSendContents); this.GtkLabelSendContents = new global::Gtk.Label (); this.GtkLabelSendContents.Name = "GtkLabelSendContents"; this.GtkLabelSendContents.LabelProp = global::Mono.Unix.Catalog.GetString ("发送内容设置"); this.GtkLabelSendContents.UseUnderline = true; this.expanderSendContents.LabelWidget = this.GtkLabelSendContents; this.tableSendSet.Add (this.expanderSendContents); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.tableSendSet [this.expanderSendContents])); w52.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignmentSendSet.Add (this.tableSendSet); this.alignmentSendSetExpan.Add (this.GtkAlignmentSendSet); this.expanderSendSet.Add (this.alignmentSendSetExpan); this.GtkLabelSendSet = new global::Gtk.Label (); this.GtkLabelSendSet.Name = "GtkLabelSendSet"; this.GtkLabelSendSet.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>发送设置</b>"); this.GtkLabelSendSet.UseMarkup = true; this.GtkLabelSendSet.UseUnderline = true; this.expanderSendSet.LabelWidget = this.GtkLabelSendSet; this.vboxLeft.Add (this.expanderSendSet); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.expanderSendSet])); w56.Position = 2; w56.Expand = false; w56.Fill = false; this.hpanedMain.Add (this.vboxLeft); global::Gtk.Paned.PanedChild w57 = ((global::Gtk.Paned.PanedChild)(this.hpanedMain [this.vboxLeft])); w57.Resize = false; // Container child hpanedMain.Gtk.Paned+PanedChild this.tableRight = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableRight.Name = "tableRight"; this.tableRight.RowSpacing = ((uint)(6)); this.tableRight.ColumnSpacing = ((uint)(6)); // Container child tableRight.Gtk.Table+TableChild this.expanderDataShowSet = new global::Gtk.Expander (null); this.expanderDataShowSet.CanFocus = true; this.expanderDataShowSet.Name = "expanderDataShowSet"; this.expanderDataShowSet.Expanded = true; // Container child expanderDataShowSet.Gtk.Container+ContainerChild this.alignmentClear = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.alignmentClear.Name = "alignmentClear"; this.alignmentClear.LeftPadding = ((uint)(12)); // Container child alignmentClear.Gtk.Container+ContainerChild this.tableDataShowSet = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableDataShowSet.Name = "tableDataShowSet"; this.tableDataShowSet.RowSpacing = ((uint)(6)); this.tableDataShowSet.ColumnSpacing = ((uint)(6)); // Container child tableDataShowSet.Gtk.Table+TableChild this.tableScrollSet = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false); this.tableScrollSet.Name = "tableScrollSet"; this.tableScrollSet.RowSpacing = ((uint)(6)); this.tableScrollSet.ColumnSpacing = ((uint)(6)); // Container child tableScrollSet.Gtk.Table+TableChild this.checkbuttonAutoScrollReceive = new global::Gtk.CheckButton (); this.checkbuttonAutoScrollReceive.CanFocus = true; this.checkbuttonAutoScrollReceive.Name = "checkbuttonAutoScrollReceive"; this.checkbuttonAutoScrollReceive.Label = global::Mono.Unix.Catalog.GetString ("接收区自动滚屏"); this.checkbuttonAutoScrollReceive.Active = true; this.checkbuttonAutoScrollReceive.DrawIndicator = true; this.checkbuttonAutoScrollReceive.UseUnderline = true; this.tableScrollSet.Add (this.checkbuttonAutoScrollReceive); global::Gtk.Table.TableChild w58 = ((global::Gtk.Table.TableChild)(this.tableScrollSet [this.checkbuttonAutoScrollReceive])); w58.LeftAttach = ((uint)(2)); w58.RightAttach = ((uint)(3)); w58.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableScrollSet.Gtk.Table+TableChild this.checkbuttonAutoScrollSend = new global::Gtk.CheckButton (); this.checkbuttonAutoScrollSend.CanFocus = true; this.checkbuttonAutoScrollSend.Name = "checkbuttonAutoScrollSend"; this.checkbuttonAutoScrollSend.Label = global::Mono.Unix.Catalog.GetString ("发送区自动滚屏"); this.checkbuttonAutoScrollSend.Active = true; this.checkbuttonAutoScrollSend.DrawIndicator = true; this.checkbuttonAutoScrollSend.UseUnderline = true; this.tableScrollSet.Add (this.checkbuttonAutoScrollSend); global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.tableScrollSet [this.checkbuttonAutoScrollSend])); w59.LeftAttach = ((uint)(1)); w59.RightAttach = ((uint)(2)); w59.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableScrollSet.Gtk.Table+TableChild this.imageAutoScroll = new global::Gtk.Image (); this.imageAutoScroll.Name = "imageAutoScroll"; this.imageAutoScroll.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Menu); this.tableScrollSet.Add (this.imageAutoScroll); global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.tableScrollSet [this.imageAutoScroll])); w60.XOptions = ((global::Gtk.AttachOptions)(4)); w60.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableDataShowSet.Add (this.tableScrollSet); global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.tableDataShowSet [this.tableScrollSet])); w61.TopAttach = ((uint)(1)); w61.BottomAttach = ((uint)(2)); w61.XOptions = ((global::Gtk.AttachOptions)(4)); w61.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableDataShowSet.Gtk.Table+TableChild this.tableShowClearSet = new global::Gtk.Table (((uint)(1)), ((uint)(4)), false); this.tableShowClearSet.Name = "tableShowClearSet"; this.tableShowClearSet.RowSpacing = ((uint)(6)); this.tableShowClearSet.ColumnSpacing = ((uint)(6)); // Container child tableShowClearSet.Gtk.Table+TableChild this.buttonClearAll = new global::Gtk.Button (); this.buttonClearAll.CanFocus = true; this.buttonClearAll.Name = "buttonClearAll"; this.buttonClearAll.UseUnderline = true; // Container child buttonClearAll.Gtk.Container+ContainerChild global::Gtk.Alignment w62 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w63 = new global::Gtk.HBox (); w63.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w64 = new global::Gtk.Image (); w64.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); w63.Add (w64); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w66 = new global::Gtk.Label (); w66.LabelProp = global::Mono.Unix.Catalog.GetString ("全部清空(_A)"); w66.UseUnderline = true; w63.Add (w66); w62.Add (w63); this.buttonClearAll.Add (w62); this.tableShowClearSet.Add (this.buttonClearAll); global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.tableShowClearSet [this.buttonClearAll])); w70.LeftAttach = ((uint)(3)); w70.RightAttach = ((uint)(4)); w70.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableShowClearSet.Gtk.Table+TableChild this.buttonClearReceiveArea = new global::Gtk.Button (); this.buttonClearReceiveArea.CanFocus = true; this.buttonClearReceiveArea.Name = "buttonClearReceiveArea"; this.buttonClearReceiveArea.UseUnderline = true; // Container child buttonClearReceiveArea.Gtk.Container+ContainerChild global::Gtk.Alignment w71 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w72 = new global::Gtk.HBox (); w72.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w73 = new global::Gtk.Image (); w73.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.clear_receive.clear_receive_24x24.png"); w72.Add (w73); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w75 = new global::Gtk.Label (); w75.LabelProp = global::Mono.Unix.Catalog.GetString ("清空接收区"); w75.UseUnderline = true; w72.Add (w75); w71.Add (w72); this.buttonClearReceiveArea.Add (w71); this.tableShowClearSet.Add (this.buttonClearReceiveArea); global::Gtk.Table.TableChild w79 = ((global::Gtk.Table.TableChild)(this.tableShowClearSet [this.buttonClearReceiveArea])); w79.LeftAttach = ((uint)(2)); w79.RightAttach = ((uint)(3)); w79.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableShowClearSet.Gtk.Table+TableChild this.buttonClearSendArea = new global::Gtk.Button (); this.buttonClearSendArea.CanFocus = true; this.buttonClearSendArea.Name = "buttonClearSendArea"; this.buttonClearSendArea.UseUnderline = true; // Container child buttonClearSendArea.Gtk.Container+ContainerChild global::Gtk.Alignment w80 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w81 = new global::Gtk.HBox (); w81.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w82 = new global::Gtk.Image (); w82.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.clear_send.clear_send_24x24.png"); w81.Add (w82); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w84 = new global::Gtk.Label (); w84.LabelProp = global::Mono.Unix.Catalog.GetString ("清空发送区"); w84.UseUnderline = true; w81.Add (w84); w80.Add (w81); this.buttonClearSendArea.Add (w80); this.tableShowClearSet.Add (this.buttonClearSendArea); global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.tableShowClearSet [this.buttonClearSendArea])); w88.LeftAttach = ((uint)(1)); w88.RightAttach = ((uint)(2)); w88.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableShowClearSet.Gtk.Table+TableChild this.buttonClearSendContents = new global::Gtk.Button (); this.buttonClearSendContents.CanFocus = true; this.buttonClearSendContents.Name = "buttonClearSendContents"; this.buttonClearSendContents.UseUnderline = true; this.buttonClearSendContents.Label = global::Mono.Unix.Catalog.GetString ("清空发送内容"); this.tableShowClearSet.Add (this.buttonClearSendContents); global::Gtk.Table.TableChild w89 = ((global::Gtk.Table.TableChild)(this.tableShowClearSet [this.buttonClearSendContents])); w89.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableDataShowSet.Add (this.tableShowClearSet); global::Gtk.Table.TableChild w90 = ((global::Gtk.Table.TableChild)(this.tableDataShowSet [this.tableShowClearSet])); w90.YOptions = ((global::Gtk.AttachOptions)(4)); this.alignmentClear.Add (this.tableDataShowSet); this.expanderDataShowSet.Add (this.alignmentClear); this.GtkLabelDataShowSet = new global::Gtk.Label (); this.GtkLabelDataShowSet.Name = "GtkLabelDataShowSet"; this.GtkLabelDataShowSet.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>数据显示</b>"); this.GtkLabelDataShowSet.UseMarkup = true; this.GtkLabelDataShowSet.UseUnderline = true; this.expanderDataShowSet.LabelWidget = this.GtkLabelDataShowSet; this.tableRight.Add (this.expanderDataShowSet); global::Gtk.Table.TableChild w93 = ((global::Gtk.Table.TableChild)(this.tableRight [this.expanderDataShowSet])); w93.TopAttach = ((uint)(1)); w93.BottomAttach = ((uint)(2)); w93.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableRight.Gtk.Table+TableChild this.hpanedRight = new global::Gtk.HPaned (); this.hpanedRight.CanFocus = true; this.hpanedRight.Name = "hpanedRight"; this.hpanedRight.Position = 247; // Container child hpanedRight.Gtk.Paned+PanedChild this.frameSendArea = new global::Gtk.Frame (); this.frameSendArea.Name = "frameSendArea"; this.frameSendArea.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frameSendArea.Gtk.Container+ContainerChild this.notebookSendArea = new global::Gtk.Notebook (); this.notebookSendArea.CanFocus = true; this.notebookSendArea.Name = "notebookSendArea"; this.notebookSendArea.CurrentPage = 0; // Container child notebookSendArea.Gtk.Notebook+NotebookChild this.hboxTextS = new global::Gtk.HBox (); this.hboxTextS.Name = "hboxTextS"; // Container child hboxTextS.Gtk.Box+BoxChild this.GtkScrolledWindowTextS = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowTextS.Name = "GtkScrolledWindowTextS"; this.GtkScrolledWindowTextS.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTextS.Gtk.Container+ContainerChild this.textviewTextS = new global::Gtk.TextView (); this.textviewTextS.CanFocus = true; this.textviewTextS.Name = "textviewTextS"; this.textviewTextS.Editable = false; this.textviewTextS.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowTextS.Add (this.textviewTextS); this.hboxTextS.Add (this.GtkScrolledWindowTextS); global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.hboxTextS [this.GtkScrolledWindowTextS])); w95.Position = 0; this.notebookSendArea.Add (this.hboxTextS); // Notebook tab this.labelSText = new global::Gtk.Label (); this.labelSText.Name = "labelSText"; this.labelSText.LabelProp = global::Mono.Unix.Catalog.GetString ("文本"); this.notebookSendArea.SetTabLabel (this.hboxTextS, this.labelSText); this.labelSText.ShowAll (); // Container child notebookSendArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowHexS = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowHexS.Name = "GtkScrolledWindowHexS"; this.GtkScrolledWindowHexS.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowHexS.Gtk.Container+ContainerChild this.textviewHexS = new global::Gtk.TextView (); this.textviewHexS.CanFocus = true; this.textviewHexS.Name = "textviewHexS"; this.textviewHexS.Editable = false; this.textviewHexS.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowHexS.Add (this.textviewHexS); this.notebookSendArea.Add (this.GtkScrolledWindowHexS); global::Gtk.Notebook.NotebookChild w98 = ((global::Gtk.Notebook.NotebookChild)(this.notebookSendArea [this.GtkScrolledWindowHexS])); w98.Position = 1; // Notebook tab this.labelSHex = new global::Gtk.Label (); this.labelSHex.Name = "labelSHex"; this.labelSHex.LabelProp = global::Mono.Unix.Catalog.GetString ("十六进制"); this.notebookSendArea.SetTabLabel (this.GtkScrolledWindowHexS, this.labelSHex); this.labelSHex.ShowAll (); // Container child notebookSendArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowDecS = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowDecS.Name = "GtkScrolledWindowDecS"; this.GtkScrolledWindowDecS.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowDecS.Gtk.Container+ContainerChild this.textviewDecS = new global::Gtk.TextView (); this.textviewDecS.CanFocus = true; this.textviewDecS.Name = "textviewDecS"; this.textviewDecS.Editable = false; this.textviewDecS.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowDecS.Add (this.textviewDecS); this.notebookSendArea.Add (this.GtkScrolledWindowDecS); global::Gtk.Notebook.NotebookChild w100 = ((global::Gtk.Notebook.NotebookChild)(this.notebookSendArea [this.GtkScrolledWindowDecS])); w100.Position = 2; // Notebook tab this.labelSDex = new global::Gtk.Label (); this.labelSDex.Name = "labelSDex"; this.labelSDex.LabelProp = global::Mono.Unix.Catalog.GetString ("十进制"); this.notebookSendArea.SetTabLabel (this.GtkScrolledWindowDecS, this.labelSDex); this.labelSDex.ShowAll (); this.frameSendArea.Add (this.notebookSendArea); this.GtkLabelSendArea = new global::Gtk.Label (); this.GtkLabelSendArea.Name = "GtkLabelSendArea"; this.GtkLabelSendArea.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>已发送的数据</b>"); this.GtkLabelSendArea.UseMarkup = true; this.frameSendArea.LabelWidget = this.GtkLabelSendArea; this.hpanedRight.Add (this.frameSendArea); global::Gtk.Paned.PanedChild w102 = ((global::Gtk.Paned.PanedChild)(this.hpanedRight [this.frameSendArea])); w102.Resize = false; // Container child hpanedRight.Gtk.Paned+PanedChild this.frameReceiveArea = new global::Gtk.Frame (); this.frameReceiveArea.Name = "frameReceiveArea"; this.frameReceiveArea.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frameReceiveArea.Gtk.Container+ContainerChild this.notebookReceiveArea = new global::Gtk.Notebook (); this.notebookReceiveArea.CanFocus = true; this.notebookReceiveArea.Name = "notebookReceiveArea"; this.notebookReceiveArea.CurrentPage = 0; // Container child notebookReceiveArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowText = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowText.Name = "GtkScrolledWindowText"; this.GtkScrolledWindowText.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowText.Gtk.Container+ContainerChild this.textviewText = new global::Gtk.TextView (); this.textviewText.CanFocus = true; this.textviewText.Name = "textviewText"; this.textviewText.Editable = false; this.textviewText.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowText.Add (this.textviewText); this.notebookReceiveArea.Add (this.GtkScrolledWindowText); // Notebook tab this.labelRText = new global::Gtk.Label (); this.labelRText.Name = "labelRText"; this.labelRText.LabelProp = global::Mono.Unix.Catalog.GetString ("文本"); this.notebookReceiveArea.SetTabLabel (this.GtkScrolledWindowText, this.labelRText); this.labelRText.ShowAll (); // Container child notebookReceiveArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowHex = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowHex.Name = "GtkScrolledWindowHex"; this.GtkScrolledWindowHex.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowHex.Gtk.Container+ContainerChild this.textviewHex = new global::Gtk.TextView (); this.textviewHex.CanFocus = true; this.textviewHex.Name = "textviewHex"; this.textviewHex.Editable = false; this.textviewHex.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowHex.Add (this.textviewHex); this.notebookReceiveArea.Add (this.GtkScrolledWindowHex); global::Gtk.Notebook.NotebookChild w106 = ((global::Gtk.Notebook.NotebookChild)(this.notebookReceiveArea [this.GtkScrolledWindowHex])); w106.Position = 1; // Notebook tab this.labelRHex = new global::Gtk.Label (); this.labelRHex.Name = "labelRHex"; this.labelRHex.LabelProp = global::Mono.Unix.Catalog.GetString ("十六进制"); this.notebookReceiveArea.SetTabLabel (this.GtkScrolledWindowHex, this.labelRHex); this.labelRHex.ShowAll (); // Container child notebookReceiveArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowDec = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowDec.Name = "GtkScrolledWindowDec"; this.GtkScrolledWindowDec.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowDec.Gtk.Container+ContainerChild this.textviewDec = new global::Gtk.TextView (); this.textviewDec.CanFocus = true; this.textviewDec.Name = "textviewDec"; this.textviewDec.Editable = false; this.textviewDec.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowDec.Add (this.textviewDec); this.notebookReceiveArea.Add (this.GtkScrolledWindowDec); global::Gtk.Notebook.NotebookChild w108 = ((global::Gtk.Notebook.NotebookChild)(this.notebookReceiveArea [this.GtkScrolledWindowDec])); w108.Position = 2; // Notebook tab this.labelRDec = new global::Gtk.Label (); this.labelRDec.Name = "labelRDec"; this.labelRDec.LabelProp = global::Mono.Unix.Catalog.GetString ("十进制"); this.notebookReceiveArea.SetTabLabel (this.GtkScrolledWindowDec, this.labelRDec); this.labelRDec.ShowAll (); this.frameReceiveArea.Add (this.notebookReceiveArea); this.GtkLabelR = new global::Gtk.Label (); this.GtkLabelR.Name = "GtkLabelR"; this.GtkLabelR.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>接收到的数据</b>"); this.GtkLabelR.UseMarkup = true; this.frameReceiveArea.LabelWidget = this.GtkLabelR; this.hpanedRight.Add (this.frameReceiveArea); this.tableRight.Add (this.hpanedRight); global::Gtk.Table.TableChild w111 = ((global::Gtk.Table.TableChild)(this.tableRight [this.hpanedRight])); w111.XOptions = ((global::Gtk.AttachOptions)(4)); this.hpanedMain.Add (this.tableRight); this.tableMain.Add (this.hpanedMain); global::Gtk.Table.TableChild w113 = ((global::Gtk.Table.TableChild)(this.tableMain [this.hpanedMain])); w113.TopAttach = ((uint)(1)); w113.BottomAttach = ((uint)(2)); w113.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.UIManager.AddUiFromString ("<ui><menubar name='menubarMain'><menu name='FAction' action='FAction'><menuitem name='quitAction' action='quitAction'/></menu><menu name='EAction' action='EAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='TAction' action='TAction'><menu name='AAction' action='AAction'><menuitem name='GAction' action='GAction'/></menu></menu><menu name='HAction' action='HAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubarMain = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubarMain"))); this.menubarMain.Name = "menubarMain"; this.tableMain.Add (this.menubarMain); global::Gtk.Table.TableChild w114 = ((global::Gtk.Table.TableChild)(this.tableMain [this.menubarMain])); w114.XOptions = ((global::Gtk.AttachOptions)(4)); w114.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.statusbarMain = new global::Gtk.Statusbar (); this.statusbarMain.Name = "statusbarMain"; this.statusbarMain.Spacing = 6; // Container child statusbarMain.Gtk.Box+BoxChild this.labelPortStatus = new global::Gtk.Label (); this.labelPortStatus.Name = "labelPortStatus"; this.labelPortStatus.Xalign = 0F; this.labelPortStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("串口关"); this.statusbarMain.Add (this.labelPortStatus); global::Gtk.Box.BoxChild w115 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelPortStatus])); w115.Position = 0; w115.Expand = false; w115.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.vseparatorStatus_1 = new global::Gtk.VSeparator (); this.vseparatorStatus_1.Name = "vseparatorStatus_1"; this.statusbarMain.Add (this.vseparatorStatus_1); global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.vseparatorStatus_1])); w116.Position = 1; w116.Expand = false; w116.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.labelRx = new global::Gtk.Label (); this.labelRx.Name = "labelRx"; this.labelRx.Xalign = 0F; this.labelRx.LabelProp = global::Mono.Unix.Catalog.GetString ("Rx"); this.statusbarMain.Add (this.labelRx); global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelRx])); w117.Position = 2; w117.Expand = false; w117.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.labelRxStatus = new global::Gtk.Label (); this.labelRxStatus.Name = "labelRxStatus"; this.labelRxStatus.Xalign = 0F; this.labelRxStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.labelRxStatus.Selectable = true; this.statusbarMain.Add (this.labelRxStatus); global::Gtk.Box.BoxChild w118 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelRxStatus])); w118.Position = 3; w118.Expand = false; w118.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.vseparatorStatus_2 = new global::Gtk.VSeparator (); this.vseparatorStatus_2.Name = "vseparatorStatus_2"; this.statusbarMain.Add (this.vseparatorStatus_2); global::Gtk.Box.BoxChild w119 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.vseparatorStatus_2])); w119.Position = 4; w119.Expand = false; w119.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.labelTx = new global::Gtk.Label (); this.labelTx.Name = "labelTx"; this.labelTx.Xalign = 0F; this.labelTx.LabelProp = global::Mono.Unix.Catalog.GetString ("Tx"); this.statusbarMain.Add (this.labelTx); global::Gtk.Box.BoxChild w120 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelTx])); w120.Position = 5; w120.Expand = false; w120.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.labelTxStatus = new global::Gtk.Label (); this.labelTxStatus.Name = "labelTxStatus"; this.labelTxStatus.Xalign = 0F; this.labelTxStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.labelTxStatus.Selectable = true; this.statusbarMain.Add (this.labelTxStatus); global::Gtk.Box.BoxChild w121 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelTxStatus])); w121.Position = 6; w121.Expand = false; w121.Fill = false; this.tableMain.Add (this.statusbarMain); global::Gtk.Table.TableChild w122 = ((global::Gtk.Table.TableChild)(this.tableMain [this.statusbarMain])); w122.TopAttach = ((uint)(2)); w122.BottomAttach = ((uint)(3)); w122.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.tableMain); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 800; this.DefaultHeight = 510; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.GAction.Activated += new global::System.EventHandler (this.OnNumericalModelingActionActivated); this.comboboxentryPortName.Changed += new global::System.EventHandler (this.OnComboboxentryPortNameChanged); this.comboboxentryBaudRate.Changed += new global::System.EventHandler (this.OnComboboxentryBaudRateChanged); this.comboboxStopBits.Changed += new global::System.EventHandler (this.OnComboboxStopBitsChanged); this.comboboxPatity.Changed += new global::System.EventHandler (this.OnComboboxPatityChanged); this.spinbuttonDataBits.Changed += new global::System.EventHandler (this.OnSpinbuttonDataBitsChanged); this.togglebuttonPortSwitch.Clicked += new global::System.EventHandler (this.OntogglebuttonPortSwitchClicked); this.radiobuttonText.GroupChanged += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.radiobuttonText.Clicked += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.radiobuttonHex.GroupChanged += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.radiobuttonHex.Clicked += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.radiobuttonDec.Clicked += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.buttonSend.Clicked += new global::System.EventHandler (this.OnButtonSendClicked); this.textviewSend.Backspace += new global::System.EventHandler (this.OnTextviewSendBackspace); this.spinbuttonInterval.ValueChanged += new global::System.EventHandler (this.OnSpinbuttonIntervalValueChanged); this.checkbuttonAutoSend.Clicked += new global::System.EventHandler (this.OnCheckbuttonAutoSendClicked); this.buttonClearSendContents.Clicked += new global::System.EventHandler (this.OnButtonClearSendContentsClicked); this.buttonClearSendArea.Clicked += new global::System.EventHandler (this.OnButtonClearSendAreaClicked); this.buttonClearReceiveArea.Clicked += new global::System.EventHandler (this.OnButtonClearReceiveAreaClicked); this.buttonClearAll.Clicked += new global::System.EventHandler (this.OnButtonClearAllClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget Banshee.Renamer.RenamerWindow this.Name = "Banshee.Renamer.RenamerWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Renamer"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Banshee.Renamer.RenamerWindow.Gtk.Container+ContainerChild this.vboxMain = new global::Gtk.VBox (); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.framePattern = new global::Gtk.Frame (); this.framePattern.Name = "framePattern"; this.framePattern.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child framePattern.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; // Container child GtkAlignment2.Gtk.Container+ContainerChild this.tlayoutPattern = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false); this.tlayoutPattern.Name = "tlayoutPattern"; this.tlayoutPattern.RowSpacing = ((uint)(6)); this.tlayoutPattern.ColumnSpacing = ((uint)(6)); // Container child tlayoutPattern.Gtk.Table+TableChild this.btnAdd = new global::Gtk.Button (); this.btnAdd.CanFocus = true; this.btnAdd.Name = "btnAdd"; this.btnAdd.UseUnderline = true; this.btnAdd.Label = global::Mono.Unix.Catalog.GetString ("_Add"); this.tlayoutPattern.Add (this.btnAdd); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.tlayoutPattern [this.btnAdd])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tlayoutPattern.Gtk.Table+TableChild this.btnDelete = new global::Gtk.Button (); this.btnDelete.CanFocus = true; this.btnDelete.Name = "btnDelete"; this.btnDelete.UseUnderline = true; this.btnDelete.Label = global::Mono.Unix.Catalog.GetString ("_Delete"); this.tlayoutPattern.Add (this.btnDelete); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tlayoutPattern [this.btnDelete])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tlayoutPattern.Gtk.Table+TableChild this.cbCompiler = global::Gtk.ComboBox.NewText (); this.cbCompiler.Name = "cbCompiler"; this.tlayoutPattern.Add (this.cbCompiler); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.tlayoutPattern [this.cbCompiler])); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tlayoutPattern.Gtk.Table+TableChild this.entryPattern = new global::Gtk.Entry (); this.entryPattern.CanFocus = true; this.entryPattern.Name = "entryPattern"; this.entryPattern.IsEditable = true; this.entryPattern.InvisibleChar = '•'; this.tlayoutPattern.Add (this.entryPattern); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tlayoutPattern [this.entryPattern])); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tlayoutPattern.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.tableStoredTemplates = new global::Gtk.NodeView (); this.tableStoredTemplates.CanFocus = true; this.tableStoredTemplates.Name = "tableStoredTemplates"; this.GtkScrolledWindow1.Add (this.tableStoredTemplates); this.tlayoutPattern.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tlayoutPattern [this.GtkScrolledWindow1])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child tlayoutPattern.Gtk.Table+TableChild this.lblStoredPatterns = new global::Gtk.Label (); this.lblStoredPatterns.Name = "lblStoredPatterns"; this.lblStoredPatterns.Xalign = 0F; this.lblStoredPatterns.Yalign = 1F; this.lblStoredPatterns.LabelProp = global::Mono.Unix.Catalog.GetString ("<i>Stored filename patterns:</i>"); this.lblStoredPatterns.UseMarkup = true; this.tlayoutPattern.Add (this.lblStoredPatterns); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tlayoutPattern [this.lblStoredPatterns])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment2.Add (this.tlayoutPattern); this.framePattern.Add (this.GtkAlignment2); this.lblPattern = new global::Gtk.Label (); this.lblPattern.Name = "lblPattern"; this.lblPattern.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Filename pattern:</b>"); this.lblPattern.UseMarkup = true; this.framePattern.LabelWidget = this.lblPattern; this.vboxMain.Add (this.framePattern); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.framePattern])); w10.Position = 0; // Container child vboxMain.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander (null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; // Container child expander2.Gtk.Container+ContainerChild this.scrlHelp = new global::Gtk.ScrolledWindow (); this.scrlHelp.HeightRequest = 150; this.scrlHelp.CanFocus = true; this.scrlHelp.Name = "scrlHelp"; this.scrlHelp.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrlHelp.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport (); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.lblHelp = new global::Gtk.Label (); this.lblHelp.Name = "lblHelp"; this.lblHelp.Xalign = 0F; this.lblHelp.Yalign = 0F; this.lblHelp.UseMarkup = true; this.lblHelp.Wrap = true; this.lblHelp.Selectable = true; w11.Add (this.lblHelp); this.scrlHelp.Add (w11); this.expander2.Add (this.scrlHelp); this.expanderHelp = new global::Gtk.Label (); this.expanderHelp.Name = "expanderHelp"; this.expanderHelp.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Help:</b>"); this.expanderHelp.UseMarkup = true; this.expanderHelp.UseUnderline = true; this.expander2.LabelWidget = this.expanderHelp; this.vboxMain.Add (this.expander2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.expander2])); w15.Position = 1; w15.Expand = false; // Container child vboxMain.Gtk.Box+BoxChild this.expanderMessages = new global::Gtk.Expander (null); this.expanderMessages.CanFocus = true; this.expanderMessages.Name = "expanderMessages"; this.expanderMessages.Expanded = true; // Container child expanderMessages.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.tvMessages = new global::Gtk.TextView (); this.tvMessages.CanFocus = true; this.tvMessages.Name = "tvMessages"; this.tvMessages.Editable = false; this.GtkScrolledWindow.Add (this.tvMessages); this.expanderMessages.Add (this.GtkScrolledWindow); this.GtkLabel5 = new global::Gtk.Label (); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Messages:</b>"); this.GtkLabel5.UseMarkup = true; this.GtkLabel5.UseUnderline = true; this.expanderMessages.LabelWidget = this.GtkLabel5; this.vboxMain.Add (this.expanderMessages); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.expanderMessages])); w18.Position = 2; // Container child vboxMain.Gtk.Box+BoxChild this.hlayoutButtons = new global::Gtk.HBox (); this.hlayoutButtons.Name = "hlayoutButtons"; this.hlayoutButtons.Spacing = 6; // Container child hlayoutButtons.Gtk.Box+BoxChild this.btnGenerate = new global::Gtk.Button (); this.btnGenerate.CanFocus = true; this.btnGenerate.Name = "btnGenerate"; this.btnGenerate.UseUnderline = true; this.btnGenerate.Label = global::Mono.Unix.Catalog.GetString ("_Generate filenames"); this.hlayoutButtons.Add (this.btnGenerate); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hlayoutButtons [this.btnGenerate])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hlayoutButtons.Gtk.Box+BoxChild this.btnDonate = new global::Gtk.Button (); this.btnDonate.CanFocus = true; this.btnDonate.Name = "btnDonate"; this.btnDonate.UseUnderline = true; this.btnDonate.FocusOnClick = false; this.btnDonate.Label = global::Mono.Unix.Catalog.GetString ("Donate? :)"); this.hlayoutButtons.Add (this.btnDonate); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hlayoutButtons [this.btnDonate])); w20.Position = 1; w20.Fill = false; // Container child hlayoutButtons.Gtk.Box+BoxChild this.btnRename = new global::Gtk.Button (); this.btnRename.CanFocus = true; this.btnRename.Name = "btnRename"; this.btnRename.UseUnderline = true; // Container child btnRename.Gtk.Container+ContainerChild global::Gtk.Alignment w21 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w22 = new global::Gtk.HBox (); w22.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w23 = new global::Gtk.Image (); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Menu); w22.Add (w23); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w25 = new global::Gtk.Label (); w25.LabelProp = global::Mono.Unix.Catalog.GetString ("_Rename"); w25.UseUnderline = true; w22.Add (w25); w21.Add (w22); this.btnRename.Add (w21); this.hlayoutButtons.Add (this.btnRename); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hlayoutButtons [this.btnRename])); w29.Position = 2; w29.Expand = false; w29.Fill = false; // Container child hlayoutButtons.Gtk.Box+BoxChild this.btnClose = new global::Gtk.Button (); this.btnClose.CanFocus = true; this.btnClose.Name = "btnClose"; this.btnClose.UseStock = true; this.btnClose.UseUnderline = true; this.btnClose.Label = "gtk-cancel"; this.hlayoutButtons.Add (this.btnClose); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hlayoutButtons [this.btnClose])); w30.Position = 3; w30.Expand = false; w30.Fill = false; this.vboxMain.Add (this.hlayoutButtons); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.hlayoutButtons])); w31.PackType = ((global::Gtk.PackType)(1)); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.Add (this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 742; this.DefaultHeight = 576; this.Show (); this.entryPattern.Changed += new global::System.EventHandler (this.OnPatternChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget DBusExplorer.InformationView global::Stetic.BinContainer.Attach (this); this.Name = "DBusExplorer.InformationView"; // Container child DBusExplorer.InformationView.Gtk.Container+ContainerChild this.expander2 = new global::Gtk.Expander (null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; this.expander2.Spacing = 2; this.expander2.BorderWidth = ((uint)(5)); // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(6)); // Container child vbox3.Gtk.Box+BoxChild this.alignment5 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment5.Name = "alignment5"; this.alignment5.LeftPadding = ((uint)(44)); this.alignment5.TopPadding = ((uint)(7)); this.alignment5.BottomPadding = ((uint)(8)); // Container child alignment5.Gtk.Container+ContainerChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.symbolImage = new global::Gtk.Image (); this.symbolImage.Name = "symbolImage"; this.hbox5.Add (this.symbolImage); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.symbolImage])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.alignment7 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment7.Name = "alignment7"; this.alignment7.LeftPadding = ((uint)(10)); // Container child alignment7.Gtk.Container+ContainerChild this.specstyleDecl = new global::Gtk.Label (); this.specstyleDecl.Name = "specstyleDecl"; this.specstyleDecl.UseMarkup = true; this.specstyleDecl.Selectable = true; this.alignment7.Add (this.specstyleDecl); this.hbox5.Add (this.alignment7); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.alignment7])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.alignment5.Add (this.hbox5); this.vbox3.Add (this.alignment5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.alignment5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.langsPh = new global::Gtk.Alignment (1f, 0.5f, 1f, 1f); this.langsPh.Name = "langsPh"; this.langsPh.LeftPadding = ((uint)(24)); this.langsPh.TopPadding = ((uint)(4)); this.langsPh.BottomPadding = ((uint)(7)); this.vbox3.Add (this.langsPh); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.langsPh])); w6.Position = 1; w6.Expand = false; this.expander2.Add (this.vbox3); this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 1; // Container child hbox7.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Informations on : </b>"); this.label6.UseMarkup = true; this.hbox7.Add (this.label6); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label6])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.informationLabel = new global::Gtk.Label (); this.informationLabel.Name = "informationLabel"; this.informationLabel.Selectable = true; this.hbox7.Add (this.informationLabel); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.informationLabel])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.expander2.LabelWidget = this.hbox7; this.Add (this.expander2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Postman"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("postman.mail.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.image2 = new global::Gtk.Image (); this.image2.Name = "image2"; this.image2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("postman.mail.png"); this.hbox4.Add (this.image2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.image2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Postman</b>\n<span color='gray'>(c) 2011 Joseph Lewis <[email protected]>\nGNU GPL V 2.0 | Icon from The Oxygen Team</span>"); this.label2.UseMarkup = true; this.hbox4.Add (this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox2.Add (this.hseparator1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame (); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.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.passlabel = new global::Gtk.Label (); this.passlabel.Name = "passlabel"; this.passlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Gmail Password:"******"passwordEntry"; this.passwordEntry.Text = global::Mono.Unix.Catalog.GetString ("password"); this.passwordEntry.IsEditable = true; this.passwordEntry.Visibility = false; this.passwordEntry.InvisibleChar = '•'; this.table2.Add (this.passwordEntry); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.passwordEntry])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.userEntry = new global::Gtk.Entry (); this.userEntry.CanFocus = true; this.userEntry.Name = "userEntry"; this.userEntry.Text = global::Mono.Unix.Catalog.GetString ("*****@*****.**"); this.userEntry.IsEditable = true; this.userEntry.InvisibleChar = '•'; this.table2.Add (this.userEntry); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.userEntry])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.userlabel = new global::Gtk.Label (); this.userlabel.Name = "userlabel"; this.userlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Gmail Username:"******"GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Account Information</b>"); this.GtkLabel3.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel3; this.vbox2.Add (this.frame3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator (); this.hseparator3.Name = "hseparator3"; this.vbox2.Add (this.hseparator3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator3])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox2.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.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 0.99F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.table3 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.email_entry = new global::Gtk.TextView (); this.email_entry.CanFocus = true; this.email_entry.Name = "email_entry"; this.email_entry.WrapMode = ((global::Gtk.WrapMode)(2)); this.email_entry.PixelsAboveLines = 5; this.GtkScrolledWindow.Add (this.email_entry); this.table3.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.GtkScrolledWindow])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); // Container child table3.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.body_text = new global::Gtk.TextView (); this.body_text.CanFocus = true; this.body_text.Name = "body_text"; this.body_text.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow1.Add (this.body_text); this.table3.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.GtkScrolledWindow1])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.attach_box = new global::Gtk.Entry (); this.attach_box.CanFocus = true; this.attach_box.Name = "attach_box"; this.attach_box.IsEditable = false; this.attach_box.InvisibleChar = '•'; this.hbox1.Add (this.attach_box); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.attach_box])); w17.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseStock = true; this.button1.UseUnderline = true; this.button1.Label = "gtk-add"; this.hbox1.Add (this.button1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button (); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseStock = true; this.button2.UseUnderline = true; this.button2.Label = "gtk-delete"; this.hbox1.Add (this.button2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button2])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.table3.Add (this.hbox1); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox1])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.htmlCheck = new global::Gtk.CheckButton (); this.htmlCheck.CanFocus = true; this.htmlCheck.Name = "htmlCheck"; this.htmlCheck.Label = global::Mono.Unix.Catalog.GetString ("Body Is HTML"); this.htmlCheck.DrawIndicator = true; this.htmlCheck.UseUnderline = true; this.table3.Add (this.htmlCheck); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.htmlCheck])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Attachment:"); this.table3.Add (this.label4); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("To:"); this.table3.Add (this.label5); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Subject:"); this.table3.Add (this.label6); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.label6])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Body:"); this.table3.Add (this.label7); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3 [this.label7])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.subject_entry = new global::Gtk.Entry (); this.subject_entry.CanFocus = true; this.subject_entry.Name = "subject_entry"; this.subject_entry.IsEditable = true; this.subject_entry.InvisibleChar = '•'; this.table3.Add (this.subject_entry); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3 [this.subject_entry])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment1.Add (this.table3); this.frame1.Add (this.GtkAlignment1); this.GtkLabel4 = new global::Gtk.Label (); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Message</b>"); this.GtkLabel4.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel4; this.vbox2.Add (this.frame1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1])); w29.Position = 4; // Container child vbox2.Gtk.Box+BoxChild this.email_expand = new global::Gtk.Expander (null); this.email_expand.HeightRequest = 0; this.email_expand.CanFocus = true; this.email_expand.Name = "email_expand"; // Container child email_expand.Gtk.Container+ContainerChild this.vbox9 = new global::Gtk.VBox (); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("I was unable to recognize these email addresses please fix them and re-enter them in the \"To:\" field."); this.vbox9.Add (this.label3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.label3])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox9.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.fix_email_entry = new global::Gtk.TextView (); this.fix_email_entry.CanFocus = true; this.fix_email_entry.Name = "fix_email_entry"; this.GtkScrolledWindow2.Add (this.fix_email_entry); this.vbox9.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.GtkScrolledWindow2])); w32.Position = 1; this.email_expand.Add (this.vbox9); this.GtkLabel7 = new global::Gtk.Label (); this.GtkLabel7.Name = "GtkLabel7"; this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Email Fix</b>"); this.GtkLabel7.UseMarkup = true; this.GtkLabel7.UseUnderline = true; this.email_expand.LabelWidget = this.GtkLabel7; this.vbox2.Add (this.email_expand); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.email_expand])); w34.Position = 5; w34.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox (); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<span color='red'>Do not quit the program before all messages have been sent.</span>\nUpon pressing send, the message above will be sent to each person in the to field individually."); this.label1.UseMarkup = true; this.label1.Justify = ((global::Gtk.Justification)(2)); this.vbox8.Add (this.label1); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label1])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.message_progress = new global::Gtk.ProgressBar (); this.message_progress.Name = "message_progress"; this.hbox3.Add (this.message_progress); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.message_progress])); w36.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.sendbtn = new global::Gtk.Button (); this.sendbtn.CanFocus = true; this.sendbtn.Name = "sendbtn"; this.sendbtn.UseUnderline = true; // Container child sendbtn.Gtk.Container+ContainerChild global::Gtk.Alignment w37 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w38 = new global::Gtk.HBox (); w38.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w39 = new global::Gtk.Image (); w39.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu); w38.Add (w39); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w41 = new global::Gtk.Label (); w41.LabelProp = global::Mono.Unix.Catalog.GetString ("Send"); w41.UseUnderline = true; w38.Add (w41); w37.Add (w38); this.sendbtn.Add (w37); this.hbox3.Add (this.sendbtn); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.sendbtn])); w45.Position = 1; w45.Expand = false; w45.Fill = false; this.vbox8.Add (this.hbox3); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox3])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.frame2.Add (this.vbox8); this.GtkLabel6 = new global::Gtk.Label (); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Send</b>"); this.GtkLabel6.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel6; this.vbox2.Add (this.frame2); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame2])); w48.PackType = ((global::Gtk.PackType)(1)); w48.Position = 6; w48.Expand = false; w48.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 724; this.DefaultHeight = 616; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button1.Pressed += new global::System.EventHandler (this.add_attachment); this.button2.Pressed += new global::System.EventHandler (this.del_attachment); this.body_text.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.leave_body); this.email_entry.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.leave_to); this.sendbtn.Released += new global::System.EventHandler (this.send_mail_event); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LiteStatus.MainWindow this.Name = "LiteStatus.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child LiteStatus.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.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.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Api key:"); this.hbox4.Add (this.label7); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label7])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.apiEntry = new global::Gtk.Entry (); this.apiEntry.CanFocus = true; this.apiEntry.Name = "apiEntry"; this.apiEntry.IsEditable = true; this.apiEntry.InvisibleChar = '●'; this.hbox4.Add (this.apiEntry); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.apiEntry])); w2.Position = 1; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("ID:"); this.hbox5.Add (this.label8); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label8])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.idEntry = new global::Gtk.Entry (); this.idEntry.CanFocus = true; this.idEntry.Name = "idEntry"; this.idEntry.IsEditable = true; this.idEntry.InvisibleChar = '●'; this.hbox5.Add (this.idEntry); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.idEntry])); w5.Position = 1; this.vbox3.Add (this.hbox5); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox5])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.timerBtn = new global::Gtk.Button (); this.timerBtn.CanFocus = true; this.timerBtn.Name = "timerBtn"; this.timerBtn.UseUnderline = true; this.timerBtn.Label = global::Mono.Unix.Catalog.GetString ("Start"); this.vbox3.Add (this.timerBtn); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.timerBtn])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.vbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.balanceConfirmedhbox = new global::Gtk.HBox (); this.balanceConfirmedhbox.Name = "balanceConfirmedhbox"; this.balanceConfirmedhbox.Spacing = 6; // Container child balanceConfirmedhbox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Confirmed:"); this.balanceConfirmedhbox.Add (this.label1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.balanceConfirmedhbox [this.label1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child balanceConfirmedhbox.Gtk.Box+BoxChild this.confirmedLabel = new global::Gtk.Label (); this.confirmedLabel.Name = "confirmedLabel"; this.confirmedLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.balanceConfirmedhbox.Add (this.confirmedLabel); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.balanceConfirmedhbox [this.confirmedLabel])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child balanceConfirmedhbox.Gtk.Box+BoxChild this.confirmedDiffLabel = new global::Gtk.Label (); this.confirmedDiffLabel.Name = "confirmedDiffLabel"; this.confirmedDiffLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.balanceConfirmedhbox.Add (this.confirmedDiffLabel); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.balanceConfirmedhbox [this.confirmedDiffLabel])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.vbox2.Add (this.balanceConfirmedhbox); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.balanceConfirmedhbox])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.balanceUnconfirmedhbox = new global::Gtk.HBox (); this.balanceUnconfirmedhbox.Name = "balanceUnconfirmedhbox"; this.balanceUnconfirmedhbox.Spacing = 6; // Container child balanceUnconfirmedhbox.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Unconfirmed:"); this.balanceUnconfirmedhbox.Add (this.label3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.balanceUnconfirmedhbox [this.label3])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child balanceUnconfirmedhbox.Gtk.Box+BoxChild this.unconfirmedLabel = new global::Gtk.Label (); this.unconfirmedLabel.Name = "unconfirmedLabel"; this.unconfirmedLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.balanceUnconfirmedhbox.Add (this.unconfirmedLabel); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.balanceUnconfirmedhbox [this.unconfirmedLabel])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.vbox2.Add (this.balanceUnconfirmedhbox); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.balanceUnconfirmedhbox])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.balanceOrphanedhbox = new global::Gtk.HBox (); this.balanceOrphanedhbox.Name = "balanceOrphanedhbox"; this.balanceOrphanedhbox.Spacing = 6; // Container child balanceOrphanedhbox.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Orphaned:"); this.balanceOrphanedhbox.Add (this.label4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.balanceOrphanedhbox [this.label4])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child balanceOrphanedhbox.Gtk.Box+BoxChild this.orphanedLabel = new global::Gtk.Label (); this.orphanedLabel.Name = "orphanedLabel"; this.orphanedLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.balanceOrphanedhbox.Add (this.orphanedLabel); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.balanceOrphanedhbox [this.orphanedLabel])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.vbox2.Add (this.balanceOrphanedhbox); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.balanceOrphanedhbox])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.expander1.Add (this.vbox2); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Balance"); this.GtkLabel1.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel1; this.vbox1.Add (this.expander1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expander1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.timerBtn.Clicked += new global::System.EventHandler (this.OnFetchBtnClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Mono.Addins.Gui.ErrorDialog this.Name = "Mono.Addins.Gui.ErrorDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Error"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.BorderWidth = ((uint)(6)); // Internal child Mono.Addins.Gui.ErrorDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox5"; w1.Spacing = 6; // Container child dialog-vbox5.Gtk.Box+BoxChild this.hbox59 = new global::Gtk.HBox (); this.hbox59.Name = "hbox59"; this.hbox59.Spacing = 6; this.hbox59.BorderWidth = ((uint)(6)); // Container child hbox59.Gtk.Box+BoxChild this.vbox72 = new global::Gtk.VBox (); this.vbox72.Name = "vbox72"; // Container child vbox72.Gtk.Box+BoxChild this.icon = new global::Gtk.Image (); this.icon.Name = "icon"; this.icon.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.vbox72.Add (this.icon); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox72[this.icon])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.hbox59.Add (this.vbox72); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.vbox72])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox59.Gtk.Box+BoxChild this.vbox73 = new global::Gtk.VBox (); this.vbox73.Name = "vbox73"; this.vbox73.Spacing = 12; // Container child vbox73.Gtk.Box+BoxChild this.descriptionLabel = new global::Gtk.Label (); this.descriptionLabel.WidthRequest = 540; this.descriptionLabel.CanFocus = true; this.descriptionLabel.Name = "descriptionLabel"; this.descriptionLabel.Xalign = 0f; this.descriptionLabel.LabelProp = "An exception has been thrown 1 2 3 4 5 6 7 8 9 10 11 12 13 14"; this.descriptionLabel.Wrap = true; this.descriptionLabel.Selectable = true; this.vbox73.Add (this.descriptionLabel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox73[this.descriptionLabel])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox73.Gtk.Box+BoxChild this.expander = new global::Gtk.Expander (null); this.expander.CanFocus = true; this.expander.Name = "expander"; // Container child expander.Gtk.Container+ContainerChild this.scrolledwindow10 = new global::Gtk.ScrolledWindow (); this.scrolledwindow10.CanFocus = true; this.scrolledwindow10.Name = "scrolledwindow10"; this.scrolledwindow10.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow10.Gtk.Container+ContainerChild this.detailsTextView = new global::Gtk.TextView (); this.detailsTextView.HeightRequest = 250; this.detailsTextView.CanFocus = true; this.detailsTextView.Name = "detailsTextView"; this.detailsTextView.PixelsAboveLines = 2; this.detailsTextView.PixelsBelowLines = 2; this.detailsTextView.LeftMargin = 6; this.detailsTextView.RightMargin = 6; this.scrolledwindow10.Add (this.detailsTextView); this.expander.Add (this.scrolledwindow10); this.label102 = new global::Gtk.Label (); this.label102.Name = "label102"; this.label102.LabelProp = global::Mono.Unix.Catalog.GetString ("Details"); this.expander.LabelWidget = this.label102; this.vbox73.Add (this.expander); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox73[this.expander])); w7.Position = 1; this.hbox59.Add (this.vbox73); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.vbox73])); w8.Position = 1; w1.Add (this.hbox59); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1[this.hbox59])); w9.Position = 0; // Internal child Mono.Addins.Gui.ErrorDialog.ActionArea global::Gtk.HButtonBox w10 = this.ActionArea; w10.Name = "dialog-action_area5"; w10.Spacing = 10; w10.BorderWidth = ((uint)(5)); w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area5.Gtk.ButtonBox+ButtonBoxChild this.okButton = new global::Gtk.Button (); this.okButton.CanDefault = true; this.okButton.CanFocus = true; this.okButton.Name = "okButton"; this.okButton.UseStock = true; this.okButton.UseUnderline = true; this.okButton.Label = "gtk-ok"; this.AddActionWidget (this.okButton, -5); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.okButton])); w11.Expand = false; w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 632; this.DefaultHeight = 155; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.DateiAction = new global::Gtk.Action("DateiAction", global::Mono.Unix.Catalog.GetString("Datei"), null, null); this.DateiAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Datei"); w1.Add(this.DateiAction, null); this.newAction = new global::Gtk.Action("newAction", global::Mono.Unix.Catalog.GetString("Neu"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Neu"); w1.Add(this.newAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Öffnen"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Öffnen"); w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Speichern"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Speichern"); w1.Add(this.saveAction, null); this.saveAsAction = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Speichern unter"), null, "gtk-save-as"); this.saveAsAction.HideIfEmpty = false; this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Speichern unter"); w1.Add(this.saveAsAction, "<Primary><Alt>s"); this.closeAction = new global::Gtk.Action("closeAction", global::Mono.Unix.Catalog.GetString("Schließen"), null, "gtk-close"); this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Schließen"); w1.Add(this.closeAction, "<Primary>e"); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Beenden"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Beenden"); w1.Add(this.quitAction, null); this.BearbeitenAction = new global::Gtk.Action("BearbeitenAction", global::Mono.Unix.Catalog.GetString("Bearbeiten"), null, null); this.BearbeitenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Bearbeiten"); w1.Add(this.BearbeitenAction, null); this.SaveRegex = new global::Gtk.Action("SaveRegex", null, null, "gtk-save"); this.SaveRegex.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.SaveRegex, null); this.CloseRegex = new global::Gtk.Action("CloseRegex", null, null, "gtk-close"); this.CloseRegex.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseRegex, null); this.SaveRegexOtherFileName = new global::Gtk.Action("SaveRegexOtherFileName", null, null, "gtk-save-as"); this.SaveRegexOtherFileName.ShortLabel = global::Mono.Unix.Catalog.GetString("Save as"); w1.Add(this.SaveRegexOtherFileName, null); this.newAction1 = new global::Gtk.Action("newAction1", null, null, "gtk-new"); this.newAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Neu"); w1.Add(this.newAction1, null); this.OpenRegex = new global::Gtk.Action("OpenRegex", null, null, "gtk-open"); this.OpenRegex.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.OpenRegex, null); this.undoAction = new global::Gtk.Action("undoAction", null, null, "gtk-undo"); this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo"); w1.Add(this.undoAction, null); this.redoAction = new global::Gtk.Action("redoAction", null, null, "gtk-redo"); this.redoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo"); w1.Add(this.redoAction, null); this.cutAction = new global::Gtk.Action("cutAction", null, null, "gtk-cut"); this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cut"); w1.Add(this.cutAction, null); this.copyAction = new global::Gtk.Action("copyAction", null, null, "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy"); w1.Add(this.copyAction, null); this.pasteAction = new global::Gtk.Action("pasteAction", null, null, "gtk-paste"); this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Paste"); w1.Add(this.pasteAction, null); this.Execute = new global::Gtk.Action("Execute", global::Mono.Unix.Catalog.GetString("Ausführen"), null, "gtk-media-play"); this.Execute.ShortLabel = global::Mono.Unix.Catalog.GetString("Ausführen"); w1.Add(this.Execute, null); this.clearAction = new global::Gtk.Action("clearAction", null, null, "gtk-clear"); this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Clear"); w1.Add(this.clearAction, null); this.Library = new global::Gtk.Action("Library", global::Mono.Unix.Catalog.GetString("Bibliothek"), null, "gtk-select-all"); this.Library.ShortLabel = global::Mono.Unix.Catalog.GetString("Library"); w1.Add(this.Library, null); this.separatorAction = new global::Gtk.Action("separatorAction", null, null, "gtk-separator"); w1.Add(this.separatorAction, null); this.undoAction1 = new global::Gtk.Action("undoAction1", global::Mono.Unix.Catalog.GetString("Rückgängig"), null, "gtk-undo"); this.undoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Undo"); w1.Add(this.undoAction1, "<Primary>z"); this.redoAction1 = new global::Gtk.Action("redoAction1", global::Mono.Unix.Catalog.GetString("Wiederholen"), null, "gtk-redo"); this.redoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Redo"); w1.Add(this.redoAction1, "<Primary>w"); this.cutAction1 = new global::Gtk.Action("cutAction1", global::Mono.Unix.Catalog.GetString("Ausschneiden"), null, "gtk-cut"); this.cutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Cu_t"); w1.Add(this.cutAction1, null); this.copyAction1 = new global::Gtk.Action("copyAction1", global::Mono.Unix.Catalog.GetString("Kopieren"), null, "gtk-copy"); this.copyAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Copy"); w1.Add(this.copyAction1, null); this.pasteAction1 = new global::Gtk.Action("pasteAction1", global::Mono.Unix.Catalog.GetString("Einfügen"), null, "gtk-paste"); this.pasteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste"); w1.Add(this.pasteAction1, null); this.RegexAction = new global::Gtk.Action("RegexAction", global::Mono.Unix.Catalog.GetString("Regex"), null, null); this.RegexAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Regex"); w1.Add(this.RegexAction, null); this.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", global::Mono.Unix.Catalog.GetString("RunParser"), null, "gtk-media-play"); this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("RunParser"); w1.Add(this.mediaPlayAction, "<Primary>space"); this.ExtrasAction = new global::Gtk.Action("ExtrasAction", global::Mono.Unix.Catalog.GetString("Extras"), null, null); this.ExtrasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Extras"); w1.Add(this.ExtrasAction, null); this.propertiesAction = new global::Gtk.Action("propertiesAction", global::Mono.Unix.Catalog.GetString("_Properties"), null, "gtk-properties"); this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Properties"); w1.Add(this.propertiesAction, null); this.HilfeAction = new global::Gtk.Action("HilfeAction", global::Mono.Unix.Catalog.GetString("Hilfe"), null, null); this.HilfeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hilfe"); w1.Add(this.HilfeAction, null); this.cancelAction = new global::Gtk.Action("cancelAction", global::Mono.Unix.Catalog.GetString("Fehler melden"), null, "gtk-cancel"); this.cancelAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fehler melden"); w1.Add(this.cancelAction, "<Primary>b"); this.aboutAction = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("Info"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.aboutAction, "<Primary>i"); this.preferencesAction = new global::Gtk.Action("preferencesAction", global::Mono.Unix.Catalog.GetString("Einstellungen"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Properties"); w1.Add(this.preferencesAction, "<Primary>p"); this.selectAllAction = new global::Gtk.Action("selectAllAction", global::Mono.Unix.Catalog.GetString("LibraryMenu"), null, "gtk-select-all"); this.selectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString("LibraryMenu"); w1.Add(this.selectAllAction, "<Primary>l"); this.spellCheckAction = new global::Gtk.Action("spellCheckAction", global::Mono.Unix.Catalog.GetString("_Spell Check"), null, "gtk-spell-check"); this.spellCheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Spell Check"); w1.Add(this.spellCheckAction, null); this.aboutAction1 = new global::Gtk.Action("aboutAction1", global::Mono.Unix.Catalog.GetString("Info"), null, "gtk-about"); this.aboutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Info"); w1.Add(this.aboutAction1, null); this.ExportAction = new global::Gtk.Action("ExportAction", global::Mono.Unix.Catalog.GetString("Export"), null, null); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export"); w1.Add(this.ExportAction, null); this.Action = new global::Gtk.Action("Action", null, null, null); w1.Add(this.Action, null); this.convertAction = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("Exportieren"), null, "gtk-convert"); this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportieren"); w1.Add(this.convertAction, null); this.NurTextTxtAction = new global::Gtk.Action("NurTextTxtAction", global::Mono.Unix.Catalog.GetString("Nur Text (*.txt)"), null, null); this.NurTextTxtAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Nur Text (*.txt)"); w1.Add(this.NurTextTxtAction, "<Primary><Alt>t"); this.HypertextHtmlAction = new global::Gtk.Action("HypertextHtmlAction", global::Mono.Unix.Catalog.GetString("Hypertext (*.html)"), null, null); this.HypertextHtmlAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hypertext (*.html)"); w1.Add(this.HypertextHtmlAction, "<Primary><Alt>h"); this.KommaGetrenntCsvAction = new global::Gtk.Action("KommaGetrenntCsvAction", global::Mono.Unix.Catalog.GetString("Komma - getrennt (*.csv)"), null, null); this.KommaGetrenntCsvAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Komma - getrennt (*.csv)"); w1.Add(this.KommaGetrenntCsvAction, "<Primary><Alt>c"); this.preferencesAction1 = new global::Gtk.Action("preferencesAction1", null, null, "gtk-preferences"); this.preferencesAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Preferences"); w1.Add(this.preferencesAction1, null); this.berDieseVersionAction = new global::Gtk.Action("berDieseVersionAction", global::Mono.Unix.Catalog.GetString("Über diese Version"), null, null); this.berDieseVersionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Über diese Version"); w1.Add(this.berDieseVersionAction, null); this.dialogQuestionAction = new global::Gtk.Action("dialogQuestionAction", global::Mono.Unix.Catalog.GetString("Über diese Version"), null, "gtk-dialog-question"); this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Über diese Version"); w1.Add(this.dialogQuestionAction, "<Primary>y"); this.connectAction = new global::Gtk.Action("connectAction", global::Mono.Unix.Catalog.GetString("Web"), null, "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Web"); w1.Add(this.connectAction, "<Primary><Alt>i"); this.clearAction1 = new global::Gtk.Action("clearAction1", global::Mono.Unix.Catalog.GetString("Leeren"), null, "gtk-clear"); this.clearAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Leeren"); w1.Add(this.clearAction1, "<Primary><Alt><Mod4><Super>c"); this.saveAsAction2 = new global::Gtk.Action("saveAsAction2", global::Mono.Unix.Catalog.GetString("Kopie speichern unter"), null, "gtk-save-as"); this.saveAsAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Kopie speichern unter"); w1.Add(this.saveAsAction2, "<Primary>k"); this.printAction = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("Drucken"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drucken"); w1.Add(this.printAction, null); this.selectFontAction = new global::Gtk.Action("selectFontAction", global::Mono.Unix.Catalog.GetString("Tastenkombinationen"), null, "gtk-select-font"); this.selectFontAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tastenkombinationen"); w1.Add(this.selectFontAction, "<Primary><Alt>k"); this.restore = new global::Gtk.Action("restore", global::Mono.Unix.Catalog.GetString("Ausdrücke wiederherstellen"), null, "gtk-undelete"); this.restore.ShortLabel = global::Mono.Unix.Catalog.GetString("Ausdrücke wiederherstellen"); w1.Add(this.restore, "<Primary><Alt>u"); this.homeAction = new global::Gtk.Action("homeAction", global::Mono.Unix.Catalog.GetString("Start"), null, "gtk-home"); this.homeAction.Sensitive = false; this.homeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Willkommensseite"); w1.Add(this.homeAction, null); this.mediaPlayAction1 = new global::Gtk.Action("mediaPlayAction1", global::Mono.Unix.Catalog.GetString("Run"), null, "gtk-media-play"); this.mediaPlayAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Run"); w1.Add(this.mediaPlayAction1, "<Primary>space"); this.quitAction1 = new global::Gtk.Action("quitAction1", global::Mono.Unix.Catalog.GetString("Beenden"), null, "gtk-quit"); this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Beenden"); w1.Add(this.quitAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("Terminus.bin.Debug.Boot.Images.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(2)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='DateiAction' action='DateiAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><menuitem name='saveAsAction2' action='saveAsAction2'/><menuitem name='closeAction' action='closeAction'/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='BearbeitenAction' action='BearbeitenAction'><menuitem name='undoAction1' action='undoAction1'/><menuitem name='redoAction1' action='redoAction1'/><menuitem name='cutAction1' action='cutAction1'/><menuitem name='copyAction1' action='copyAction1'/><menuitem name='pasteAction1' action='pasteAction1'/><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='RegexAction' action='RegexAction'><menuitem name='mediaPlayAction1' action='mediaPlayAction1'/><menu name='convertAction' action='convertAction'><menuitem name='NurTextTxtAction' action='NurTextTxtAction'/><menuitem name='HypertextHtmlAction' action='HypertextHtmlAction'/><menuitem name='KommaGetrenntCsvAction' action='KommaGetrenntCsvAction'/></menu><menuitem name='clearAction1' action='clearAction1'/></menu><menu name='ExtrasAction' action='ExtrasAction'><menuitem name='selectAllAction' action='selectAllAction'/><menuitem name='restore' action='restore'/></menu><menu name='HilfeAction' action='HilfeAction'><menuitem name='connectAction' action='connectAction'/><menuitem name='selectFontAction' action='selectFontAction'/><menuitem name='cancelAction' action='cancelAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='newAction1' action='newAction1'/><toolitem name='OpenRegex' action='OpenRegex'/><toolitem name='SaveRegex' action='SaveRegex'/><toolitem name='SaveRegexOtherFileName' action='SaveRegexOtherFileName'/><toolitem name='CloseRegex' action='CloseRegex'/><separator/><toolitem name='undoAction' action='undoAction'/><toolitem name='redoAction' action='redoAction'/><separator/><toolitem name='Execute' action='Execute'/><toolitem name='clearAction' action='clearAction'/><separator/><toolitem name='cutAction' action='cutAction'/><toolitem name='copyAction' action='copyAction'/><toolitem name='pasteAction' action='pasteAction'/><separator/><toolitem name='Library' action='Library'/><separator/><toolitem name='preferencesAction1' action='preferencesAction1'/><toolitem name='aboutAction1' action='aboutAction1'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(4)); this.vbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = -1; this.notebook1.ShowBorder = false; this.notebook1.Scrollable = true; this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w4.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander3 = new global::Gtk.Expander(null); this.expander3.CanFocus = true; this.expander3.Name = "expander3"; // Container child expander3.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.IgnoreCase = new global::Gtk.CheckButton(); this.IgnoreCase.TooltipMarkup = "Die Groß- und Kleinschreibung Ihres Ausdrucks wird ignoriert.\nBeispiel: \"test\" trifft auch auf \"TEST\" zu."; this.IgnoreCase.CanFocus = true; this.IgnoreCase.Name = "IgnoreCase"; this.IgnoreCase.Label = global::Mono.Unix.Catalog.GetString("Groß- /Kleinschreibung ignorieren."); this.IgnoreCase.DrawIndicator = true; this.IgnoreCase.UseUnderline = true; this.vbox3.Add(this.IgnoreCase); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.IgnoreCase])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ExplicitCapture = new global::Gtk.CheckButton(); this.ExplicitCapture.TooltipMarkup = "Die Datenquelle muss genau auf den Ausdruck übereinstimmen."; this.ExplicitCapture.CanFocus = true; this.ExplicitCapture.Name = "ExplicitCapture"; this.ExplicitCapture.Label = global::Mono.Unix.Catalog.GetString("Explicit Capture"); this.ExplicitCapture.DrawIndicator = true; this.ExplicitCapture.UseUnderline = true; this.vbox3.Add(this.ExplicitCapture); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ExplicitCapture])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.IgnorePatternWhitespace = new global::Gtk.CheckButton(); this.IgnorePatternWhitespace.TooltipMarkup = "Leerzeichen werden im Ausdruck/ Datenquelle ignoriert."; this.IgnorePatternWhitespace.CanFocus = true; this.IgnorePatternWhitespace.Name = "IgnorePatternWhitespace"; this.IgnorePatternWhitespace.Label = global::Mono.Unix.Catalog.GetString("Leerzeichen ignorieren"); this.IgnorePatternWhitespace.DrawIndicator = true; this.IgnorePatternWhitespace.UseUnderline = true; this.vbox3.Add(this.IgnorePatternWhitespace); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.IgnorePatternWhitespace])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Alle Ergebnisse anzeigen")); this.radiobutton1.TooltipMarkup = "Alle aus dem Ausdruck resultierenden Ergebnisse anzeigen"; this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radiobutton1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton1])); w8.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Nur nicht gruppierte Ergebnisse")); this.radiobutton2.TooltipMarkup = "Nur Ergebnisse präsentieren, die nicht in eine Gruppe eingeordnet sind."; this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.hbox1.Add(this.radiobutton2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton2])); w9.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Nur Gruppen")); this.radiobutton3.TooltipMarkup = "Nur Ergebnisse einblenden, die aus Gruppen resultieren."; this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.hbox1.Add(this.radiobutton3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton3])); w10.Position = 2; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w11.Position = 4; w11.Expand = false; w11.Fill = false; this.expander3.Add(this.vbox3); this.GtkLabel26 = new global::Gtk.Label(); this.GtkLabel26.Name = "GtkLabel26"; this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString("Verarbeitungsoptionen"); this.GtkLabel26.UseUnderline = true; this.expander3.LabelWidget = this.GtkLabel26; this.vbox2.Add(this.expander3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander3])); w13.Position = 0; w13.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.Output = new global::Gtk.TextView(); this.Output.HeightRequest = 111; this.Output.CanFocus = true; this.Output.Name = "Output"; this.Output.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.Output); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel27 = new global::Gtk.Label(); this.GtkLabel27.Name = "GtkLabel27"; this.GtkLabel27.LabelProp = global::Mono.Unix.Catalog.GetString("Ergebnis(se)"); this.GtkLabel27.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel27; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w16.Position = 1; w16.Expand = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.cStatusLabele = new global::Gtk.Label(); this.cStatusLabele.Name = "cStatusLabele"; this.cStatusLabele.Xpad = 3; this.cStatusLabele.Xalign = 0F; this.vbox1.Add(this.cStatusLabele); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.cStatusLabele])); w18.Position = 4; w18.Expand = false; w18.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 935; this.DefaultHeight = 500; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler(this.OnNewActionActivated); this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.SaveRegex.Activated += new global::System.EventHandler(this.OnSaveAction1Activated); this.CloseRegex.Activated += new global::System.EventHandler(this.OnCloseAction1Activated); this.SaveRegexOtherFileName.Activated += new global::System.EventHandler(this.OnSaveAsAction1Activated); this.OpenRegex.Activated += new global::System.EventHandler(this.OnOpenAction1Activated); this.undoAction.Activated += new global::System.EventHandler(this.OnUndoActionActivated); this.redoAction.Activated += new global::System.EventHandler(this.OnRedoActionActivated); this.Execute.Activated += new global::System.EventHandler(this.OnExecuteActionActivated); this.clearAction.Activated += new global::System.EventHandler(this.OnClearActionActivated); this.cutAction1.Activated += new global::System.EventHandler(this.OnCutAction1Activated); this.copyAction1.Activated += new global::System.EventHandler(this.OnCopyAction1Activated); this.pasteAction1.Activated += new global::System.EventHandler(this.OnPasteAction1Activated); this.cancelAction.Activated += new global::System.EventHandler(this.OnCancelActionActivated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.preferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.selectAllAction.Activated += new global::System.EventHandler(this.OnSelectAllActionActivated); this.spellCheckAction.Activated += new global::System.EventHandler(this.OnSpellCheckActionActivated); this.NurTextTxtAction.Activated += new global::System.EventHandler(this.OnNurTextTxtActionActivated); this.HypertextHtmlAction.Activated += new global::System.EventHandler(this.OnHypertextHtmlActionActivated); this.KommaGetrenntCsvAction.Activated += new global::System.EventHandler(this.OnKommaGetrenntCsvActionActivated); this.preferencesAction1.Activated += new global::System.EventHandler(this.OnPreferencesAction1Activated); this.connectAction.Activated += new global::System.EventHandler(this.OnConnectActionActivated); this.saveAsAction2.Activated += new global::System.EventHandler(this.OnSaveAsAction2Activated); this.printAction.Activated += new global::System.EventHandler(this.OnPrintActionActivated); this.selectFontAction.Activated += new global::System.EventHandler(this.OnSelectFontActionActivated); this.restore.Activated += new global::System.EventHandler(this.OnRestoreActivated); this.quitAction1.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.notebook1.SelectPage += new global::Gtk.SelectPageHandler(this.OnNotebook1SelectPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MultiMC.ExceptionDialog this.WidthRequest = 450; this.HeightRequest = 240; this.Name = "MultiMC.ExceptionDialog"; this.Title = "Unhandled Error"; this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MultiMC.ExceptionDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vboxContent = new global::Gtk.VBox (); this.vboxContent.Name = "vboxContent"; this.vboxContent.Spacing = 6; // Container child vboxContent.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 120; // Container child vpaned1.Gtk.Paned+PanedChild this.hboxMessage = new global::Gtk.HBox (); this.hboxMessage.Name = "hboxMessage"; this.hboxMessage.Spacing = 6; // Container child hboxMessage.Gtk.Box+BoxChild this.iconAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.iconAlignment.Name = "iconAlignment"; this.iconAlignment.BorderWidth = ((uint)(16)); // Container child iconAlignment.Gtk.Container+ContainerChild this.iconImage = new global::Gtk.Image (); this.iconImage.Name = "iconImage"; this.iconImage.Xalign = 0F; this.iconImage.Yalign = 0F; this.iconImage.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.iconAlignment.Add (this.iconImage); this.hboxMessage.Add (this.iconAlignment); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxMessage [this.iconAlignment])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hboxMessage.Gtk.Box+BoxChild this.textviewMessage = new global::Gtk.TextView (); this.textviewMessage.Buffer.Text = "Error message"; this.textviewMessage.Sensitive = false; this.textviewMessage.CanFocus = true; this.textviewMessage.Name = "textviewMessage"; this.textviewMessage.Editable = false; this.textviewMessage.WrapMode = ((global::Gtk.WrapMode)(2)); this.hboxMessage.Add (this.textviewMessage); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxMessage [this.textviewMessage])); w4.Position = 1; this.vpaned1.Add (this.hboxMessage); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hboxMessage])); w5.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.infoExpander = new global::Gtk.Expander (null); this.infoExpander.CanFocus = true; this.infoExpander.Name = "infoExpander"; // Container child infoExpander.Gtk.Container+ContainerChild this.vboxInfoExpander = new global::Gtk.VBox (); this.vboxInfoExpander.Name = "vboxInfoExpander"; this.vboxInfoExpander.Spacing = 6; // Container child vboxInfoExpander.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.infoTextview = new global::Gtk.TextView (); this.infoTextview.CanFocus = true; this.infoTextview.Name = "infoTextview"; this.infoTextview.Editable = false; this.infoTextview.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add (this.infoTextview); this.vboxInfoExpander.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxInfoExpander [this.GtkScrolledWindow])); w7.Position = 0; this.infoExpander.Add (this.vboxInfoExpander); this.infoExpanderLabel = new global::Gtk.Label (); this.infoExpanderLabel.Name = "infoExpanderLabel"; this.infoExpanderLabel.LabelProp = "More info"; this.infoExpanderLabel.UseUnderline = true; this.infoExpander.LabelWidget = this.infoExpanderLabel; this.vpaned1.Add (this.infoExpander); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.infoExpander])); w9.Resize = false; w9.Shrink = false; this.vboxContent.Add (this.vpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxContent [this.vpaned1])); w10.Position = 0; w10.Padding = ((uint)(8)); w1.Add (this.vboxContent); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(w1 [this.vboxContent])); w11.Position = 0; // Internal child MultiMC.ExceptionDialog.ActionArea global::Gtk.HButtonBox w12 = this.ActionArea; w12.Name = "dialog1_ActionArea"; w12.Spacing = 10; w12.BorderWidth = ((uint)(5)); w12.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonQuit = new global::Gtk.Button (); this.buttonQuit.CanDefault = true; this.buttonQuit.CanFocus = true; this.buttonQuit.Name = "buttonQuit"; this.buttonQuit.UseStock = true; this.buttonQuit.UseUnderline = true; this.buttonQuit.Label = "gtk-quit"; this.AddActionWidget (this.buttonQuit, -8); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonQuit])); w13.Expand = false; w13.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonIgnore = new global::Gtk.Button (); this.buttonIgnore.CanDefault = true; this.buttonIgnore.CanFocus = true; this.buttonIgnore.Name = "buttonIgnore"; this.buttonIgnore.UseStock = true; this.buttonIgnore.UseUnderline = true; this.buttonIgnore.Label = "gtk-cancel"; this.AddActionWidget (this.buttonIgnore, -9); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonIgnore])); w14.Position = 1; w14.Expand = false; w14.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 558; this.DefaultHeight = 240; this.Show (); this.Response += new global::Gtk.ResponseHandler (this.OnResponse); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Wallet.SendDialogStep2 global::Stetic.BinContainer.Attach(this); this.Name = "Wallet.SendDialogStep2"; // Container child Wallet.SendDialogStep2.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.senddialogwaiting = new global::Wallet.SendDialogWaiting(); this.senddialogwaiting.Events = ((global::Gdk.EventMask)(256)); this.senddialogwaiting.Name = "senddialogwaiting"; this.vbox1.Add(this.senddialogwaiting); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.senddialogwaiting])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.dialogfieldTo = new global::Wallet.DialogField(); this.dialogfieldTo.Events = ((global::Gdk.EventMask)(256)); this.dialogfieldTo.Name = "dialogfieldTo"; this.vbox1.Add(this.dialogfieldTo); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.dialogfieldTo])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.dialogfieldAmount = new global::Wallet.DialogField(); this.dialogfieldAmount.Events = ((global::Gdk.EventMask)(256)); this.dialogfieldAmount.Name = "dialogfieldAmount"; this.vbox1.Add(this.dialogfieldAmount); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.dialogfieldAmount])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.expander = new global::Gtk.Expander(null); this.expander.CanFocus = true; this.expander.Name = "expander"; this.expander.Expanded = true; // Container child expander.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.dialogfield3 = new global::Wallet.DialogField(); this.dialogfield3.Events = ((global::Gdk.EventMask)(256)); this.dialogfield3.Name = "dialogfield3"; this.vbox2.Add(this.dialogfield3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.dialogfield3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.dialogfield4 = new global::Wallet.DialogField(); this.dialogfield4.Events = ((global::Gdk.EventMask)(256)); this.dialogfield4.Name = "dialogfield4"; this.vbox2.Add(this.dialogfield4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.dialogfield4])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.dialogfield5 = new global::Wallet.DialogField(); this.dialogfield5.Events = ((global::Gdk.EventMask)(256)); this.dialogfield5.Name = "dialogfield5"; this.vbox2.Add(this.dialogfield5); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.dialogfield5])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.expander.Add(this.vbox2); this.GtkLabel = new global::Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = global::Mono.Unix.Catalog.GetString("More"); this.GtkLabel.UseUnderline = true; this.expander.LabelWidget = this.GtkLabel; this.vbox1.Add(this.expander); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.expander])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Homogeneous = true; // Container child hbox12.Gtk.Box+BoxChild this.eventboxBack = new global::Gtk.EventBox(); this.eventboxBack.Name = "eventboxBack"; // Container child eventboxBack.Gtk.Container+ContainerChild this.image1 = new global::Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); this.eventboxBack.Add(this.image1); this.hbox12.Add(this.eventboxBack); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.eventboxBack])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.eventboxSend = new global::Gtk.EventBox(); this.eventboxSend.Name = "eventboxSend"; // Container child eventboxSend.Gtk.Container+ContainerChild this.imageNext = new global::Gtk.Image(); this.imageNext.Name = "imageNext"; this.imageNext.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dnd-multiple", global::Gtk.IconSize.Menu); this.eventboxSend.Add(this.imageNext); this.hbox12.Add(this.eventboxSend); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.eventboxSend])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vbox1.Add(this.hbox12); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox12])); w13.Position = 4; w13.Expand = false; w13.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", "File", null, null); this.FileAction.ShortLabel = "File"; w1.Add(this.FileAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", "Exit", null, null); this.ExitAction.ShortLabel = "Exit"; w1.Add(this.ExitAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", "View", null, null); this.ViewAction.ShortLabel = "View"; w1.Add(this.ViewAction, null); this.ExtrasAction = new global::Gtk.Action("ExtrasAction", "Extras", null, null); this.ExtrasAction.ShortLabel = "Extras"; w1.Add(this.ExtrasAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", "Settings ...", null, null); this.SettingsAction.ShortLabel = "Settings ..."; w1.Add(this.SettingsAction, null); this.Action = new global::Gtk.Action("Action", "?", null, null); this.Action.ShortLabel = "?"; w1.Add(this.Action, null); this.AboutAction = new global::Gtk.Action("AboutAction", "About ...", null, null); this.AboutAction.ShortLabel = "About ..."; w1.Add(this.AboutAction, null); this.ShowVideoAction = new global::Gtk.ToggleAction("ShowVideoAction", "Show Video", null, null); this.ShowVideoAction.Sensitive = false; this.ShowVideoAction.ShortLabel = "Show Video"; w1.Add(this.ShowVideoAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "xCom - CamManager"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='ShowVideoAction' action='ShowVideoAction'/></menu><menu name='ExtrasAction' action='ExtrasAction'><menuitem name='SettingsAction' action='SettingsAction'/></menu><menu name='Action' action='Action'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.expConnection = new global::Gtk.Expander(null); this.expConnection.CanFocus = true; this.expConnection.Name = "expConnection"; this.expConnection.Expanded = true; // Container child expConnection.Gtk.Container+ContainerChild this.ctlConnection = new global::xCom.CamManager.CamConnection(); this.ctlConnection.Events = ((global::Gdk.EventMask)(256)); this.ctlConnection.Name = "ctlConnection"; this.expConnection.Add(this.ctlConnection); this.lblConnection = new global::Gtk.Label(); this.lblConnection.Name = "lblConnection"; this.lblConnection.LabelProp = "Connection Settings"; this.lblConnection.UseUnderline = true; this.expConnection.LabelWidget = this.lblConnection; this.vbox2.Add(this.expConnection); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expConnection])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expNavigation = new global::Gtk.Expander(null); this.expNavigation.Sensitive = false; this.expNavigation.CanFocus = true; this.expNavigation.Name = "expNavigation"; // Container child expNavigation.Gtk.Container+ContainerChild this.ctlNavigation = new global::xCom.CamManager.CamNavigation(); this.ctlNavigation.Events = ((global::Gdk.EventMask)(256)); this.ctlNavigation.Name = "ctlNavigation"; this.expNavigation.Add(this.ctlNavigation); this.lblNavigation = new global::Gtk.Label(); this.lblNavigation.Name = "lblNavigation"; this.lblNavigation.LabelProp = "Navigation"; this.lblNavigation.UseUnderline = true; this.expNavigation.LabelWidget = this.lblNavigation; this.vbox2.Add(this.expNavigation); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expNavigation])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expImageSettings = new global::Gtk.Expander(null); this.expImageSettings.Sensitive = false; this.expImageSettings.CanFocus = true; this.expImageSettings.Name = "expImageSettings"; // Container child expImageSettings.Gtk.Container+ContainerChild this.ctlImageSettings = new global::xCom.CamManager.CamImageSettings(); this.ctlImageSettings.Events = ((global::Gdk.EventMask)(256)); this.ctlImageSettings.Name = "ctlImageSettings"; this.expImageSettings.Add(this.ctlImageSettings); this.lblImageSettings = new global::Gtk.Label(); this.lblImageSettings.Name = "lblImageSettings"; this.lblImageSettings.LabelProp = "Image Settings"; this.lblImageSettings.UseUnderline = true; this.expImageSettings.LabelWidget = this.lblImageSettings; this.vbox2.Add(this.expImageSettings); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expImageSettings])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expVideoSettings = new global::Gtk.Expander(null); this.expVideoSettings.Sensitive = false; this.expVideoSettings.CanFocus = true; this.expVideoSettings.Name = "expVideoSettings"; // Container child expVideoSettings.Gtk.Container+ContainerChild this.ctlVideoSettings = new global::xCom.CamManager.CamVideoSettings(); this.ctlVideoSettings.Events = ((global::Gdk.EventMask)(256)); this.ctlVideoSettings.Name = "ctlVideoSettings"; this.expVideoSettings.Add(this.ctlVideoSettings); this.lblVideoSettings = new global::Gtk.Label(); this.lblVideoSettings.Name = "lblVideoSettings"; this.lblVideoSettings.LabelProp = "Video Settings"; this.lblVideoSettings.UseUnderline = true; this.expVideoSettings.LabelWidget = this.lblVideoSettings; this.vbox2.Add(this.expVideoSettings); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expVideoSettings])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expInfo = new global::Gtk.Expander(null); this.expInfo.Sensitive = false; this.expInfo.CanFocus = true; this.expInfo.Name = "expInfo"; // Container child expInfo.Gtk.Container+ContainerChild this.ctlInfo = new global::xCom.CamManager.CamInfo(); this.ctlInfo.Events = ((global::Gdk.EventMask)(256)); this.ctlInfo.Name = "ctlInfo"; this.expInfo.Add(this.ctlInfo); this.lblInfo = new global::Gtk.Label(); this.lblInfo.Name = "lblInfo"; this.lblInfo.LabelProp = "Info"; this.lblInfo.UseUnderline = true; this.expInfo.LabelWidget = this.lblInfo; this.vbox2.Add(this.expInfo); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expInfo])); w12.Position = 4; w12.Expand = false; w12.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w13.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.Add(this.vbox1); if((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 266; this.DefaultHeight = 631; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.ExitAction.Activated += new global::System.EventHandler(this.OnExitActionActivated); this.SettingsAction.Activated += new global::System.EventHandler(this.OnSettingsActionActivated); this.ShowVideoAction.Activated += new global::System.EventHandler(this.OnShowVideoActionActivated); this.ctlConnection.ConnectionEstablished += new global::System.EventHandler<xCom.CamManager.ConnectionEventArgs>(this.OnCtlConnectionConnectionEstablished); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget llum.EditUser global::Stetic.BinContainer.Attach(this); this.Name = "llum.EditUser"; // Container child llum.EditUser.Gtk.Container+ContainerChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(6)); this.GtkAlignment.TopPadding = ((uint)(6)); this.GtkAlignment.RightPadding = ((uint)(6)); this.GtkAlignment.BottomPadding = ((uint)(6)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.image1 = new global::Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "actor", global::Gtk.IconSize.Dialog); this.hbox6.Add(this.image1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.image1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("User details"); this.hbox6.Add(this.label10); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label10])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox6])); w3.Position = 0; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.WidthRequest = 160; this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>User ID#</b>"); this.label2.UseMarkup = true; this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; w4.Padding = ((uint)(5)); // Container child hbox3.Gtk.Box+BoxChild this.uidNumLabel = new global::Gtk.Label(); this.uidNumLabel.Name = "uidNumLabel"; this.uidNumLabel.LabelProp = global::Mono.Unix.Catalog.GetString("label6"); this.hbox3.Add(this.uidNumLabel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.uidNumLabel])); w5.Position = 1; w5.Expand = false; w5.Fill = false; w5.Padding = ((uint)(10)); this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.WidthRequest = 160; this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>User ID</b>"); this.label1.UseMarkup = true; this.hbox2.Add(this.label1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; w7.Padding = ((uint)(5)); // Container child hbox2.Gtk.Box+BoxChild this.uidLabel = new global::Gtk.Label(); this.uidLabel.Name = "uidLabel"; this.uidLabel.LabelProp = global::Mono.Unix.Catalog.GetString("label3"); this.hbox2.Add(this.uidLabel); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.uidLabel])); w8.Position = 1; w8.Expand = false; w8.Fill = false; w8.Padding = ((uint)(10)); this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.WidthRequest = 160; this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Group</b>"); this.label7.UseMarkup = true; this.hbox4.Add(this.label7); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label7])); w10.Position = 0; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(5)); // Container child hbox4.Gtk.Box+BoxChild this.groupLabel = new global::Gtk.Label(); this.groupLabel.Name = "groupLabel"; this.groupLabel.LabelProp = global::Mono.Unix.Catalog.GetString("label8"); this.hbox4.Add(this.groupLabel); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.groupLabel])); w11.Position = 1; w11.Expand = false; w11.Fill = false; w11.Padding = ((uint)(10)); this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1])); w13.Position = 4; w13.Expand = false; w13.Fill = false; w13.Padding = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.frame4 = new global::Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(4)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(6)); this.GtkAlignment6.TopPadding = ((uint)(6)); this.GtkAlignment6.RightPadding = ((uint)(6)); this.GtkAlignment6.BottomPadding = ((uint)(6)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.hbox13 = new global::Gtk.HBox(); this.hbox13.Name = "hbox13"; this.hbox13.Spacing = 6; // Container child hbox13.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.hbox14 = new global::Gtk.HBox(); this.hbox14.Name = "hbox14"; this.hbox14.Spacing = 6; // Container child hbox14.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.WidthRequest = 100; this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("NIA"); this.hbox14.Add(this.label5); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label5])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.niaEntry = new global::Gtk.Entry(); this.niaEntry.CanFocus = true; this.niaEntry.Name = "niaEntry"; this.niaEntry.IsEditable = true; this.niaEntry.InvisibleChar = '●'; this.hbox14.Add(this.niaEntry); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.niaEntry])); w15.Position = 1; this.vbox8.Add(this.hbox14); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox14])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.hbox15 = new global::Gtk.HBox(); this.hbox15.Name = "hbox15"; this.hbox15.Spacing = 6; // Container child hbox15.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.WidthRequest = 100; this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("DNI"); this.hbox15.Add(this.label6); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.label6])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.dniEntry = new global::Gtk.Entry(); this.dniEntry.CanFocus = true; this.dniEntry.Name = "dniEntry"; this.dniEntry.IsEditable = true; this.dniEntry.InvisibleChar = '●'; this.hbox15.Add(this.dniEntry); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dniEntry])); w18.Position = 1; this.vbox8.Add(this.hbox15); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox15])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.hbox13.Add(this.vbox8); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.vbox8])); w20.Position = 0; // Container child hbox13.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hbox13.Add(this.vseparator3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.vseparator3])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.niaButton = new global::Gtk.Button(); this.niaButton.CanFocus = true; this.niaButton.Name = "niaButton"; this.niaButton.UseStock = true; this.niaButton.UseUnderline = true; this.niaButton.Label = "gtk-apply"; this.hbox13.Add(this.niaButton); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.niaButton])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.GtkAlignment6.Add(this.hbox13); this.frame4.Add(this.GtkAlignment6); this.GtkLabel6 = new global::Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.Xpad = 6; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Identification Number</b>"); this.GtkLabel6.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel6; this.vbox1.Add(this.frame4); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame4])); w25.Position = 5; w25.Expand = false; w25.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(4)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(6)); this.GtkAlignment1.TopPadding = ((uint)(6)); this.GtkAlignment1.RightPadding = ((uint)(6)); this.GtkAlignment1.BottomPadding = ((uint)(6)); this.GtkAlignment1.BorderWidth = ((uint)(7)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.WidthRequest = 100; this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); this.hbox8.Add(this.label11); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label11])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.nameEntry = new global::Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '●'; this.hbox8.Add(this.nameEntry); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.nameEntry])); w27.Position = 1; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox8])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.WidthRequest = 100; this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Surname"); this.hbox9.Add(this.label12); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label12])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.surnameEntry = new global::Gtk.Entry(); this.surnameEntry.CanFocus = true; this.surnameEntry.Name = "surnameEntry"; this.surnameEntry.IsEditable = true; this.surnameEntry.InvisibleChar = '●'; this.hbox9.Add(this.surnameEntry); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.surnameEntry])); w30.Position = 1; this.vbox3.Add(this.hbox9); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox9])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.hbox7.Add(this.vbox3); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vbox3])); w32.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox7.Add(this.vseparator2); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vseparator2])); w33.Position = 1; w33.Expand = false; w33.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.undoButton = new global::Gtk.Button(); this.undoButton.CanFocus = true; this.undoButton.Name = "undoButton"; this.undoButton.UseStock = true; this.undoButton.UseUnderline = true; this.undoButton.Label = "gtk-undo"; this.vbox4.Add(this.undoButton); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.undoButton])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.applyButton = new global::Gtk.Button(); this.applyButton.CanFocus = true; this.applyButton.Name = "applyButton"; this.applyButton.UseStock = true; this.applyButton.UseUnderline = true; this.applyButton.Label = "gtk-apply"; this.vbox4.Add(this.applyButton); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.applyButton])); w35.Position = 1; w35.Expand = false; w35.Fill = false; this.hbox7.Add(this.vbox4); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vbox4])); w36.PackType = ((global::Gtk.PackType)(1)); w36.Position = 2; w36.Expand = false; w36.Fill = false; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w37.Position = 0; w37.Expand = false; w37.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox2.Add(this.hseparator2); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator2])); w38.Position = 1; w38.Expand = false; w38.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.WidthRequest = 170; this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Enter new password"); this.hbox11.Add(this.label3); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.label3])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.passEntry = new global::Gtk.Entry(); this.passEntry.CanFocus = true; this.passEntry.Name = "passEntry"; this.passEntry.IsEditable = true; this.passEntry.Visibility = false; this.passEntry.InvisibleChar = '●'; this.hbox11.Add(this.passEntry); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.passEntry])); w40.Position = 1; this.vbox7.Add(this.hbox11); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox11])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.WidthRequest = 170; this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Re-enter new password"); this.hbox12.Add(this.label4); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.label4])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.passEntry2 = new global::Gtk.Entry(); this.passEntry2.CanFocus = true; this.passEntry2.Name = "passEntry2"; this.passEntry2.IsEditable = true; this.passEntry2.Visibility = false; this.passEntry2.InvisibleChar = '●'; this.hbox12.Add(this.passEntry2); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.passEntry2])); w43.Position = 1; this.vbox7.Add(this.hbox12); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox12])); w44.Position = 1; w44.Expand = false; w44.Fill = false; this.hbox1.Add(this.vbox7); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox7])); w45.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.changePasswordButton = new global::Gtk.Button(); this.changePasswordButton.CanFocus = true; this.changePasswordButton.Name = "changePasswordButton"; this.changePasswordButton.UseStock = true; this.changePasswordButton.UseUnderline = true; this.changePasswordButton.Label = "gtk-apply"; this.hbox1.Add(this.changePasswordButton); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.changePasswordButton])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.expander1.Add(this.hbox1); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Change password</b>"); this.GtkLabel3.UseMarkup = true; this.GtkLabel3.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel3; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w48.Position = 2; w48.Expand = false; w48.Fill = false; this.GtkAlignment1.Add(this.vbox2); this.frame2.Add(this.GtkAlignment1); this.GtkLabel5 = new global::Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.Xpad = 6; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Edit user personal data</b>"); this.GtkLabel5.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel5; this.hbox5.Add(this.frame2); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.frame2])); w51.Position = 0; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox5])); w52.Position = 6; w52.Expand = false; w52.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment5 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(6)); this.GtkAlignment5.TopPadding = ((uint)(6)); this.GtkAlignment5.RightPadding = ((uint)(6)); this.GtkAlignment5.BottomPadding = ((uint)(6)); this.GtkAlignment5.BorderWidth = ((uint)(7)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.belongTreeview = new global::Gtk.TreeView(); this.belongTreeview.CanFocus = true; this.belongTreeview.Name = "belongTreeview"; this.GtkScrolledWindow.Add(this.belongTreeview); this.hbox10.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.GtkScrolledWindow])); w54.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.removeGroupButton = new global::Gtk.Button(); this.removeGroupButton.CanFocus = true; this.removeGroupButton.Name = "removeGroupButton"; // Container child removeGroupButton.Gtk.Container+ContainerChild this.image3 = new global::Gtk.Image(); this.image3.Name = "image3"; this.image3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu); this.removeGroupButton.Add(this.image3); this.vbox5.Add(this.removeGroupButton); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.removeGroupButton])); w56.Position = 0; w56.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.addGroupButton = new global::Gtk.Button(); this.addGroupButton.CanFocus = true; this.addGroupButton.Name = "addGroupButton"; // Container child addGroupButton.Gtk.Container+ContainerChild this.image2 = new global::Gtk.Image(); this.image2.Name = "image2"; this.image2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu); this.addGroupButton.Add(this.image2); this.vbox5.Add(this.addGroupButton); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.addGroupButton])); w58.Position = 1; w58.Fill = false; this.hbox10.Add(this.vbox5); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.vbox5])); w59.Position = 1; w59.Expand = false; w59.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.availableTreeview = new global::Gtk.TreeView(); this.availableTreeview.CanFocus = true; this.availableTreeview.Name = "availableTreeview"; this.GtkScrolledWindow1.Add(this.availableTreeview); this.hbox10.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.GtkScrolledWindow1])); w61.Position = 2; this.vbox6.Add(this.hbox10); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox10])); w62.Position = 0; this.GtkAlignment5.Add(this.vbox6); this.frame3.Add(this.GtkAlignment5); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.Xpad = 6; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Edit user groups</b>"); this.GtkLabel4.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel4; this.vbox1.Add(this.frame3); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame3])); w65.Position = 7; // Container child vbox1.Gtk.Box+BoxChild this.msgLabel = new global::Gtk.Label(); this.msgLabel.Name = "msgLabel"; this.vbox1.Add(this.msgLabel); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.msgLabel])); w66.Position = 8; w66.Expand = false; w66.Fill = false; this.GtkAlignment.Add(this.vbox1); this.frame1.Add(this.GtkAlignment); this.Add(this.frame1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.niaButton.Clicked += new global::System.EventHandler(this.OnNiaButtonClicked); this.undoButton.Clicked += new global::System.EventHandler(this.OnUndoButtonClicked); this.applyButton.Clicked += new global::System.EventHandler(this.OnApplyButtonClicked); this.passEntry.Changed += new global::System.EventHandler(this.OnPassEntryChanged); this.passEntry2.Changed += new global::System.EventHandler(this.OnPass2EntryChanged); this.changePasswordButton.Clicked += new global::System.EventHandler(this.OnChangePasswordButtonClicked); this.removeGroupButton.Clicked += new global::System.EventHandler(this.OnRemoveGroupButtonClicked); this.addGroupButton.Clicked += new global::System.EventHandler(this.OnAddGroupButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Mono.CSharp.Gui.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.QuitAction, null); this.AttachToProcessAction = new global::Gtk.Action ("AttachToProcessAction", global::Mono.Unix.Catalog.GetString ("Attach to Process"), null, null); this.AttachToProcessAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Attach to Process"); w1.Add (this.AttachToProcessAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.ViewAction, null); this.gtkpane = new global::Gtk.ToggleAction ("gtkpane", global::Mono.Unix.Catalog.GetString ("Gtk Pane"), null, null); this.gtkpane.ShortLabel = global::Mono.Unix.Catalog.GetString ("Gtk Pane"); w1.Add (this.gtkpane, null); this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::Mono.Unix.Catalog.GetString ("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Tools"); w1.Add (this.ToolsAction, null); this.DescribeTypeAction = new global::Gtk.Action ("DescribeTypeAction", global::Mono.Unix.Catalog.GetString ("Describe Type"), null, null); this.DescribeTypeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Describe Type"); w1.Add (this.DescribeTypeAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Mono.CSharp.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultWidth = 600; this.DefaultHeight = 500; // Container child Mono.CSharp.Gui.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='AttachToProcessAction' action='AttachToProcessAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='gtkpane' action='gtkpane'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='DescribeTypeAction' action='DescribeTypeAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.ShowBorder = false; this.notebook1.ShowTabs = false; // Container child notebook1.Gtk.Notebook+NotebookChild this.hpaned = new global::Gtk.HPaned (); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 472; // Container child hpaned.Gtk.Paned+PanedChild this.paned_container = new global::Gtk.EventBox (); this.paned_container.Name = "paned_container"; this.hpaned.Add (this.paned_container); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.paned_container])); w3.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xpad = 10; this.label4.Xalign = 0.1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Set the contents of this pane by adding Gtk.Widgets children to the <b>PaneContainer</b> property. The PaneContainer is a Gtk.EventBox. \n\nTry it like this:\n\nLoadPackage (\"gtk-sharp-2.0\");\nvar l = new Label (\"Hello world\");\nPaneContainer.Add (l);\nl.ShowAll ();"); this.label4.UseMarkup = true; this.label4.Wrap = true; this.expander1.Add (this.label4); this.GtkLabel4 = new global::Gtk.Label (); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>PaneContent</b>"); this.GtkLabel4.UseMarkup = true; this.GtkLabel4.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel4; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.eventbox = new global::Gtk.EventBox (); this.eventbox.Name = "eventbox"; this.vbox2.Add (this.eventbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.eventbox])); w6.Position = 1; this.hpaned.Add (this.vbox2); this.notebook1.Add (this.hpaned); // 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.hpaned, this.label1); this.label1.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.standalone_container = new global::Gtk.EventBox (); this.standalone_container.Name = "standalone_container"; // Container child standalone_container.Gtk.Container+ContainerChild this.shellnotebook = new global::Gtk.Notebook (); this.shellnotebook.CanFocus = true; this.shellnotebook.Name = "shellnotebook"; this.shellnotebook.CurrentPage = 0; this.shellnotebook.ShowTabs = false; this.shellnotebook.Scrollable = true; // Container child shellnotebook.Gtk.Notebook+NotebookChild this.sw = new global::Gtk.ScrolledWindow (); this.sw.CanFocus = true; this.sw.Name = "sw"; this.sw.ShadowType = ((global::Gtk.ShadowType)(1)); this.shellnotebook.Add (this.sw); // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("C#"); this.shellnotebook.SetTabLabel (this.sw, this.label3); this.label3.ShowAll (); this.standalone_container.Add (this.shellnotebook); this.notebook1.Add (this.standalone_container); global::Gtk.Notebook.NotebookChild w11 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.standalone_container])); w11.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("page2"); this.notebook1.SetTabLabel (this.standalone_container, this.label2); this.label2.ShowAll (); this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w12.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.QuitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.AttachToProcessAction.Activated += new global::System.EventHandler (this.OnAttachToProcessActionActivated); this.DescribeTypeAction.Activated += new global::System.EventHandler (this.OnDescribeTypeActionActivated); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.Gui.Dialogs.ProgressDialog this.Name = "MonoDevelop.Ide.Gui.Dialogs.ProgressDialog"; this.Title = ""; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MonoDevelop.Ide.Gui.Dialogs.ProgressDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(12)); // Container child vbox2.Gtk.Box+BoxChild this.label = new global::Gtk.Label (); this.label.Name = "label"; this.label.Xalign = 0F; this.label.LabelProp = "label"; this.vbox2.Add (this.label); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.progressBar = new global::Gtk.ProgressBar (); this.progressBar.Name = "progressBar"; this.hbox1.Add (this.progressBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressBar])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.btnCancel = new global::Gtk.Button (); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.hbox1.Add (this.btnCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnClose = new global::Gtk.Button (); this.btnClose.CanDefault = true; this.btnClose.CanFocus = true; this.btnClose.Name = "btnClose"; this.btnClose.UseStock = true; this.btnClose.UseUnderline = true; this.btnClose.Label = "gtk-close"; this.hbox1.Add (this.btnClose); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnClose])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander = new global::Gtk.Expander (null); this.expander.CanFocus = true; this.expander.Name = "expander"; // Container child expander.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.HeightRequest = 250; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.detailsTextView = new global::Gtk.TextView (); this.detailsTextView.CanFocus = true; this.detailsTextView.Name = "detailsTextView"; this.GtkScrolledWindow.Add (this.detailsTextView); this.expander.Add (this.GtkScrolledWindow); this.expanderLabel = new global::Gtk.Label (); this.expanderLabel.Name = "expanderLabel"; this.expanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Details"); this.expanderLabel.UseUnderline = true; this.expander.LabelWidget = this.expanderLabel; this.vbox2.Add (this.expander); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander])); w9.Position = 2; w1.Add (this.vbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w10.Position = 0; // Internal child MonoDevelop.Ide.Gui.Dialogs.ProgressDialog.ActionArea global::Gtk.HButtonBox w11 = this.ActionArea; w11.Name = "dialog1_ActionArea"; w11.Spacing = 10; w11.BorderWidth = ((uint)(5)); w11.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button103 = new global::Gtk.Button (); this.button103.CanFocus = true; this.button103.Name = "button103"; this.button103.UseUnderline = true; this.button103.Label = global::Mono.Unix.Catalog.GetString ("GtkButton"); this.AddActionWidget (this.button103, 0); global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.button103])); w12.Expand = false; w12.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 544; this.DefaultHeight = 170; this.btnClose.Hide (); w11.Hide (); this.Hide (); this.btnCancel.Clicked += new global::System.EventHandler (this.OnBtnCancelClicked); this.btnClose.Clicked += new global::System.EventHandler (this.OnBtnCloseClicked); this.expander.Activated += new global::System.EventHandler (this.OnExpander1Activated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.Component.ProjectDetailsWidget global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Gui.Component.ProjectDetailsWidget"; // Container child LongoMatch.Gui.Component.ProjectDetailsWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.competitionentry = new global::Gtk.Entry (); this.competitionentry.CanFocus = true; this.competitionentry.Name = "competitionentry"; this.competitionentry.IsEditable = true; this.competitionentry.InvisibleChar = '●'; this.table1.Add (this.competitionentry); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.competitionentry])); w1.TopAttach = ((uint)(4)); w1.BottomAttach = ((uint)(5)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.Competitionlabel = new global::Gtk.Label (); this.Competitionlabel.Name = "Competitionlabel"; this.Competitionlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Competition:"); this.table1.Add (this.Competitionlabel); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.Competitionlabel])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.filehbox = new global::Gtk.HBox (); this.filehbox.Name = "filehbox"; this.filehbox.Spacing = 6; // Container child filehbox.Gtk.Box+BoxChild this.fileEntry = new global::Gtk.Entry (); this.fileEntry.CanFocus = true; this.fileEntry.Name = "fileEntry"; this.fileEntry.IsEditable = false; this.fileEntry.InvisibleChar = '●'; this.filehbox.Add (this.fileEntry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.filehbox [this.fileEntry])); w3.Position = 0; // Container child filehbox.Gtk.Box+BoxChild this.openbutton = new global::Gtk.Button (); this.openbutton.CanFocus = true; this.openbutton.Name = "openbutton"; this.openbutton.UseStock = true; this.openbutton.UseUnderline = true; this.openbutton.Label = "gtk-open"; this.filehbox.Add (this.openbutton); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.filehbox [this.openbutton])); w4.Position = 1; w4.Expand = false; this.table1.Add (this.filehbox); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.filehbox])); w5.TopAttach = ((uint)(7)); w5.BottomAttach = ((uint)(8)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.filelabel = new global::Gtk.Label (); this.filelabel.Name = "filelabel"; this.filelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("File:"); this.table1.Add (this.filelabel); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.filelabel])); w6.TopAttach = ((uint)(7)); w6.BottomAttach = ((uint)(8)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.localcombobox = global::Gtk.ComboBox.NewText (); this.localcombobox.Name = "localcombobox"; this.hbox1.Add (this.localcombobox); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.localcombobox])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.localteamlabel = new global::Gtk.Label (); this.localteamlabel.Name = "localteamlabel"; this.hbox1.Add (this.localteamlabel); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.localteamlabel])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.localtemplatebutton = new global::Gtk.Button (); this.localtemplatebutton.CanFocus = true; this.localtemplatebutton.Name = "localtemplatebutton"; this.localtemplatebutton.UseStock = true; this.localtemplatebutton.UseUnderline = true; this.localtemplatebutton.Label = "gtk-edit"; this.hbox1.Add (this.localtemplatebutton); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.localtemplatebutton])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.table1.Add (this.hbox1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.visitorcombobox = global::Gtk.ComboBox.NewText (); this.visitorcombobox.Name = "visitorcombobox"; this.hbox2.Add (this.visitorcombobox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.visitorcombobox])); w11.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.visitorteamlabel = new global::Gtk.Label (); this.visitorteamlabel.Name = "visitorteamlabel"; this.hbox2.Add (this.visitorteamlabel); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.visitorteamlabel])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.visitorbutton = new global::Gtk.Button (); this.visitorbutton.CanFocus = true; this.visitorbutton.Name = "visitorbutton"; this.visitorbutton.UseStock = true; this.visitorbutton.UseUnderline = true; this.visitorbutton.Label = "gtk-edit"; this.hbox2.Add (this.visitorbutton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.visitorbutton])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.table1.Add (this.hbox2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.tagscombobox = global::Gtk.ComboBox.NewText (); this.tagscombobox.Name = "tagscombobox"; this.hbox3.Add (this.tagscombobox); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.tagscombobox])); w15.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.editbutton = new global::Gtk.Button (); this.editbutton.CanFocus = true; this.editbutton.Name = "editbutton"; this.editbutton.UseStock = true; this.editbutton.UseUnderline = true; this.editbutton.Label = "gtk-edit"; this.hbox3.Add (this.editbutton); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.editbutton])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.table1.Add (this.hbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox3])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.localSpinButton = new global::Gtk.SpinButton (0, 1000, 1); this.localSpinButton.CanFocus = true; this.localSpinButton.Name = "localSpinButton"; this.localSpinButton.Adjustment.PageIncrement = 10; this.localSpinButton.ClimbRate = 1; this.localSpinButton.Numeric = true; this.hbox4.Add (this.localSpinButton); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.localSpinButton])); w18.Position = 0; w18.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("-"); this.hbox4.Add (this.label1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label1])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.visitorSpinButton = new global::Gtk.SpinButton (0, 1000, 1); this.visitorSpinButton.CanFocus = true; this.visitorSpinButton.Name = "visitorSpinButton"; this.visitorSpinButton.Adjustment.PageIncrement = 10; this.visitorSpinButton.ClimbRate = 1; this.visitorSpinButton.Numeric = true; this.hbox4.Add (this.visitorSpinButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.visitorSpinButton])); w20.Position = 2; w20.Fill = false; this.table1.Add (this.hbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox4])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.dateEntry = new global::Gtk.Entry (); this.dateEntry.CanFocus = true; this.dateEntry.Name = "dateEntry"; this.dateEntry.IsEditable = false; this.dateEntry.InvisibleChar = '●'; this.hbox5.Add (this.dateEntry); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.dateEntry])); w22.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.calendarbutton = new global::Gtk.Button (); this.calendarbutton.CanFocus = true; this.calendarbutton.Name = "calendarbutton"; this.calendarbutton.UseUnderline = true; // Container child calendarbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w23 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w24 = new global::Gtk.HBox (); w24.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w25 = new global::Gtk.Image (); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_calendar", global::Gtk.IconSize.Button); w24.Add (w25); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w27 = new global::Gtk.Label (); w27.LabelProp = global::Mono.Unix.Catalog.GetString ("_Calendar"); w27.UseUnderline = true; w24.Add (w27); w23.Add (w24); this.calendarbutton.Add (w23); this.hbox5.Add (this.calendarbutton); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.calendarbutton])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.table1.Add (this.hbox5); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w32.TopAttach = ((uint)(6)); w32.BottomAttach = ((uint)(7)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Visitor Team:"); this.table1.Add (this.label10); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Score:"); this.table1.Add (this.label11); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Date:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w35.TopAttach = ((uint)(6)); w35.BottomAttach = ((uint)(7)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Local Team:"); this.table1.Add (this.label8); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Categories Template:"); this.table1.Add (this.label9); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w37.TopAttach = ((uint)(5)); w37.BottomAttach = ((uint)(6)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.seasonentry = new global::Gtk.Entry (); this.seasonentry.CanFocus = true; this.seasonentry.Name = "seasonentry"; this.seasonentry.IsEditable = true; this.seasonentry.InvisibleChar = '●'; this.table1.Add (this.seasonentry); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.seasonentry])); w38.TopAttach = ((uint)(3)); w38.BottomAttach = ((uint)(4)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.seasonlabel = new global::Gtk.Label (); this.seasonlabel.Name = "seasonlabel"; this.seasonlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Season:"); this.table1.Add (this.seasonlabel); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.seasonlabel])); w39.TopAttach = ((uint)(3)); w39.BottomAttach = ((uint)(4)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w40.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.audiobitratelabel = new global::Gtk.Label (); this.audiobitratelabel.Name = "audiobitratelabel"; this.audiobitratelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Audio Bitrate (kbps):"); this.table2.Add (this.audiobitratelabel); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table2 [this.audiobitratelabel])); w41.TopAttach = ((uint)(4)); w41.BottomAttach = ((uint)(5)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.audiobitratespinbutton = new global::Gtk.SpinButton (0, 360, 1); this.audiobitratespinbutton.CanFocus = true; this.audiobitratespinbutton.Name = "audiobitratespinbutton"; this.audiobitratespinbutton.Adjustment.PageIncrement = 10; this.audiobitratespinbutton.ClimbRate = 1; this.audiobitratespinbutton.Numeric = true; this.audiobitratespinbutton.Value = 64; this.table2.Add (this.audiobitratespinbutton); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table2 [this.audiobitratespinbutton])); w42.TopAttach = ((uint)(4)); w42.BottomAttach = ((uint)(5)); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(1)); w42.YOptions = ((global::Gtk.AttachOptions)(1)); // Container child table2.Gtk.Table+TableChild this.device = new global::Gtk.Label (); this.device.Name = "device"; this.device.LabelProp = global::Mono.Unix.Catalog.GetString ("Device:"); this.table2.Add (this.device); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table2 [this.device])); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.devicecombobox = global::Gtk.ComboBox.NewText (); this.devicecombobox.Name = "devicecombobox"; this.table2.Add (this.devicecombobox); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table2 [this.devicecombobox])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.sizecombobox = global::Gtk.ComboBox.NewText (); this.sizecombobox.Name = "sizecombobox"; this.table2.Add (this.sizecombobox); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table2 [this.sizecombobox])); w45.TopAttach = ((uint)(2)); w45.BottomAttach = ((uint)(3)); w45.LeftAttach = ((uint)(1)); w45.RightAttach = ((uint)(2)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.sizelabel = new global::Gtk.Label (); this.sizelabel.Name = "sizelabel"; this.sizelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Video Size:"); this.table2.Add (this.sizelabel); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table2 [this.sizelabel])); w46.TopAttach = ((uint)(2)); w46.BottomAttach = ((uint)(3)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.videobitratelabel1 = new global::Gtk.Label (); this.videobitratelabel1.Name = "videobitratelabel1"; this.videobitratelabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Video Bitrate (kbps):"); this.table2.Add (this.videobitratelabel1); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table2 [this.videobitratelabel1])); w47.TopAttach = ((uint)(3)); w47.BottomAttach = ((uint)(4)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.videobitratespinbutton = new global::Gtk.SpinButton (1000, 8000, 1); this.videobitratespinbutton.CanFocus = true; this.videobitratespinbutton.Name = "videobitratespinbutton"; this.videobitratespinbutton.Adjustment.PageIncrement = 10; this.videobitratespinbutton.ClimbRate = 1; this.videobitratespinbutton.Numeric = true; this.videobitratespinbutton.Value = 4000; this.table2.Add (this.videobitratespinbutton); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table2 [this.videobitratespinbutton])); w48.TopAttach = ((uint)(3)); w48.BottomAttach = ((uint)(4)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(2)); w48.XOptions = ((global::Gtk.AttachOptions)(1)); w48.YOptions = ((global::Gtk.AttachOptions)(1)); // Container child table2.Gtk.Table+TableChild this.videoformatcombobox = global::Gtk.ComboBox.NewText (); this.videoformatcombobox.Name = "videoformatcombobox"; this.table2.Add (this.videoformatcombobox); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table2 [this.videoformatcombobox])); w49.TopAttach = ((uint)(1)); w49.BottomAttach = ((uint)(2)); w49.LeftAttach = ((uint)(1)); w49.RightAttach = ((uint)(2)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.videoformatlabel = new global::Gtk.Label (); this.videoformatlabel.Name = "videoformatlabel"; this.videoformatlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Video Format:"); this.table2.Add (this.videoformatlabel); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table2 [this.videoformatlabel])); w50.TopAttach = ((uint)(1)); w50.BottomAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander1.Add (this.table2); this.GtkLabel5 = new global::Gtk.Label (); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString ("Video encoding properties"); this.GtkLabel5.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel5; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.editbutton.Hide (); this.device.Hide (); this.videobitratelabel1.Hide (); this.Show (); this.seasonentry.Changed += new global::System.EventHandler (this.OnEdited); this.dateEntry.Changed += new global::System.EventHandler (this.OnEdited); this.calendarbutton.Clicked += new global::System.EventHandler (this.OnCalendarbuttonClicked); this.localSpinButton.ValueChanged += new global::System.EventHandler (this.OnEdited); this.visitorSpinButton.ValueChanged += new global::System.EventHandler (this.OnEdited); this.tagscombobox.Changed += new global::System.EventHandler (this.OnCombobox1Changed); this.editbutton.Clicked += new global::System.EventHandler (this.OnEditbuttonClicked); this.visitorcombobox.Changed += new global::System.EventHandler (this.OnVisitorcomboboxChanged); this.visitorbutton.Clicked += new global::System.EventHandler (this.OnVisitorbuttonClicked); this.localcombobox.Changed += new global::System.EventHandler (this.OnLocalcomboboxChanged); this.localtemplatebutton.Clicked += new global::System.EventHandler (this.OnLocaltemplatebuttonClicked); this.fileEntry.Changed += new global::System.EventHandler (this.OnEdited); this.openbutton.Clicked += new global::System.EventHandler (this.OnOpenbuttonClicked); this.competitionentry.Changed += new global::System.EventHandler (this.OnEdited); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mono.CSharp.Gui.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, null); this.AttachToProcessAction = new global::Gtk.Action("AttachToProcessAction", global::Mono.Unix.Catalog.GetString("Attach to Process"), null, null); this.AttachToProcessAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Attach to Process"); w1.Add(this.AttachToProcessAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View"); w1.Add(this.ViewAction, null); this.gtkpane = new global::Gtk.ToggleAction("gtkpane", global::Mono.Unix.Catalog.GetString("Gtk Pane"), null, null); this.gtkpane.ShortLabel = global::Mono.Unix.Catalog.GetString("Gtk Pane"); w1.Add(this.gtkpane, null); this.ToolsAction = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools"); w1.Add(this.ToolsAction, null); this.DescribeTypeAction = new global::Gtk.Action("DescribeTypeAction", global::Mono.Unix.Catalog.GetString("Describe Type"), null, null); this.DescribeTypeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Describe Type"); w1.Add(this.DescribeTypeAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Mono.CSharp.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultWidth = 600; this.DefaultHeight = 500; // Container child Mono.CSharp.Gui.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='AttachToProcessAction' action='AttachToProcessAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='gtkpane' action='gtkpane'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='DescribeTypeAction' action='DescribeTypeAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.ShowBorder = false; this.notebook1.ShowTabs = false; // Container child notebook1.Gtk.Notebook+NotebookChild this.hpaned = new global::Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 472; // Container child hpaned.Gtk.Paned+PanedChild this.paned_container = new global::Gtk.EventBox(); this.paned_container.Name = "paned_container"; this.hpaned.Add(this.paned_container); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.paned_container])); w3.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xpad = 10; this.label4.Xalign = 0.1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Set the contents of this pane by adding Gtk.Widgets children to the <b>PaneContainer</b> property. The PaneContainer is a Gtk.EventBox. \n\nTry it like this:\n\nLoadPackage (\"gtk-sharp-2.0\");\nvar l = new Label (\"Hello world\");\nPaneContainer.Add (l);\nl.ShowAll ();"); this.label4.UseMarkup = true; this.label4.Wrap = true; this.expander1.Add(this.label4); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>PaneContent</b>"); this.GtkLabel4.UseMarkup = true; this.GtkLabel4.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel4; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.eventbox = new global::Gtk.EventBox(); this.eventbox.Name = "eventbox"; this.vbox2.Add(this.eventbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.eventbox])); w6.Position = 1; this.hpaned.Add(this.vbox2); this.notebook1.Add(this.hpaned); // 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.hpaned, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.standalone_container = new global::Gtk.EventBox(); this.standalone_container.Name = "standalone_container"; // Container child standalone_container.Gtk.Container+ContainerChild this.shellnotebook = new global::Gtk.Notebook(); this.shellnotebook.CanFocus = true; this.shellnotebook.Name = "shellnotebook"; this.shellnotebook.CurrentPage = 0; this.shellnotebook.ShowTabs = false; this.shellnotebook.Scrollable = true; // Container child shellnotebook.Gtk.Notebook+NotebookChild this.sw = new global::Gtk.ScrolledWindow(); this.sw.CanFocus = true; this.sw.Name = "sw"; this.sw.ShadowType = ((global::Gtk.ShadowType)(1)); this.shellnotebook.Add(this.sw); // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("C#"); this.shellnotebook.SetTabLabel(this.sw, this.label3); this.label3.ShowAll(); this.standalone_container.Add(this.shellnotebook); this.notebook1.Add(this.standalone_container); global::Gtk.Notebook.NotebookChild w11 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.standalone_container])); w11.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("page2"); this.notebook1.SetTabLabel(this.standalone_container, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w12.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.AttachToProcessAction.Activated += new global::System.EventHandler(this.OnAttachToProcessActionActivated); this.DescribeTypeAction.Activated += new global::System.EventHandler(this.OnDescribeTypeActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget libTerminus.cKeyBoard this.Name = "libTerminus.cKeyBoard"; this.Title = global::Mono.Unix.Catalog.GetString ("Tastaturkombinationen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cKeyBoard.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander (null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>STRG + N</b> Neue Datei anlegen\n<b>STRG + O</b> Datei öffnen\n<b>STRG + S</b> Datei speichern\n<b>STRG + ALT + S</b> Datei speichern unter\n<b>STRG + K</b> Dateikopie speichern\n<b>STRG + E</b> Datei schließen"); this.label2.UseMarkup = true; this.expander2.Add (this.label2); this.GtkLabel = new global::Gtk.Label (); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Dateimanagement"); this.GtkLabel.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel; this.vbox3.Add (this.expander2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.expander2])); w2.Position = 0; w2.Expand = false; // Container child vbox3.Gtk.Box+BoxChild this.expander3 = new global::Gtk.Expander (null); this.expander3.CanFocus = true; this.expander3.Name = "expander3"; this.expander3.Expanded = true; // Container child expander3.Gtk.Container+ContainerChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>STRG + Q</b> Terminus beenden\n<b>STRG + I</b> HIlfe im Web aufrufen\n<b>STRG + Y</b> Informationen über diese Version anzeigen\n<b>STRG + B</b> Fehler melden\n<b>STRG + I</b> Programminfo anzeigen\n<b>STRG + P</b> Einstellungen\n<b>STRG + L</b> Bibliothek einblenden\n<b>STRG + ALT + K</b> Diesen DIalog einblenden"); this.label3.UseMarkup = true; this.expander3.Add (this.label3); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Programm"); this.GtkLabel1.UseUnderline = true; this.expander3.LabelWidget = this.GtkLabel1; this.vbox3.Add (this.expander3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.expander3])); w4.Position = 1; w4.Expand = false; // Container child vbox3.Gtk.Box+BoxChild this.expander4 = new global::Gtk.Expander (null); this.expander4.CanFocus = true; this.expander4.Name = "expander4"; this.expander4.Expanded = true; // Container child expander4.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>STRG + Z</b> Rückgängig\n<b>STRG + W</b> Wiederholen\n<b>STRG + X</b> Ausschneiden\n<b>STRG + V</b> Einfügen\n<b>STRG + C</b> Kopieren"); this.label4.UseMarkup = true; this.expander4.Add (this.label4); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Bearbeitungsbefehle"); this.GtkLabel2.UseUnderline = true; this.expander4.LabelWidget = this.GtkLabel2; this.vbox3.Add (this.expander4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.expander4])); w6.Position = 2; w6.Expand = false; // Container child vbox3.Gtk.Box+BoxChild this.expander5 = new global::Gtk.Expander (null); this.expander5.CanFocus = true; this.expander5.Name = "expander5"; this.expander5.Expanded = true; // Container child expander5.Gtk.Container+ContainerChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>STRG + Leer</b> Ausdruck verarbeiten\n<b>STRG + ALT + SUPER + C</b> Ausdruck und Daten und Ausgabe leeren\n<b>STRG + ALT + T</b> Export nach *.txt\n<b>STRG + ALT + C</b> Export nach *.csv\n<b>STRG + ALT + H</b> Export nach Hypertext\n<b>STRG + ALT + U</b> Ausdrücke wiederherstellen"); this.label5.UseMarkup = true; this.label5.Wrap = true; this.expander5.Add (this.label5); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("Ausdrucksverarbeitung"); this.GtkLabel3.UseUnderline = true; this.expander5.LabelWidget = this.GtkLabel3; this.vbox3.Add (this.expander5); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.expander5])); w8.Position = 3; w8.Expand = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 468; this.DefaultHeight = 573; this.Show (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Database.Components.ConnectionSettingsWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.Database.Components.ConnectionSettingsWidget"; // Container child MonoDevelop.Database.Components.ConnectionSettingsWidget.Gtk.Container+ContainerChild this.table = new global::Gtk.Table (((uint)(10)), ((uint)(2)), false); this.table.Name = "table"; this.table.RowSpacing = ((uint)(6)); this.table.ColumnSpacing = ((uint)(6)); this.table.BorderWidth = ((uint)(6)); // Container child table.Gtk.Table+TableChild this.buttonTest = new global::Gtk.Button (); this.buttonTest.CanFocus = true; this.buttonTest.Name = "buttonTest"; this.buttonTest.UseUnderline = true; // Container child buttonTest.Gtk.Container+ContainerChild global::Gtk.Alignment w1 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w2 = new global::Gtk.HBox (); w2.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w2.Add (w3); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w5 = new global::Gtk.Label (); w5.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Test"); w5.UseUnderline = true; w2.Add (w5); w1.Add (w2); this.buttonTest.Add (w1); this.table.Add (this.buttonTest); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table[this.buttonTest])); w9.TopAttach = ((uint)(8)); w9.BottomAttach = ((uint)(9)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.checkIntegratedSecurity = new global::Gtk.CheckButton (); this.checkIntegratedSecurity.CanFocus = true; this.checkIntegratedSecurity.Name = "checkIntegratedSecurity"; this.checkIntegratedSecurity.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Use Integrated security"); this.checkIntegratedSecurity.Active = true; this.checkIntegratedSecurity.DrawIndicator = true; this.checkIntegratedSecurity.UseUnderline = true; this.table.Add (this.checkIntegratedSecurity); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table[this.checkIntegratedSecurity])); w10.TopAttach = ((uint)(5)); w10.BottomAttach = ((uint)(6)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.entryName = new global::Gtk.Entry (); this.entryName.CanDefault = true; this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.ActivatesDefault = true; this.entryName.InvisibleChar = '●'; this.table.Add (this.entryName); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table[this.entryName])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.entryServer = new global::Gtk.Entry (); this.entryServer.CanFocus = true; this.entryServer.Name = "entryServer"; this.entryServer.IsEditable = true; this.entryServer.InvisibleChar = '●'; this.table.Add (this.entryServer); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table[this.entryServer])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.entryUsername = new global::Gtk.Entry (); this.entryUsername.CanFocus = true; this.entryUsername.Name = "entryUsername"; this.entryUsername.IsEditable = true; this.entryUsername.InvisibleChar = '●'; this.table.Add (this.entryUsername); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table[this.entryUsername])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.expander = new global::Gtk.Expander (null); this.expander.CanFocus = true; this.expander.Name = "expander"; // Container child expander.Gtk.Container+ContainerChild this.tableAdvanced = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); this.tableAdvanced.Name = "tableAdvanced"; this.tableAdvanced.RowSpacing = ((uint)(6)); this.tableAdvanced.ColumnSpacing = ((uint)(6)); this.tableAdvanced.BorderWidth = ((uint)(6)); // Container child tableAdvanced.Gtk.Table+TableChild this.checkCustom = new global::Gtk.CheckButton (); this.checkCustom.CanFocus = true; this.checkCustom.Name = "checkCustom"; this.checkCustom.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Use custom connection string"); this.checkCustom.DrawIndicator = true; this.checkCustom.UseUnderline = true; this.tableAdvanced.Add (this.checkCustom); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.checkCustom])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 0f; this.label10.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Min Pool Size:"); this.tableAdvanced.Add (this.label10); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.label10])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 0f; this.label11.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Max Pool Size:"); this.tableAdvanced.Add (this.label11); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.label11])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.scrolledwindow = new global::Gtk.ScrolledWindow (); this.scrolledwindow.Sensitive = false; this.scrolledwindow.CanFocus = true; this.scrolledwindow.Name = "scrolledwindow"; this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow.Gtk.Container+ContainerChild this.textConnectionString = new global::Gtk.TextView (); this.textConnectionString.CanFocus = true; this.textConnectionString.Name = "textConnectionString"; this.scrolledwindow.Add (this.textConnectionString); this.tableAdvanced.Add (this.scrolledwindow); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.scrolledwindow])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.spinMaxPoolSize = new global::Gtk.SpinButton (1, 100, 1); this.spinMaxPoolSize.CanFocus = true; this.spinMaxPoolSize.Name = "spinMaxPoolSize"; this.spinMaxPoolSize.Adjustment.PageIncrement = 10; this.spinMaxPoolSize.ClimbRate = 1; this.spinMaxPoolSize.Numeric = true; this.spinMaxPoolSize.Value = 5; this.tableAdvanced.Add (this.spinMaxPoolSize); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.spinMaxPoolSize])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.spinMinPoolSize = new global::Gtk.SpinButton (1, 100, 1); this.spinMinPoolSize.CanFocus = true; this.spinMinPoolSize.Name = "spinMinPoolSize"; this.spinMinPoolSize.Adjustment.PageIncrement = 10; this.spinMinPoolSize.ClimbRate = 1; this.spinMinPoolSize.Numeric = true; this.spinMinPoolSize.Value = 1; this.tableAdvanced.Add (this.spinMinPoolSize); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableAdvanced[this.spinMinPoolSize])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander.Add (this.tableAdvanced); this.GtkLabel5 = new global::Gtk.Label (); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Advanced"); this.GtkLabel5.UseUnderline = true; this.expander.LabelWidget = this.GtkLabel5; this.table.Add (this.expander); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table[this.expander])); w22.TopAttach = ((uint)(7)); w22.BottomAttach = ((uint)(8)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.spinPort = new global::Gtk.SpinButton (1, 65535, 1); this.spinPort.CanFocus = true; this.spinPort.Name = "spinPort"; this.spinPort.Adjustment.PageIncrement = 10; this.spinPort.ClimbRate = 1; this.spinPort.Numeric = true; this.spinPort.Value = 1; this.hbox2.Add (this.spinPort); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.spinPort])); w23.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.checkDefaultPort = new global::Gtk.CheckButton (); this.checkDefaultPort.CanFocus = true; this.checkDefaultPort.Name = "checkDefaultPort"; this.checkDefaultPort.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Use default port"); this.checkDefaultPort.DrawIndicator = true; this.checkDefaultPort.UseUnderline = true; this.hbox2.Add (this.checkDefaultPort); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.checkDefaultPort])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.table.Add (this.hbox2); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table[this.hbox2])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.hboxDatabase = new global::Gtk.HBox (); this.hboxDatabase.Name = "hboxDatabase"; this.hboxDatabase.Spacing = 6; // Container child hboxDatabase.Gtk.Box+BoxChild this.comboDatabase = global::Gtk.ComboBoxEntry.NewText (); this.comboDatabase.Name = "comboDatabase"; this.hboxDatabase.Add (this.comboDatabase); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxDatabase[this.comboDatabase])); w26.Position = 0; // Container child hboxDatabase.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button (); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseStock = true; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = "gtk-refresh"; this.hboxDatabase.Add (this.buttonRefresh); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonRefresh])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child hboxDatabase.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button (); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseStock = true; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = "gtk-open"; this.hboxDatabase.Add (this.buttonOpen); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonOpen])); w28.Position = 2; w28.Expand = false; w28.Fill = false; this.table.Add (this.hboxDatabase); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table[this.hboxDatabase])); w29.TopAttach = ((uint)(6)); w29.BottomAttach = ((uint)(7)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.hboxPassword = new global::Gtk.HBox (); this.hboxPassword.Name = "hboxPassword"; this.hboxPassword.Spacing = 6; // Container child hboxPassword.Gtk.Box+BoxChild this.entryPassword = new global::Gtk.Entry (); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.Visibility = false; this.entryPassword.InvisibleChar = '●'; this.hboxPassword.Add (this.entryPassword); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hboxPassword[this.entryPassword])); w30.Position = 0; // Container child hboxPassword.Gtk.Box+BoxChild this.checkSavePassword = new global::Gtk.CheckButton (); this.checkSavePassword.CanFocus = true; this.checkSavePassword.Name = "checkSavePassword"; this.checkSavePassword.Label = global::MonoDevelop.Database.AddinCatalog.GetString ("Save Password"); this.checkSavePassword.Active = true; this.checkSavePassword.DrawIndicator = true; this.checkSavePassword.UseUnderline = true; this.hboxPassword.Add (this.checkSavePassword); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxPassword[this.checkSavePassword])); w31.Position = 1; w31.Expand = false; this.table.Add (this.hboxPassword); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table[this.hboxPassword])); w32.TopAttach = ((uint)(4)); w32.BottomAttach = ((uint)(5)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.labelDatabase = new global::Gtk.Label (); this.labelDatabase.Name = "labelDatabase"; this.labelDatabase.Xalign = 0f; this.labelDatabase.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Database:"); this.table.Add (this.labelDatabase); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table[this.labelDatabase])); w33.TopAttach = ((uint)(6)); w33.BottomAttach = ((uint)(7)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.labelName = new global::Gtk.Label (); this.labelName.Name = "labelName"; this.labelName.Xalign = 0f; this.labelName.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Name:"); this.table.Add (this.labelName); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table[this.labelName])); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.labelPassword = new global::Gtk.Label (); this.labelPassword.Name = "labelPassword"; this.labelPassword.Xalign = 0f; this.labelPassword.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Password:"******"labelPort"; this.labelPort.Xalign = 0f; this.labelPort.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Port:"); this.table.Add (this.labelPort); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table[this.labelPort])); w36.TopAttach = ((uint)(2)); w36.BottomAttach = ((uint)(3)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.labelServer = new global::Gtk.Label (); this.labelServer.Name = "labelServer"; this.labelServer.Xalign = 0f; this.labelServer.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Server:"); this.table.Add (this.labelServer); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table[this.labelServer])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.labelTest = new global::Gtk.Label (); this.labelTest.Name = "labelTest"; this.labelTest.Xalign = 0f; this.labelTest.Wrap = true; this.table.Add (this.labelTest); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table[this.labelTest])); w38.TopAttach = ((uint)(8)); w38.BottomAttach = ((uint)(9)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.labelUsername = new global::Gtk.Label (); this.labelUsername.Name = "labelUsername"; this.labelUsername.Xalign = 0f; this.labelUsername.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Username:"******"VBoxMain"; this.VBoxMain.Spacing = 6; // Container child VBoxMain.Gtk.Box+BoxChild this.labelMessage = new global::Gtk.Label (); this.labelMessage.Name = "labelMessage"; this.labelMessage.UseMarkup = true; this.VBoxMain.Add (this.labelMessage); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.VBoxMain[this.labelMessage])); w40.Position = 0; w40.Fill = false; this.table.Add (this.VBoxMain); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table[this.VBoxMain])); w41.TopAttach = ((uint)(9)); w41.BottomAttach = ((uint)(10)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.entryPassword.Changed += new global::System.EventHandler (this.PasswordChanged); this.buttonRefresh.Clicked += new global::System.EventHandler (this.RefreshClicked); this.buttonOpen.Clicked += new global::System.EventHandler (this.OpenClicked); this.spinPort.Changed += new global::System.EventHandler (this.PortChanged); this.checkDefaultPort.Toggled += new global::System.EventHandler (this.OnCheckDefaultPortToggled); this.spinMinPoolSize.Changed += new global::System.EventHandler (this.MinPoolSizeChanged); this.spinMaxPoolSize.Changed += new global::System.EventHandler (this.MaxPoolSizeChanged); this.entryUsername.Changed += new global::System.EventHandler (this.UsernameChanged); this.entryServer.Changed += new global::System.EventHandler (this.ServerChanged); this.entryName.Changed += new global::System.EventHandler (this.NameChanged); this.checkIntegratedSecurity.Toggled += new global::System.EventHandler (this.OnCheckIntegratedSecurityToggled); this.buttonTest.Clicked += new global::System.EventHandler (this.TestClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Moscrif.IDE.Controls.NewWorkspaceDialog this.Name = "Moscrif.IDE.Controls.NewWorkspaceDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("New Workspace"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child Moscrif.IDE.Controls.NewWorkspaceDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(10)); // Container child vbox2.Gtk.Box+BoxChild this.table2b = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table2b.Name = "table2b"; this.table2b.RowSpacing = ((uint)(6)); this.table2b.ColumnSpacing = ((uint)(6)); // Container child table2b.Gtk.Table+TableChild this.entWorkspace = new global::Gtk.Entry (); this.entWorkspace.CanFocus = true; this.entWorkspace.Events = ((global::Gdk.EventMask)(2048)); this.entWorkspace.Name = "entWorkspace"; this.entWorkspace.IsEditable = true; this.entWorkspace.InvisibleChar = '●'; this.table2b.Add (this.entWorkspace); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2b [this.entWorkspace])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2b.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 ("Location :"); this.table2b.Add (this.label3); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2b [this.label3])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XPadding = ((uint)(5)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2b.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Workspace Name :"); this.table2b.Add (this.label6); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2b [this.label6])); w4.XPadding = ((uint)(5)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table2b); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2b])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.cbCopyLibs = new global::Gtk.CheckButton (); this.cbCopyLibs.CanFocus = true; this.cbCopyLibs.Name = "cbCopyLibs"; this.cbCopyLibs.Label = global::Mono.Unix.Catalog.GetString ("Copy All Libs"); this.cbCopyLibs.DrawIndicator = true; this.cbCopyLibs.UseUnderline = true; this.table2.Add (this.cbCopyLibs); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.cbCopyLibs])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.cbSubFolder = new global::Gtk.CheckButton (); this.cbSubFolder.CanFocus = true; this.cbSubFolder.Name = "cbSubFolder"; this.cbSubFolder.Label = global::Mono.Unix.Catalog.GetString ("Create directory for workspace"); this.cbSubFolder.Active = true; this.cbSubFolder.DrawIndicator = true; this.cbSubFolder.UseUnderline = true; this.table2.Add (this.cbSubFolder); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.cbSubFolder])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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 ("Output Directory :"); this.table2.Add (this.label4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4])); w8.XPadding = ((uint)(9)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander1.Add (this.table2); this.GtkLabel5 = new global::Gtk.Label (); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString ("Detail"); this.GtkLabel5.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel5; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.trmProject = new global::Gtk.Frame (); this.trmProject.Name = "trmProject"; // Container child trmProject.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(8)); this.table3.BorderWidth = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.entrProjectName = new global::Gtk.Entry (); this.entrProjectName.CanFocus = true; this.entrProjectName.Name = "entrProjectName"; this.entrProjectName.IsEditable = true; this.entrProjectName.InvisibleChar = '●'; this.table3.Add (this.entrProjectName); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.entrProjectName])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.WidthRequest = 85; this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Project Name :"); this.table3.Add (this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.table3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table3])); w13.Position = 0; w13.Expand = false; w13.Fill = false; this.GtkAlignment1.Add (this.vbox3); this.trmProject.Add (this.GtkAlignment1); this.GtkLabel4 = new global::Gtk.Label (); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Project</b>"); this.GtkLabel4.UseMarkup = true; this.trmProject.LabelWidget = this.GtkLabel4; this.vbox2.Add (this.trmProject); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.trmProject])); w16.Position = 2; w1.Add (this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w17.Position = 0; // Internal child Moscrif.IDE.Controls.NewWorkspaceDialog.ActionArea global::Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(10)); w18.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); w18.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonOk])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 444; this.DefaultHeight = 303; this.vbox3.Hide (); this.trmProject.Hide (); this.Show (); this.entWorkspace.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnEntWorkspaceKeyReleaseEvent); this.entrProjectName.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnEntrProjectNameKeyReleaseEvent); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget gtk.frmCiv this.Name = "gtk.frmCiv"; this.Title = global::Mono.Unix.Catalog.GetString ("frmCiv"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child gtk.frmCiv.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.nvCiudades = new global::Gtk.NodeView (); this.nvCiudades.CanFocus = true; this.nvCiudades.Name = "nvCiudades"; this.GtkScrolledWindow.Add (this.nvCiudades); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w2.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbuttonbox1 = new global::Gtk.HButtonBox (); this.hbuttonbox1.Name = "hbuttonbox1"; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.cmdIrCiudad = new global::Gtk.Button (); this.cmdIrCiudad.CanFocus = true; this.cmdIrCiudad.Name = "cmdIrCiudad"; this.cmdIrCiudad.UseUnderline = true; this.cmdIrCiudad.Label = global::Mono.Unix.Catalog.GetString ("_Ir a"); this.hbuttonbox1.Add (this.cmdIrCiudad); global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.cmdIrCiudad])); w3.Expand = false; w3.Fill = false; this.vbox2.Add (this.hbuttonbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbuttonbox1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.notebook1.Add (this.vbox2); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Ciudades"); this.notebook1.SetTabLabel (this.vbox2, this.label1); this.label1.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame1.LabelXalign = 1F; // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.WidthRequest = 0; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.nvAvances = new global::Gtk.NodeView (); this.nvAvances.WidthRequest = 200; this.nvAvances.CanFocus = true; this.nvAvances.Name = "nvAvances"; this.GtkScrolledWindow1.Add (this.nvAvances); this.GtkAlignment.Add (this.GtkScrolledWindow1); this.frame1.Add (this.GtkAlignment); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Avances</b>"); this.GtkLabel1.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel1; this.hbox1.Add (this.frame1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frame1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame2.LabelXalign = 1F; // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.nvInvestigando = new global::Gtk.NodeView (); this.nvInvestigando.WidthRequest = 200; this.nvInvestigando.CanFocus = true; this.nvInvestigando.Name = "nvInvestigando"; this.GtkScrolledWindow3.Add (this.nvInvestigando); this.hbox3.Add (this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.GtkScrolledWindow3])); w11.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.nvInvestDetalle = new global::Gtk.NodeView (); this.nvInvestDetalle.WidthRequest = 400; this.nvInvestDetalle.CanFocus = true; this.nvInvestDetalle.Name = "nvInvestDetalle"; this.GtkScrolledWindow2.Add (this.nvInvestDetalle); this.hbox3.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.GtkScrolledWindow2])); w13.Position = 1; this.GtkAlignment1.Add (this.hbox3); this.frame2.Add (this.GtkAlignment1); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Investigando</b>"); this.GtkLabel2.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel2; this.hbox1.Add (this.frame2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frame2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.notebook1.Add (this.hbox1); global::Gtk.Notebook.NotebookChild w17 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.hbox1])); w17.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("_Avances"); this.label2.UseUnderline = true; this.notebook1.SetTabLabel (this.hbox1, this.label2); this.label2.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.ArmadaSelector = new global::gtk.wgArmadaComboBox (); this.ArmadaSelector.Events = ((global::Gdk.EventMask)(256)); this.ArmadaSelector.Name = "ArmadaSelector"; this.vbox3.Add (this.ArmadaSelector); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ArmadaSelector])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ArmadaSeleccionadaInfo = new global::gtk.ArmadaWidget (); this.ArmadaSeleccionadaInfo.WidthRequest = 200; this.ArmadaSeleccionadaInfo.Events = ((global::Gdk.EventMask)(256)); this.ArmadaSeleccionadaInfo.Name = "ArmadaSeleccionadaInfo"; this.vbox3.Add (this.ArmadaSeleccionadaInfo); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ArmadaSeleccionadaInfo])); w19.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.lbPos = new global::Gtk.Label (); this.lbPos.Name = "lbPos"; this.vbox3.Add (this.lbPos); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lbPos])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.hbox4.Add (this.vbox3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox3])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.expIr = new global::Gtk.Expander (null); this.expIr.CanFocus = true; this.expIr.Name = "expIr"; this.expIr.Expanded = true; // Container child expIr.Gtk.Container+ContainerChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.IrACB = new global::gtk.GeneralCombobox (); this.IrACB.Events = ((global::Gdk.EventMask)(256)); this.IrACB.Name = "IrACB"; this.hbox5.Add (this.IrACB); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.IrACB])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.cmdIrA = new global::Gtk.Button (); this.cmdIrA.CanFocus = true; this.cmdIrA.Name = "cmdIrA"; this.cmdIrA.UseUnderline = true; this.cmdIrA.Label = global::Mono.Unix.Catalog.GetString ("_Ir"); this.hbox5.Add (this.cmdIrA); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.cmdIrA])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.expIr.Add (this.hbox5); this.GtkLabel9 = new global::Gtk.Label (); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("Ir a"); this.GtkLabel9.UseUnderline = true; this.expIr.LabelWidget = this.GtkLabel9; this.vbox4.Add (this.expIr); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.expIr])); w25.Position = 0; w25.Expand = false; w25.Fill = false; this.hbox4.Add (this.vbox4); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox4])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.hbuttonbox2 = new global::Gtk.HButtonBox (); this.hbuttonbox2.Name = "hbuttonbox2"; this.hbuttonbox2.BorderWidth = ((uint)(18)); // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.cmdColonizar = new global::Gtk.Button (); this.cmdColonizar.CanFocus = true; this.cmdColonizar.Name = "cmdColonizar"; this.cmdColonizar.UseUnderline = true; this.cmdColonizar.Label = global::Mono.Unix.Catalog.GetString ("_Colonizar"); this.hbuttonbox2.Add (this.cmdColonizar); global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.cmdColonizar])); w27.Expand = false; w27.Fill = false; this.hbox4.Add (this.hbuttonbox2); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hbuttonbox2])); w28.PackType = ((global::Gtk.PackType)(1)); w28.Position = 2; this.notebook1.Add (this.hbox4); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.hbox4])); w29.Position = 2; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Armadas"); this.notebook1.SetTabLabel (this.hbox4, this.label3); this.label3.ShowAll (); this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w30.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.statusbar = new global::Gtk.Statusbar (); this.statusbar.Name = "statusbar"; this.statusbar.Spacing = 6; // Container child statusbar.Gtk.Box+BoxChild this.Mens = new global::gtk.MensView (); this.Mens.Events = ((global::Gdk.EventMask)(256)); this.Mens.Name = "Mens"; this.statusbar.Add (this.Mens); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.statusbar [this.Mens])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child statusbar.Gtk.Box+BoxChild this.cmdActualiza = new global::Gtk.Button (); this.cmdActualiza.CanFocus = true; this.cmdActualiza.Name = "cmdActualiza"; this.cmdActualiza.UseUnderline = true; this.cmdActualiza.Label = global::Mono.Unix.Catalog.GetString ("Actualiza"); this.statusbar.Add (this.cmdActualiza); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.statusbar [this.cmdActualiza])); w32.PackType = ((global::Gtk.PackType)(1)); w32.Position = 2; w32.Expand = false; w32.Fill = false; this.vbox1.Add (this.statusbar); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1002; this.DefaultHeight = 300; this.Show (); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); this.cmdIrCiudad.Activated += new global::System.EventHandler (this.OnCmdIrActivated); this.cmdIrCiudad.Clicked += new global::System.EventHandler (this.OnCmdIrActivated); this.nvInvestigando.CursorChanged += new global::System.EventHandler (this.OnNvInvestigandoCursorChanged); this.ArmadaSelector.onSelectionChanged += new global::System.EventHandler (this.OnArmadaSelectoronSelectionChanged); this.cmdIrA.Clicked += new global::System.EventHandler (this.OnCmdIrAClicked); this.cmdIrA.Activated += new global::System.EventHandler (this.OnCmdIrAClicked); this.cmdColonizar.Clicked += new global::System.EventHandler (this.OnCmdColonizarClicked); this.cmdColonizar.Activated += new global::System.EventHandler (this.OnCmdColonizarClicked); this.cmdActualiza.Clicked += new global::System.EventHandler (this.OnCmdActualizaClicked); this.cmdActualiza.Activated += new global::System.EventHandler (this.OnCmdActualizaClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MagnumHouse.PhysicsAdjuster this.Name = "MagnumHouse.PhysicsAdjuster"; this.Title = global::Mono.Unix.Catalog.GetString ("PhysicsAdjuster"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MagnumHouse.PhysicsAdjuster.Gtk.Container+ContainerChild this.notebook = new global::Gtk.Notebook (); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 1; // Container child notebook.Gtk.Notebook+NotebookChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.statsArea = new global::Gtk.DrawingArea (); this.statsArea.Name = "statsArea"; this.vbox1.Add (this.statsArea); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statsArea])); w1.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("red = speed, blue = acceleration"); this.label16.Wrap = true; this.expander1.Add (this.label16); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("key"); this.GtkLabel1.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel1; this.vbox1.Add (this.expander1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.expander1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.notebook.Add (this.vbox1); // Notebook tab this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("stats"); this.notebook.SetTabLabel (this.vbox1, this.label5); this.label5.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.drawBBsToggleButton = new global::Gtk.ToggleButton (); this.drawBBsToggleButton.CanFocus = true; this.drawBBsToggleButton.Name = "drawBBsToggleButton"; this.drawBBsToggleButton.UseUnderline = true; this.drawBBsToggleButton.Label = global::Mono.Unix.Catalog.GetString ("draw bbs"); this.table1.Add (this.drawBBsToggleButton); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.drawBBsToggleButton])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.plusSizeButton = new global::Gtk.Button (); this.plusSizeButton.CanFocus = true; this.plusSizeButton.Name = "plusSizeButton"; this.plusSizeButton.UseUnderline = true; this.plusSizeButton.Label = global::Mono.Unix.Catalog.GetString ("+"); this.hbox1.Add (this.plusSizeButton); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.plusSizeButton])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.minusSizeButton = new global::Gtk.Button (); this.minusSizeButton.CanFocus = true; this.minusSizeButton.Name = "minusSizeButton"; this.minusSizeButton.UseUnderline = true; this.minusSizeButton.Label = global::Mono.Unix.Catalog.GetString ("-"); this.hbox1.Add (this.minusSizeButton); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.minusSizeButton])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table1.Add (this.hbox1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1])); 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 table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("draw bbs"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Size"); this.table1.Add (this.label15); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label15])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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 ("restart"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.restartLevelButton = new global::Gtk.Button (); this.restartLevelButton.CanFocus = true; this.restartLevelButton.Name = "restartLevelButton"; this.restartLevelButton.UseUnderline = true; this.restartLevelButton.Label = global::Mono.Unix.Catalog.GetString ("restart"); this.table1.Add (this.restartLevelButton); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.restartLevelButton])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook.Add (this.table1); global::Gtk.Notebook.NotebookChild w13 = ((global::Gtk.Notebook.NotebookChild)(this.notebook[this.table1])); w13.Position = 1; // Notebook tab this.sizeLabel = new global::Gtk.Label (); this.sizeLabel.Name = "sizeLabel"; this.sizeLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("me gangster"); this.notebook.SetTabLabel (this.table1, this.sizeLabel); this.sizeLabel.ShowAll (); this.Add (this.notebook); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 467; this.DefaultHeight = 473; this.Show (); this.statsArea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.drawStatsArea); this.restartLevelButton.Activated += new global::System.EventHandler (this.restartButtonClicked); this.plusSizeButton.Clicked += new global::System.EventHandler (this.plusSizeButtonClicked); this.minusSizeButton.Clicked += new global::System.EventHandler (this.minusSizeButtonClicked); this.drawBBsToggleButton.Toggled += new global::System.EventHandler (this.drawBoundingBoxesToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget libTerminus.cRestoreWizard this.Name = "libTerminus.cRestoreWizard"; this.Title = global::Mono.Unix.Catalog.GetString ("Elemente wiederherstellen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cRestoreWizard.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander (null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calendar2 = new global::Gtk.Calendar (); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add (this.calendar2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Minimaler Beginn"); this.vbox3.Add (this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 24; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Maximales Ende"); this.vbox3.Add (this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale (null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1; this.hscale2.Adjustment.Upper = 24; this.hscale2.Adjustment.PageIncrement = 1; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale2])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Suchen"); this.hbox2.Add (this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox3.Add (this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w7.Position = 5; w7.Expand = false; w7.Fill = false; this.expander2.Add (this.vbox3); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Zeitbereich"); this.GtkLabel1.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel1; this.vbox2.Add (this.expander2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add (this.treeview1); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Ergebnisse"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w12.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton (); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; // Container child togglebutton1.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox (); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add (w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label (); w17.LabelProp = global::Mono.Unix.Catalog.GetString ("In Zwischenablage kopieren"); w17.UseUnderline = true; w14.Add (w17); w13.Add (w14); this.togglebutton1.Add (w13); this.hbox1.Add (this.togglebutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 570; this.DefaultHeight = 517; this.Show (); this.hscale2.ValueChanged += new global::System.EventHandler (this.OnHscale2ValueChanged); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); this.togglebutton1.Clicked += new global::System.EventHandler (this.OnTogglebutton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.ImportDialog this.WidthRequest = 700; this.HeightRequest = 500; this.Name = "ocmgtk.ImportDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Import GPX/LOC/ZIP.."); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.Resizable = false; this.AllowGrow = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.ImportDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.fileWidget = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.fileWidget.Name = "fileWidget"; w1.Add(this.fileWidget); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.fileWidget])); w2.Position = 0; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.oldLogsCheck = new global::Gtk.CheckButton(); this.oldLogsCheck.CanFocus = true; this.oldLogsCheck.Name = "oldLogsCheck"; this.oldLogsCheck.Label = global::Mono.Unix.Catalog.GetString("Purge old cache logs"); this.oldLogsCheck.DrawIndicator = true; this.oldLogsCheck.UseUnderline = true; this.vbox2.Add(this.oldLogsCheck); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.oldLogsCheck])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.statusCheck = new global::Gtk.CheckButton(); this.statusCheck.CanFocus = true; this.statusCheck.Name = "statusCheck"; this.statusCheck.Label = global::Mono.Unix.Catalog.GetString("Do not overwrite existing found status in database"); this.statusCheck.DrawIndicator = true; this.statusCheck.UseUnderline = true; this.vbox2.Add(this.statusCheck); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusCheck])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.gsakFieldsCheck = new global::Gtk.CheckButton(); this.gsakFieldsCheck.CanFocus = true; this.gsakFieldsCheck.Name = "gsakFieldsCheck"; this.gsakFieldsCheck.Label = global::Mono.Unix.Catalog.GetString("Ignore GSAK/OCM extra fields in GPX file"); this.gsakFieldsCheck.DrawIndicator = true; this.gsakFieldsCheck.UseUnderline = true; this.vbox2.Add(this.gsakFieldsCheck); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.gsakFieldsCheck])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.addToListCheck = new global::Gtk.CheckButton(); this.addToListCheck.CanFocus = true; this.addToListCheck.Name = "addToListCheck"; this.addToListCheck.Label = global::Mono.Unix.Catalog.GetString("Add to bookmark list:"); this.addToListCheck.DrawIndicator = true; this.addToListCheck.UseUnderline = true; this.hbox1.Add(this.addToListCheck); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.addToListCheck])); w6.Position = 0; w6.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.bmCombo = global::Gtk.ComboBox.NewText(); this.bmCombo.Sensitive = false; this.bmCombo.Name = "bmCombo"; this.hbox1.Add(this.bmCombo); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.bmCombo])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.addBmrkButton = new global::Gtk.Button(); this.addBmrkButton.CanFocus = true; this.addBmrkButton.Name = "addBmrkButton"; // Container child addBmrkButton.Gtk.Container+ContainerChild this.image20 = new global::Gtk.Image(); this.image20.Sensitive = false; this.image20.Name = "image20"; this.image20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.addBmrkButton.Add(this.image20); this.hbox1.Add(this.addBmrkButton); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.addBmrkButton])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.expander1.Add(this.vbox2); this.GtkLabel17 = new global::Gtk.Label(); this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = global::Mono.Unix.Catalog.GetString("Options"); this.GtkLabel17.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel17; w1.Add(this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.expander1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; w12.Padding = ((uint)(6)); // Internal child ocmgtk.ImportDialog.ActionArea global::Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 10; w13.BorderWidth = ((uint)(5)); w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonCancel])); w14.Expand = false; w14.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-open"; this.AddActionWidget(this.buttonOk, -3); global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonOk])); w15.Position = 1; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 721; this.DefaultHeight = 527; this.Show(); this.fileWidget.FileActivated += new global::System.EventHandler(this.OnFileActivated); this.addToListCheck.Toggled += new global::System.EventHandler(this.OnAddToBmrkToggle); this.addBmrkButton.Clicked += new global::System.EventHandler(this.OnAddClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.PackageManagement.ManagePackagesDialog this.Name = "MonoDevelop.PackageManagement.ManagePackagesDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Manage Packages"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 640; this.DefaultHeight = 480; // Internal child MonoDevelop.PackageManagement.ManagePackagesDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "mainVBox"; w1.BorderWidth = ((uint)(2)); // Container child mainVBox.Gtk.Box+BoxChild this.notebook = new global::Gtk.Notebook(); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; // Container child notebook.Gtk.Notebook+NotebookChild this.availablePackagesWidget = new global::MonoDevelop.PackageManagement.PackagesWidget(); this.availablePackagesWidget.Events = ((global::Gdk.EventMask)(256)); this.availablePackagesWidget.Name = "availablePackagesWidget"; this.notebook.Add(this.availablePackagesWidget); // Notebook tab this.availablePackagesLabel = new global::Gtk.Label(); this.availablePackagesLabel.Name = "availablePackagesLabel"; this.availablePackagesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Available"); this.notebook.SetTabLabel(this.availablePackagesWidget, this.availablePackagesLabel); this.availablePackagesLabel.ShowAll(); // Container child notebook.Gtk.Notebook+NotebookChild this.installedPackagesWidget = new global::MonoDevelop.PackageManagement.PackagesWidget(); this.installedPackagesWidget.Events = ((global::Gdk.EventMask)(256)); this.installedPackagesWidget.Name = "installedPackagesWidget"; this.notebook.Add(this.installedPackagesWidget); global::Gtk.Notebook.NotebookChild w3 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.installedPackagesWidget])); w3.Position = 1; // Notebook tab this.installedPackagesLabel = new global::Gtk.Label(); this.installedPackagesLabel.Name = "installedPackagesLabel"; this.installedPackagesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Installed"); this.notebook.SetTabLabel(this.installedPackagesWidget, this.installedPackagesLabel); this.installedPackagesLabel.ShowAll(); // Container child notebook.Gtk.Notebook+NotebookChild this.UpdatedPackagesWidget = new global::MonoDevelop.PackageManagement.PackagesWidget(); this.UpdatedPackagesWidget.Events = ((global::Gdk.EventMask)(256)); this.UpdatedPackagesWidget.Name = "UpdatedPackagesWidget"; this.notebook.Add(this.UpdatedPackagesWidget); global::Gtk.Notebook.NotebookChild w4 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.UpdatedPackagesWidget])); w4.Position = 2; // Notebook tab this.updatedPackagesLabel = new global::Gtk.Label(); this.updatedPackagesLabel.Name = "updatedPackagesLabel"; this.updatedPackagesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Updated"); this.notebook.SetTabLabel(this.UpdatedPackagesWidget, this.updatedPackagesLabel); this.updatedPackagesLabel.ShowAll(); // Container child notebook.Gtk.Notebook+NotebookChild this.recentPackagesWidget = new global::MonoDevelop.PackageManagement.PackagesWidget(); this.recentPackagesWidget.Events = ((global::Gdk.EventMask)(256)); this.recentPackagesWidget.Name = "recentPackagesWidget"; this.notebook.Add(this.recentPackagesWidget); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.recentPackagesWidget])); w5.Position = 3; // Notebook tab this.recentPackagesLabel = new global::Gtk.Label(); this.recentPackagesLabel.Name = "recentPackagesLabel"; this.recentPackagesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Recent"); this.notebook.SetTabLabel(this.recentPackagesWidget, this.recentPackagesLabel); this.recentPackagesLabel.ShowAll(); w1.Add(this.notebook); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook])); w6.Position = 0; // Container child mainVBox.Gtk.Box+BoxChild this.messagesExpander = new global::Gtk.Expander(null); this.messagesExpander.CanFocus = true; this.messagesExpander.Name = "messagesExpander"; // Container child messagesExpander.Gtk.Container+ContainerChild this.GtkScrolledWindow8 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow8.Name = "GtkScrolledWindow8"; this.GtkScrolledWindow8.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow8.Gtk.Container+ContainerChild this.messagesTextView = new global::Gtk.TextView(); this.messagesTextView.CanFocus = true; this.messagesTextView.Name = "messagesTextView"; this.messagesTextView.Editable = false; this.messagesTextView.CursorVisible = false; this.GtkScrolledWindow8.Add(this.messagesTextView); this.messagesExpander.Add(this.GtkScrolledWindow8); this.messagesExpanderLabel = new global::Gtk.Label(); this.messagesExpanderLabel.Name = "messagesExpanderLabel"; this.messagesExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Messages"); this.messagesExpanderLabel.UseUnderline = true; this.messagesExpander.LabelWidget = this.messagesExpanderLabel; w1.Add(this.messagesExpander); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.messagesExpander])); w9.Position = 1; w9.Expand = false; // Internal child MonoDevelop.PackageManagement.ManagePackagesDialog.ActionArea global::Gtk.HButtonBox w10 = this.ActionArea; w10.Name = "buttonArea"; w10.Spacing = 10; w10.BorderWidth = ((uint)(5)); w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child buttonArea.Gtk.ButtonBox+ButtonBoxChild this.buttonClose = new global::Gtk.Button(); this.buttonClose.CanDefault = true; this.buttonClose.CanFocus = true; this.buttonClose.Name = "buttonClose"; this.buttonClose.UseStock = true; this.buttonClose.UseUnderline = true; this.buttonClose.Label = "gtk-close"; this.AddActionWidget(this.buttonClose, -7); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonClose])); w11.Expand = false; w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.messagesExpander.Activated += new global::System.EventHandler(this.MessagesExpanderActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Component.ProjectDetailsWidget global::Stetic.BinContainer.Attach(this); this.Name = "LongoMatch.Gui.Component.ProjectDetailsWidget"; // Container child LongoMatch.Gui.Component.ProjectDetailsWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(9)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.competitionentry = new global::Gtk.Entry(); this.competitionentry.CanFocus = true; this.competitionentry.Name = "competitionentry"; this.competitionentry.IsEditable = true; this.competitionentry.InvisibleChar = '●'; this.table1.Add(this.competitionentry); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.competitionentry])); w1.TopAttach = ((uint)(4)); w1.BottomAttach = ((uint)(5)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.Competitionlabel = new global::Gtk.Label(); this.Competitionlabel.Name = "Competitionlabel"; this.Competitionlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Competition:"); this.table1.Add(this.Competitionlabel); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.Competitionlabel])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.filehbox = new global::Gtk.HBox(); this.filehbox.Name = "filehbox"; this.filehbox.Spacing = 6; // Container child filehbox.Gtk.Box+BoxChild this.fileEntry = new global::Gtk.Entry(); this.fileEntry.CanFocus = true; this.fileEntry.Name = "fileEntry"; this.fileEntry.IsEditable = false; this.fileEntry.InvisibleChar = '●'; this.filehbox.Add(this.fileEntry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.filehbox [this.fileEntry])); w3.Position = 0; // Container child filehbox.Gtk.Box+BoxChild this.openbutton = new global::Gtk.Button(); this.openbutton.CanFocus = true; this.openbutton.Name = "openbutton"; this.openbutton.UseStock = true; this.openbutton.UseUnderline = true; this.openbutton.Label = "gtk-open"; this.filehbox.Add(this.openbutton); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.filehbox [this.openbutton])); w4.Position = 1; w4.Expand = false; this.table1.Add(this.filehbox); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.filehbox])); w5.TopAttach = ((uint)(7)); w5.BottomAttach = ((uint)(8)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.filelabel = new global::Gtk.Label(); this.filelabel.Name = "filelabel"; this.filelabel.LabelProp = global::Mono.Unix.Catalog.GetString("File:"); this.table1.Add(this.filelabel); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.filelabel])); w6.TopAttach = ((uint)(7)); w6.BottomAttach = ((uint)(8)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.localcombobox = global::Gtk.ComboBox.NewText(); this.localcombobox.Name = "localcombobox"; this.hbox1.Add(this.localcombobox); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.localcombobox])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.localteamlabel = new global::Gtk.Label(); this.localteamlabel.Name = "localteamlabel"; this.hbox1.Add(this.localteamlabel); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.localteamlabel])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.localtemplatebutton = new global::Gtk.Button(); this.localtemplatebutton.CanFocus = true; this.localtemplatebutton.Name = "localtemplatebutton"; this.localtemplatebutton.UseStock = true; this.localtemplatebutton.UseUnderline = true; this.localtemplatebutton.Label = "gtk-edit"; this.hbox1.Add(this.localtemplatebutton); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.localtemplatebutton])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.visitorcombobox = global::Gtk.ComboBox.NewText(); this.visitorcombobox.Name = "visitorcombobox"; this.hbox2.Add(this.visitorcombobox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.visitorcombobox])); w11.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.visitorteamlabel = new global::Gtk.Label(); this.visitorteamlabel.Name = "visitorteamlabel"; this.hbox2.Add(this.visitorteamlabel); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.visitorteamlabel])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.visitorbutton = new global::Gtk.Button(); this.visitorbutton.CanFocus = true; this.visitorbutton.Name = "visitorbutton"; this.visitorbutton.UseStock = true; this.visitorbutton.UseUnderline = true; this.visitorbutton.Label = "gtk-edit"; this.hbox2.Add(this.visitorbutton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.visitorbutton])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.table1.Add(this.hbox2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.tagscombobox = global::Gtk.ComboBox.NewText(); this.tagscombobox.Name = "tagscombobox"; this.hbox3.Add(this.tagscombobox); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.tagscombobox])); w15.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.editbutton = new global::Gtk.Button(); this.editbutton.CanFocus = true; this.editbutton.Name = "editbutton"; this.editbutton.UseStock = true; this.editbutton.UseUnderline = true; this.editbutton.Label = "gtk-edit"; this.hbox3.Add(this.editbutton); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.editbutton])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox3])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.localSpinButton = new global::Gtk.SpinButton(0, 1000, 1); this.localSpinButton.CanFocus = true; this.localSpinButton.Name = "localSpinButton"; this.localSpinButton.Adjustment.PageIncrement = 10; this.localSpinButton.ClimbRate = 1; this.localSpinButton.Numeric = true; this.hbox4.Add(this.localSpinButton); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.localSpinButton])); w18.Position = 0; w18.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("-"); this.hbox4.Add(this.label1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label1])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.visitorSpinButton = new global::Gtk.SpinButton(0, 1000, 1); this.visitorSpinButton.CanFocus = true; this.visitorSpinButton.Name = "visitorSpinButton"; this.visitorSpinButton.Adjustment.PageIncrement = 10; this.visitorSpinButton.ClimbRate = 1; this.visitorSpinButton.Numeric = true; this.hbox4.Add(this.visitorSpinButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.visitorSpinButton])); w20.Position = 2; w20.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox4])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.dateEntry = new global::Gtk.Entry(); this.dateEntry.CanFocus = true; this.dateEntry.Name = "dateEntry"; this.dateEntry.IsEditable = false; this.dateEntry.InvisibleChar = '●'; this.hbox5.Add(this.dateEntry); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.dateEntry])); w22.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.calendarbutton = new global::Gtk.Button(); this.calendarbutton.CanFocus = true; this.calendarbutton.Name = "calendarbutton"; this.calendarbutton.UseUnderline = true; // Container child calendarbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w23 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w24 = new global::Gtk.HBox(); w24.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_calendar", global::Gtk.IconSize.Button); w24.Add(w25); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w27 = new global::Gtk.Label(); w27.LabelProp = global::Mono.Unix.Catalog.GetString("_Calendar"); w27.UseUnderline = true; w24.Add(w27); w23.Add(w24); this.calendarbutton.Add(w23); this.hbox5.Add(this.calendarbutton); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.calendarbutton])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.table1.Add(this.hbox5); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w32.TopAttach = ((uint)(6)); w32.BottomAttach = ((uint)(7)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Visitor Team:"); this.table1.Add(this.label10); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Score:"); this.table1.Add(this.label11); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Date:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w35.TopAttach = ((uint)(6)); w35.BottomAttach = ((uint)(7)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Local Team:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Categories Template:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w37.TopAttach = ((uint)(5)); w37.BottomAttach = ((uint)(6)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.seasonentry = new global::Gtk.Entry(); this.seasonentry.CanFocus = true; this.seasonentry.Name = "seasonentry"; this.seasonentry.IsEditable = true; this.seasonentry.InvisibleChar = '●'; this.table1.Add(this.seasonentry); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.seasonentry])); w38.TopAttach = ((uint)(3)); w38.BottomAttach = ((uint)(4)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.seasonlabel = new global::Gtk.Label(); this.seasonlabel.Name = "seasonlabel"; this.seasonlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Season:"); this.table1.Add(this.seasonlabel); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.seasonlabel])); w39.TopAttach = ((uint)(3)); w39.BottomAttach = ((uint)(4)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.urientry = new global::Gtk.Entry(); this.urientry.CanFocus = true; this.urientry.Name = "urientry"; this.urientry.IsEditable = true; this.urientry.InvisibleChar = '•'; this.table1.Add(this.urientry); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1 [this.urientry])); w40.TopAttach = ((uint)(8)); w40.BottomAttach = ((uint)(9)); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.urilabel = new global::Gtk.Label(); this.urilabel.Name = "urilabel"; this.urilabel.LabelProp = global::Mono.Unix.Catalog.GetString("URL:"); this.table1.Add(this.urilabel); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1 [this.urilabel])); w41.TopAttach = ((uint)(8)); w41.BottomAttach = ((uint)(9)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w42.Position = 0; w42.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.device = new global::Gtk.Label(); this.device.Name = "device"; this.device.LabelProp = global::Mono.Unix.Catalog.GetString("Device:"); this.table2.Add(this.device); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table2 [this.device])); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.devicecombobox = global::Gtk.ComboBox.NewText(); this.devicecombobox.Name = "devicecombobox"; this.table2.Add(this.devicecombobox); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table2 [this.devicecombobox])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.encodingcombobox = global::Gtk.ComboBox.NewText(); this.encodingcombobox.Name = "encodingcombobox"; this.table2.Add(this.encodingcombobox); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table2 [this.encodingcombobox])); w45.TopAttach = ((uint)(1)); w45.BottomAttach = ((uint)(2)); w45.LeftAttach = ((uint)(1)); w45.RightAttach = ((uint)(2)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.imagecombobox = global::Gtk.ComboBox.NewText(); this.imagecombobox.Name = "imagecombobox"; this.table2.Add(this.imagecombobox); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table2 [this.imagecombobox])); w46.TopAttach = ((uint)(2)); w46.BottomAttach = ((uint)(3)); w46.LeftAttach = ((uint)(1)); w46.RightAttach = ((uint)(2)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Quality:"); this.table2.Add(this.label2); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2])); w47.TopAttach = ((uint)(3)); w47.BottomAttach = ((uint)(4)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.qualitycombobox = global::Gtk.ComboBox.NewText(); this.qualitycombobox.Name = "qualitycombobox"; this.table2.Add(this.qualitycombobox); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table2 [this.qualitycombobox])); w48.TopAttach = ((uint)(3)); w48.BottomAttach = ((uint)(4)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(2)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.sizelabel = new global::Gtk.Label(); this.sizelabel.Name = "sizelabel"; this.sizelabel.LabelProp = global::Mono.Unix.Catalog.GetString("Image format:"); this.table2.Add(this.sizelabel); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table2 [this.sizelabel])); w49.TopAttach = ((uint)(2)); w49.BottomAttach = ((uint)(3)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.videoformatlabel = new global::Gtk.Label(); this.videoformatlabel.Name = "videoformatlabel"; this.videoformatlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Encoding format:"); this.table2.Add(this.videoformatlabel); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table2 [this.videoformatlabel])); w50.TopAttach = ((uint)(1)); w50.BottomAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander1.Add(this.table2); this.GtkLabel5 = new global::Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString("Video encoding properties"); this.GtkLabel5.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel5; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w52.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.editbutton.Hide(); this.device.Hide(); this.Show(); this.seasonentry.Changed += new global::System.EventHandler(this.OnEdited); this.dateEntry.Changed += new global::System.EventHandler(this.OnEdited); this.calendarbutton.Clicked += new global::System.EventHandler(this.OnCalendarbuttonClicked); this.localSpinButton.ValueChanged += new global::System.EventHandler(this.OnEdited); this.visitorSpinButton.ValueChanged += new global::System.EventHandler(this.OnEdited); this.tagscombobox.Changed += new global::System.EventHandler(this.OnCombobox1Changed); this.editbutton.Clicked += new global::System.EventHandler(this.OnEditbuttonClicked); this.visitorcombobox.Changed += new global::System.EventHandler(this.OnVisitorcomboboxChanged); this.visitorbutton.Clicked += new global::System.EventHandler(this.OnVisitorbuttonClicked); this.localcombobox.Changed += new global::System.EventHandler(this.OnLocalcomboboxChanged); this.localtemplatebutton.Clicked += new global::System.EventHandler(this.OnLocaltemplatebuttonClicked); this.fileEntry.Changed += new global::System.EventHandler(this.OnEdited); this.openbutton.Clicked += new global::System.EventHandler(this.OnOpenbuttonClicked); this.competitionentry.Changed += new global::System.EventHandler(this.OnEdited); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.CodeGenerator.GenerateDataClass this.Name = "MonoDevelop.Database.CodeGenerator.GenerateDataClass"; this.Title = global::Mono.Unix.Catalog.GetString("Generate Linq Class"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Database.CodeGenerator.GenerateDataClass.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Connection"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.comboProviderConnection = new global::MonoDevelop.Database.Components.DatabaseConnectionEditorWidget(); this.comboProviderConnection.Events = ((global::Gdk.EventMask)(256)); this.comboProviderConnection.Name = "comboProviderConnection"; this.hbox1.Add(this.comboProviderConnection); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboProviderConnection])); w3.Position = 1; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.labelMessage = new global::Gtk.Label(); this.labelMessage.Name = "labelMessage"; w1.Add(this.labelMessage); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.labelMessage])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; w1.Add(this.hseparator1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; w6.Padding = ((uint)(5)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Output"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboOutput = global::Gtk.ComboBox.NewText(); this.comboOutput.AppendText(global::Mono.Unix.Catalog.GetString("Code")); this.comboOutput.AppendText(global::Mono.Unix.Catalog.GetString("DBML")); this.comboOutput.AppendText(global::Mono.Unix.Catalog.GetString("Code & DBML")); this.comboOutput.Name = "comboOutput"; this.comboOutput.Active = 0; this.hbox2.Add(this.comboOutput); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboOutput])); w8.Position = 1; w8.Expand = false; w8.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("Language"); this.hbox2.Add(this.label3); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label3])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboLanguage = global::Gtk.ComboBox.NewText(); this.comboLanguage.AppendText(global::Mono.Unix.Catalog.GetString("C#2")); this.comboLanguage.AppendText(global::Mono.Unix.Catalog.GetString("C#")); this.comboLanguage.AppendText(global::Mono.Unix.Catalog.GetString("VB")); this.comboLanguage.Name = "comboLanguage"; this.comboLanguage.Active = 0; this.hbox2.Add(this.comboLanguage); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboLanguage])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Style"); this.hbox2.Add(this.label4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label4])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboStyle = global::Gtk.ComboBox.NewText(); this.comboStyle.AppendText(global::Mono.Unix.Catalog.GetString("NET")); this.comboStyle.AppendText(global::Mono.Unix.Catalog.GetString("Leave")); this.comboStyle.AppendText(global::Mono.Unix.Catalog.GetString("Pascal")); this.comboStyle.AppendText(global::Mono.Unix.Catalog.GetString("Camel")); this.comboStyle.Name = "comboStyle"; this.comboStyle.Active = 0; this.hbox2.Add(this.comboStyle); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboStyle])); w12.Position = 5; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryFile = new global::Gtk.Entry(); this.entryFile.CanFocus = true; this.entryFile.Name = "entryFile"; this.entryFile.Text = global::Mono.Unix.Catalog.GetString("Output.cs"); this.entryFile.IsEditable = true; this.entryFile.InvisibleChar = '●'; this.hbox2.Add(this.entryFile); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryFile])); w13.Position = 6; w1.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; w1.Add(this.hseparator2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator2])); w15.Position = 4; w15.Expand = false; w15.Fill = false; w15.Padding = ((uint)(5)); // Container child dialog1_VBox.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.comboProject = new global::MonoDevelop.Database.Components.ProjectDirectoryComboBox(); this.comboProject.Name = "comboProject"; this.table1.Add(this.comboProject); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.comboProject])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryNamespace = new global::Gtk.Entry(); this.entryNamespace.CanFocus = true; this.entryNamespace.Name = "entryNamespace"; this.entryNamespace.IsEditable = true; this.entryNamespace.InvisibleChar = '●'; this.table1.Add(this.entryNamespace); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.entryNamespace])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((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("Project"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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("Namespace"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); w20.Position = 5; w20.Expand = false; w20.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; w1.Add(this.hseparator3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator3])); w21.Position = 6; w21.Expand = false; w21.Fill = false; w21.Padding = ((uint)(5)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entryEntityAttr = new global::Gtk.Entry(); this.entryEntityAttr.TooltipMarkup = "Comma separated ATTRIBUTE(S)."; this.entryEntityAttr.CanFocus = true; this.entryEntityAttr.Name = "entryEntityAttr"; this.entryEntityAttr.IsEditable = true; this.entryEntityAttr.InvisibleChar = '●'; this.table2.Add(this.entryEntityAttr); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.entryEntityAttr])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryEntityBase = new global::Gtk.Entry(); this.entryEntityBase.CanFocus = true; this.entryEntityBase.Name = "entryEntityBase"; this.entryEntityBase.IsEditable = true; this.entryEntityBase.InvisibleChar = '●'; this.table2.Add(this.entryEntityBase); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.entryEntityBase])); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryGenerateType = new global::Gtk.Entry(); this.entryGenerateType.CanFocus = true; this.entryGenerateType.Name = "entryGenerateType"; this.entryGenerateType.IsEditable = true; this.entryGenerateType.InvisibleChar = '●'; this.table2.Add(this.entryGenerateType); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.entryGenerateType])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryMemberAttr = new global::Gtk.Entry(); this.entryMemberAttr.TooltipMarkup = "Comma separated ATTRIBUTE(S)."; this.entryMemberAttr.CanFocus = true; this.entryMemberAttr.Name = "entryMemberAttr"; this.entryMemberAttr.IsEditable = true; this.entryMemberAttr.InvisibleChar = '●'; this.table2.Add(this.entryMemberAttr); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.entryMemberAttr])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0f; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Member Attributes"); this.table2.Add(this.label10); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.label10])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0f; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Generate Type"); this.table2.Add(this.label11); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2[this.label11])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0f; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Entity Base"); this.table2.Add(this.label8); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2[this.label8])); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0f; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Entity Attributes"); this.table2.Add(this.label9); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2[this.label9])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.table2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(w1[this.table2])); w30.Position = 7; w30.Expand = false; w30.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; w1.Add(this.hseparator4); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator4])); w31.Position = 8; w31.Expand = false; w31.Fill = false; w31.Padding = ((uint)(5)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0f; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Culture"); this.hbox4.Add(this.label12); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label12])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.entryCulture = new global::Gtk.Entry(); this.entryCulture.WidthRequest = 50; this.entryCulture.CanFocus = true; this.entryCulture.Name = "entryCulture"; this.entryCulture.Text = global::Mono.Unix.Catalog.GetString("en"); this.entryCulture.IsEditable = true; this.entryCulture.InvisibleChar = '●'; this.hbox4.Add(this.entryCulture); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.entryCulture])); w33.Position = 1; w33.Expand = false; w33.Fill = false; w1.Add(this.hbox4); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(w1[this.hbox4])); w34.Position = 9; w34.Expand = false; w34.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w35 = new global::Gtk.Viewport(); w35.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.checkSchema = new global::Gtk.CheckButton(); this.checkSchema.CanFocus = true; this.checkSchema.Name = "checkSchema"; this.checkSchema.Label = global::Mono.Unix.Catalog.GetString("Generate Schema in code files."); this.checkSchema.Active = true; this.checkSchema.DrawIndicator = true; this.checkSchema.UseUnderline = true; this.vbox2.Add(this.checkSchema); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkSchema])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkGenerateTimestamps = new global::Gtk.CheckButton(); this.checkGenerateTimestamps.CanFocus = true; this.checkGenerateTimestamps.Name = "checkGenerateTimestamps"; this.checkGenerateTimestamps.Label = global::Mono.Unix.Catalog.GetString("Generate timestamps in the generated code. "); this.checkGenerateTimestamps.Active = true; this.checkGenerateTimestamps.DrawIndicator = true; this.checkGenerateTimestamps.UseUnderline = true; this.vbox2.Add(this.checkGenerateTimestamps); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkGenerateTimestamps])); w37.Position = 1; w37.Expand = false; w37.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkEqualsAndHash = new global::Gtk.CheckButton(); this.checkEqualsAndHash.CanFocus = true; this.checkEqualsAndHash.Name = "checkEqualsAndHash"; this.checkEqualsAndHash.Label = global::Mono.Unix.Catalog.GetString("Generates overrides for Equals() and GetHashCode() methods."); this.checkEqualsAndHash.DrawIndicator = true; this.checkEqualsAndHash.UseUnderline = true; this.vbox2.Add(this.checkEqualsAndHash); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkEqualsAndHash])); w38.Position = 2; w38.Expand = false; w38.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkSprocs = new global::Gtk.CheckButton(); this.checkSprocs.CanFocus = true; this.checkSprocs.Name = "checkSprocs"; this.checkSprocs.Label = global::Mono.Unix.Catalog.GetString("Extract stored procedures."); this.checkSprocs.DrawIndicator = true; this.checkSprocs.UseUnderline = true; this.vbox2.Add(this.checkSprocs); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkSprocs])); w39.Position = 3; w39.Expand = false; w39.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkPluralize = new global::Gtk.CheckButton(); this.checkPluralize.CanFocus = true; this.checkPluralize.Name = "checkPluralize"; this.checkPluralize.Label = global::Mono.Unix.Catalog.GetString("Automatically pluralize or singularize class and member names using specified culture rules."); this.checkPluralize.DrawIndicator = true; this.checkPluralize.UseUnderline = true; this.vbox2.Add(this.checkPluralize); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkPluralize])); w40.Position = 4; w40.Expand = false; w40.Fill = false; w35.Add(this.vbox2); this.scrolledwindow1.Add(w35); this.expander1.Add(this.scrolledwindow1); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("Advanced Options"); this.GtkLabel4.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel4; w1.Add(this.expander1); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(w1[this.expander1])); w44.Position = 10; // Internal child MonoDevelop.Database.CodeGenerator.GenerateDataClass.ActionArea global::Gtk.HButtonBox w45 = this.ActionArea; w45.Name = "GenerateDataClass"; w45.Spacing = 10; w45.BorderWidth = ((uint)(5)); w45.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child GenerateDataClass.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w46 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w45[this.buttonCancel])); w46.Expand = false; w46.Fill = false; // Container child GenerateDataClass.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.Sensitive = false; this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w47 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w45[this.buttonOk])); w47.Position = 1; w47.Expand = false; w47.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 656; this.DefaultHeight = 436; this.Show(); this.comboProviderConnection.SelectedDatabaseChanged += new global::System.EventHandler(this.OnComboProviderConnectionSelectedDatabaseChanged); this.comboOutput.Changed += new global::System.EventHandler(this.OnComboOutputChanged); this.comboLanguage.Changed += new global::System.EventHandler(this.OnComboLanguageChanged); this.comboProject.Changed += new global::System.EventHandler(this.OnComboProjectChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Simple PSEGet"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 400; this.DefaultHeight = 500; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; this.notebook2.ShowBorder = false; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.expDownloadAndConvert1 = new global::Gtk.Expander(null); this.expDownloadAndConvert1.CanFocus = true; this.expDownloadAndConvert1.Name = "expDownloadAndConvert1"; // Container child expDownloadAndConvert1.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Download From "); this.hbox7.Add(this.label14); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label14])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.edtDownloadLink = new global::Gtk.Entry(); this.edtDownloadLink.CanFocus = true; this.edtDownloadLink.Name = "edtDownloadLink"; this.edtDownloadLink.Text = global::Mono.Unix.Catalog.GetString("http://www.pse.com.ph/html/Quotations/2011"); this.edtDownloadLink.IsEditable = true; this.edtDownloadLink.InvisibleChar = '●'; this.hbox7.Add(this.edtDownloadLink); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.edtDownloadLink])); w2.Position = 1; this.vbox3.Add(this.hbox7); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox7])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("From"); this.hbox3.Add(this.label15); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label15])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.edtFrom = new global::Gtk.Entry(); this.edtFrom.CanFocus = true; this.edtFrom.Name = "edtFrom"; this.edtFrom.IsEditable = true; this.edtFrom.InvisibleChar = '●'; this.hbox3.Add(this.edtFrom); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.edtFrom])); w5.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("To"); this.hbox3.Add(this.label17); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label17])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.edtTo = new global::Gtk.Entry(); this.edtTo.CanFocus = true; this.edtTo.Name = "edtTo"; this.edtTo.IsEditable = true; this.edtTo.InvisibleChar = '●'; this.hbox3.Add(this.edtTo); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.edtTo])); w7.Position = 3; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.expDownloadAndConvert1.Add(this.vbox3); this.expDownloadAndConvert = new global::Gtk.Label(); this.expDownloadAndConvert.Name = "expDownloadAndConvert"; this.expDownloadAndConvert.LabelProp = global::Mono.Unix.Catalog.GetString("Download And Convert"); this.expDownloadAndConvert.UseUnderline = true; this.expDownloadAndConvert1.LabelWidget = this.expDownloadAndConvert; this.vbox1.Add(this.expDownloadAndConvert1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expDownloadAndConvert1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.expConvertFromFiles = new global::Gtk.Expander(null); this.expConvertFromFiles.CanFocus = true; this.expConvertFromFiles.Name = "expConvertFromFiles"; this.expConvertFromFiles.Expanded = true; this.expConvertFromFiles.BorderWidth = ((uint)(3)); // Container child expConvertFromFiles.Gtk.Container+ContainerChild this.listSelectedFiles = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.listSelectedFiles.WidthRequest = 0; this.listSelectedFiles.HeightRequest = 300; this.listSelectedFiles.Name = "listSelectedFiles"; this.listSelectedFiles.SelectMultiple = true; this.expConvertFromFiles.Add(this.listSelectedFiles); this.GtkLabel13 = new global::Gtk.Label(); this.GtkLabel13.Name = "GtkLabel13"; this.GtkLabel13.LabelProp = global::Mono.Unix.Catalog.GetString("Convert From File(s)"); this.GtkLabel13.UseUnderline = true; this.expConvertFromFiles.LabelWidget = this.GtkLabel13; this.vbox1.Add(this.expConvertFromFiles); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expConvertFromFiles])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.expHistoricalData = new global::Gtk.Expander(null); this.expHistoricalData.CanFocus = true; this.expHistoricalData.Name = "expHistoricalData"; // Container child expHistoricalData.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbuttonbox1 = new global::Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnSelectAll = new global::Gtk.Button(); this.btnSelectAll.CanFocus = true; this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.UseUnderline = true; this.btnSelectAll.Label = global::Mono.Unix.Catalog.GetString("Select All"); this.vbuttonbox1.Add(this.btnSelectAll); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.btnSelectAll])); w13.Expand = false; w13.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnUnselectAll = new global::Gtk.Button(); this.btnUnselectAll.CanFocus = true; this.btnUnselectAll.Name = "btnUnselectAll"; this.btnUnselectAll.UseUnderline = true; this.btnUnselectAll.Label = global::Mono.Unix.Catalog.GetString("Unselect All"); this.vbuttonbox1.Add(this.btnUnselectAll); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.btnUnselectAll])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox1.Add(this.vbuttonbox1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbuttonbox1])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox1.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.historicalStockListTreeview = new global::Gtk.TreeView(); this.historicalStockListTreeview.WidthRequest = 200; this.historicalStockListTreeview.HeightRequest = 150; this.historicalStockListTreeview.CanFocus = true; this.historicalStockListTreeview.Name = "historicalStockListTreeview"; this.GtkScrolledWindow2.Add(this.historicalStockListTreeview); this.hbox1.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow2])); w17.Position = 1; // 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.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Years "); this.hbox2.Add(this.label12); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label12])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.edtNumYears = new global::Gtk.Entry(); this.edtNumYears.WidthRequest = 20; this.edtNumYears.CanFocus = true; this.edtNumYears.Name = "edtNumYears"; this.edtNumYears.Text = global::Mono.Unix.Catalog.GetString("20"); this.edtNumYears.IsEditable = true; this.edtNumYears.InvisibleChar = '●'; this.hbox2.Add(this.edtNumYears); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.edtNumYears])); w19.Position = 1; this.vbox5.Add(this.hbox2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("Single File"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.vbox5.Add(this.checkbutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.checkbutton1])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5])); w22.Position = 2; this.expHistoricalData.Add(this.hbox1); this.GtkLabel11 = new global::Gtk.Label(); this.GtkLabel11.Name = "GtkLabel11"; this.GtkLabel11.LabelProp = global::Mono.Unix.Catalog.GetString("Download Historical Data"); this.GtkLabel11.UseUnderline = true; this.expHistoricalData.LabelWidget = this.GtkLabel11; this.vbox1.Add(this.expHistoricalData); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expHistoricalData])); w24.Position = 2; w24.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.LabelXalign = 0.5F; this.frame1.LabelYalign = 0F; // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment8 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Output Directory"); this.hbox5.Add(this.label16); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label16])); w25.Position = 0; w25.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.edtOutputDir = new global::Gtk.Entry(); this.edtOutputDir.CanFocus = true; this.edtOutputDir.Name = "edtOutputDir"; this.edtOutputDir.IsEditable = true; this.edtOutputDir.InvisibleChar = '●'; this.hbox5.Add(this.edtOutputDir); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.edtOutputDir])); w26.Position = 1; this.vbox6.Add(this.hbox5); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox5])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Date Format"); this.hbox6.Add(this.label1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label1])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.edtDateFormat = new global::Gtk.Entry(); this.edtDateFormat.CanFocus = true; this.edtDateFormat.Name = "edtDateFormat"; this.edtDateFormat.Text = global::Mono.Unix.Catalog.GetString("MM/DD/YYYY"); this.edtDateFormat.IsEditable = true; this.edtDateFormat.InvisibleChar = '●'; this.hbox6.Add(this.edtDateFormat); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.edtDateFormat])); w29.Position = 1; w29.Expand = false; this.vbox6.Add(this.hbox6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox6])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.combo1 = global::Gtk.ComboBox.NewText(); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo1.Name = "combo1"; this.combo1.Active = 0; this.table1.Add(this.combo1); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo1])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo2 = global::Gtk.ComboBox.NewText(); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo2.Name = "combo2"; this.combo2.Active = 1; this.table1.Add(this.combo2); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo2])); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo3 = global::Gtk.ComboBox.NewText(); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo3.Name = "combo3"; this.combo3.Active = 2; this.table1.Add(this.combo3); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo3])); w33.LeftAttach = ((uint)(3)); w33.RightAttach = ((uint)(4)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo4 = global::Gtk.ComboBox.NewText(); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo4.Name = "combo4"; this.combo4.Active = 3; this.table1.Add(this.combo4); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo4])); w34.LeftAttach = ((uint)(4)); w34.RightAttach = ((uint)(5)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo5 = global::Gtk.ComboBox.NewText(); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo5.Name = "combo5"; this.combo5.Active = 4; this.table1.Add(this.combo5); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo5])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo6 = global::Gtk.ComboBox.NewText(); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo6.Name = "combo6"; this.combo6.Active = 5; this.table1.Add(this.combo6); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo6])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.LeftAttach = ((uint)(2)); w36.RightAttach = ((uint)(3)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo7 = global::Gtk.ComboBox.NewText(); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo7.Name = "combo7"; this.combo7.Active = 6; this.table1.Add(this.combo7); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo7])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.LeftAttach = ((uint)(3)); w37.RightAttach = ((uint)(4)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo8 = global::Gtk.ComboBox.NewText(); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo8.Name = "combo8"; this.combo8.Active = 7; this.table1.Add(this.combo8); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo8])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(4)); w38.RightAttach = ((uint)(5)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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("Format "); this.table1.Add(this.label6); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox6.Add(this.table1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.table1])); w40.Position = 2; w40.Expand = false; w40.Fill = false; this.GtkAlignment8.Add(this.vbox6); this.frame1.Add(this.GtkAlignment8); this.GtkLabel17 = new global::Gtk.Label(); this.GtkLabel17.WidthRequest = 114; this.GtkLabel17.HeightRequest = 240; this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Output Settings</b>"); this.GtkLabel17.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel17; this.vbox1.Add(this.frame1); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame1])); w43.Position = 3; w43.Expand = false; w43.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Delimiter\n"); this.fixed2.Add(this.label7); global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.label7])); w44.X = 15; w44.Y = 10; // Container child fixed2.Gtk.Fixed+FixedChild this.edtDelimiter = new global::Gtk.Entry(); this.edtDelimiter.WidthRequest = 50; this.edtDelimiter.CanFocus = true; this.edtDelimiter.Name = "edtDelimiter"; this.edtDelimiter.Text = global::Mono.Unix.Catalog.GetString(","); this.edtDelimiter.IsEditable = true; this.edtDelimiter.InvisibleChar = '●'; this.fixed2.Add(this.edtDelimiter); global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.edtDelimiter])); w45.X = 80; w45.Y = 7; // Container child fixed2.Gtk.Fixed+FixedChild this.chkIndexAsValue = new global::Gtk.CheckButton(); this.chkIndexAsValue.CanFocus = true; this.chkIndexAsValue.Name = "chkIndexAsValue"; this.chkIndexAsValue.Label = global::Mono.Unix.Catalog.GetString("Index Value as Volume"); this.chkIndexAsValue.Active = true; this.chkIndexAsValue.DrawIndicator = true; this.chkIndexAsValue.UseUnderline = true; this.fixed2.Add(this.chkIndexAsValue); global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.chkIndexAsValue])); w46.X = 265; w46.Y = 7; this.vbox1.Add(this.fixed2); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed2])); w47.Position = 4; w47.Expand = false; w47.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbuttonbox1 = new global::Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.BorderWidth = ((uint)(9)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnGiveIt = new global::Gtk.Button(); this.btnGiveIt.CanFocus = true; this.btnGiveIt.Name = "btnGiveIt"; this.btnGiveIt.UseUnderline = true; this.btnGiveIt.Label = global::Mono.Unix.Catalog.GetString("Give it to me!"); this.hbuttonbox1.Add(this.btnGiveIt); global::Gtk.ButtonBox.ButtonBoxChild w48 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.btnGiveIt])); w48.Expand = false; w48.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Goodbye"); this.hbuttonbox1.Add(this.button2); global::Gtk.ButtonBox.ButtonBoxChild w49 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.button2])); w49.Position = 1; w49.Expand = false; w49.Fill = false; this.vbox1.Add(this.hbuttonbox1); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox1])); w50.Position = 5; w50.Expand = false; w50.Fill = false; this.vbox2.Add(this.vbox1); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox1])); w51.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.vbox2.Add(this.labelStatus); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelStatus])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.notebook2.Add(this.vbox2); // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Converter"); this.notebook2.SetTabLabel(this.vbox2, this.label3); this.label3.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.textview1.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow3.Add(this.textview1); this.notebook2.Add(this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w55 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.GtkScrolledWindow3])); w55.Position = 1; // Notebook tab this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("About"); this.notebook2.SetTabLabel(this.GtkScrolledWindow3, this.label13); this.label13.ShowAll(); this.Add(this.notebook2); if ((this.Child != null)) { this.Child.ShowAll(); } this.expDownloadAndConvert1.Hide(); this.expHistoricalData.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.notebook2.ChangeCurrentPage += new global::Gtk.ChangeCurrentPageHandler(this.notebook_ChangeCurrentPage); this.expDownloadAndConvert1.Activated += new global::System.EventHandler(this.OnExpDownloadAndConvert1Activated); this.expConvertFromFiles.Activated += new global::System.EventHandler(this.OnExpDownloadAndConvert1Activated); this.expHistoricalData.Activated += new global::System.EventHandler(this.OnExpDownloadAndConvert1Activated); this.btnSelectAll.Clicked += new global::System.EventHandler(this.btnSelectAll_Click); this.btnUnselectAll.Clicked += new global::System.EventHandler(this.btnUnselectAll_Click); this.btnGiveIt.Clicked += new global::System.EventHandler(this.OnBtnGiveItClicked); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Turing.TuringDisplay this.WidthRequest = 1400; this.HeightRequest = 800; this.Name = "Turing.TuringDisplay"; this.Title = global::Mono.Unix.Catalog.GetString("TuringDisplay"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Turing.TuringDisplay.Gtk.Container+ContainerChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.WidthRequest = 1390; this.scrolledwindow1.HeightRequest = 710; this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.turingCode = new global::Gtk.DrawingArea(); this.turingCode.Name = "turingCode"; w1.Add(this.turingCode); this.scrolledwindow1.Add(w1); this.fixed2.Add(this.scrolledwindow1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.scrolledwindow1])); w4.X = 5; w4.Y = 5; // Container child fixed2.Gtk.Fixed+FixedChild this.nextStepBtn = new global::Gtk.Button(); this.nextStepBtn.CanFocus = true; this.nextStepBtn.Name = "nextStepBtn"; this.nextStepBtn.UseUnderline = true; this.nextStepBtn.Label = global::Mono.Unix.Catalog.GetString("Наступний крок"); this.fixed2.Add(this.nextStepBtn); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.nextStepBtn])); w5.X = 5; w5.Y = 720; // Container child fixed2.Gtk.Fixed+FixedChild this.runToEnd = new global::Gtk.Button(); this.runToEnd.CanFocus = true; this.runToEnd.Name = "runToEnd"; this.runToEnd.UseUnderline = true; this.runToEnd.Label = global::Mono.Unix.Catalog.GetString("Запустити до кінця без зупинок"); this.fixed2.Add(this.runToEnd); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.runToEnd])); w6.X = 120; w6.Y = 720; // Container child fixed2.Gtk.Fixed+FixedChild this.showLog = new global::Gtk.Button(); this.showLog.CanFocus = true; this.showLog.Name = "showLog"; this.showLog.UseUnderline = true; this.showLog.Label = global::Mono.Unix.Catalog.GetString("Показати лог виконання программи"); this.fixed2.Add(this.showLog); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.showLog])); w7.X = 330; w7.Y = 720; // Container child fixed2.Gtk.Fixed+FixedChild this.turingAruaContainer = new global::Gtk.ScrolledWindow(); this.turingAruaContainer.WidthRequest = 1390; this.turingAruaContainer.HeightRequest = 35; this.turingAruaContainer.CanFocus = true; this.turingAruaContainer.Name = "turingAruaContainer"; this.turingAruaContainer.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child turingAruaContainer.Gtk.Container+ContainerChild global::Gtk.Viewport w8 = new global::Gtk.Viewport(); w8.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.turingAria = new global::Gtk.DrawingArea(); this.turingAria.Name = "turingAria"; w8.Add(this.turingAria); this.turingAruaContainer.Add(w8); this.fixed2.Add(this.turingAruaContainer); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.turingAruaContainer])); w11.X = 5; w11.Y = 760; // Container child fixed2.Gtk.Fixed+FixedChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.GtkLabel = new global::Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel; this.fixed2.Add(this.expander1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.expander1])); w12.X = 614; w12.Y = 144; this.Add(this.fixed2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1400; this.DefaultHeight = 800; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget final_project.AddFoodDialog this.Name = "final_project.AddFoodDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child final_project.AddFoodDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "VBoxWrapper"; w1.BorderWidth = ((uint)(2)); // Container child VBoxWrapper.Gtk.Box+BoxChild this.MainTable = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.MainTable.Name = "MainTable"; this.MainTable.RowSpacing = ((uint)(6)); this.MainTable.ColumnSpacing = ((uint)(10)); this.MainTable.BorderWidth = ((uint)(10)); // Container child MainTable.Gtk.Table+TableChild this.EntryComposition = new global::Gtk.Entry(); this.EntryComposition.TooltipMarkup = "Složení"; this.EntryComposition.WidthRequest = 200; this.EntryComposition.HeightRequest = 30; this.EntryComposition.CanFocus = true; this.EntryComposition.Name = "EntryComposition"; this.EntryComposition.IsEditable = true; this.EntryComposition.InvisibleChar = '●'; this.MainTable.Add(this.EntryComposition); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.MainTable[this.EntryComposition])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(4)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); // Container child MainTable.Gtk.Table+TableChild this.EntryGram = new global::Gtk.Entry(); this.EntryGram.TooltipMarkup = "Hmotnost"; this.EntryGram.WidthRequest = 200; this.EntryGram.HeightRequest = 30; this.EntryGram.CanFocus = true; this.EntryGram.Name = "EntryGram"; this.EntryGram.IsEditable = true; this.EntryGram.InvisibleChar = '●'; this.MainTable.Add(this.EntryGram); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.MainTable[this.EntryGram])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); // Container child MainTable.Gtk.Table+TableChild this.EntryName = new global::Gtk.Entry(); this.EntryName.TooltipMarkup = "Název"; this.EntryName.WidthRequest = 200; this.EntryName.HeightRequest = 30; this.EntryName.CanFocus = true; this.EntryName.Name = "EntryName"; this.EntryName.IsEditable = true; this.EntryName.InvisibleChar = '●'; this.MainTable.Add(this.EntryName); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.MainTable[this.EntryName])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child MainTable.Gtk.Table+TableChild this.EntryPrice = new global::Gtk.Entry(); this.EntryPrice.TooltipMarkup = "Cena"; this.EntryPrice.WidthRequest = 200; this.EntryPrice.HeightRequest = 30; this.EntryPrice.CanFocus = true; this.EntryPrice.Name = "EntryPrice"; this.EntryPrice.IsEditable = true; this.EntryPrice.InvisibleChar = '●'; this.MainTable.Add(this.EntryPrice); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.MainTable[this.EntryPrice])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); // Container child MainTable.Gtk.Table+TableChild this.Expander = new global::Gtk.Expander(null); this.Expander.CanFocus = true; this.Expander.Name = "Expander"; // Container child Expander.Gtk.Container+ContainerChild this.ExpandedTable = new global::Gtk.Table(((uint)(10)), ((uint)(2)), false); this.ExpandedTable.Name = "ExpandedTable"; this.ExpandedTable.RowSpacing = ((uint)(6)); this.ExpandedTable.ColumnSpacing = ((uint)(6)); // Container child ExpandedTable.Gtk.Table+TableChild this.Alergeny = new global::Gtk.Label(); this.Alergeny.Name = "Alergeny"; this.Alergeny.LabelProp = global::Mono.Unix.Catalog.GetString("Alergeny:"); this.ExpandedTable.Add(this.Alergeny); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.Alergeny])); w6.TopAttach = ((uint)(9)); w6.BottomAttach = ((uint)(10)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntryCarbs = new global::Gtk.Entry(); this.EntryCarbs.TooltipMarkup = "Sacharidy"; this.EntryCarbs.CanFocus = true; this.EntryCarbs.Name = "EntryCarbs"; this.EntryCarbs.IsEditable = true; this.EntryCarbs.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntryCarbs); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntryCarbs])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntryEnergyKcal = new global::Gtk.Entry(); this.EntryEnergyKcal.TooltipMarkup = "Energetická hodnota v kilokaloriích"; this.EntryEnergyKcal.CanFocus = true; this.EntryEnergyKcal.Name = "EntryEnergyKcal"; this.EntryEnergyKcal.IsEditable = true; this.EntryEnergyKcal.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntryEnergyKcal); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntryEnergyKcal])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntryEnergyKj = new global::Gtk.Entry(); this.EntryEnergyKj.TooltipMarkup = "Energetická hodnota v kilojoulech"; this.EntryEnergyKj.CanFocus = true; this.EntryEnergyKj.Name = "EntryEnergyKj"; this.EntryEnergyKj.IsEditable = true; this.EntryEnergyKj.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntryEnergyKj); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntryEnergyKj])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntryFiber = new global::Gtk.Entry(); this.EntryFiber.TooltipMarkup = "Vláknina"; this.EntryFiber.CanFocus = true; this.EntryFiber.Name = "EntryFiber"; this.EntryFiber.IsEditable = true; this.EntryFiber.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntryFiber); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntryFiber])); w10.TopAttach = ((uint)(7)); w10.BottomAttach = ((uint)(8)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntryProtein = new global::Gtk.Entry(); this.EntryProtein.TooltipMarkup = "Bílkoviny"; this.EntryProtein.CanFocus = true; this.EntryProtein.Name = "EntryProtein"; this.EntryProtein.IsEditable = true; this.EntryProtein.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntryProtein); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntryProtein])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntrySalt = new global::Gtk.Entry(); this.EntrySalt.TooltipMarkup = "Sůl"; this.EntrySalt.CanFocus = true; this.EntrySalt.Name = "EntrySalt"; this.EntrySalt.IsEditable = true; this.EntrySalt.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntrySalt); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntrySalt])); w12.TopAttach = ((uint)(8)); w12.BottomAttach = ((uint)(9)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntrySaturatedFat = new global::Gtk.Entry(); this.EntrySaturatedFat.TooltipMarkup = "Z toho nasycené mastné kyseliny"; this.EntrySaturatedFat.CanFocus = true; this.EntrySaturatedFat.Name = "EntrySaturatedFat"; this.EntrySaturatedFat.IsEditable = true; this.EntrySaturatedFat.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntrySaturatedFat); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntrySaturatedFat])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntrySugar = new global::Gtk.Entry(); this.EntrySugar.TooltipMarkup = "Z toho cukry"; this.EntrySugar.CanFocus = true; this.EntrySugar.Name = "EntrySugar"; this.EntrySugar.IsEditable = true; this.EntrySugar.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntrySugar); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntrySugar])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.EntryTotalFat = new global::Gtk.Entry(); this.EntryTotalFat.TooltipMarkup = "Tuky"; this.EntryTotalFat.CanFocus = true; this.EntryTotalFat.Name = "EntryTotalFat"; this.EntryTotalFat.IsEditable = true; this.EntryTotalFat.InvisibleChar = '●'; this.ExpandedTable.Add(this.EntryTotalFat); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.EntryTotalFat])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.CheckBoxesTable = new global::Gtk.Table(((uint)(2)), ((uint)(7)), false); this.CheckBoxesTable.Name = "CheckBoxesTable"; this.CheckBoxesTable.RowSpacing = ((uint)(6)); this.CheckBoxesTable.ColumnSpacing = ((uint)(6)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("Lepek"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton1])); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton10 = new global::Gtk.CheckButton(); this.checkbutton10.CanFocus = true; this.checkbutton10.Name = "checkbutton10"; this.checkbutton10.Label = global::Mono.Unix.Catalog.GetString("Hořčice"); this.checkbutton10.DrawIndicator = true; this.checkbutton10.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton10); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton10])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton11 = new global::Gtk.CheckButton(); this.checkbutton11.CanFocus = true; this.checkbutton11.Name = "checkbutton11"; this.checkbutton11.Label = global::Mono.Unix.Catalog.GetString("Sezamové semena"); this.checkbutton11.DrawIndicator = true; this.checkbutton11.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton11); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton11])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(3)); w18.RightAttach = ((uint)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton12 = new global::Gtk.CheckButton(); this.checkbutton12.CanFocus = true; this.checkbutton12.Name = "checkbutton12"; this.checkbutton12.Label = global::Mono.Unix.Catalog.GetString("Oxid siřičitý a siřičitany"); this.checkbutton12.DrawIndicator = true; this.checkbutton12.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton12); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton12])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(4)); w19.RightAttach = ((uint)(5)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton13 = new global::Gtk.CheckButton(); this.checkbutton13.CanFocus = true; this.checkbutton13.Name = "checkbutton13"; this.checkbutton13.Label = global::Mono.Unix.Catalog.GetString("Vlčí bob"); this.checkbutton13.DrawIndicator = true; this.checkbutton13.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton13); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton13])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(5)); w20.RightAttach = ((uint)(6)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton14 = new global::Gtk.CheckButton(); this.checkbutton14.CanFocus = true; this.checkbutton14.Name = "checkbutton14"; this.checkbutton14.Label = global::Mono.Unix.Catalog.GetString("Měkkýši"); this.checkbutton14.DrawIndicator = true; this.checkbutton14.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton14); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton14])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(6)); w21.RightAttach = ((uint)(7)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton2 = new global::Gtk.CheckButton(); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("Korýši"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton2); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton2])); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton3 = new global::Gtk.CheckButton(); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("Vejce"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton3])); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton4 = new global::Gtk.CheckButton(); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("Ryby"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton4); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton4])); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton5 = new global::Gtk.CheckButton(); this.checkbutton5.CanFocus = true; this.checkbutton5.Name = "checkbutton5"; this.checkbutton5.Label = global::Mono.Unix.Catalog.GetString("Podzemnice olejná"); this.checkbutton5.DrawIndicator = true; this.checkbutton5.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton5])); w25.LeftAttach = ((uint)(4)); w25.RightAttach = ((uint)(5)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton6 = new global::Gtk.CheckButton(); this.checkbutton6.CanFocus = true; this.checkbutton6.Name = "checkbutton6"; this.checkbutton6.Label = global::Mono.Unix.Catalog.GetString("Sója"); this.checkbutton6.DrawIndicator = true; this.checkbutton6.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton6])); w26.LeftAttach = ((uint)(5)); w26.RightAttach = ((uint)(6)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton7 = new global::Gtk.CheckButton(); this.checkbutton7.CanFocus = true; this.checkbutton7.Name = "checkbutton7"; this.checkbutton7.Label = global::Mono.Unix.Catalog.GetString("Mléko"); this.checkbutton7.DrawIndicator = true; this.checkbutton7.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton7])); w27.LeftAttach = ((uint)(6)); w27.RightAttach = ((uint)(7)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton8 = new global::Gtk.CheckButton(); this.checkbutton8.CanFocus = true; this.checkbutton8.Name = "checkbutton8"; this.checkbutton8.Label = global::Mono.Unix.Catalog.GetString("Skořápkové plody"); this.checkbutton8.DrawIndicator = true; this.checkbutton8.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton8); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton8])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child CheckBoxesTable.Gtk.Table+TableChild this.checkbutton9 = new global::Gtk.CheckButton(); this.checkbutton9.CanFocus = true; this.checkbutton9.Name = "checkbutton9"; this.checkbutton9.Label = global::Mono.Unix.Catalog.GetString("Celer"); this.checkbutton9.DrawIndicator = true; this.checkbutton9.UseUnderline = true; this.CheckBoxesTable.Add(this.checkbutton9); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.CheckBoxesTable[this.checkbutton9])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.ExpandedTable.Add(this.CheckBoxesTable); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.CheckBoxesTable])); w30.TopAttach = ((uint)(9)); w30.BottomAttach = ((uint)(10)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Energetická hodnota (kJ):"); this.ExpandedTable.Add(this.label1); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label1])); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Tuky:"); this.ExpandedTable.Add(this.label10); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label10])); w32.TopAttach = ((uint)(5)); w32.BottomAttach = ((uint)(6)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Z toho nas. mastné kyseliny:"); this.ExpandedTable.Add(this.label11); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label11])); w33.TopAttach = ((uint)(6)); w33.BottomAttach = ((uint)(7)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Vláknina:"); this.ExpandedTable.Add(this.label12); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label12])); w34.TopAttach = ((uint)(7)); w34.BottomAttach = ((uint)(8)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Sůl:"); this.ExpandedTable.Add(this.label13); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label13])); w35.TopAttach = ((uint)(8)); w35.BottomAttach = ((uint)(9)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Energetická hodnota (kcal):"); this.ExpandedTable.Add(this.label2); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label2])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Bílkoviny"); this.ExpandedTable.Add(this.label3); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label3])); w37.TopAttach = ((uint)(2)); w37.BottomAttach = ((uint)(3)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Sacharidy"); this.ExpandedTable.Add(this.label4); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label4])); w38.TopAttach = ((uint)(3)); w38.BottomAttach = ((uint)(4)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ExpandedTable.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Z toho cukry:"); this.ExpandedTable.Add(this.label9); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.ExpandedTable[this.label9])); w39.TopAttach = ((uint)(4)); w39.BottomAttach = ((uint)(5)); w39.XPadding = ((uint)(3)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); this.Expander.Add(this.ExpandedTable); this.ExpanderLabel = new global::Gtk.Label(); this.ExpanderLabel.Name = "ExpanderLabel"; this.ExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Výživové hodnoty na 100g"); this.ExpanderLabel.UseUnderline = true; this.Expander.LabelWidget = this.ExpanderLabel; this.MainTable.Add(this.Expander); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.MainTable[this.Expander])); w41.TopAttach = ((uint)(4)); w41.BottomAttach = ((uint)(5)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child MainTable.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Název:"); this.MainTable.Add(this.label5); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.MainTable[this.label5])); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child MainTable.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Gramáž:"); this.MainTable.Add(this.label6); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.MainTable[this.label6])); w43.TopAttach = ((uint)(1)); w43.BottomAttach = ((uint)(2)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child MainTable.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Cena:"); this.MainTable.Add(this.label7); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.MainTable[this.label7])); w44.TopAttach = ((uint)(2)); w44.BottomAttach = ((uint)(3)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child MainTable.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Složení:"); this.MainTable.Add(this.label8); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.MainTable[this.label8])); w45.TopAttach = ((uint)(3)); w45.BottomAttach = ((uint)(4)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.MainTable); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(w1[this.MainTable])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Internal child final_project.AddFoodDialog.ActionArea global::Gtk.HButtonBox w47 = this.ActionArea; w47.Name = "dialog1_ActionArea"; w47.Spacing = 10; w47.BorderWidth = ((uint)(5)); w47.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w48 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w47[this.buttonCancel])); w48.Expand = false; w48.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w49 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w47[this.buttonOk])); w49.Position = 1; w49.Expand = false; w49.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 404; this.DefaultHeight = 273; this.Show(); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); this.buttonOk.Pressed += new global::System.EventHandler(this.Check); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ryuk.HeartbreakerLogin this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.EditAction, null); this.WindowAction = new global::Gtk.Action("WindowAction", global::Mono.Unix.Catalog.GetString("Window"), null, null); this.WindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Window"); w1.Add(this.WindowAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "ryuk.HeartbreakerLogin"; this.Title = global::Mono.Unix.Catalog.GetString("HeartbreakerLogin"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child ryuk.HeartbreakerLogin.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar5\'><menu name=\'FileAction\' action=\'FileAction\'/><menu n" + "ame=\'EditAction\' action=\'EditAction\'/><menu name=\'WindowAction\' action=\'WindowAc" + "tion\'/></menubar></ui>"); this.menubar5 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar5"))); this.menubar5.Name = "menubar5"; this.vbox4.Add(this.menubar5); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.menubar5])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.table7 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table7.Name = "table7"; this.table7.RowSpacing = ((uint)(6)); this.table7.ColumnSpacing = ((uint)(6)); // Container child table7.Gtk.Table+TableChild this.button6 = new global::Gtk.Button(); this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; this.button6.Label = global::Mono.Unix.Catalog.GetString("Choose File"); this.table7.Add(this.button6); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table7[this.button6])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); // Container child table7.Gtk.Table+TableChild this.button7 = new global::Gtk.Button(); this.button7.CanFocus = true; this.button7.Name = "button7"; this.button7.UseUnderline = true; this.button7.Label = global::Mono.Unix.Catalog.GetString("Choose File"); this.table7.Add(this.button7); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table7[this.button7])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); // Container child table7.Gtk.Table+TableChild this.button8 = new global::Gtk.Button(); this.button8.CanFocus = true; this.button8.Name = "button8"; this.button8.UseUnderline = true; this.button8.Label = global::Mono.Unix.Catalog.GetString("Choose File"); this.table7.Add(this.button8); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table7[this.button8])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); // Container child table7.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Possible Domains File:"); this.table7.Add(this.label13); // Container child table7.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Possible Usernames File:"); this.table7.Add(this.label15); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table7[this.label15])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); // Container child table7.Gtk.Table+TableChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Possible Passwords File:"); this.table7.Add(this.label17); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table7[this.label17])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); this.vbox4.Add(this.table7); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.table7])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.table8 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table8.Name = "table8"; this.table8.RowSpacing = ((uint)(6)); this.table8.ColumnSpacing = ((uint)(6)); // Container child table8.Gtk.Table+TableChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("Generate Additional Special Characters"); this.checkbutton1.Active = true; this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.table8.Add(this.checkbutton1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table8[this.checkbutton1])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); // Container child table8.Gtk.Table+TableChild this.checkbutton3 = new global::Gtk.CheckButton(); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("Split Possible Passwords"); this.checkbutton3.Active = true; this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.table8.Add(this.checkbutton3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table8[this.checkbutton3])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); // Container child table8.Gtk.Table+TableChild this.checkbutton4 = new global::Gtk.CheckButton(); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("Generate Additional Numbers"); this.checkbutton4.Active = true; this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.table8.Add(this.checkbutton4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table8[this.checkbutton4])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); // Container child table8.Gtk.Table+TableChild this.checkbutton6 = new global::Gtk.CheckButton(); this.checkbutton6.CanFocus = true; this.checkbutton6.Name = "checkbutton6"; this.checkbutton6.Label = global::Mono.Unix.Catalog.GetString("Generate Additional Letters"); this.checkbutton6.Active = true; this.checkbutton6.DrawIndicator = true; this.checkbutton6.UseUnderline = true; this.table8.Add(this.checkbutton6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table8[this.checkbutton6])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); // Container child table8.Gtk.Table+TableChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("CSV (First Column)")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("CSV (Second Column)")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("CSV (Third Column)")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("New-Line")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("JSON")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.table8.Add(this.combobox1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table8[this.combobox1])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); // Container child table8.Gtk.Table+TableChild this.combobox3 = global::Gtk.ComboBox.NewText(); this.combobox3.AppendText(global::Mono.Unix.Catalog.GetString("Jack the Ripper")); this.combobox3.AppendText(global::Mono.Unix.Catalog.GetString("Levee Breaker")); this.combobox3.AppendText(global::Mono.Unix.Catalog.GetString("Seven Nation Army")); this.combobox3.Name = "combobox3"; this.combobox3.Active = 1; this.table8.Add(this.combobox3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table8[this.combobox3])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); // Container child table8.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("File Format"); this.table8.Add(this.label19); // Container child table8.Gtk.Table+TableChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Algorithm"); this.table8.Add(this.label25); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table8[this.label25])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); this.expander1.Add(this.table8); this.GtkLabel10 = new global::Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("Extra Heartbreaker Options"); this.GtkLabel10.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel10; this.vbox4.Add(this.expander1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.expander1])); w19.Position = 2; // Container child vbox4.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString("Start Heartbreaker"); this.vbox4.Add(this.button4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.button4])); w20.Position = 3; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 571; this.DefaultHeight = 480; this.Show(); this.button8.Clicked += new global::System.EventHandler(this.passwordsFileChanged); this.button7.Clicked += new global::System.EventHandler(this.usernamesFileChanged); this.button6.Clicked += new global::System.EventHandler(this.domainFileChanged); this.combobox3.Changed += new global::System.EventHandler(this.algorithmChanged); this.combobox1.Changed += new global::System.EventHandler(this.fileFormatChanged); this.checkbutton6.Toggled += new global::System.EventHandler(this.boolLettersChanged); this.checkbutton4.Toggled += new global::System.EventHandler(this.boolNumsChanged); this.checkbutton3.Toggled += new global::System.EventHandler(this.boolSplitChanged); this.checkbutton1.Toggled += new global::System.EventHandler(this.boolSpecialChanged); this.button4.Clicked += new global::System.EventHandler(this.startHeartbreaker); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget DamageControl.Login this.Name = "DamageControl.Login"; this.Title = global::Mono.Unix.Catalog.GetString("Sistema de Entrada"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); // Container child DamageControl.Login.Gtk.Container+ContainerChild this.frameLogin = new global::Gtk.Frame(); this.frameLogin.Name = "frameLogin"; this.frameLogin.ShadowType = ((global::Gtk.ShadowType)(1)); this.frameLogin.BorderWidth = ((uint)(15)); // Container child frameLogin.Gtk.Container+ContainerChild this.GtkAligInterior = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAligInterior.Name = "GtkAligInterior"; this.GtkAligInterior.LeftPadding = ((uint)(12)); this.GtkAligInterior.BorderWidth = ((uint)(15)); // Container child GtkAligInterior.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.fixedLogin = new global::Gtk.Fixed(); this.fixedLogin.Name = "fixedLogin"; this.fixedLogin.HasWindow = false; this.hbox4.Add(this.fixedLogin); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.fixedLogin])); w1.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.labFecha = new global::Gtk.Label(); this.labFecha.WidthRequest = 200; this.labFecha.Name = "labFecha"; this.labFecha.Xalign = 0F; this.labFecha.LabelProp = global::Mono.Unix.Catalog.GetString("labFecha"); this.hbox4.Add(this.labFecha); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labFecha])); w2.Position = 1; w2.Expand = false; w2.Fill = false; w2.Padding = ((uint)(10)); this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.imgLogo2 = new global::Gtk.Image(); this.imgLogo2.Name = "imgLogo2"; this.imgLogo2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DamageControl.imagenes.Logo-Damage-Control.png"); this.vbox1.Add(this.imgLogo2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.imgLogo2])); w5.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labUsuario = new global::Gtk.Label(); this.labUsuario.WidthRequest = 100; this.labUsuario.Name = "labUsuario"; this.labUsuario.Xalign = 0F; this.labUsuario.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Usuario: </b>"); this.labUsuario.UseMarkup = true; this.hbox1.Add(this.labUsuario); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.labUsuario])); w6.Position = 0; w6.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.entUsuario = new global::Gtk.Entry(); this.entUsuario.CanFocus = true; this.entUsuario.Name = "entUsuario"; this.entUsuario.IsEditable = true; this.entUsuario.InvisibleChar = '•'; this.hbox1.Add(this.entUsuario); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entUsuario])); w7.Position = 1; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labContrasena = new global::Gtk.Label(); this.labContrasena.WidthRequest = 100; this.labContrasena.Name = "labContrasena"; this.labContrasena.Xalign = 0F; this.labContrasena.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Contraseña: </b>"); this.labContrasena.UseMarkup = true; this.hbox2.Add(this.labContrasena); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labContrasena])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entContrasena = new global::Gtk.Entry(); this.entContrasena.CanFocus = true; this.entContrasena.Name = "entContrasena"; this.entContrasena.IsEditable = true; this.entContrasena.Visibility = false; this.entContrasena.InvisibleChar = '•'; this.hbox2.Add(this.entContrasena); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entContrasena])); w10.Position = 1; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.hsepLogin1 = new global::Gtk.HSeparator(); this.hsepLogin1.Name = "hsepLogin1"; this.hbox7.Add(this.hsepLogin1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.hsepLogin1])); w12.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.chButMostrarCont = new global::Gtk.CheckButton(); this.chButMostrarCont.CanFocus = true; this.chButMostrarCont.Name = "chButMostrarCont"; this.chButMostrarCont.Label = global::Mono.Unix.Catalog.GetString("Mostrar contraseña"); this.chButMostrarCont.DrawIndicator = true; this.chButMostrarCont.UseUnderline = true; this.chButMostrarCont.BorderWidth = ((uint)(6)); this.hbox7.Add(this.chButMostrarCont); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.chButMostrarCont])); w13.Position = 1; w13.Expand = false; // Container child hbox7.Gtk.Box+BoxChild this.hsepLogin = new global::Gtk.HSeparator(); this.hsepLogin.Name = "hsepLogin"; this.hbox7.Add(this.hsepLogin); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.hsepLogin])); w14.Position = 2; this.vbox1.Add(this.hbox7); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox7])); w15.Position = 5; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.butLimpiar = new global::Gtk.Button(); this.butLimpiar.HeightRequest = 50; this.butLimpiar.CanFocus = true; this.butLimpiar.Name = "butLimpiar"; this.butLimpiar.UseUnderline = true; this.butLimpiar.Label = global::Mono.Unix.Catalog.GetString("Limpiar"); this.hbox3.Add(this.butLimpiar); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.butLimpiar])); w16.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.butIniciarSesion = new global::Gtk.Button(); this.butIniciarSesion.HeightRequest = 50; this.butIniciarSesion.CanFocus = true; this.butIniciarSesion.Events = ((global::Gdk.EventMask)(1024)); this.butIniciarSesion.Name = "butIniciarSesion"; this.butIniciarSesion.UseUnderline = true; this.butIniciarSesion.Label = global::Mono.Unix.Catalog.GetString("Iniciar sesión"); this.hbox3.Add(this.butIniciarSesion); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.butIniciarSesion])); w17.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w18.Position = 6; w18.Expand = false; w18.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frameRegistrarUsuario = new global::Gtk.Frame(); this.frameRegistrarUsuario.Name = "frameRegistrarUsuario"; this.frameRegistrarUsuario.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frameRegistrarUsuario.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.expRegistro = new global::Gtk.Expander(null); this.expRegistro.CanFocus = true; this.expRegistro.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.expRegistro.Name = "expRegistro"; this.expRegistro.Expanded = true; this.expRegistro.BorderWidth = ((uint)(9)); // Container child expRegistro.Gtk.Container+ContainerChild this.alignRegistrar = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignRegistrar.Name = "alignRegistrar"; this.alignRegistrar.BorderWidth = ((uint)(10)); // Container child alignRegistrar.Gtk.Container+ContainerChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.butRegistrar = new global::Gtk.Button(); this.butRegistrar.HeightRequest = 50; this.butRegistrar.CanFocus = true; this.butRegistrar.Name = "butRegistrar"; this.butRegistrar.UseUnderline = true; this.butRegistrar.Label = global::Mono.Unix.Catalog.GetString("¡Únetenos!"); this.hbox6.Add(this.butRegistrar); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.butRegistrar])); w19.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.imgNuevoUsuario = new global::Gtk.Image(); this.imgNuevoUsuario.Name = "imgNuevoUsuario"; this.imgNuevoUsuario.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DamageControl.imagenes.RegistrarUsuario.png"); this.hbox6.Add(this.imgNuevoUsuario); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.imgNuevoUsuario])); w20.Position = 1; this.alignRegistrar.Add(this.hbox6); this.expRegistro.Add(this.alignRegistrar); this.GtkLabRegistro = new global::Gtk.Label(); this.GtkLabRegistro.Name = "GtkLabRegistro"; this.GtkLabRegistro.LabelProp = global::Mono.Unix.Catalog.GetString("¿No tienes cuenta? ¡Registrate!"); this.GtkLabRegistro.UseMarkup = true; this.GtkLabRegistro.UseUnderline = true; this.expRegistro.LabelWidget = this.GtkLabRegistro; this.GtkAlignment.Add(this.expRegistro); this.frameRegistrarUsuario.Add(this.GtkAlignment); this.GtkLalEspacio = new global::Gtk.Label(); this.GtkLalEspacio.Name = "GtkLalEspacio"; this.GtkLalEspacio.LabelProp = global::Mono.Unix.Catalog.GetString("<b></b>"); this.GtkLalEspacio.UseMarkup = true; this.frameRegistrarUsuario.LabelWidget = this.GtkLalEspacio; this.vbox1.Add(this.frameRegistrarUsuario); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frameRegistrarUsuario])); w25.Position = 7; // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox5.Add(this.fixed2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.fixed2])); w26.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.butSalir = new global::Gtk.Button(); this.butSalir.HeightRequest = 50; this.butSalir.CanFocus = true; this.butSalir.Name = "butSalir"; this.butSalir.UseUnderline = true; this.butSalir.Label = global::Mono.Unix.Catalog.GetString("Salir del Sistema"); this.hbox5.Add(this.butSalir); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.butSalir])); w27.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.hbox5.Add(this.fixed3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.fixed3])); w28.Position = 2; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox5])); w29.Position = 8; w29.Expand = false; w29.Fill = false; this.GtkAligInterior.Add(this.vbox1); this.frameLogin.Add(this.GtkAligInterior); this.GtkLabBienvenidos = new global::Gtk.Label(); this.GtkLabBienvenidos.Name = "GtkLabBienvenidos"; this.GtkLabBienvenidos.LabelProp = global::Mono.Unix.Catalog.GetString("<b>¡Bienvenido!</b>"); this.GtkLabBienvenidos.UseMarkup = true; this.frameLogin.LabelWidget = this.GtkLabBienvenidos; this.Add(this.frameLogin); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 512; this.DefaultHeight = 647; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.entUsuario.Changed += new global::System.EventHandler(this.OnEntUsuarioChanged); this.chButMostrarCont.Clicked += new global::System.EventHandler(this.OnChButMostrarContClicked); this.butLimpiar.Clicked += new global::System.EventHandler(this.OnButLimpiarClicked); this.butIniciarSesion.Clicked += new global::System.EventHandler(this.OnButIniciarSesionClicked); this.expRegistro.Activated += new global::System.EventHandler(this.OnExpRegistroActivated); this.butRegistrar.Clicked += new global::System.EventHandler(this.OnButRegistrarClicked); this.butSalir.Clicked += new global::System.EventHandler(this.OnButSalirClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget TraceLab.UI.GTK.ComponentInfoPanel global::Stetic.BinContainer.Attach(this); this.Name = "TraceLab.UI.GTK.ComponentInfoPanel"; // Container child TraceLab.UI.GTK.ComponentInfoPanel.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.errorTextView = new global::Gtk.TextView(); this.errorTextView.CanFocus = true; this.errorTextView.Name = "errorTextView"; this.errorTextView.Editable = false; this.errorTextView.CursorVisible = false; this.errorTextView.AcceptsTab = false; this.errorTextView.Justification = ((global::Gtk.Justification)(3)); this.errorTextView.WrapMode = ((global::Gtk.WrapMode)(2)); this.errorTextView.LeftMargin = 3; this.errorTextView.RightMargin = 3; this.vbox1.Add(this.errorTextView); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.errorTextView])); w2.Position = 0; w2.Expand = false; w2.Padding = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.IOExpander = new global::Gtk.Expander(null); this.IOExpander.CanFocus = true; this.IOExpander.Name = "IOExpander"; this.IOExpander.Expanded = true; // Container child IOExpander.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.inputView = new global::Gtk.NodeView(); this.inputView.CanFocus = true; this.inputView.Name = "inputView"; this.vbox2.Add(this.inputView); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.inputView])); w3.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.outputView = new global::Gtk.NodeView(); this.outputView.CanFocus = true; this.outputView.Name = "outputView"; this.vbox2.Add(this.outputView); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.outputView])); w4.Position = 1; this.IOExpander.Add(this.vbox2); this.IOExpanderLabel = new global::Gtk.Label(); this.IOExpanderLabel.Name = "IOExpanderLabel"; this.IOExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Input/Output"); this.IOExpanderLabel.UseUnderline = true; this.IOExpander.LabelWidget = this.IOExpanderLabel; this.vbox1.Add(this.IOExpander); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.IOExpander])); w6.Position = 1; w6.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.configurationExpander = new global::Gtk.Expander(null); this.configurationExpander.CanFocus = true; this.configurationExpander.Name = "configurationExpander"; this.configurationExpanderLabel = new global::Gtk.Label(); this.configurationExpanderLabel.Name = "configurationExpanderLabel"; this.configurationExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Configuration"); this.configurationExpanderLabel.UseUnderline = true; this.configurationExpander.LabelWidget = this.configurationExpanderLabel; this.vbox1.Add(this.configurationExpander); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.configurationExpander])); w7.Position = 2; w7.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.componentInfoExpander = new global::Gtk.Expander(null); this.componentInfoExpander.CanFocus = true; this.componentInfoExpander.Name = "componentInfoExpander"; this.componentInfoExpander.Expanded = true; // Container child componentInfoExpander.Gtk.Container+ContainerChild this.infoTable = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.infoTable.Name = "infoTable"; this.infoTable.RowSpacing = ((uint)(6)); this.infoTable.ColumnSpacing = ((uint)(6)); // Container child infoTable.Gtk.Table+TableChild this.authorLbl = new global::Gtk.Label(); this.authorLbl.Name = "authorLbl"; this.authorLbl.Xpad = 3; this.authorLbl.Ypad = 2; this.authorLbl.Xalign = 0F; this.authorLbl.Yalign = 0F; this.authorLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Author:"); this.infoTable.Add(this.authorLbl); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.infoTable [this.authorLbl])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.authorValue = new global::Gtk.Label(); this.authorValue.Name = "authorValue"; this.authorValue.Xpad = 3; this.authorValue.Ypad = 2; this.authorValue.Xalign = 0F; this.authorValue.Yalign = 0F; this.infoTable.Add(this.authorValue); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.infoTable [this.authorValue])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentLabelLbl = new global::Gtk.Label(); this.componentLabelLbl.Name = "componentLabelLbl"; this.componentLabelLbl.Xpad = 3; this.componentLabelLbl.Ypad = 2; this.componentLabelLbl.Xalign = 0F; this.componentLabelLbl.Yalign = 0F; this.componentLabelLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Label:"); this.infoTable.Add(this.componentLabelLbl); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentLabelLbl])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentLabelValue = new global::Gtk.Entry(); this.componentLabelValue.CanFocus = true; this.componentLabelValue.Name = "componentLabelValue"; this.componentLabelValue.IsEditable = true; this.componentLabelValue.InvisibleChar = '●'; this.infoTable.Add(this.componentLabelValue); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentLabelValue])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentNameLbl = new global::Gtk.Label(); this.componentNameLbl.Name = "componentNameLbl"; this.componentNameLbl.Xpad = 3; this.componentNameLbl.Ypad = 2; this.componentNameLbl.Xalign = 0F; this.componentNameLbl.Yalign = 0F; this.componentNameLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Component:"); this.infoTable.Add(this.componentNameLbl); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentNameLbl])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentNameValue = new global::Gtk.Label(); this.componentNameValue.Name = "componentNameValue"; this.componentNameValue.Xpad = 3; this.componentNameValue.Ypad = 2; this.componentNameValue.Xalign = 0F; this.componentNameValue.Yalign = 0F; this.infoTable.Add(this.componentNameValue); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentNameValue])); 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 infoTable.Gtk.Table+TableChild this.descriptionLbl = new global::Gtk.Label(); this.descriptionLbl.Name = "descriptionLbl"; this.descriptionLbl.Xpad = 3; this.descriptionLbl.Ypad = 2; this.descriptionLbl.Xalign = 0F; this.descriptionLbl.Yalign = 0F; this.descriptionLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Description:"); this.infoTable.Add(this.descriptionLbl); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.infoTable [this.descriptionLbl])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.descriptionValue = new global::Gtk.Label(); this.descriptionValue.Name = "descriptionValue"; this.descriptionValue.Xpad = 3; this.descriptionValue.Ypad = 2; this.descriptionValue.Xalign = 0F; this.descriptionValue.Yalign = 0F; this.descriptionValue.Wrap = true; this.infoTable.Add(this.descriptionValue); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.infoTable [this.descriptionValue])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.versionLbl = new global::Gtk.Label(); this.versionLbl.Name = "versionLbl"; this.versionLbl.Xpad = 3; this.versionLbl.Ypad = 2; this.versionLbl.Xalign = 0F; this.versionLbl.Yalign = 0F; this.versionLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Version:"); this.infoTable.Add(this.versionLbl); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.infoTable [this.versionLbl])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.versionValue = new global::Gtk.Label(); this.versionValue.Name = "versionValue"; this.versionValue.Xpad = 3; this.versionValue.Ypad = 2; this.versionValue.Xalign = 0F; this.versionValue.Yalign = 0F; this.infoTable.Add(this.versionValue); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.infoTable [this.versionValue])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.componentInfoExpander.Add(this.infoTable); this.componentInfoExpanderLabel = new global::Gtk.Label(); this.componentInfoExpanderLabel.Name = "componentInfoExpanderLabel"; this.componentInfoExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Component Info"); this.componentInfoExpanderLabel.UseUnderline = true; this.componentInfoExpander.LabelWidget = this.componentInfoExpanderLabel; this.vbox1.Add(this.componentInfoExpander); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.componentInfoExpander])); w19.Position = 3; w19.Expand = false; w19.Fill = false; w1.Add(this.vbox1); this.scrolledwindow1.Add(w1); this.Add(this.scrolledwindow1); if ((this.Child != null)) { this.Child.ShowAll(); } this.errorTextView.Hide(); this.Hide(); this.componentLabelValue.Changed += new global::System.EventHandler(this.HandleComponentLabelChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget PubnubMessagingExampleGTK.SettingsDialog this.Name = "PubnubMessagingExampleGTK.SettingsDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Settings"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 420; this.DefaultHeight = 420; // Internal child PubnubMessagingExampleGTK.SettingsDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.mainFixedPanel = new global::Gtk.Fixed (); this.mainFixedPanel.HeightRequest = 420; this.mainFixedPanel.Name = "mainFixedPanel"; this.mainFixedPanel.HasWindow = false; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.WidthRequest = 550; this.hseparator1.HeightRequest = 1; this.hseparator1.Name = "hseparator1"; this.mainFixedPanel.Add (this.hseparator1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.hseparator1])); w2.X = 1; w2.Y = 39; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label78 = new global::Gtk.Label (); this.label78.Name = "label78"; this.label78.LabelProp = global::Mono.Unix.Catalog.GetString ("Channel(s)"); this.mainFixedPanel.Add (this.label78); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label78])); w3.X = 31; w3.Y = 67; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.WidthRequest = 550; this.hseparator2.HeightRequest = 1; this.hseparator2.Name = "hseparator2"; this.mainFixedPanel.Add (this.hseparator2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.hseparator2])); w4.Y = 122; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label79 = new global::Gtk.Label (); this.label79.Name = "label79"; this.label79.LabelProp = global::Mono.Unix.Catalog.GetString ("SSL"); this.mainFixedPanel.Add (this.label79); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label79])); w5.X = 32; w5.Y = 96; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label81 = new global::Gtk.Label (); this.label81.Name = "label81"; this.label81.LabelProp = global::Mono.Unix.Catalog.GetString ("Cipher"); this.mainFixedPanel.Add (this.label81); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label81])); w6.X = 34; w6.Y = 152; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryCipher = new global::Gtk.Entry (); this.entryCipher.CanFocus = true; this.entryCipher.Name = "entryCipher"; this.entryCipher.IsEditable = true; this.entryCipher.InvisibleChar = '•'; this.mainFixedPanel.Add (this.entryCipher); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryCipher])); w7.X = 139; w7.Y = 147; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryUuid = new global::Gtk.Entry (); this.entryUuid.CanFocus = true; this.entryUuid.Name = "entryUuid"; this.entryUuid.IsEditable = true; this.entryUuid.InvisibleChar = '•'; this.mainFixedPanel.Add (this.entryUuid); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryUuid])); w8.X = 139; w8.Y = 207; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label83 = new global::Gtk.Label (); this.label83.Name = "label83"; this.label83.LabelProp = global::Mono.Unix.Catalog.GetString ("Custom UUID"); this.mainFixedPanel.Add (this.label83); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label83])); w9.X = 33; w9.Y = 209; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryChannel = new global::Gtk.Entry (); this.entryChannel.WidthRequest = 300; this.entryChannel.CanFocus = true; this.entryChannel.Name = "entryChannel"; this.entryChannel.IsEditable = true; this.entryChannel.InvisibleChar = '•'; this.mainFixedPanel.Add (this.entryChannel); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryChannel])); w10.X = 141; w10.Y = 62; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.expander2 = new global::Gtk.Expander (null); this.expander2.HeightRequest = 170; this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.fixed5 = new global::Gtk.Fixed (); this.fixed5.WidthRequest = 400; this.fixed5.HeightRequest = 135; this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; // Container child fixed5.Gtk.Fixed+FixedChild this.entryServer = new global::Gtk.Entry (); this.entryServer.CanFocus = true; this.entryServer.Name = "entryServer"; this.entryServer.IsEditable = true; this.entryServer.InvisibleChar = '•'; this.fixed5.Add (this.entryServer); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryServer])); w11.X = 129; w11.Y = 10; // Container child fixed5.Gtk.Fixed+FixedChild this.entryPort = new global::Gtk.Entry (); this.entryPort.CanFocus = true; this.entryPort.Name = "entryPort"; this.entryPort.IsEditable = true; this.entryPort.InvisibleChar = '•'; this.fixed5.Add (this.entryPort); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryPort])); w12.X = 129; w12.Y = 43; // Container child fixed5.Gtk.Fixed+FixedChild this.label84 = new global::Gtk.Label (); this.label84.Name = "label84"; this.label84.LabelProp = global::Mono.Unix.Catalog.GetString ("Server"); this.fixed5.Add (this.label84); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label84])); w13.X = 26; w13.Y = 16; // Container child fixed5.Gtk.Fixed+FixedChild this.label85 = new global::Gtk.Label (); this.label85.Name = "label85"; this.label85.LabelProp = global::Mono.Unix.Catalog.GetString ("Port"); this.fixed5.Add (this.label85); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label85])); w14.X = 26; w14.Y = 45; // Container child fixed5.Gtk.Fixed+FixedChild this.entryUsername = new global::Gtk.Entry (); this.entryUsername.CanFocus = true; this.entryUsername.Name = "entryUsername"; this.entryUsername.IsEditable = true; this.entryUsername.InvisibleChar = '•'; this.fixed5.Add (this.entryUsername); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryUsername])); w15.X = 129; w15.Y = 75; // Container child fixed5.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Password"); this.fixed5.Add (this.label2); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label2])); w16.X = 26; w16.Y = 112; // Container child fixed5.Gtk.Fixed+FixedChild this.lblUsername = new global::Gtk.Label (); this.lblUsername.Name = "lblUsername"; this.lblUsername.LabelProp = global::Mono.Unix.Catalog.GetString ("Username"); this.fixed5.Add (this.lblUsername); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.lblUsername])); w17.X = 26; w17.Y = 79; // Container child fixed5.Gtk.Fixed+FixedChild this.entryPassword = new global::Gtk.Entry (); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.InvisibleChar = '•'; this.fixed5.Add (this.entryPassword); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryPassword])); w18.X = 128; w18.Y = 109; this.expander2.Add (this.fixed5); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.HeightRequest = 0; this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Proxy Settings"); this.GtkLabel2.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel2; this.mainFixedPanel.Add (this.expander2); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.expander2])); w20.X = 26; w20.Y = 246; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label75 = new global::Gtk.Label (); this.label75.Name = "label75"; this.label75.LabelProp = global::Mono.Unix.Catalog.GetString ("Basic Settings"); this.mainFixedPanel.Add (this.label75); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label75])); w21.X = 225; w21.Y = 13; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label76 = new global::Gtk.Label (); this.label76.Name = "label76"; this.label76.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter multiple channels separated by comma"); this.mainFixedPanel.Add (this.label76); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label76])); w22.X = 127; w22.Y = 42; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label80 = new global::Gtk.Label (); this.label80.Name = "label80"; this.label80.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter cipher for encryption or leave blank for unencrypted transfer"); this.mainFixedPanel.Add (this.label80); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label80])); w23.X = 61; w23.Y = 126; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label82 = new global::Gtk.Label (); this.label82.Name = "label82"; this.label82.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter custom UUID or leave blank for default UUID"); this.mainFixedPanel.Add (this.label82); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label82])); w24.X = 104; w24.Y = 181; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.sslToggle = new global::Gtk.ToggleButton (); this.sslToggle.CanFocus = true; this.sslToggle.Name = "sslToggle"; this.sslToggle.UseUnderline = true; this.sslToggle.Active = true; this.sslToggle.Label = global::Mono.Unix.Catalog.GetString ("Off"); this.mainFixedPanel.Add (this.sslToggle); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.sslToggle])); w25.X = 139; w25.Y = 93; w1.Add (this.mainFixedPanel); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w1 [this.mainFixedPanel])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Internal child PubnubMessagingExampleGTK.SettingsDialog.ActionArea global::Gtk.HButtonBox w27 = this.ActionArea; w27.Name = "dialog1_ActionArea"; w27.Spacing = 10; w27.BorderWidth = ((uint)(5)); w27.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnCancel = new global::Gtk.Button (); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.AddActionWidget (this.btnCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.btnCancel])); w28.Expand = false; w28.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; w27.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.buttonOk])); w29.Position = 1; w29.Expand = false; w29.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.expander2.Activated += new global::System.EventHandler (this.ProxyExpanderActivated); this.sslToggle.Toggled += new global::System.EventHandler (this.SslToggled); this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Database.CodeGenerator.GenerateDataClass this.Name = "MonoDevelop.Database.CodeGenerator.GenerateDataClass"; this.Title = global::Mono.Unix.Catalog.GetString ("Generate Linq Class"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Database.CodeGenerator.GenerateDataClass.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Connection"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.comboProviderConnection = new global::MonoDevelop.Database.Components.DatabaseConnectionEditorWidget (); this.comboProviderConnection.Events = ((global::Gdk.EventMask)(256)); this.comboProviderConnection.Name = "comboProviderConnection"; this.hbox1.Add (this.comboProviderConnection); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboProviderConnection])); w3.Position = 1; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.labelMessage = new global::Gtk.Label (); this.labelMessage.Name = "labelMessage"; w1.Add (this.labelMessage); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.labelMessage])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; w1.Add (this.hseparator1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; w6.Padding = ((uint)(5)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Output"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboOutput = global::Gtk.ComboBox.NewText (); this.comboOutput.AppendText (global::Mono.Unix.Catalog.GetString ("Code")); this.comboOutput.AppendText (global::Mono.Unix.Catalog.GetString ("DBML")); this.comboOutput.AppendText (global::Mono.Unix.Catalog.GetString ("Code & DBML")); this.comboOutput.Name = "comboOutput"; this.comboOutput.Active = 0; this.hbox2.Add (this.comboOutput); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboOutput])); w8.Position = 1; w8.Expand = false; w8.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 ("Language"); this.hbox2.Add (this.label3); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label3])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboLanguage = global::Gtk.ComboBox.NewText (); this.comboLanguage.AppendText (global::Mono.Unix.Catalog.GetString ("C#2")); this.comboLanguage.AppendText (global::Mono.Unix.Catalog.GetString ("C#")); this.comboLanguage.AppendText (global::Mono.Unix.Catalog.GetString ("VB")); this.comboLanguage.Name = "comboLanguage"; this.comboLanguage.Active = 0; this.hbox2.Add (this.comboLanguage); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboLanguage])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Style"); this.hbox2.Add (this.label4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label4])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboStyle = global::Gtk.ComboBox.NewText (); this.comboStyle.AppendText (global::Mono.Unix.Catalog.GetString ("NET")); this.comboStyle.AppendText (global::Mono.Unix.Catalog.GetString ("Leave")); this.comboStyle.AppendText (global::Mono.Unix.Catalog.GetString ("Pascal")); this.comboStyle.AppendText (global::Mono.Unix.Catalog.GetString ("Camel")); this.comboStyle.Name = "comboStyle"; this.comboStyle.Active = 0; this.hbox2.Add (this.comboStyle); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboStyle])); w12.Position = 5; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryFile = new global::Gtk.Entry (); this.entryFile.CanFocus = true; this.entryFile.Name = "entryFile"; this.entryFile.Text = global::Mono.Unix.Catalog.GetString ("Output.cs"); this.entryFile.IsEditable = true; this.entryFile.InvisibleChar = '●'; this.hbox2.Add (this.entryFile); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryFile])); w13.Position = 6; w1.Add (this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; w1.Add (this.hseparator2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator2])); w15.Position = 4; w15.Expand = false; w15.Fill = false; w15.Padding = ((uint)(5)); // Container child dialog1_VBox.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.comboProject = new global::MonoDevelop.Database.Components.ProjectDirectoryComboBox (); this.comboProject.Name = "comboProject"; this.table1.Add (this.comboProject); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.comboProject])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryNamespace = new global::Gtk.Entry (); this.entryNamespace.CanFocus = true; this.entryNamespace.Name = "entryNamespace"; this.entryNamespace.IsEditable = true; this.entryNamespace.InvisibleChar = '●'; this.table1.Add (this.entryNamespace); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.entryNamespace])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((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 ("Project"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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 ("Namespace"); this.table1.Add (this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); w20.Position = 5; w20.Expand = false; w20.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator (); this.hseparator3.Name = "hseparator3"; w1.Add (this.hseparator3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator3])); w21.Position = 6; w21.Expand = false; w21.Fill = false; w21.Padding = ((uint)(5)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entryEntityAttr = new global::Gtk.Entry (); this.entryEntityAttr.TooltipMarkup = "Comma separated ATTRIBUTE(S)."; this.entryEntityAttr.CanFocus = true; this.entryEntityAttr.Name = "entryEntityAttr"; this.entryEntityAttr.IsEditable = true; this.entryEntityAttr.InvisibleChar = '●'; this.table2.Add (this.entryEntityAttr); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.entryEntityAttr])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryEntityBase = new global::Gtk.Entry (); this.entryEntityBase.CanFocus = true; this.entryEntityBase.Name = "entryEntityBase"; this.entryEntityBase.IsEditable = true; this.entryEntityBase.InvisibleChar = '●'; this.table2.Add (this.entryEntityBase); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.entryEntityBase])); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryGenerateType = new global::Gtk.Entry (); this.entryGenerateType.CanFocus = true; this.entryGenerateType.Name = "entryGenerateType"; this.entryGenerateType.IsEditable = true; this.entryGenerateType.InvisibleChar = '●'; this.table2.Add (this.entryGenerateType); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.entryGenerateType])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryMemberAttr = new global::Gtk.Entry (); this.entryMemberAttr.TooltipMarkup = "Comma separated ATTRIBUTE(S)."; this.entryMemberAttr.CanFocus = true; this.entryMemberAttr.Name = "entryMemberAttr"; this.entryMemberAttr.IsEditable = true; this.entryMemberAttr.InvisibleChar = '●'; this.table2.Add (this.entryMemberAttr); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.entryMemberAttr])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 0f; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Member Attributes"); this.table2.Add (this.label10); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.label10])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 0f; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Generate Type"); this.table2.Add (this.label11); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2[this.label11])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 0f; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Entity Base"); this.table2.Add (this.label8); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2[this.label8])); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 0f; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Entity Attributes"); this.table2.Add (this.label9); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2[this.label9])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(w1[this.table2])); w30.Position = 7; w30.Expand = false; w30.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator (); this.hseparator4.Name = "hseparator4"; w1.Add (this.hseparator4); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1[this.hseparator4])); w31.Position = 8; w31.Expand = false; w31.Fill = false; w31.Padding = ((uint)(5)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.Xalign = 0f; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Culture"); this.hbox4.Add (this.label12); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label12])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.entryCulture = new global::Gtk.Entry (); this.entryCulture.WidthRequest = 50; this.entryCulture.CanFocus = true; this.entryCulture.Name = "entryCulture"; this.entryCulture.Text = global::Mono.Unix.Catalog.GetString ("en"); this.entryCulture.IsEditable = true; this.entryCulture.InvisibleChar = '●'; this.hbox4.Add (this.entryCulture); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.entryCulture])); w33.Position = 1; w33.Expand = false; w33.Fill = false; w1.Add (this.hbox4); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(w1[this.hbox4])); w34.Position = 9; w34.Expand = false; w34.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w35 = new global::Gtk.Viewport (); w35.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.checkSchema = new global::Gtk.CheckButton (); this.checkSchema.CanFocus = true; this.checkSchema.Name = "checkSchema"; this.checkSchema.Label = global::Mono.Unix.Catalog.GetString ("Generate Schema in code files."); this.checkSchema.Active = true; this.checkSchema.DrawIndicator = true; this.checkSchema.UseUnderline = true; this.vbox2.Add (this.checkSchema); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkSchema])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkGenerateTimestamps = new global::Gtk.CheckButton (); this.checkGenerateTimestamps.CanFocus = true; this.checkGenerateTimestamps.Name = "checkGenerateTimestamps"; this.checkGenerateTimestamps.Label = global::Mono.Unix.Catalog.GetString ("Generate timestampes in the generated code. "); this.checkGenerateTimestamps.Active = true; this.checkGenerateTimestamps.DrawIndicator = true; this.checkGenerateTimestamps.UseUnderline = true; this.vbox2.Add (this.checkGenerateTimestamps); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkGenerateTimestamps])); w37.Position = 1; w37.Expand = false; w37.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkEqualsAndHash = new global::Gtk.CheckButton (); this.checkEqualsAndHash.CanFocus = true; this.checkEqualsAndHash.Name = "checkEqualsAndHash"; this.checkEqualsAndHash.Label = global::Mono.Unix.Catalog.GetString ("Generates overrides for Equals() and GetHashCode() methods."); this.checkEqualsAndHash.DrawIndicator = true; this.checkEqualsAndHash.UseUnderline = true; this.vbox2.Add (this.checkEqualsAndHash); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkEqualsAndHash])); w38.Position = 2; w38.Expand = false; w38.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkSprocs = new global::Gtk.CheckButton (); this.checkSprocs.CanFocus = true; this.checkSprocs.Name = "checkSprocs"; this.checkSprocs.Label = global::Mono.Unix.Catalog.GetString ("Extract stored procedures."); this.checkSprocs.DrawIndicator = true; this.checkSprocs.UseUnderline = true; this.vbox2.Add (this.checkSprocs); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkSprocs])); w39.Position = 3; w39.Expand = false; w39.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkPluralize = new global::Gtk.CheckButton (); this.checkPluralize.CanFocus = true; this.checkPluralize.Name = "checkPluralize"; this.checkPluralize.Label = global::Mono.Unix.Catalog.GetString ("Automatically pluralize or singularize class and member names using specified culture rules."); this.checkPluralize.DrawIndicator = true; this.checkPluralize.UseUnderline = true; this.vbox2.Add (this.checkPluralize); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkPluralize])); w40.Position = 4; w40.Expand = false; w40.Fill = false; w35.Add (this.vbox2); this.scrolledwindow1.Add (w35); this.expander1.Add (this.scrolledwindow1); this.GtkLabel4 = new global::Gtk.Label (); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("Advanced Options"); this.GtkLabel4.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel4; w1.Add (this.expander1); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(w1[this.expander1])); w44.Position = 10; // Internal child MonoDevelop.Database.CodeGenerator.GenerateDataClass.ActionArea global::Gtk.HButtonBox w45 = this.ActionArea; w45.Name = "GenerateDataClass"; w45.Spacing = 10; w45.BorderWidth = ((uint)(5)); w45.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child GenerateDataClass.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w46 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w45[this.buttonCancel])); w46.Expand = false; w46.Fill = false; // Container child GenerateDataClass.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.Sensitive = false; this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w47 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w45[this.buttonOk])); w47.Position = 1; w47.Expand = false; w47.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 656; this.DefaultHeight = 436; this.Show (); this.comboProviderConnection.SelectedDatabaseChanged += new global::System.EventHandler (this.OnComboProviderConnectionSelectedDatabaseChanged); this.comboOutput.Changed += new global::System.EventHandler (this.OnComboOutputChanged); this.comboLanguage.Changed += new global::System.EventHandler (this.OnComboLanguageChanged); this.comboProject.Changed += new global::System.EventHandler (this.OnComboProjectChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Moscrif.IDE.Controls.NewWorkspaceDialog this.Name = "Moscrif.IDE.Controls.NewWorkspaceDialog"; this.Title = global::Mono.Unix.Catalog.GetString("New Workspace"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child Moscrif.IDE.Controls.NewWorkspaceDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(10)); // Container child vbox2.Gtk.Box+BoxChild this.table2b = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table2b.Name = "table2b"; this.table2b.RowSpacing = ((uint)(6)); this.table2b.ColumnSpacing = ((uint)(6)); // Container child table2b.Gtk.Table+TableChild this.entWorkspace = new global::Gtk.Entry(); this.entWorkspace.CanFocus = true; this.entWorkspace.Events = ((global::Gdk.EventMask)(2048)); this.entWorkspace.Name = "entWorkspace"; this.entWorkspace.IsEditable = true; this.entWorkspace.InvisibleChar = '●'; this.table2b.Add(this.entWorkspace); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2b [this.entWorkspace])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2b.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("Location :"); this.table2b.Add(this.label3); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2b [this.label3])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XPadding = ((uint)(5)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2b.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Workspace Name :"); this.table2b.Add(this.label6); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2b [this.label6])); w4.XPadding = ((uint)(5)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table2b); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2b])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.cbCopyLibs = new global::Gtk.CheckButton(); this.cbCopyLibs.CanFocus = true; this.cbCopyLibs.Name = "cbCopyLibs"; this.cbCopyLibs.Label = global::Mono.Unix.Catalog.GetString("Copy All Libs"); this.cbCopyLibs.DrawIndicator = true; this.cbCopyLibs.UseUnderline = true; this.table2.Add(this.cbCopyLibs); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.cbCopyLibs])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.cbSubFolder = new global::Gtk.CheckButton(); this.cbSubFolder.CanFocus = true; this.cbSubFolder.Name = "cbSubFolder"; this.cbSubFolder.Label = global::Mono.Unix.Catalog.GetString("Create directory for workspace"); this.cbSubFolder.Active = true; this.cbSubFolder.DrawIndicator = true; this.cbSubFolder.UseUnderline = true; this.table2.Add(this.cbSubFolder); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.cbSubFolder])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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("Output Directory :"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4])); w8.XPadding = ((uint)(9)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander1.Add(this.table2); this.GtkLabel5 = new global::Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString("Detail"); this.GtkLabel5.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel5; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.trmProject = new global::Gtk.Frame(); this.trmProject.Name = "trmProject"; // Container child trmProject.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(8)); this.table3.BorderWidth = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.entrProjectName = new global::Gtk.Entry(); this.entrProjectName.CanFocus = true; this.entrProjectName.Name = "entrProjectName"; this.entrProjectName.IsEditable = true; this.entrProjectName.InvisibleChar = '●'; this.table3.Add(this.entrProjectName); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.entrProjectName])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.WidthRequest = 85; this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Project Name :"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table3])); w13.Position = 0; w13.Expand = false; w13.Fill = false; this.GtkAlignment1.Add(this.vbox3); this.trmProject.Add(this.GtkAlignment1); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Project</b>"); this.GtkLabel4.UseMarkup = true; this.trmProject.LabelWidget = this.GtkLabel4; this.vbox2.Add(this.trmProject); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.trmProject])); w16.Position = 2; w1.Add(this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w17.Position = 0; // Internal child Moscrif.IDE.Controls.NewWorkspaceDialog.ActionArea global::Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(10)); w18.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString("_OK"); w18.Add(this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonOk])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 444; this.DefaultHeight = 303; this.vbox3.Hide(); this.trmProject.Hide(); this.Show(); this.entWorkspace.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnEntWorkspaceKeyReleaseEvent); this.entrProjectName.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnEntrProjectNameKeyReleaseEvent); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget BangSharp.Client.CreateSessionDialog this.Name = "BangSharp.Client.CreateSessionDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Create Session"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.DestroyWithParent = true; // Internal child BangSharp.Client.CreateSessionDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.table3 = new global::Gtk.Table (((uint)(9)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.vbox6.BorderWidth = ((uint)(6)); // Container child vbox6.Gtk.Box+BoxChild this.dodgeCityCheckbox = new global::Gtk.CheckButton (); this.dodgeCityCheckbox.CanFocus = true; this.dodgeCityCheckbox.Name = "dodgeCityCheckbox"; this.dodgeCityCheckbox.Label = global::Mono.Unix.Catalog.GetString ("Dodge City"); this.dodgeCityCheckbox.DrawIndicator = true; this.dodgeCityCheckbox.UseUnderline = true; this.vbox6.Add (this.dodgeCityCheckbox); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.dodgeCityCheckbox])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.highNoonCheckbox = new global::Gtk.CheckButton (); this.highNoonCheckbox.CanFocus = true; this.highNoonCheckbox.Name = "highNoonCheckbox"; this.highNoonCheckbox.Label = global::Mono.Unix.Catalog.GetString ("High Noon"); this.highNoonCheckbox.DrawIndicator = true; this.highNoonCheckbox.UseUnderline = true; this.vbox6.Add (this.highNoonCheckbox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.highNoonCheckbox])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.aFistfulOfCardsCheckbox = new global::Gtk.CheckButton (); this.aFistfulOfCardsCheckbox.CanFocus = true; this.aFistfulOfCardsCheckbox.Name = "aFistfulOfCardsCheckbox"; this.aFistfulOfCardsCheckbox.Label = global::Mono.Unix.Catalog.GetString ("A Fistful of Cards"); this.aFistfulOfCardsCheckbox.DrawIndicator = true; this.aFistfulOfCardsCheckbox.UseUnderline = true; this.vbox6.Add (this.aFistfulOfCardsCheckbox); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.aFistfulOfCardsCheckbox])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.wildWestShowCheckbox = new global::Gtk.CheckButton (); this.wildWestShowCheckbox.CanFocus = true; this.wildWestShowCheckbox.Name = "wildWestShowCheckbox"; this.wildWestShowCheckbox.Label = global::Mono.Unix.Catalog.GetString ("Wild West Show"); this.wildWestShowCheckbox.DrawIndicator = true; this.wildWestShowCheckbox.UseUnderline = true; this.vbox6.Add (this.wildWestShowCheckbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.wildWestShowCheckbox])); w5.Position = 3; w5.Expand = false; w5.Fill = false; this.expander1.Add (this.vbox6); this.GtkLabel7 = new global::Gtk.Label (); this.GtkLabel7.Name = "GtkLabel7"; this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Expansions</b>"); this.GtkLabel7.UseMarkup = true; this.GtkLabel7.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel7; this.table3.Add (this.expander1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.expander1])); w7.TopAttach = ((uint)(8)); w7.BottomAttach = ((uint)(9)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Name:"); this.table3.Add (this.label3); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.label3])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.Yalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Description:"); this.table3.Add (this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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 ("Min. Player Count:"); this.table3.Add (this.label5); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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 ("Max. Player Count:"); this.table3.Add (this.label6); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.label6])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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 ("Max. Spectator Count:"); this.table3.Add (this.label7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.label7])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Player Password:"******"label9"; this.label9.Xalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Spectator Password:"******"maxPlayerCountEntry"; this.maxPlayerCountEntry.Adjustment.PageIncrement = 10; this.maxPlayerCountEntry.ClimbRate = 1; this.maxPlayerCountEntry.Numeric = true; this.maxPlayerCountEntry.Value = 8; this.table3.Add (this.maxPlayerCountEntry); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.maxPlayerCountEntry])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.maxSpectatorCountEntry = new global::Gtk.SpinButton (0, 1000, 1); this.maxSpectatorCountEntry.CanFocus = true; this.maxSpectatorCountEntry.Name = "maxSpectatorCountEntry"; this.maxSpectatorCountEntry.Adjustment.PageIncrement = 10; this.maxSpectatorCountEntry.ClimbRate = 1; this.maxSpectatorCountEntry.Numeric = true; this.table3.Add (this.maxSpectatorCountEntry); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.maxSpectatorCountEntry])); w16.TopAttach = ((uint)(4)); w16.BottomAttach = ((uint)(5)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.minPlayerCountEntry = new global::Gtk.SpinButton (2, 8, 1); this.minPlayerCountEntry.CanFocus = true; this.minPlayerCountEntry.Name = "minPlayerCountEntry"; this.minPlayerCountEntry.Adjustment.PageIncrement = 10; this.minPlayerCountEntry.ClimbRate = 1; this.minPlayerCountEntry.Numeric = true; this.minPlayerCountEntry.Value = 2; this.table3.Add (this.minPlayerCountEntry); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3 [this.minPlayerCountEntry])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.playerPasswordEntry = new global::Gtk.Entry (); this.playerPasswordEntry.CanFocus = true; this.playerPasswordEntry.Name = "playerPasswordEntry"; this.playerPasswordEntry.IsEditable = true; this.playerPasswordEntry.ActivatesDefault = true; this.playerPasswordEntry.Visibility = false; this.playerPasswordEntry.InvisibleChar = '•'; this.table3.Add (this.playerPasswordEntry); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.playerPasswordEntry])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.sessionDescriptionEntry = new global::Gtk.TextView (); this.sessionDescriptionEntry.CanFocus = true; this.sessionDescriptionEntry.Name = "sessionDescriptionEntry"; this.table3.Add (this.sessionDescriptionEntry); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.sessionDescriptionEntry])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.sessionNameEntry = new global::Gtk.Entry (); this.sessionNameEntry.CanFocus = true; this.sessionNameEntry.Name = "sessionNameEntry"; this.sessionNameEntry.IsEditable = true; this.sessionNameEntry.ActivatesDefault = true; this.sessionNameEntry.InvisibleChar = '•'; this.table3.Add (this.sessionNameEntry); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.sessionNameEntry])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.shufflePlayersCheckbox = new global::Gtk.CheckButton (); this.shufflePlayersCheckbox.CanFocus = true; this.shufflePlayersCheckbox.Name = "shufflePlayersCheckbox"; this.shufflePlayersCheckbox.Label = global::Mono.Unix.Catalog.GetString ("_Shuffle Players"); this.shufflePlayersCheckbox.DrawIndicator = true; this.shufflePlayersCheckbox.UseUnderline = true; this.table3.Add (this.shufflePlayersCheckbox); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.shufflePlayersCheckbox])); w21.TopAttach = ((uint)(7)); w21.BottomAttach = ((uint)(8)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.spectatorPasswordEntry = new global::Gtk.Entry (); this.spectatorPasswordEntry.CanFocus = true; this.spectatorPasswordEntry.Name = "spectatorPasswordEntry"; this.spectatorPasswordEntry.IsEditable = true; this.spectatorPasswordEntry.ActivatesDefault = true; this.spectatorPasswordEntry.Visibility = false; this.spectatorPasswordEntry.InvisibleChar = '•'; this.table3.Add (this.spectatorPasswordEntry); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.spectatorPasswordEntry])); w22.TopAttach = ((uint)(6)); w22.BottomAttach = ((uint)(7)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment2.Add (this.table3); this.frame2.Add (this.GtkAlignment2); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Session Options</b>"); this.GtkLabel3.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel3; this.vbox5.Add (this.frame2); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame2])); w25.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.playerDataWidget = new global::BangSharp.Client.PlayerDataWidget (); this.playerDataWidget.Events = ((global::Gdk.EventMask)(256)); this.playerDataWidget.Name = "playerDataWidget"; this.vbox5.Add (this.playerDataWidget); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.playerDataWidget])); w26.Position = 1; w26.Expand = false; w26.Fill = false; w1.Add (this.vbox5); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); w27.Position = 0; // Internal child BangSharp.Client.CreateSessionDialog.ActionArea global::Gtk.HButtonBox w28 = this.ActionArea; w28.Name = "dialog1_ActionArea"; w28.Spacing = 10; w28.BorderWidth = ((uint)(5)); w28.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w28 [this.buttonCancel])); w29.Expand = false; w29.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w30 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w28 [this.buttonOk])); w30.Position = 1; w30.Expand = false; w30.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 481; this.DefaultHeight = 704; this.label3.MnemonicWidget = this.sessionNameEntry; this.label4.MnemonicWidget = this.sessionDescriptionEntry; this.label5.MnemonicWidget = this.minPlayerCountEntry; this.label6.MnemonicWidget = this.maxPlayerCountEntry; this.label7.MnemonicWidget = this.maxSpectatorCountEntry; this.label8.MnemonicWidget = this.playerPasswordEntry; this.label9.MnemonicWidget = this.spectatorPasswordEntry; this.buttonOk.HasDefault = true; this.Show (); this.Response += new global::Gtk.ResponseHandler (this.OnResponse); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ScorpioConversion.CodeControl global::Stetic.BinContainer.Attach(this); this.Name = "ScorpioConversion.CodeControl"; // Container child ScorpioConversion.CodeControl.Gtk.Container+ContainerChild this.LanguageExpander = new global::Gtk.Expander(null); this.LanguageExpander.CanFocus = true; this.LanguageExpander.Name = "LanguageExpander"; this.LanguageExpander.Expanded = true; // Container child LanguageExpander.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(4)); this.frame3.BorderWidth = ((uint)(2)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox13 = new global::Gtk.VBox(); this.vbox13.Name = "vbox13"; this.vbox13.Spacing = 6; // Container child vbox13.Gtk.Box+BoxChild this.CodeFrame = new global::Gtk.Frame(); this.CodeFrame.Name = "CodeFrame"; this.CodeFrame.ShadowType = ((global::Gtk.ShadowType)(0)); this.CodeFrame.LabelXalign = 0.1F; // Container child CodeFrame.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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.CodePath = new global::Gtk.TextView(); this.CodePath.TooltipMarkup = "代码路径,每一行代表一个路径"; this.CodePath.HeightRequest = 100; this.CodePath.CanFocus = true; this.CodePath.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.CodePath.Name = "CodePath"; this.GtkScrolledWindow.Add(this.CodePath); this.GtkAlignment.Add(this.GtkScrolledWindow); this.CodeFrame.Add(this.GtkAlignment); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>代码路径</b>"); this.GtkLabel1.UseMarkup = true; this.CodeFrame.LabelWidget = this.GtkLabel1; this.vbox13.Add(this.CodeFrame); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.CodeFrame])); w4.Position = 0; // Container child vbox13.Gtk.Box+BoxChild this.DataFrame = new global::Gtk.Frame(); this.DataFrame.Name = "DataFrame"; this.DataFrame.ShadowType = ((global::Gtk.ShadowType)(0)); this.DataFrame.LabelXalign = 0.1F; // Container child DataFrame.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.DataPath = new global::Gtk.TextView(); this.DataPath.TooltipMarkup = "Data路径,每一行代表一个路径"; this.DataPath.HeightRequest = 100; this.DataPath.CanFocus = true; this.DataPath.Name = "DataPath"; this.GtkScrolledWindow1.Add(this.DataPath); this.GtkAlignment1.Add(this.GtkScrolledWindow1); this.DataFrame.Add(this.GtkAlignment1); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Data路径</b>"); this.GtkLabel3.UseMarkup = true; this.DataFrame.LabelWidget = this.GtkLabel3; this.vbox13.Add(this.DataFrame); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.DataFrame])); w8.Position = 1; // Container child vbox13.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.CheckCreate = new global::Gtk.CheckButton(); this.CheckCreate.TooltipMarkup = "默认是否生成此语言"; this.CheckCreate.CanFocus = true; this.CheckCreate.Name = "CheckCreate"; this.CheckCreate.Label = global::Mono.Unix.Catalog.GetString("默认是否生成"); this.CheckCreate.DrawIndicator = true; this.CheckCreate.UseUnderline = true; this.CheckCreate.Xalign = 0.2F; this.hbox3.Add(this.CheckCreate); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.CheckCreate])); w9.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.CheckCompress = new global::Gtk.CheckButton(); this.CheckCompress.TooltipMarkup = "生成的Data文件是否使用gzip压缩"; this.CheckCompress.CanFocus = true; this.CheckCompress.Name = "CheckCompress"; this.CheckCompress.Label = global::Mono.Unix.Catalog.GetString("是否使用gzip压缩"); this.CheckCompress.DrawIndicator = true; this.CheckCompress.UseUnderline = true; this.CheckCompress.Relief = ((global::Gtk.ReliefStyle)(1)); this.hbox3.Add(this.CheckCompress); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.CheckCompress])); w10.Position = 1; this.vbox13.Add(this.hbox3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.hbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.GtkAlignment2.Add(this.vbox13); this.frame3.Add(this.GtkAlignment2); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel4; this.vbox5.Add(this.frame3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame3])); w14.Position = 0; this.LanguageExpander.Add(this.vbox5); this.LanguageName = new global::Gtk.Label(); this.LanguageName.Name = "LanguageName"; this.LanguageName.LabelProp = global::Mono.Unix.Catalog.GetString("语言名称"); this.LanguageName.UseMarkup = true; this.LanguageName.UseUnderline = true; this.LanguageName.Justify = ((global::Gtk.Justification)(2)); this.LanguageName.MaxWidthChars = 532; this.LanguageName.SingleLineMode = true; this.LanguageExpander.LabelWidget = this.LanguageName; this.Add(this.LanguageExpander); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget libTerminus.cPool global::Stetic.BinContainer.Attach(this); this.Name = "libTerminus.cPool"; // Container child libTerminus.cPool.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.image15 = new global::Gtk.Image(); this.image15.Name = "image15"; this.vbox1.Add(this.image15); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.image15])); w1.Position = 0; w1.Expand = false; w1.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 w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w3.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; // Container child button2.Gtk.Container+ContainerChild global::Gtk.Alignment w4 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w5 = new global::Gtk.HBox(); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); w5.Add(w6); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w8 = new global::Gtk.Label(); w8.LabelProp = global::Mono.Unix.Catalog.GetString("In neuem Tab einfügen"); w8.UseUnderline = true; w5.Add(w8); w4.Add(w5); this.button2.Add(w4); this.hbox1.Add(this.button2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button2])); w12.Position = 0; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; // Container child button3.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox(); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add(w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label(); w17.LabelProp = global::Mono.Unix.Catalog.GetString("In Zwischenablage einfügen"); w17.UseUnderline = true; w14.Add(w17); w13.Add(w14); this.button3.Add(w13); this.hbox1.Add(this.button3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button3])); w21.Position = 1; w21.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; // Container child button4.Gtk.Container+ContainerChild global::Gtk.Alignment w22 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w23 = new global::Gtk.HBox(); w23.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); w23.Add(w24); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w26 = new global::Gtk.Label(); w26.LabelProp = global::Mono.Unix.Catalog.GetString("Ausgewählten löschen"); w26.UseUnderline = true; w23.Add(w26); w22.Add(w23); this.button4.Add(w22); this.hbox1.Add(this.button4); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button4])); w30.Position = 2; w30.Fill = false; this.expander1.Add(this.hbox1); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Einfügeoptionen"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox1.Add(this.expander1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expander1])); w32.Position = 2; w32.Expand = false; w32.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.treeview1.CursorChanged += new global::System.EventHandler(this.OnTreeview1CursorChanged); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); this.button3.Clicked += new global::System.EventHandler(this.OnButton3Clicked); this.button4.Clicked += new global::System.EventHandler(this.OnButton4Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget libTerminus.cRestoreWizard this.Name = "libTerminus.cRestoreWizard"; this.Title = global::Mono.Unix.Catalog.GetString("Elemente wiederherstellen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cRestoreWizard.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander(null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add(this.calendar2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Minimaler Beginn"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 24; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Maximales Ende"); this.vbox3.Add(this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1; this.hscale2.Adjustment.Upper = 24; this.hscale2.Adjustment.PageIncrement = 1; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale2])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Suchen"); this.hbox2.Add(this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w7.Position = 5; w7.Expand = false; w7.Fill = false; this.expander2.Add(this.vbox3); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Zeitbereich"); this.GtkLabel1.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel1; this.vbox2.Add(this.expander2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add(this.treeview1); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Ergebnisse"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w12.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; // Container child togglebutton1.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox(); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add(w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label(); w17.LabelProp = global::Mono.Unix.Catalog.GetString("In Zwischenablage kopieren"); w17.UseUnderline = true; w14.Add(w17); w13.Add(w14); this.togglebutton1.Add(w13); this.hbox1.Add(this.togglebutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 570; this.DefaultHeight = 517; this.Show(); this.hscale2.ValueChanged += new global::System.EventHandler(this.OnHscale2ValueChanged); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.togglebutton1.Clicked += new global::System.EventHandler(this.OnTogglebutton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.ErrorDialog this.WidthRequest = 500; this.HeightRequest = 250; this.Name = "ocmgtk.ErrorDialog"; this.Title = global::Mono.Unix.Catalog.GetString("An Error Occured"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); // Internal child ocmgtk.ErrorDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.image4 = new global::Gtk.Image(); this.image4.Name = "image4"; this.image4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.hbox1.Add(this.image4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image4])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.msgLabel = new global::Gtk.Label(); this.msgLabel.Name = "msgLabel"; this.msgLabel.Xalign = 0F; this.msgLabel.LabelProp = "<errormsg>"; this.msgLabel.Wrap = true; this.msgLabel.WidthChars = 55; this.hbox1.Add(this.msgLabel); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.msgLabel])); w3.Position = 1; w3.Expand = false; w3.Fill = false; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.errorDetails = new global::Gtk.TextView(); this.errorDetails.CanFocus = true; this.errorDetails.Name = "errorDetails"; this.errorDetails.Editable = false; this.errorDetails.CursorVisible = false; this.GtkScrolledWindow.Add(this.errorDetails); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Error Details:</b>"); this.GtkLabel2.UseMarkup = true; this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; w1.Add(this.expander1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.expander1])); w7.Position = 1; // Internal child ocmgtk.ErrorDialog.ActionArea global::Gtk.HButtonBox w8 = this.ActionArea; w8.Name = "dialog1_ActionArea"; w8.Spacing = 10; w8.BorderWidth = ((uint)(5)); w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-close"; this.AddActionWidget(this.buttonOk, -7); global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk])); w9.Expand = false; w9.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 502; this.DefaultHeight = 280; this.Show(); this.buttonOk.Clicked += new global::System.EventHandler(this.OnCloseClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Kasse"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander3 = new global::Gtk.Expander (null); this.expander3.CanFocus = true; this.expander3.Name = "expander3"; this.expander3.Expanded = true; // Container child expander3.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(4)), 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 ("IP"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.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 ("Port"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Name"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.txtIp = new global::Gtk.Entry (); this.txtIp.CanFocus = true; this.txtIp.Name = "txtIp"; this.txtIp.Text = global::Mono.Unix.Catalog.GetString ("127.0.0.1"); this.txtIp.IsEditable = true; this.txtIp.InvisibleChar = '●'; this.table1.Add (this.txtIp); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.txtIp])); 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.txtName = new global::Gtk.Entry (); this.txtName.CanFocus = true; this.txtName.Name = "txtName"; this.txtName.Text = global::Mono.Unix.Catalog.GetString ("Zweite Kasse"); this.txtName.IsEditable = true; this.txtName.InvisibleChar = '●'; this.table1.Add (this.txtName); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.txtName])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.txtPort = new global::Gtk.Entry (); this.txtPort.CanFocus = true; this.txtPort.Name = "txtPort"; this.txtPort.Text = global::Mono.Unix.Catalog.GetString ("2048"); this.txtPort.IsEditable = true; this.txtPort.InvisibleChar = '●'; this.table1.Add (this.txtPort); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.txtPort])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbuttonbox1 = new global::Gtk.VButtonBox (); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnConnect = new global::Gtk.Button (); this.btnConnect.CanFocus = true; this.btnConnect.Name = "btnConnect"; this.btnConnect.UseUnderline = true; this.btnConnect.Label = global::Mono.Unix.Catalog.GetString ("Connect"); this.vbuttonbox1.Add (this.btnConnect); global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.btnConnect])); w7.Expand = false; w7.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnDisconnect = new global::Gtk.Button (); this.btnDisconnect.Sensitive = false; this.btnDisconnect.CanFocus = true; this.btnDisconnect.Name = "btnDisconnect"; this.btnDisconnect.UseUnderline = true; this.btnDisconnect.Label = global::Mono.Unix.Catalog.GetString ("Disconnect"); this.vbuttonbox1.Add (this.btnDisconnect); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.btnDisconnect])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnMsg = new global::Gtk.Button (); this.btnMsg.Sensitive = false; this.btnMsg.CanFocus = true; this.btnMsg.Name = "btnMsg"; this.btnMsg.UseUnderline = true; this.btnMsg.Label = global::Mono.Unix.Catalog.GetString ("Message!"); this.vbuttonbox1.Add (this.btnMsg); global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.btnMsg])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.table1.Add (this.vbuttonbox1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.vbuttonbox1])); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander3.Add (this.table1); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("Settings"); this.GtkLabel3.UseUnderline = true; this.expander3.LabelWidget = this.GtkLabel3; this.vbox2.Add (this.expander3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expander3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.tblDrinkOrderers = new global::Gtk.Table (((uint)(1)), ((uint)(5)), false); this.tblDrinkOrderers.Name = "tblDrinkOrderers"; this.tblDrinkOrderers.RowSpacing = ((uint)(6)); this.tblDrinkOrderers.ColumnSpacing = ((uint)(6)); this.vbox3.Add (this.tblDrinkOrderers); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tblDrinkOrderers])); w13.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.tvOrders = new global::Gtk.NodeView (); this.tvOrders.CanFocus = true; this.tvOrders.Name = "tvOrders"; this.GtkScrolledWindow.Add (this.tvOrders); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); w15.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.btnOrder = new global::Gtk.Button (); this.btnOrder.CanFocus = true; this.btnOrder.Name = "btnOrder"; this.btnOrder.UseUnderline = true; // Container child btnOrder.Gtk.Container+ContainerChild global::Gtk.Alignment w16 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w17 = new global::Gtk.HBox (); w17.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w18 = new global::Gtk.Image (); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w17.Add (w18); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w20 = new global::Gtk.Label (); w20.LabelProp = global::Mono.Unix.Catalog.GetString ("Rechnung über %%% abschicken"); w20.UseUnderline = true; w17.Add (w20); w16.Add (w17); this.btnOrder.Add (w16); this.vbox3.Add (this.btnOrder); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.btnOrder])); w24.Position = 2; w24.Expand = false; w24.Fill = false; this.vbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vbox3])); w25.Position = 1; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w26.Position = 0; w26.Expand = false; w26.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 304; this.DefaultHeight = 405; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnKeyPressEvent); this.btnConnect.Clicked += new global::System.EventHandler (this.OnBtnConnectClicked); this.btnDisconnect.Clicked += new global::System.EventHandler (this.OnBtnDisconnectClicked); this.btnMsg.Clicked += new global::System.EventHandler (this.OnBtnMsgClicked); this.btnOrder.Clicked += new global::System.EventHandler (this.OnBtnOrderClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.Gui.Dialogs.ErrorDialog this.Name = "MonoDevelop.Ide.Gui.Dialogs.ErrorDialog"; this.Title = global::MonoDevelop.Core.GettextCatalog.GetString ("MonoDevelop"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Ide.Gui.Dialogs.ErrorDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(12)); // Container child hbox1.Gtk.Box+BoxChild this.image884 = new global::Gtk.Image (); this.image884.Name = "image884"; this.image884.Yalign = 0F; this.image884.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.hbox1.Add (this.image884); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image884])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.descriptionLabel = new global::Gtk.Label (); this.descriptionLabel.Name = "descriptionLabel"; this.descriptionLabel.Xalign = 0F; this.descriptionLabel.LabelProp = "An exception has been thrown 1 2 3 4 5 6 7 8 9 10 11 12 13 14"; this.descriptionLabel.Wrap = true; this.descriptionLabel.Selectable = true; this.vbox3.Add (this.descriptionLabel); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.descriptionLabel])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.expander = new global::Gtk.Expander (null); this.expander.CanFocus = true; this.expander.Name = "expander"; // Container child expander.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.HeightRequest = 250; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.detailsTextView = new global::Gtk.TextView (); this.detailsTextView.CanFocus = true; this.detailsTextView.Name = "detailsTextView"; this.GtkScrolledWindow.Add (this.detailsTextView); this.expander.Add (this.GtkScrolledWindow); this.expanderLabel = new global::Gtk.Label (); this.expanderLabel.Name = "expanderLabel"; this.expanderLabel.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Details"); this.expanderLabel.UseUnderline = true; this.expander.LabelWidget = this.expanderLabel; this.vbox3.Add (this.expander); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.expander])); w6.Position = 1; this.hbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); w7.Position = 1; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w8.Position = 0; // Internal child MonoDevelop.Ide.Gui.Dialogs.ErrorDialog.ActionArea global::Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "dialog1_ActionArea"; w9.Spacing = 10; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.okButton = new global::Gtk.Button (); this.okButton.CanDefault = true; this.okButton.CanFocus = true; this.okButton.Name = "okButton"; this.okButton.UseStock = true; this.okButton.UseUnderline = true; this.okButton.Label = "gtk-ok"; this.AddActionWidget (this.okButton, -5); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.okButton])); w10.Expand = false; w10.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 624; this.DefaultHeight = 142; this.Show (); this.expander.Activated += new global::System.EventHandler (this.OnExpander1Activated); this.okButton.Clicked += new global::System.EventHandler (this.OnOkButtonClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget TraceLab.UI.GTK.ComponentInfoPanel global::Stetic.BinContainer.Attach (this); this.CanDefault = true; this.Name = "TraceLab.UI.GTK.ComponentInfoPanel"; // Container child TraceLab.UI.GTK.ComponentInfoPanel.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.WidthRequest = 600; this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.errorTextView = new global::Gtk.TextView (); this.errorTextView.CanFocus = true; this.errorTextView.Name = "errorTextView"; this.errorTextView.Editable = false; this.errorTextView.CursorVisible = false; this.errorTextView.AcceptsTab = false; this.errorTextView.Justification = ((global::Gtk.Justification)(3)); this.errorTextView.WrapMode = ((global::Gtk.WrapMode)(2)); this.errorTextView.LeftMargin = 3; this.errorTextView.RightMargin = 3; this.vbox1.Add (this.errorTextView); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.errorTextView])); w1.Position = 0; w1.Expand = false; w1.Fill = false; w1.Padding = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.IOExpander = new global::Gtk.Expander (null); this.IOExpander.CanFocus = true; this.IOExpander.Name = "IOExpander"; // Container child IOExpander.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.inputView = new global::Gtk.NodeView (); this.inputView.CanFocus = true; this.inputView.Name = "inputView"; this.vbox2.Add (this.inputView); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.inputView])); w2.Position = 0; w2.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.outputView = new global::Gtk.NodeView (); this.outputView.CanFocus = true; this.outputView.Name = "outputView"; this.vbox2.Add (this.outputView); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.outputView])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.IOExpander.Add (this.vbox2); this.IOExpanderLabel = new global::Gtk.Label (); this.IOExpanderLabel.Name = "IOExpanderLabel"; this.IOExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Input/Output"); this.IOExpanderLabel.UseUnderline = true; this.IOExpander.LabelWidget = this.IOExpanderLabel; this.vbox1.Add (this.IOExpander); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.IOExpander])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.configurationExpander = new global::Gtk.Expander (null); this.configurationExpander.CanFocus = true; this.configurationExpander.Name = "configurationExpander"; this.configurationExpanderLabel = new global::Gtk.Label (); this.configurationExpanderLabel.Name = "configurationExpanderLabel"; this.configurationExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Configuration"); this.configurationExpanderLabel.UseUnderline = true; this.configurationExpander.LabelWidget = this.configurationExpanderLabel; this.vbox1.Add (this.configurationExpander); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.configurationExpander])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.componentInfoExpander = new global::Gtk.Expander (null); this.componentInfoExpander.CanFocus = true; this.componentInfoExpander.Name = "componentInfoExpander"; // Container child componentInfoExpander.Gtk.Container+ContainerChild this.infoTable = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false); this.infoTable.Name = "infoTable"; this.infoTable.RowSpacing = ((uint)(6)); this.infoTable.ColumnSpacing = ((uint)(6)); // Container child infoTable.Gtk.Table+TableChild this.authorLbl = new global::Gtk.Label (); this.authorLbl.Name = "authorLbl"; this.authorLbl.Xpad = 3; this.authorLbl.Ypad = 2; this.authorLbl.Xalign = 0F; this.authorLbl.Yalign = 0F; this.authorLbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Author:"); this.infoTable.Add (this.authorLbl); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.infoTable [this.authorLbl])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.authorValue = new global::Gtk.Label (); this.authorValue.Name = "authorValue"; this.authorValue.Xpad = 3; this.authorValue.Ypad = 2; this.authorValue.Xalign = 0F; this.authorValue.Yalign = 0F; this.infoTable.Add (this.authorValue); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.infoTable [this.authorValue])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentLabelLbl = new global::Gtk.Label (); this.componentLabelLbl.Name = "componentLabelLbl"; this.componentLabelLbl.Xpad = 3; this.componentLabelLbl.Ypad = 2; this.componentLabelLbl.Xalign = 0F; this.componentLabelLbl.Yalign = 0F; this.componentLabelLbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Label:"); this.infoTable.Add (this.componentLabelLbl); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentLabelLbl])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentLabelValue = new global::Gtk.Entry (); this.componentLabelValue.CanFocus = true; this.componentLabelValue.Name = "componentLabelValue"; this.componentLabelValue.IsEditable = true; this.componentLabelValue.InvisibleChar = '●'; this.infoTable.Add (this.componentLabelValue); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentLabelValue])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XPadding = ((uint)(20)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentNameLbl = new global::Gtk.Label (); this.componentNameLbl.Name = "componentNameLbl"; this.componentNameLbl.Xpad = 3; this.componentNameLbl.Ypad = 2; this.componentNameLbl.Xalign = 0F; this.componentNameLbl.Yalign = 0F; this.componentNameLbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Component:"); this.infoTable.Add (this.componentNameLbl); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentNameLbl])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentNameValue = new global::Gtk.Label (); this.componentNameValue.Name = "componentNameValue"; this.componentNameValue.Xpad = 3; this.componentNameValue.Ypad = 2; this.componentNameValue.Xalign = 0F; this.componentNameValue.Yalign = 0F; this.infoTable.Add (this.componentNameValue); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentNameValue])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.descriptionLbl = new global::Gtk.Label (); this.descriptionLbl.Name = "descriptionLbl"; this.descriptionLbl.Xpad = 3; this.descriptionLbl.Ypad = 2; this.descriptionLbl.Xalign = 0F; this.descriptionLbl.Yalign = 0F; this.descriptionLbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Description:"); this.infoTable.Add (this.descriptionLbl); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.infoTable [this.descriptionLbl])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.descriptionValue = new global::Gtk.Label (); this.descriptionValue.WidthRequest = 500; this.descriptionValue.Name = "descriptionValue"; this.descriptionValue.Xpad = 3; this.descriptionValue.Ypad = 2; this.descriptionValue.Xalign = 0F; this.descriptionValue.Yalign = 0F; this.descriptionValue.Wrap = true; this.infoTable.Add (this.descriptionValue); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.infoTable [this.descriptionValue])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.versionLbl = new global::Gtk.Label (); this.versionLbl.Name = "versionLbl"; this.versionLbl.Xpad = 3; this.versionLbl.Ypad = 2; this.versionLbl.Xalign = 0F; this.versionLbl.Yalign = 0F; this.versionLbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Version:"); this.infoTable.Add (this.versionLbl); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.infoTable [this.versionLbl])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.versionValue = new global::Gtk.Label (); this.versionValue.Name = "versionValue"; this.versionValue.Xpad = 3; this.versionValue.Ypad = 2; this.versionValue.Xalign = 0F; this.versionValue.Yalign = 0F; this.infoTable.Add (this.versionValue); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.infoTable [this.versionValue])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.componentInfoExpander.Add (this.infoTable); this.componentInfoExpanderLabel = new global::Gtk.Label (); this.componentInfoExpanderLabel.Name = "componentInfoExpanderLabel"; this.componentInfoExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Component Info"); this.componentInfoExpanderLabel.UseUnderline = true; this.componentInfoExpander.LabelWidget = this.componentInfoExpanderLabel; this.vbox1.Add (this.componentInfoExpander); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.componentInfoExpander])); w18.Position = 3; w18.Expand = false; w18.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.errorTextView.Hide (); this.Hide (); this.IOExpander.Activated += new global::System.EventHandler (this.OnIOExpanderActivated); this.configurationExpander.Activated += new global::System.EventHandler (this.OnConfigurationExpanderActivated); this.componentInfoExpander.Activated += new global::System.EventHandler (this.OnComponentInfoExpanderActivated); this.componentLabelValue.Changed += new global::System.EventHandler (this.HandleComponentLabelChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mono.Addins.Gui.ErrorDialog this.Name = "Mono.Addins.Gui.ErrorDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Error"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.BorderWidth = ((uint)(6)); // Internal child Mono.Addins.Gui.ErrorDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox5"; w1.Spacing = 6; // Container child dialog-vbox5.Gtk.Box+BoxChild this.hbox59 = new global::Gtk.HBox(); this.hbox59.Name = "hbox59"; this.hbox59.Spacing = 6; this.hbox59.BorderWidth = ((uint)(6)); // Container child hbox59.Gtk.Box+BoxChild this.vbox72 = new global::Gtk.VBox(); this.vbox72.Name = "vbox72"; // Container child vbox72.Gtk.Box+BoxChild this.icon = new global::Gtk.Image(); this.icon.Name = "icon"; this.icon.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.vbox72.Add(this.icon); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox72 [this.icon])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.hbox59.Add(this.vbox72); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox59 [this.vbox72])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox59.Gtk.Box+BoxChild this.vbox73 = new global::Gtk.VBox(); this.vbox73.Name = "vbox73"; this.vbox73.Spacing = 12; // Container child vbox73.Gtk.Box+BoxChild this.descriptionLabel = new global::Gtk.Label(); this.descriptionLabel.WidthRequest = 540; this.descriptionLabel.CanFocus = true; this.descriptionLabel.Name = "descriptionLabel"; this.descriptionLabel.Xalign = 0F; this.descriptionLabel.LabelProp = "An exception has been thrown 1 2 3 4 5 6 7 8 9 10 11 12 13 14"; this.descriptionLabel.Wrap = true; this.descriptionLabel.Selectable = true; this.vbox73.Add(this.descriptionLabel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox73 [this.descriptionLabel])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox73.Gtk.Box+BoxChild this.expander = new global::Gtk.Expander(null); this.expander.CanFocus = true; this.expander.Name = "expander"; // Container child expander.Gtk.Container+ContainerChild this.scrolledwindow10 = new global::Gtk.ScrolledWindow(); this.scrolledwindow10.CanFocus = true; this.scrolledwindow10.Name = "scrolledwindow10"; this.scrolledwindow10.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow10.Gtk.Container+ContainerChild this.detailsTextView = new global::Gtk.TextView(); this.detailsTextView.HeightRequest = 250; this.detailsTextView.CanFocus = true; this.detailsTextView.Name = "detailsTextView"; this.detailsTextView.PixelsAboveLines = 2; this.detailsTextView.PixelsBelowLines = 2; this.detailsTextView.LeftMargin = 6; this.detailsTextView.RightMargin = 6; this.scrolledwindow10.Add(this.detailsTextView); this.expander.Add(this.scrolledwindow10); this.label102 = new global::Gtk.Label(); this.label102.Name = "label102"; this.label102.LabelProp = global::Mono.Unix.Catalog.GetString("Details"); this.expander.LabelWidget = this.label102; this.vbox73.Add(this.expander); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox73 [this.expander])); w7.Position = 1; this.hbox59.Add(this.vbox73); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox59 [this.vbox73])); w8.Position = 1; w1.Add(this.hbox59); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox59])); w9.Position = 0; // Internal child Mono.Addins.Gui.ErrorDialog.ActionArea global::Gtk.HButtonBox w10 = this.ActionArea; w10.Name = "dialog-action_area5"; w10.Spacing = 10; w10.BorderWidth = ((uint)(5)); w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area5.Gtk.ButtonBox+ButtonBoxChild this.okButton = new global::Gtk.Button(); this.okButton.CanDefault = true; this.okButton.CanFocus = true; this.okButton.Name = "okButton"; this.okButton.UseStock = true; this.okButton.UseUnderline = true; this.okButton.Label = "gtk-ok"; this.AddActionWidget(this.okButton, -5); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.okButton])); w11.Expand = false; w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 632; this.DefaultHeight = 155; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Mono.Addins.Gui.ProgressDialog this.Name = "Mono.Addins.Gui.ProgressDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Progress"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child Mono.Addins.Gui.ProgressDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(9)); // Container child vbox2.Gtk.Box+BoxChild this.labelMessage = new global::Gtk.Label (); this.labelMessage.Name = "labelMessage"; this.labelMessage.Xalign = 0F; this.vbox2.Add (this.labelMessage); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelMessage])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.progressbar = new global::Gtk.ProgressBar (); this.progressbar.Name = "progressbar"; this.vbox2.Add (this.progressbar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressbar])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview = new global::Gtk.TextView (); this.textview.CanFocus = true; this.textview.Name = "textview"; this.GtkScrolledWindow.Add (this.textview); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Details"); this.GtkLabel1.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel1; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w6.Position = 2; w1.Add (this.vbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w7.Position = 0; // Internal child Mono.Addins.Gui.ProgressDialog.ActionArea global::Gtk.HButtonBox w8 = this.ActionArea; w8.Name = "dialog1_ActionArea"; w8.Spacing = 6; w8.BorderWidth = ((uint)(5)); w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel])); w9.Expand = false; w9.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 513; this.DefaultHeight = 165; this.Show (); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Ide.Gui.Dialogs.ErrorDialog this.Name = "MonoDevelop.Ide.Gui.Dialogs.ErrorDialog"; this.Title = global::MonoDevelop.Core.GettextCatalog.GetString("MonoDevelop"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Ide.Gui.Dialogs.ErrorDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(12)); // Container child hbox1.Gtk.Box+BoxChild this.image884 = new global::Gtk.Image(); this.image884.Name = "image884"; this.image884.Yalign = 0f; this.image884.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.hbox1.Add(this.image884); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.image884])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.descriptionLabel = new global::Gtk.Label(); this.descriptionLabel.Name = "descriptionLabel"; this.descriptionLabel.Xalign = 0f; this.descriptionLabel.LabelProp = "An exception has been thrown 1 2 3 4 5 6 7 8 9 10 11 12 13 14"; this.descriptionLabel.Wrap = true; this.descriptionLabel.Selectable = true; this.vbox3.Add(this.descriptionLabel); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.descriptionLabel])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.expander = new global::Gtk.Expander(null); this.expander.CanFocus = true; this.expander.Name = "expander"; // Container child expander.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 250; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.detailsTextView = new global::Gtk.TextView(); this.detailsTextView.CanFocus = true; this.detailsTextView.Name = "detailsTextView"; this.GtkScrolledWindow.Add(this.detailsTextView); this.expander.Add(this.GtkScrolledWindow); this.expanderLabel = new global::Gtk.Label(); this.expanderLabel.Name = "expanderLabel"; this.expanderLabel.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Details"); this.expanderLabel.UseUnderline = true; this.expander.LabelWidget = this.expanderLabel; this.vbox3.Add(this.expander); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.expander])); w6.Position = 1; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w7.Position = 1; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w8.Position = 0; // Internal child MonoDevelop.Ide.Gui.Dialogs.ErrorDialog.ActionArea global::Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "dialog1_ActionArea"; w9.Spacing = 10; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.okButton = new global::Gtk.Button(); this.okButton.CanDefault = true; this.okButton.CanFocus = true; this.okButton.Name = "okButton"; this.okButton.UseStock = true; this.okButton.UseUnderline = true; this.okButton.Label = "gtk-ok"; this.AddActionWidget(this.okButton, -5); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.okButton])); w10.Expand = false; w10.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 624; this.DefaultHeight = 142; this.Show(); this.expander.Activated += new global::System.EventHandler(this.OnExpander1Activated); this.okButton.Clicked += new global::System.EventHandler(this.OnOkButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.PackageManagement.ManagePackagesDialog this.Name = "MonoDevelop.PackageManagement.ManagePackagesDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Manage Packages"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 640; this.DefaultHeight = 480; // Internal child MonoDevelop.PackageManagement.ManagePackagesDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "mainVBox"; w1.BorderWidth = ((uint)(2)); // Container child mainVBox.Gtk.Box+BoxChild this.notebook = new global::Gtk.Notebook (); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; // Container child notebook.Gtk.Notebook+NotebookChild this.availablePackagesWidget = new global::MonoDevelop.PackageManagement.PackagesWidget (); this.availablePackagesWidget.Events = ((global::Gdk.EventMask)(256)); this.availablePackagesWidget.Name = "availablePackagesWidget"; this.notebook.Add (this.availablePackagesWidget); // Notebook tab this.availablePackagesLabel = new global::Gtk.Label (); this.availablePackagesLabel.Name = "availablePackagesLabel"; this.availablePackagesLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Available"); this.notebook.SetTabLabel (this.availablePackagesWidget, this.availablePackagesLabel); this.availablePackagesLabel.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild this.installedPackagesWidget = new global::MonoDevelop.PackageManagement.PackagesWidget (); this.installedPackagesWidget.Events = ((global::Gdk.EventMask)(256)); this.installedPackagesWidget.Name = "installedPackagesWidget"; this.notebook.Add (this.installedPackagesWidget); global::Gtk.Notebook.NotebookChild w3 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.installedPackagesWidget])); w3.Position = 1; // Notebook tab this.installedPackagesLabel = new global::Gtk.Label (); this.installedPackagesLabel.Name = "installedPackagesLabel"; this.installedPackagesLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Installed"); this.notebook.SetTabLabel (this.installedPackagesWidget, this.installedPackagesLabel); this.installedPackagesLabel.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild this.UpdatedPackagesWidget = new global::MonoDevelop.PackageManagement.PackagesWidget (); this.UpdatedPackagesWidget.Events = ((global::Gdk.EventMask)(256)); this.UpdatedPackagesWidget.Name = "UpdatedPackagesWidget"; this.notebook.Add (this.UpdatedPackagesWidget); global::Gtk.Notebook.NotebookChild w4 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.UpdatedPackagesWidget])); w4.Position = 2; // Notebook tab this.updatedPackagesLabel = new global::Gtk.Label (); this.updatedPackagesLabel.Name = "updatedPackagesLabel"; this.updatedPackagesLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Updated"); this.notebook.SetTabLabel (this.UpdatedPackagesWidget, this.updatedPackagesLabel); this.updatedPackagesLabel.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild this.recentPackagesWidget = new global::MonoDevelop.PackageManagement.PackagesWidget (); this.recentPackagesWidget.Events = ((global::Gdk.EventMask)(256)); this.recentPackagesWidget.Name = "recentPackagesWidget"; this.notebook.Add (this.recentPackagesWidget); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.recentPackagesWidget])); w5.Position = 3; // Notebook tab this.recentPackagesLabel = new global::Gtk.Label (); this.recentPackagesLabel.Name = "recentPackagesLabel"; this.recentPackagesLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Recent"); this.notebook.SetTabLabel (this.recentPackagesWidget, this.recentPackagesLabel); this.recentPackagesLabel.ShowAll (); w1.Add (this.notebook); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook])); w6.Position = 0; // Container child mainVBox.Gtk.Box+BoxChild this.messagesExpander = new global::Gtk.Expander (null); this.messagesExpander.CanFocus = true; this.messagesExpander.Name = "messagesExpander"; // Container child messagesExpander.Gtk.Container+ContainerChild this.GtkScrolledWindow8 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow8.Name = "GtkScrolledWindow8"; this.GtkScrolledWindow8.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow8.Gtk.Container+ContainerChild this.messagesTextView = new global::Gtk.TextView (); this.messagesTextView.CanFocus = true; this.messagesTextView.Name = "messagesTextView"; this.messagesTextView.Editable = false; this.messagesTextView.CursorVisible = false; this.GtkScrolledWindow8.Add (this.messagesTextView); this.messagesExpander.Add (this.GtkScrolledWindow8); this.messagesExpanderLabel = new global::Gtk.Label (); this.messagesExpanderLabel.Name = "messagesExpanderLabel"; this.messagesExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Messages"); this.messagesExpanderLabel.UseUnderline = true; this.messagesExpander.LabelWidget = this.messagesExpanderLabel; w1.Add (this.messagesExpander); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.messagesExpander])); w9.Position = 1; w9.Expand = false; // Internal child MonoDevelop.PackageManagement.ManagePackagesDialog.ActionArea global::Gtk.HButtonBox w10 = this.ActionArea; w10.Name = "buttonArea"; w10.Spacing = 10; w10.BorderWidth = ((uint)(5)); w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child buttonArea.Gtk.ButtonBox+ButtonBoxChild this.buttonClose = new global::Gtk.Button (); this.buttonClose.CanDefault = true; this.buttonClose.CanFocus = true; this.buttonClose.Name = "buttonClose"; this.buttonClose.UseStock = true; this.buttonClose.UseUnderline = true; this.buttonClose.Label = "gtk-close"; this.AddActionWidget (this.buttonClose, -7); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonClose])); w11.Expand = false; w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.messagesExpander.Activated += new global::System.EventHandler (this.MessagesExpanderActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget DBusExplorer.InformationView global::Stetic.BinContainer.Attach(this); this.Name = "DBusExplorer.InformationView"; // Container child DBusExplorer.InformationView.Gtk.Container+ContainerChild this.expander2 = new global::Gtk.Expander(null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; this.expander2.Spacing = 2; this.expander2.BorderWidth = ((uint)(5)); // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(6)); // Container child vbox3.Gtk.Box+BoxChild this.alignment5 = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f); this.alignment5.Name = "alignment5"; this.alignment5.LeftPadding = ((uint)(44)); this.alignment5.TopPadding = ((uint)(7)); this.alignment5.BottomPadding = ((uint)(8)); // Container child alignment5.Gtk.Container+ContainerChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.symbolImage = new global::Gtk.Image(); this.symbolImage.Name = "symbolImage"; this.hbox5.Add(this.symbolImage); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.symbolImage])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.alignment7 = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f); this.alignment7.Name = "alignment7"; this.alignment7.LeftPadding = ((uint)(10)); // Container child alignment7.Gtk.Container+ContainerChild this.specstyleDecl = new global::Gtk.Label(); this.specstyleDecl.Name = "specstyleDecl"; this.specstyleDecl.UseMarkup = true; this.specstyleDecl.Selectable = true; this.alignment7.Add(this.specstyleDecl); this.hbox5.Add(this.alignment7); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.alignment7])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.alignment5.Add(this.hbox5); this.vbox3.Add(this.alignment5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.alignment5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.langsPh = new global::Gtk.Alignment(1f, 0.5f, 1f, 1f); this.langsPh.Name = "langsPh"; this.langsPh.LeftPadding = ((uint)(24)); this.langsPh.TopPadding = ((uint)(4)); this.langsPh.BottomPadding = ((uint)(7)); this.vbox3.Add(this.langsPh); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.langsPh])); w6.Position = 1; w6.Expand = false; this.expander2.Add(this.vbox3); this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 1; // Container child hbox7.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Informations on : </b>"); this.label6.UseMarkup = true; this.hbox7.Add(this.label6); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label6])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.informationLabel = new global::Gtk.Label(); this.informationLabel.Name = "informationLabel"; this.informationLabel.Selectable = true; this.hbox7.Add(this.informationLabel); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.informationLabel])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.expander2.LabelWidget = this.hbox7; this.Add(this.expander2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QS.Updater.DB.Views.UpdateProcessView global::Stetic.BinContainer.Attach(this); this.Name = "QS.Updater.DB.Views.UpdateProcessView"; // Container child QS.Updater.DB.Views.UpdateProcessView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("После обновления базы, предыдущие версии программы не будут работать. Во избежани" + "и порчи данных, убедитесь что в момент обновления никто не использует базу в раб" + "оте."); this.label1.Wrap = true; this.dialog1_VBox.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.checkCreateBackup = new global::Gamma.GtkWidgets.yCheckButton(); this.checkCreateBackup.CanFocus = true; this.checkCreateBackup.Name = "checkCreateBackup"; this.checkCreateBackup.Label = global::Mono.Unix.Catalog.GetString("Создать резервную копию перед обновлением"); this.checkCreateBackup.Active = true; this.checkCreateBackup.DrawIndicator = true; this.checkCreateBackup.UseUnderline = true; this.dialog1_VBox.Add(this.checkCreateBackup); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.checkCreateBackup])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild this.entryFileName = new global::Gamma.GtkWidgets.yEntry(); this.entryFileName.CanFocus = true; this.entryFileName.Name = "entryFileName"; this.entryFileName.IsEditable = false; this.entryFileName.InvisibleChar = '●'; this.hbox1.Add(this.entryFileName); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryFileName])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonFileChooser = new global::Gtk.Button(); this.buttonFileChooser.CanFocus = true; this.buttonFileChooser.Name = "buttonFileChooser"; this.buttonFileChooser.UseUnderline = true; global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-directory", global::Gtk.IconSize.Menu); this.buttonFileChooser.Image = w4; this.hbox1.Add(this.buttonFileChooser); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonFileChooser])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.progressbarTotal = new global::QS.Widgets.ProgressWidget(); this.progressbarTotal.Name = "progressbarTotal"; this.dialog1_VBox.Add(this.progressbarTotal); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.progressbarTotal])); w7.Position = 3; w7.Expand = false; w7.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.progressbarOperation = new global::QS.Widgets.ProgressWidget(); this.progressbarOperation.Name = "progressbarOperation"; this.dialog1_VBox.Add(this.progressbarOperation); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.progressbarOperation])); w8.Position = 4; w8.Expand = false; w8.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 246; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewLog = new global::Gamma.GtkWidgets.yTextView(); this.textviewLog.CanFocus = true; this.textviewLog.Name = "textviewLog"; this.GtkScrolledWindow.Add(this.textviewLog); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Технический журнал"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.dialog1_VBox.Add(this.expander1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.expander1])); w11.Position = 5; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w12.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonExecute = new global::Gamma.GtkWidgets.yButton(); this.buttonExecute.CanFocus = true; this.buttonExecute.Name = "buttonExecute"; this.buttonExecute.UseStock = true; this.buttonExecute.UseUnderline = true; this.buttonExecute.Label = "gtk-execute"; this.hbox2.Add(this.buttonExecute); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonExecute])); w13.Position = 2; this.dialog1_VBox.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox2])); w14.Position = 6; w14.Expand = false; w14.Fill = false; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.progressbarOperation.Hide(); this.Show(); this.checkCreateBackup.Toggled += new global::System.EventHandler(this.OnCheckCreateBackupToggled); this.buttonFileChooser.Clicked += new global::System.EventHandler(this.OnButtonFileChooserClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonExecute.Clicked += new global::System.EventHandler(this.OnButtonExecuteClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 129; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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)); this.frame1.Add(this.GtkAlignment); this.GtkLabel = new global::Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>GtkFrame</b>"); this.GtkLabel.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel; this.vbox1.Add(this.frame1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame1])); w2.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); this.frame2.Add(this.GtkAlignment1); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>GtkFrame</b>"); this.GtkLabel1.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel1; this.vbox1.Add(this.frame2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame2])); w4.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.eventbox2 = new global::Gtk.EventBox(); this.eventbox2.Name = "eventbox2"; // Container child eventbox2.Gtk.Container+ContainerChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("GtkExpander"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.eventbox2.Add(this.expander1); this.alignment1.Add(this.eventbox2); this.vbox1.Add(this.alignment1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.alignment1])); w7.Position = 2; this.vpaned1.Add(this.vbox1); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.vbox1])); w8.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add(this.treeview1); this.hbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w10.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Notebook tab global::Gtk.Label w11 = new global::Gtk.Label(); w11.Visible = true; this.notebook1.Add(w11); this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebook1.SetTabLabel(w11, this.label1); this.label1.ShowAll(); this.hbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.notebook1])); w12.Position = 1; // Container child hbox1.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 global::Gtk.Viewport w13 = new global::Gtk.Viewport(); w13.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); this.frame3.Add(this.GtkAlignment2); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>GtkFrame</b>"); this.GtkLabel3.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel3; w13.Add(this.frame3); this.scrolledwindow1.Add(w13); this.hbox1.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); w17.Position = 2; this.vpaned1.Add(this.hbox1); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ryuk.RemoteLogin this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.EditAction, null); this.WindowAction = new global::Gtk.Action("WindowAction", global::Mono.Unix.Catalog.GetString("Window"), null, null); this.WindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Window"); w1.Add(this.WindowAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "ryuk.RemoteLogin"; this.Title = global::Mono.Unix.Catalog.GetString("RemoteLogin"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child ryuk.RemoteLogin.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar3\'><menu name=\'FileAction\' action=\'FileAction\'/><menu n" + "ame=\'EditAction\' action=\'EditAction\'/><menu name=\'WindowAction\' action=\'WindowAc" + "tion\'/></menubar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3"))); this.menubar3.Name = "menubar3"; this.vbox3.Add(this.menubar3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.menubar3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.comboboxentry5 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry5.Name = "comboboxentry5"; this.table3.Add(this.comboboxentry5); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table3[this.comboboxentry5])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(1)); // Container child table3.Gtk.Table+TableChild this.comboboxentry7 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry7.Name = "comboboxentry7"; this.table3.Add(this.comboboxentry7); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table3[this.comboboxentry7])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(1)); // Container child table3.Gtk.Table+TableChild this.entry3 = new global::Gtk.Entry(); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '●'; this.table3.Add(this.entry3); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table3[this.entry3])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Domain"); this.table3.Add(this.label11); // Container child table3.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Username"); this.table3.Add(this.label7); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.label7])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Password"); this.table3.Add(this.label9); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3[this.label9])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); this.vbox3.Add(this.table3); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table3])); w9.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.expander3 = new global::Gtk.Expander(null); this.expander3.CanFocus = true; this.expander3.Name = "expander3"; this.expander3.Expanded = true; // Container child expander3.Gtk.Container+ContainerChild this.table5 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.checkbutton6 = new global::Gtk.CheckButton(); this.checkbutton6.CanFocus = true; this.checkbutton6.Name = "checkbutton6"; this.checkbutton6.Label = global::Mono.Unix.Catalog.GetString("Use Key Encryption"); this.checkbutton6.DrawIndicator = true; this.checkbutton6.UseUnderline = true; this.table5.Add(this.checkbutton6); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table5[this.checkbutton6])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.entry11 = new global::Gtk.Entry(); this.entry11.CanFocus = true; this.entry11.Name = "entry11"; this.entry11.IsEditable = true; this.entry11.InvisibleChar = '●'; this.table5.Add(this.entry11); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table5[this.entry11])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.entry9 = new global::Gtk.Entry(); this.entry9.CanFocus = true; this.entry9.Name = "entry9"; this.entry9.IsEditable = true; this.entry9.InvisibleChar = '●'; this.table5.Add(this.entry9); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table5[this.entry9])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Private Key"); this.table5.Add(this.label17); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table5[this.label17])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Passphrase"); this.table5.Add(this.label19); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table5[this.label19])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander3.Add(this.table5); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("Extra Options"); this.GtkLabel4.UseUnderline = true; this.expander3.LabelWidget = this.GtkLabel4; this.vbox3.Add(this.expander3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.expander3])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Start Whatever"); this.vbox3.Add(this.button3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.button3])); w17.Position = 3; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 375; this.DefaultHeight = 283; this.Show(); this.entry3.Changed += new global::System.EventHandler(this.PasswordChanged); this.comboboxentry7.Changed += new global::System.EventHandler(this.UsernameChanged); this.comboboxentry5.Changed += new global::System.EventHandler(this.DomainChanged); this.button3.Clicked += new global::System.EventHandler(this.StartClicked); }
protected virtual void Build() { MonoDevelop.Components.Gui.Initialize(this); // Widget MonoDevelop.Ide.Gui.Dialogs.ProgressDialog this.Name = "MonoDevelop.Ide.Gui.Dialogs.ProgressDialog"; this.Title = ""; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MonoDevelop.Ide.Gui.Dialogs.ProgressDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(12)); // Container child vbox2.Gtk.Box+BoxChild this.label = new global::Gtk.Label(); this.label.Name = "label"; this.label.Xalign = 0F; this.vbox2.Add(this.label); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.progressBar = new global::Gtk.ProgressBar(); this.progressBar.Name = "progressBar"; this.hbox1.Add(this.progressBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressBar])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.btnCancel = new global::Gtk.Button(); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.hbox1.Add(this.btnCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnClose = new global::Gtk.Button(); this.btnClose.CanDefault = true; this.btnClose.CanFocus = true; this.btnClose.Name = "btnClose"; this.btnClose.UseStock = true; this.btnClose.UseUnderline = true; this.btnClose.Label = "gtk-close"; this.hbox1.Add(this.btnClose); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnClose])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander = new global::Gtk.Expander(null); this.expander.CanFocus = true; this.expander.Name = "expander"; // Container child expander.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 250; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.detailsTextView = new global::Gtk.TextView(); this.detailsTextView.CanFocus = true; this.detailsTextView.Name = "detailsTextView"; this.GtkScrolledWindow.Add(this.detailsTextView); this.expander.Add(this.GtkScrolledWindow); this.expanderLabel = new global::Gtk.Label(); this.expanderLabel.Name = "expanderLabel"; this.expanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Details"); this.expanderLabel.UseUnderline = true; this.expander.LabelWidget = this.expanderLabel; this.vbox2.Add(this.expander); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander])); w9.Position = 2; w1.Add(this.vbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w10.Position = 0; // Internal child MonoDevelop.Ide.Gui.Dialogs.ProgressDialog.ActionArea global::Gtk.HButtonBox w11 = this.ActionArea; w11.Name = "dialog1_ActionArea"; w11.Spacing = 10; w11.BorderWidth = ((uint)(5)); w11.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button103 = new global::Gtk.Button(); this.button103.CanFocus = true; this.button103.Name = "button103"; this.button103.UseUnderline = true; this.button103.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.AddActionWidget(this.button103, 0); global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.button103])); w12.Expand = false; w12.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 544; this.DefaultHeight = 170; this.btnClose.Hide(); w11.Hide(); this.Hide(); this.btnCancel.Clicked += new global::System.EventHandler(this.OnBtnCancelClicked); this.btnClose.Clicked += new global::System.EventHandler(this.OnBtnCloseClicked); this.expander.Activated += new global::System.EventHandler(this.OnExpander1Activated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSSupportLib.ErrorMsg this.Name = "QSSupportLib.ErrorMsg"; this.Title = global::Mono.Unix.Catalog.GetString ("Ошибка"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Menu); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child QSSupportLib.ErrorMsg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.image249 = new global::Gtk.Image (); this.image249.Name = "image249"; this.image249.Xalign = 0F; this.image249.Yalign = 0F; this.image249.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.hbox1.Add (this.image249); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image249])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("К сожалению в программе произошла непредвиденная ошибка."); this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.labelUserMessage = new global::Gtk.Label (); this.labelUserMessage.Name = "labelUserMessage"; this.labelUserMessage.LabelProp = global::Mono.Unix.Catalog.GetString ("label2"); this.labelUserMessage.Wrap = true; this.labelUserMessage.Selectable = true; this.vbox2.Add (this.labelUserMessage); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelUserMessage])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Вы можете помочь нам улучшить программу и исправить данную проблему. \nДля этого воспользуйтесь формой отправки отчета об ошибке.\n"); this.label3.Justify = ((global::Gtk.Justification)(3)); this.vbox2.Add (this.label3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label3])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryEmail = new global::Gtk.Entry (); this.entryEmail.TooltipMarkup = "Для отправки отчета нам требуется ваш email. Мы будем использовать его для уточнения информации об ошибке, а также для оперативного информирования об устранении данной проблемы."; this.entryEmail.CanFocus = true; this.entryEmail.Name = "entryEmail"; this.entryEmail.IsEditable = true; this.entryEmail.InvisibleChar = '●'; this.table1.Add (this.entryEmail); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryEmail])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.textviewDescription = new global::Gtk.TextView (); this.textviewDescription.TooltipMarkup = "В этом поле опишите последовательность действий, которая привела к возникновению ошибки."; this.textviewDescription.CanFocus = true; this.textviewDescription.Name = "textviewDescription"; this.GtkScrolledWindow1.Add (this.textviewDescription); this.table1.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow1])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.TooltipMarkup = "В этом поле опишите последовательность действий, которая привела к возникновению ошибки."; this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Описание:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.TooltipMarkup = "Для отправки отчета нам требуется ваш email. Мы будем использовать его, для уточнения информации об ошибке, а также для оперативного информирования об устранении данной проблемы."; this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Ваш e-mail:"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Для отправки отчета, пожалуйста, заполните следующие поля:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox2.Add (this.hseparator1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator1])); w13.Position = 4; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.HeightRequest = 203; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewError = new global::Gtk.TextView (); this.textviewError.CanFocus = true; this.textviewError.Name = "textviewError"; this.textviewError.Editable = false; this.GtkScrolledWindow.Add (this.textviewError); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Техническая информация"); this.GtkLabel1.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel1; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w16.Position = 5; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w17.Position = 1; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w18.Position = 0; // Internal child QSSupportLib.ErrorMsg.ActionArea global::Gtk.HButtonBox w19 = this.ActionArea; w19.Name = "dialog1_ActionArea"; w19.Spacing = 10; w19.BorderWidth = ((uint)(5)); w19.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonSendReport = new global::Gtk.Button (); this.buttonSendReport.CanFocus = true; this.buttonSendReport.Name = "buttonSendReport"; this.buttonSendReport.UseUnderline = true; this.buttonSendReport.Label = global::Mono.Unix.Catalog.GetString ("Отправить отчет"); global::Gtk.Image w20 = new global::Gtk.Image (); w20.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("QSSupportLib.icons.send-error-report.png"); this.buttonSendReport.Image = w20; w19.Add (this.buttonSendReport); global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19 [this.buttonSendReport])); w21.Expand = false; w21.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCopy = new global::Gtk.Button (); this.buttonCopy.TooltipMarkup = "Копирует сообщение в буфер обмена."; this.buttonCopy.CanFocus = true; this.buttonCopy.Name = "buttonCopy"; this.buttonCopy.UseUnderline = true; this.buttonCopy.Label = global::Mono.Unix.Catalog.GetString ("Скопировать"); global::Gtk.Image w22 = new global::Gtk.Image (); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-copy", global::Gtk.IconSize.Menu); this.buttonCopy.Image = w22; w19.Add (this.buttonCopy); global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19 [this.buttonCopy])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("Понятно"); global::Gtk.Image w24 = new global::Gtk.Image (); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu); this.buttonOk.Image = w24; this.AddActionWidget (this.buttonOk, -7); global::Gtk.ButtonBox.ButtonBoxChild w25 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19 [this.buttonOk])); w25.Position = 2; w25.Expand = false; w25.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 546; this.DefaultHeight = 314; this.Show (); this.buttonSendReport.Clicked += new global::System.EventHandler (this.OnButtonSendReportClicked); this.buttonCopy.Clicked += new global::System.EventHandler (this.OnButtonCopyClicked); }