protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget meticulus.controls.gtk.image_viewer global::Stetic.BinContainer.Attach (this); this.Name = "meticulus.controls.gtk.image_viewer"; // Container child meticulus.controls.gtk.image_viewer.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.image1 = new global::Gtk.Image (); this.image1.Name = "image1"; this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-missing-image", global::Gtk.IconSize.Menu); w1.Add (this.image1); this.scrolledwindow1.Add (w1); this.Add (this.scrolledwindow1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget pacinfo.ImageWindow this.Name = "pacinfo.ImageWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("ImageWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(2)); this.DestroyWithParent = true; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child pacinfo.ImageWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.eventbox1 = new global::Gtk.EventBox (); this.eventbox1.Name = "eventbox1"; // Container child eventbox1.Gtk.Container+ContainerChild this.image2 = new global::Gtk.Image (); this.image2.Name = "image2"; this.eventbox1.Add (this.image2); this.vbox1.Add (this.eventbox1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.eventbox1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 70; this.DefaultHeight = 76; this.Show (); this.eventbox1.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnEventbox1ButtonPressEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Launcher.SplashScreen this.Name = "Launcher.SplashScreen"; this.Title = global::Mono.Unix.Catalog.GetString ("SplashScreen"); this.TypeHint = ((global::Gdk.WindowTypeHint)(4)); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; this.AllowGrow = false; this.Decorated = false; this.Role = ""; // Container child Launcher.SplashScreen.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.image2 = new global::Gtk.Image (); this.image2.Name = "image2"; this.image2.Xalign = 0F; this.image2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Launcher.image.SplashScreen.gif"); this.fixed1.Add (this.image2); this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 667; this.DefaultHeight = 477; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget RippleClientGtk.SplashWindow this.Name = "RippleClientGtk.SplashWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("SplashWindow"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("RippleClientGtk.Images.ice_splash.png"); this.TypeHint = ((global::Gdk.WindowTypeHint)(4)); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Resizable = false; this.AllowGrow = false; this.AcceptFocus = false; // Container child RippleClientGtk.SplashWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.image87 = new global::Gtk.Image (); this.image87.Name = "image87"; this.image87.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("RippleClientGtk.ice_splash.png"); this.vbox2.Add (this.image87); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.image87])); w1.Position = 0; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 305; this.DefaultHeight = 224; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget ExamPrepper.ImageDisplayerWindow this.Name = "ExamPrepper.ImageDisplayerWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("ImageDisplayerWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child ExamPrepper.ImageDisplayerWindow.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.imageArea = new global::Gtk.Image (); this.imageArea.Name = "imageArea"; this.hbox1.Add (this.imageArea); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.imageArea])); w1.Position = 0; w1.Expand = false; w1.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget meticulus.controls.gtk.toolbar global::Stetic.BinContainer.Attach (this); this.HeightRequest = 50; this.Name = "meticulus.controls.gtk.toolbar"; // Container child meticulus.controls.gtk.toolbar.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.image1 = new global::Gtk.Image (); this.image1.CanDefault = true; this.image1.CanFocus = true; this.image1.Name = "image1"; this.image1.Xalign = 0F; this.image1.Yalign = 0F; this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("meticulus.controls.gtk.tool_bg.png"); this.fixed1.Add (this.image1); this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnSizeAllocated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Gtktester.FirstRunWidget global::Stetic.BinContainer.Attach (this); this.Name = "Gtktester.FirstRunWidget"; // Container child Gtktester.FirstRunWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = "Welcome to the LunaLua Module Manager!"; this.vbox1.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.image2 = new global::Gtk.Image (); this.image2.HeightRequest = 250; this.image2.Name = "image2"; this.image2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Gtktester.Icons.PNG.256.png"); this.vbox1.Add (this.image2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.image2])); w2.Position = 1; w2.Expand = false; w2.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 bazar.AccountableDebts this.Name = "bazar.AccountableDebts"; this.Title = global::Mono.Unix.Catalog.GetString ("Долги подотчетных лиц"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child bazar.AccountableDebts.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewDebts = new global::Gtk.TreeView (); this.treeviewDebts.CanFocus = true; this.treeviewDebts.Name = "treeviewDebts"; this.GtkScrolledWindow.Add (this.treeviewDebts); w1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow])); w3.Position = 0; // Container child dialog1_VBox.Gtk.Box+BoxChild this.labelTotal = new global::Gtk.Label (); this.labelTotal.Name = "labelTotal"; this.labelTotal.Xalign = 1F; this.labelTotal.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); w1.Add (this.labelTotal); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.labelTotal])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Internal child bazar.AccountableDebts.ActionArea global::Gtk.HButtonBox w5 = this.ActionArea; w5.Name = "dialog1_ActionArea"; w5.Spacing = 10; w5.BorderWidth = ((uint)(5)); w5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonClose = new global::Gtk.Button (); this.buttonClose.CanFocus = true; this.buttonClose.Name = "buttonClose"; this.buttonClose.UseUnderline = true; this.buttonClose.Label = global::Mono.Unix.Catalog.GetString ("_Закрыть"); global::Gtk.Image w6 = new global::Gtk.Image (); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu); this.buttonClose.Image = w6; this.AddActionWidget (this.buttonClose, -7); global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonClose])); w7.Expand = false; w7.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 469; this.DefaultHeight = 375; this.Show (); this.treeviewDebts.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewDebtsRowActivated); }
private void boton(string nombre, string label, string imagen) { Gtk.Button boton = new global::Gtk.Button (); boton.CanFocus = true; boton.Name = nombre; boton.UseUnderline = true; // Container child btnNuevo.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, imagen, global::Gtk.IconSize.Button); w2.Add (w3); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w5 = new global::Gtk.Label (); w5.LabelProp = global::Mono.Unix.Catalog.GetString (label); w5.UseUnderline = true; w2.Add (w5); w1.Add (w2); boton.Add (w1); this.fixed1.Add (boton); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[boton])); w9.X = this.x; w9.Y = this.y - 10; }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSValidation.ResultItem global::Stetic.BinContainer.Attach (this); this.Name = "QSValidation.ResultItem"; // Container child QSValidation.ResultItem.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.image7 = new global::Gtk.Image (); this.image7.Name = "image7"; this.image7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.LargeToolbar); this.hbox1.Add (this.image7); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image7])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.labelMessage = new global::Gtk.Label (); this.labelMessage.Name = "labelMessage"; this.labelMessage.LabelProp = global::Mono.Unix.Catalog.GetString ("label1"); this.labelMessage.Wrap = true; this.hbox1.Add (this.labelMessage); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.labelMessage])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.Panel.PanelViewContainer global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.Panel.PanelViewContainer"; // Container child Vodovoz.Panel.PanelViewContainer.Gtk.Container+ContainerChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.LabelXalign = 1F; this.frame1.BorderWidth = ((uint)(6)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(5)); this.GtkAlignment1.RightPadding = ((uint)(5)); this.frame1.Add (this.GtkAlignment1); this.buttonPin = new global::Gtk.ToggleButton (); this.buttonPin.Name = "buttonPin"; this.buttonPin.FocusOnClick = false; global::Gtk.Image w2 = new global::Gtk.Image (); w2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Vodovoz.icons.buttons.pin-up.png"); this.buttonPin.Image = w2; this.frame1.LabelWidget = this.buttonPin; this.Add (this.frame1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Windows.Controls.ListBox global::Stetic.BinContainer.Attach (this); this.Name = "Windows.Controls.ListBox"; // Container child Windows.Controls.ListBox.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.comboboxentry = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentry.Name = "comboboxentry"; this.hbox1.Add (this.comboboxentry); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboboxentry])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.btnAdd = new global::Gtk.Button (); this.btnAdd.CanDefault = true; this.btnAdd.CanFocus = true; this.btnAdd.Name = "btnAdd"; this.btnAdd.Relief = ((global::Gtk.ReliefStyle)(2)); global::Gtk.Image w2 = new global::Gtk.Image (); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.btnAdd.Image = w2; this.hbox1.Add (this.btnAdd); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnAdd])); w3.Position = 1; w3.Expand = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.listbox = new global::Gtk.TreeView (); this.listbox.TooltipMarkup = "Press delete to remove symbols from portfolio."; this.listbox.CanFocus = true; this.listbox.Name = "listbox"; this.GtkScrolledWindow.Add (this.listbox); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w6.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.comboboxentry.Changed += new global::System.EventHandler (this.OnComboboxentryChanged); this.btnAdd.Clicked += new global::System.EventHandler (this.OnBtnAddClicked); this.listbox.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnListboxKeyReleaseEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("Open"), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open"); w1.Add (this.OpenAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.ExitAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar2\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'OpenAction\' action=\'OpenAction\'/><menuitem name=\'AboutAction\' action=\'Ab" + "outAction\'/><menuitem name=\'ExitAction\' action=\'ExitAction\'/></menu></menubar></" + "ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox2.Add (this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.displayImage = new global::Gtk.Image (); this.displayImage.Name = "displayImage"; this.vbox2.Add (this.displayImage); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.displayImage])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.OpenAction.Activated += new global::System.EventHandler (this.OnOpen); this.AboutAction.Activated += new global::System.EventHandler (this.OnAbout); this.ExitAction.Activated += new global::System.EventHandler (this.OnExit); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSOrmProject.EntryReference global::Stetic.BinContainer.Attach (this); this.Name = "QSOrmProject.EntryReference"; // Container child QSOrmProject.EntryReference.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.entryObject = new global::Gtk.Entry (); this.entryObject.CanFocus = true; this.entryObject.Name = "entryObject"; this.entryObject.IsEditable = true; this.entryObject.InvisibleChar = '●'; this.hbox1.Add (this.entryObject); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryObject])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button (); this.buttonEdit.TooltipMarkup = "Выбрать из справочника"; this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; global::Gtk.Image w2 = new global::Gtk.Image (); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-index", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w2; this.hbox1.Add (this.buttonEdit); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonEdit])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button (); this.buttonOpen.TooltipMarkup = "Открыть"; this.buttonOpen.Sensitive = false; this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonOpen.Image = w4; this.hbox1.Add (this.buttonOpen); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonOpen])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.entryObject.Changed += new global::System.EventHandler (this.OnEntryObjectChanged); this.entryObject.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnEntryObjectFocusOutEvent); this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked); this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonOpenClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MP3Tagger.InfoWin this.Name = "MP3Tagger.InfoWin"; this.Title = global::Mono.Unix.Catalog.GetString ("InfoWin"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; // Container child MP3Tagger.InfoWin.Gtk.Container+ContainerChild this.@fixed = new global::Gtk.Fixed (); [email protected] = "fixed"; [email protected] = false; // Container child fixed.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("MP3Tagger 4 (beta)"); [email protected] (this.label2); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.@fixed [this.label2])); w1.X = 16; w1.Y = 16; // Container child fixed.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("http://github.com/petrj/MP3Tagger"); [email protected] (this.label3); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.@fixed [this.label3])); w2.X = 16; w2.Y = 55; // Container child fixed.Gtk.Fixed+FixedChild this.buttonOK = new global::Gtk.Button (); this.buttonOK.CanFocus = true; this.buttonOK.Name = "buttonOK"; this.buttonOK.UseUnderline = true; this.buttonOK.Label = global::Mono.Unix.Catalog.GetString ("OK"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); this.buttonOK.Image = w3; [email protected] (this.buttonOK); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.@fixed [this.buttonOK])); w4.X = 331; w4.Y = 137; // Container child fixed.Gtk.Fixed+FixedChild this.labelVer = new global::Gtk.Label (); this.labelVer.Name = "labelVer"; this.labelVer.LabelProp = global::Mono.Unix.Catalog.GetString ("nightbuild (2015.10.22)"); [email protected] (this.labelVer); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.@fixed [this.labelVer])); w5.X = 16; w5.Y = 92; this.Add (this.@fixed); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 405; this.DefaultHeight = 212; this.Show (); this.buttonOK.Clicked += new global::System.EventHandler (this.OnButtonOKClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.Component.RenderingStateBar global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Gui.Component.RenderingStateBar"; // Container child LongoMatch.Gui.Component.RenderingStateBar.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.statebutton = new global::Gtk.Button (); this.statebutton.CanFocus = true; this.statebutton.Name = "statebutton"; this.statebutton.UseUnderline = true; this.statebutton.Label = ""; this.hbox1.Add (this.statebutton); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.statebutton])); w1.Position = 0; // 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 w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.cancellbutton = new global::Gtk.Button (); this.cancellbutton.CanFocus = true; this.cancellbutton.Name = "cancellbutton"; this.cancellbutton.UseUnderline = true; // Container child cancellbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w3 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w4 = new global::Gtk.HBox (); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); w4.Add (w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label (); w4.Add (w7); w3.Add (w4); this.cancellbutton.Add (w3); this.hbox1.Add (this.cancellbutton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cancellbutton])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.cancellbutton.Hide (); this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Gui.AboutWindow this.WidthRequest = 300; this.HeightRequest = 200; this.Name = "Gui.AboutWindow"; this.Title = global::Mono.Unix.Catalog.GetString("About"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.Modal = true; this.Resizable = false; // Container child Gui.AboutWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.imageLogo = new global::Gtk.Image(); this.imageLogo.Name = "imageLogo"; this.imageLogo.Pixbuf = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "..\\..\\..\\misc\\dgle2_logo.png")); this.vbox1.Add(this.imageLogo); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.imageLogo])); 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.textviewAbout = new global::Gtk.TextView(); this.textviewAbout.Buffer.Text = "About"; this.textviewAbout.Sensitive = false; this.textviewAbout.CanFocus = true; this.textviewAbout.Name = "textviewAbout"; this.textviewAbout.Editable = false; this.textviewAbout.CursorVisible = false; this.textviewAbout.AcceptsTab = false; this.textviewAbout.Justification = ((global::Gtk.Justification)(2)); this.textviewAbout.WrapMode = ((global::Gtk.WrapMode)(2)); this.textviewAbout.PixelsAboveLines = 6; this.textviewAbout.LeftMargin = 6; this.textviewAbout.RightMargin = 6; this.GtkScrolledWindow.Add(this.textviewAbout); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w3.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 300; this.DefaultHeight = 200; this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget CucumberBindings.GeneralOptionsPanel global::Stetic.BinContainer.Attach (this); this.Name = "CucumberBindings.GeneralOptionsPanel"; // Container child CucumberBindings.GeneralOptionsPanel.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.cucumberBrowse = new global::Gtk.Button (); this.cucumberBrowse.CanFocus = true; this.cucumberBrowse.Name = "cucumberBrowse"; this.cucumberBrowse.UseUnderline = true; this.cucumberBrowse.Label = global::Mono.Unix.Catalog.GetString ("Browse"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); this.cucumberBrowse.Image = w1; this.table1.Add (this.cucumberBrowse); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.cucumberBrowse])); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cucumberEntry = new global::Gtk.Entry (); this.cucumberEntry.CanFocus = true; this.cucumberEntry.Name = "cucumberEntry"; this.cucumberEntry.IsEditable = true; this.cucumberEntry.InvisibleChar = '●'; this.table1.Add (this.cucumberEntry); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.cucumberEntry])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xpad = 10; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Cucumber: "); this.label1.Justify = ((global::Gtk.Justification)(1)); this.table1.Add (this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.cucumberBrowse.Clicked += new global::System.EventHandler (this.OnCucumberBrowseClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget DeSERt.BrightnessPreview this.WidthRequest = 630; this.HeightRequest = 470; this.Name = "DeSERt.BrightnessPreview"; this.Title = global::Mono.Unix.Catalog.GetString ("BrightnessPreview"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("DeSERt.DeSERt-Icon.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; this.DestroyWithParent = true; // Container child DeSERt.BrightnessPreview.Gtk.Container+ContainerChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.PreviewImage = new global::Gtk.Image (); this.PreviewImage.WidthRequest = 600; this.PreviewImage.HeightRequest = 400; this.PreviewImage.Name = "PreviewImage"; this.fixed2.Add (this.PreviewImage); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.PreviewImage])); w1.X = 15; w1.Y = 15; // Container child fixed2.Gtk.Fixed+FixedChild this.PrevImgSlide = new global::Gtk.HScale (null); this.PrevImgSlide.WidthRequest = 600; this.PrevImgSlide.CanFocus = true; this.PrevImgSlide.Name = "PrevImgSlide"; this.PrevImgSlide.Adjustment.Lower = 1D; this.PrevImgSlide.Adjustment.Upper = 100D; this.PrevImgSlide.Adjustment.PageIncrement = 10D; this.PrevImgSlide.Adjustment.StepIncrement = 1D; this.PrevImgSlide.Adjustment.Value = 1D; this.PrevImgSlide.DrawValue = true; this.PrevImgSlide.Digits = 0; this.PrevImgSlide.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed2.Add (this.PrevImgSlide); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.PrevImgSlide])); w2.X = 10; w2.Y = 420; this.Add (this.fixed2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 644; this.DefaultHeight = 507; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.PrevImgSlide.ValueChanged += new global::System.EventHandler (this.OnPrevImgSlideValueChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget BlinkStick.BlinkstickServiceSettingsWidget global::Stetic.BinContainer.Attach (this); this.Name = "BlinkStick.BlinkstickServiceSettingsWidget"; // Container child BlinkStick.BlinkstickServiceSettingsWidget.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(12)); // Container child table1.Gtk.Table+TableChild this.buttonPaste = new global::Gtk.Button (); this.buttonPaste.CanFocus = true; this.buttonPaste.Name = "buttonPaste"; this.buttonPaste.UseUnderline = true; this.buttonPaste.Label = global::Mono.Unix.Catalog.GetString ("Paste"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-paste", global::Gtk.IconSize.Menu); this.buttonPaste.Image = w1; this.table1.Add (this.buttonPaste); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonPaste])); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryAccessCode = new global::Gtk.Entry (); this.entryAccessCode.CanFocus = true; this.entryAccessCode.Name = "entryAccessCode"; this.entryAccessCode.IsEditable = true; this.entryAccessCode.InvisibleChar = '●'; this.table1.Add (this.entryAccessCode); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryAccessCode])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Access Code:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonPaste.Clicked += new global::System.EventHandler (this.OnButtonPasteClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget SQLGrenadineGui.NotebookCloseButtonLabel global::Stetic.BinContainer.Attach (this); this.Name = "SQLGrenadineGui.NotebookCloseButtonLabel"; // Container child SQLGrenadineGui.NotebookCloseButtonLabel.Gtk.Container+ContainerChild this.hboxLabel = new global::Gtk.HBox (); this.hboxLabel.Name = "hboxLabel"; this.hboxLabel.Spacing = 6; // Container child hboxLabel.Gtk.Box+BoxChild this.labelTab = new global::Gtk.Label (); this.labelTab.Name = "labelTab"; this.labelTab.LabelProp = global::Mono.Unix.Catalog.GetString ("label"); this.hboxLabel.Add (this.labelTab); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxLabel [this.labelTab])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxLabel.Gtk.Box+BoxChild this.buttonClose = new global::Gtk.Button (); this.buttonClose.CanFocus = true; this.buttonClose.Name = "buttonClose"; this.buttonClose.UseUnderline = true; this.buttonClose.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child buttonClose.Gtk.Container+ContainerChild global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w3 = new global::Gtk.HBox (); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Menu); w3.Add (w4); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w6 = new global::Gtk.Label (); w3.Add (w6); w2.Add (w3); this.buttonClose.Add (w2); this.hboxLabel.Add (this.buttonClose); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxLabel [this.buttonClose])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.Add (this.hboxLabel); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonClose.Clicked += new global::System.EventHandler (this.OnClickButtonClose); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget compactCA.viewLog this.Name = "compactCA.viewLog"; this.Title = global::Mono.Unix.Catalog.GetString ("Logfile"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child compactCA.viewLog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.logView = new global::Gtk.TextView (); this.logView.CanFocus = true; this.logView.Name = "logView"; this.logView.Editable = false; this.GtkScrolledWindow.Add (this.logView); w1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow])); w3.Position = 0; // Internal child compactCA.viewLog.ActionArea global::Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 10; w4.BorderWidth = ((uint)(5)); w4.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1)); // 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.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Close"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-no", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w5; this.AddActionWidget (this.buttonCancel, -7); global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4 [this.buttonCancel])); w6.Expand = false; w6.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 738; this.DefaultHeight = 497; this.Show (); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Lector de Base de Datos"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("SetDataBase.accept-database.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.TooltipMarkup = " Para ver BASE DE DATOS\r\nPresiona \"Enter\" o Click en \"Mostrar\"\r\n"; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.btnMostrar = new global::Gtk.Button (); this.btnMostrar.TooltipMarkup = "Ver base de datos"; this.btnMostrar.WidthRequest = 88; this.btnMostrar.HeightRequest = 35; this.btnMostrar.CanFocus = true; this.btnMostrar.Events = ((global::Gdk.EventMask)(4096)); this.btnMostrar.Name = "btnMostrar"; this.btnMostrar.UseUnderline = true; // Container child btnMostrar.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-index", global::Gtk.IconSize.Menu); w2.Add (w3); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w5 = new global::Gtk.Label (); w5.LabelProp = global::Mono.Unix.Catalog.GetString ("Mostrar"); w5.UseUnderline = true; w2.Add (w5); w1.Add (w2); this.btnMostrar.Add (w1); this.fixed1.Add (this.btnMostrar); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnMostrar])); w9.X = 22; w9.Y = 12; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 751; this.DefaultHeight = 437; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.btnMostrar.Clicked += new global::System.EventHandler (this.OnBtnMostrarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSWidgetLib.SearchEntity global::Stetic.BinContainer.Attach (this); this.Name = "QSWidgetLib.SearchEntity"; // Container child QSWidgetLib.SearchEntity.Gtk.Container+ContainerChild 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 ("Поиск:"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entrySearchText = new global::Gtk.Entry (); this.entrySearchText.TooltipMarkup = "Введите фразу для поиска"; this.entrySearchText.CanFocus = true; this.entrySearchText.Name = "entrySearchText"; this.entrySearchText.IsEditable = true; this.entrySearchText.InvisibleChar = '●'; this.hbox2.Add (this.entrySearchText); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entrySearchText])); w2.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonClear = new global::Gtk.Button (); this.buttonClear.TooltipMarkup = "Очистить поисковую фаразу"; this.buttonClear.CanFocus = true; this.buttonClear.Name = "buttonClear"; this.buttonClear.UseUnderline = true; global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonClear.Image = w3; this.hbox2.Add (this.buttonClear); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonClear])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.Add (this.hbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.entrySearchText.Changed += new global::System.EventHandler (this.OnEntrySearchTextChanged); this.buttonClear.Clicked += new global::System.EventHandler (this.OnButtonClearClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget NicoMonoViewer.NicorepoWidgetItemSubNicoru global::Stetic.BinContainer.Attach (this); this.Name = "NicoMonoViewer.NicorepoWidgetItemSubNicoru"; // Container child NicoMonoViewer.NicorepoWidgetItemSubNicoru.Gtk.Container+ContainerChild this.button = new global::Gtk.Button (); this.button.WidthRequest = 120; this.button.CanFocus = true; this.button.Name = "button"; // Container child button.Gtk.Container+ContainerChild this.hbox = new global::Gtk.HBox (); this.hbox.Name = "hbox"; // Container child hbox.Gtk.Box+BoxChild this.image = new global::Gtk.Image (); this.image.WidthRequest = 20; this.image.HeightRequest = 20; this.image.Name = "image"; this.hbox.Add (this.image); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox [this.image])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox.Gtk.Box+BoxChild this.arrow = new global::Gtk.Arrow (((global::Gtk.ArrowType)(2)), ((global::Gtk.ShadowType)(0))); this.arrow.Name = "arrow"; this.hbox.Add (this.arrow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox [this.arrow])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox.Gtk.Box+BoxChild this.label = new global::Gtk.Label (); this.label.Name = "label"; this.label.LabelProp = global::Mono.Unix.Catalog.GetString ("ロード中..."); this.hbox.Add (this.label); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox [this.label])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.button.Add (this.hbox); this.button.Label = null; this.Add (this.button); if ((this.Child != null)) { this.Child.ShowAll (); } this.hbox.Hide (); this.Show (); this.button.Clicked += new global::System.EventHandler (this.OnButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget libTerminus.Label global::Stetic.BinContainer.Attach (this); this.Name = "libTerminus.Label"; // Container child libTerminus.Label.Gtk.Container+ContainerChild 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 ("label1"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.TooltipMarkup = "Klicken Sie hier, um den Tab zu schließen."; this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child button1.Gtk.Container+ContainerChild global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w3 = new global::Gtk.HBox (); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu); w3.Add (w4); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w6 = new global::Gtk.Label (); w3.Add (w6); w2.Add (w3); this.button1.Add (w2); this.hbox1.Add (this.button1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget BangSharp.Client.ImageSelectorWidget global::Stetic.BinContainer.Attach (this); this.Name = "BangSharp.Client.ImageSelectorWidget"; // Container child BangSharp.Client.ImageSelectorWidget.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.chooser = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select an avatar image"), ((global::Gtk.FileChooserAction)(0))); this.chooser.Name = "chooser"; this.table1.Add (this.chooser); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.chooser])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.clearButton = new global::Gtk.Button (); this.clearButton.CanFocus = true; this.clearButton.Name = "clearButton"; this.clearButton.UseStock = true; this.clearButton.UseUnderline = true; this.clearButton.Label = "gtk-clear"; this.table1.Add (this.clearButton); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.clearButton])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); 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.image = new global::Gtk.Image (); this.image.Name = "image"; this.table1.Add (this.image); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.image])); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(0)); w3.YOptions = ((global::Gtk.AttachOptions)(0)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.clearButton.Clicked += new global::System.EventHandler (this.OnClearButtonClicked); this.chooser.SelectionChanged += new global::System.EventHandler (this.OnChooserSelectionChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget FloydPink.Flickr.Downloadr.UI.Widgets.PhotoWidget global::Stetic.BinContainer.Attach (this); this.Name = "FloydPink.Flickr.Downloadr.UI.Widgets.PhotoWidget"; // Container child FloydPink.Flickr.Downloadr.UI.Widgets.PhotoWidget.Gtk.Container+ContainerChild this.vboxContainer = new global::Gtk.VBox (); this.vboxContainer.Name = "vboxContainer"; this.vboxContainer.Spacing = 10; // Container child vboxContainer.Gtk.Box+BoxChild this.hboxContainer = new global::Gtk.HBox (); this.hboxContainer.Name = "hboxContainer"; this.hboxContainer.Spacing = 10; // Container child hboxContainer.Gtk.Box+BoxChild this.frameMain = new global::Gtk.Frame (); this.frameMain.Name = "frameMain"; this.frameMain.LabelXalign = 0.95F; // Container child frameMain.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.BottomPadding = ((uint)(5)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.eventboxMain = new global::Gtk.EventBox (); this.eventboxMain.Name = "eventboxMain"; // Container child eventboxMain.Gtk.Container+ContainerChild this.imageMain = new global::Gtk.Image (); this.imageMain.Name = "imageMain"; this.eventboxMain.Add (this.imageMain); this.GtkAlignment.Add (this.eventboxMain); this.frameMain.Add (this.GtkAlignment); this.frameLabel = new global::Gtk.Label (); this.frameLabel.Name = "frameLabel"; this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span color=\"silver\" size=\"x-large\"><b><big> ☆ </big></b></span>"); this.frameLabel.UseMarkup = true; this.frameMain.LabelWidget = this.frameLabel; this.hboxContainer.Add (this.frameMain); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxContainer [this.frameMain])); w4.Position = 0; w4.Padding = ((uint)(5)); this.vboxContainer.Add (this.hboxContainer); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxContainer [this.hboxContainer])); w5.Position = 0; this.Add (this.vboxContainer); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.eventboxMain.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.imageClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget GtkForms.Custom.DatePicker global::Stetic.BinContainer.Attach (this); this.Name = "GtkForms.Custom.DatePicker"; // Container child GtkForms.Custom.DatePicker.Gtk.Container+ContainerChild this.hbox = new global::Gtk.HBox (); this.hbox.Name = "hbox"; // Container child hbox.Gtk.Box+BoxChild this.entry = new global::Gtk.Entry (); this.entry.CanFocus = true; this.entry.Name = "entry"; this.entry.IsEditable = true; this.entry.InvisibleChar = '●'; this.hbox.Add (this.entry); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox [this.entry])); w1.Position = 0; // Container child hbox.Gtk.Box+BoxChild this.button = new global::Gtk.Button (); this.button.HeightRequest = 0; this.button.CanFocus = true; this.button.Name = "button"; this.button.Relief = ((global::Gtk.ReliefStyle)(2)); this.button.Xalign = 0F; this.button.Yalign = 0F; // Container child button.Gtk.Container+ContainerChild global::Gtk.Alignment w2 = new global::Gtk.Alignment (0F, 0F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w3 = new global::Gtk.HBox (); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("calendar_22x16.png"); w3.Add (w4); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w6 = new global::Gtk.Label (); w3.Add (w6); w2.Add (w3); this.button.Add (w2); this.hbox.Add (this.button); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox [this.button])); w10.Position = 1; w10.Expand = false; this.Add (this.hbox); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget NicoMonoViewer.NicorepoWidgetItemSubIcon global::Stetic.BinContainer.Attach (this); this.Name = "NicoMonoViewer.NicorepoWidgetItemSubIcon"; // Container child NicoMonoViewer.NicorepoWidgetItemSubIcon.Gtk.Container+ContainerChild this.image = new global::Gtk.Image (); this.image.Name = "image"; this.Add (this.image); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CarLoadDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CarLoadDocumentView"; // Container child Vodovoz.CarLoadDocumentView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.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.vbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label1])); 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.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow.Add(this.ytreeviewItems); 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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonFillAllItems = new global::Gtk.Button(); this.buttonFillAllItems.CanFocus = true; this.buttonFillAllItems.Name = "buttonFillAllItems"; this.buttonFillAllItems.UseUnderline = true; this.buttonFillAllItems.Label = global::Mono.Unix.Catalog.GetString("Заполнить весь МЛ"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.insert-object.png"); this.buttonFillAllItems.Image = w4; this.hbox1.Add(this.buttonFillAllItems); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonFillAllItems])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonFillWarehouseItems = new global::Gtk.Button(); this.buttonFillWarehouseItems.CanFocus = true; this.buttonFillWarehouseItems.Name = "buttonFillWarehouseItems"; this.buttonFillWarehouseItems.UseUnderline = true; this.buttonFillWarehouseItems.Label = global::Mono.Unix.Catalog.GetString("Заполнить для склада"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.insert-object.png"); this.buttonFillWarehouseItems.Image = w6; this.hbox1.Add(this.buttonFillWarehouseItems); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonFillWarehouseItems])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button(); this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w8; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonFillAllItems.Clicked += new global::System.EventHandler(this.OnButtonFillAllItemsClicked); this.buttonFillWarehouseItems.Clicked += new global::System.EventHandler(this.OnButtonFillWarehouseItemsClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QSOrmProject.PhotoView global::Stetic.BinContainer.Attach(this); this.Name = "QSOrmProject.PhotoView"; // Container child QSOrmProject.PhotoView.Gtk.Container+ContainerChild 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)(1)); // Container child frame1.Gtk.Container+ContainerChild this.imageviewerPhoto = new global::QSWidgetLib.ImageViewer(); this.imageviewerPhoto.Name = "imageviewerPhoto"; this.imageviewerPhoto.VerticalFit = true; this.imageviewerPhoto.HorizontalFit = true; this.frame1.Add(this.imageviewerPhoto); 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.hbuttonbox1 = new global::Gtk.HButtonBox(); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.buttonLoadPhoto = new global::Gtk.Button(); this.buttonLoadPhoto.CanFocus = true; this.buttonLoadPhoto.Name = "buttonLoadPhoto"; this.buttonLoadPhoto.UseUnderline = true; this.buttonLoadPhoto.Label = global::Mono.Unix.Catalog.GetString("Загрузить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Button); this.buttonLoadPhoto.Image = w3; this.hbuttonbox1.Add(this.buttonLoadPhoto); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.buttonLoadPhoto])); w4.Expand = false; w4.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.buttonSavePhoto = new global::Gtk.Button(); this.buttonSavePhoto.Sensitive = false; this.buttonSavePhoto.CanFocus = true; this.buttonSavePhoto.Name = "buttonSavePhoto"; this.buttonSavePhoto.UseUnderline = true; this.buttonSavePhoto.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-harddisk", global::Gtk.IconSize.Button); this.buttonSavePhoto.Image = w5; this.hbuttonbox1.Add(this.buttonSavePhoto); global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.buttonSavePhoto])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbuttonbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.imageviewerPhoto.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnImageviewerPhotoButtonPressEvent); this.buttonLoadPhoto.Clicked += new global::System.EventHandler(this.OnButtonLoadPhotoClicked); this.buttonSavePhoto.Clicked += new global::System.EventHandler(this.OnButtonSavePhotoClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Yamster.ThreadViewerMessageTile global::Stetic.BinContainer.Attach(this); this.Name = "Yamster.ThreadViewerMessageTile"; // Container child Yamster.ThreadViewerMessageTile.Gtk.Container+ContainerChild this.ctlWidgetBox = new global::Gtk.EventBox(); this.ctlWidgetBox.Name = "ctlWidgetBox"; // Container child ctlWidgetBox.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.ctlUserImage = new global::Gtk.Image(); this.ctlUserImage.WidthRequest = 33; this.ctlUserImage.HeightRequest = 33; this.ctlUserImage.Name = "ctlUserImage"; this.ctlUserImage.Yalign = 0F; this.ctlUserImage.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Yamster.Resources.AnonymousPhoto-33x33.png"); this.hbox1.Add(this.ctlUserImage); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ctlUserImage])); w1.Position = 0; w1.Expand = false; w1.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.ctlHighlightBox = new global::Gtk.EventBox(); this.ctlHighlightBox.Name = "ctlHighlightBox"; // Container child ctlHighlightBox.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.lblSender = new global::Gtk.Label(); this.lblSender.WidthRequest = 300; this.lblSender.Name = "lblSender"; this.lblSender.Xalign = 0F; this.lblSender.Yalign = 0F; this.lblSender.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Person With Long Name</b> in reply to <b>Person With Long Name</b>"); this.lblSender.UseMarkup = true; this.lblSender.Wrap = true; this.lblSender.Selectable = true; this.vbox3.Add(this.lblSender); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblSender])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.lblBody = new global::Gtk.Label(); this.lblBody.WidthRequest = 300; this.lblBody.Name = "lblBody"; this.lblBody.LabelProp = global::Mono.Unix.Catalog.GetString(@"FYI I asked the other people, and they said that at last week's book club meeting people were also generally uncomfortable with metaprogramming except in special situations where there was a clear need. The feeling was that if you're having to automatically generate a lot of definitions, maybe the design is wrong. As for your point [1], I've heard tales of these ""small"" code bases, but I don't believe they actually exist heheh."); this.lblBody.Wrap = true; this.lblBody.Selectable = true; this.vbox3.Add(this.lblBody); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblBody])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.ctlHighlightBox.Add(this.vbox3); this.vbox2.Add(this.ctlHighlightBox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ctlHighlightBox])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ctlLikesHbox = new global::Gtk.HBox(); this.ctlLikesHbox.Name = "ctlLikesHbox"; this.ctlLikesHbox.Spacing = 6; // Container child ctlLikesHbox.Gtk.Box+BoxChild this.ctlImageAlign = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.ctlImageAlign.Name = "ctlImageAlign"; this.ctlImageAlign.TopPadding = ((uint)(2)); // Container child ctlImageAlign.Gtk.Container+ContainerChild this.ctlThumbImage = new global::Gtk.Image(); this.ctlThumbImage.Name = "ctlThumbImage"; this.ctlThumbImage.Yalign = 0F; this.ctlThumbImage.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Yamster.Resources.LikeThumb.png"); this.ctlImageAlign.Add(this.ctlThumbImage); this.ctlLikesHbox.Add(this.ctlImageAlign); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.ctlLikesHbox [this.ctlImageAlign])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child ctlLikesHbox.Gtk.Box+BoxChild this.lblLikes = new global::Gtk.Label(); this.lblLikes.WidthRequest = 270; this.lblLikes.Name = "lblLikes"; this.lblLikes.Xalign = 0F; this.lblLikes.Yalign = 0F; this.lblLikes.LabelProp = global::Mono.Unix.Catalog.GetString("You, <b>Person #1</b>, <b>Person #2</b>, <b>Person #3</b> and 4 others like this." + ""); this.lblLikes.UseMarkup = true; this.lblLikes.Wrap = true; this.lblLikes.Selectable = true; this.ctlLikesHbox.Add(this.lblLikes); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.ctlLikesHbox [this.lblLikes])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.vbox2.Add(this.ctlLikesHbox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ctlLikesHbox])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.lblDeleted = new global::Gtk.Label(); this.lblDeleted.Name = "lblDeleted"; this.lblDeleted.Xalign = 0F; this.lblDeleted.LabelProp = global::Mono.Unix.Catalog.GetString("<i>(Deleted)</i>"); this.lblDeleted.UseMarkup = true; this.hbox3.Add(this.lblDeleted); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblDeleted])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.lblLike = new global::Gtk.Label(); this.lblLike.Name = "lblLike"; this.lblLike.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"\">Like</a>"); this.lblLike.UseMarkup = true; this.hbox3.Add(this.lblLike); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblLike])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.lblUnlike = new global::Gtk.Label(); this.lblUnlike.Name = "lblUnlike"; this.lblUnlike.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"\">Unlike</a>"); this.lblUnlike.UseMarkup = true; this.hbox3.Add(this.lblUnlike); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblUnlike])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.lblReply = new global::Gtk.Label(); this.lblReply.Name = "lblReply"; this.lblReply.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"\">Reply</a>"); this.lblReply.UseMarkup = true; this.hbox3.Add(this.lblReply); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblReply])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.lblDelete = new global::Gtk.Label(); this.lblDelete.Name = "lblDelete"; this.lblDelete.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"\">Delete</a>"); this.lblDelete.UseMarkup = true; this.hbox3.Add(this.lblDelete); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblDelete])); w14.Position = 4; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.lblTimestamp = new global::Gtk.Label(); this.lblTimestamp.Name = "lblTimestamp"; this.lblTimestamp.LabelProp = global::Mono.Unix.Catalog.GetString("1:20pm 1/2/2013"); this.lblTimestamp.Selectable = true; this.hbox3.Add(this.lblTimestamp); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblTimestamp])); w15.PackType = ((global::Gtk.PackType)(1)); w15.Position = 6; w15.Expand = false; w15.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ctlStarEventBox = new global::Gtk.EventBox(); this.ctlStarEventBox.Name = "ctlStarEventBox"; // Container child ctlStarEventBox.Gtk.Container+ContainerChild this.ctlStarHBox = new global::Gtk.HBox(); this.ctlStarHBox.Name = "ctlStarHBox"; this.ctlStarHBox.Spacing = 3; // Container child ctlStarHBox.Gtk.Box+BoxChild this.ctlImageStarOn = new global::Gtk.Image(); this.ctlImageStarOn.Name = "ctlImageStarOn"; this.ctlImageStarOn.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Yamster.Resources.Star-OnWhite.png"); this.ctlStarHBox.Add(this.ctlImageStarOn); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.ctlStarHBox [this.ctlImageStarOn])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child ctlStarHBox.Gtk.Box+BoxChild this.ctlImageStarOff = new global::Gtk.Image(); this.ctlImageStarOff.Name = "ctlImageStarOff"; this.ctlImageStarOff.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Yamster.Resources.Star-OffWhite.png"); this.ctlStarHBox.Add(this.ctlImageStarOff); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.ctlStarHBox [this.ctlImageStarOff])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.ctlStarEventBox.Add(this.ctlStarHBox); this.hbox3.Add(this.ctlStarEventBox); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.ctlStarEventBox])); w19.PackType = ((global::Gtk.PackType)(1)); w19.Position = 7; w19.Expand = false; w19.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w20.Position = 2; w20.Expand = false; w20.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ctlAttachmentBox = new global::Gtk.EventBox(); this.ctlAttachmentBox.Name = "ctlAttachmentBox"; // Container child ctlAttachmentBox.Gtk.Container+ContainerChild this.ctlAttachmentImage = new global::Gtk.Image(); this.ctlAttachmentImage.Name = "ctlAttachmentImage"; this.ctlAttachmentImage.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Yamster.Resources.LoadingImage.png"); this.ctlAttachmentBox.Add(this.ctlAttachmentImage); this.vbox2.Add(this.ctlAttachmentBox); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ctlAttachmentBox])); w22.Position = 3; w22.Expand = false; w22.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ctlSeparator = new global::Gtk.HSeparator(); this.ctlSeparator.Name = "ctlSeparator"; this.vbox2.Add(this.ctlSeparator); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ctlSeparator])); w23.PackType = ((global::Gtk.PackType)(1)); w23.Position = 4; w23.Expand = false; w23.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.ctlWidgetBox.Add(this.hbox1); this.Add(this.ctlWidgetBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.lblDeleted.Hide(); this.ctlAttachmentBox.Hide(); this.Hide(); this.lblLike.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.lblLike_ButtonPress); this.lblUnlike.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.lblUnlike_ButtonPress); this.lblReply.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.lblReply_ButtonPress); this.lblDelete.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.lblDelete_ButtonPress); this.ctlStarEventBox.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.ctlStarEventBox_ButtonPress); this.ctlAttachmentBox.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.ctlAttachmentBox_ButtonPress); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.IncomingWaterDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.IncomingWaterDlg"; // Container child Vodovoz.IncomingWaterDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox3.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox3.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonFill = new global::Gtk.Button(); this.buttonFill.CanFocus = true; this.buttonFill.Name = "buttonFill"; this.buttonFill.UseUnderline = true; this.buttonFill.Label = global::Mono.Unix.Catalog.GetString("Заполнить по спецификации"); this.hbox3.Add(this.buttonFill); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonFill])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.tableWater = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false); this.tableWater.Name = "tableWater"; this.tableWater.RowSpacing = ((uint)(6)); this.tableWater.ColumnSpacing = ((uint)(6)); // Container child tableWater.Gtk.Table+TableChild this.destinationWarehouseEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.destinationWarehouseEntry.Events = ((global::Gdk.EventMask)(256)); this.destinationWarehouseEntry.Name = "destinationWarehouseEntry"; this.destinationWarehouseEntry.CanEditReference = false; this.tableWater.Add(this.destinationWarehouseEntry); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWater[this.destinationWarehouseEntry])); 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 tableWater.Gtk.Table+TableChild this.incomingwatermaterialview1 = new global::Vodovoz.IncomingWaterMaterialView(); this.incomingwatermaterialview1.Events = ((global::Gdk.EventMask)(256)); this.incomingwatermaterialview1.Name = "incomingwatermaterialview1"; this.tableWater.Add(this.incomingwatermaterialview1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWater[this.incomingwatermaterialview1])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.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.tableWater.Add(this.label1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label1])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Количество единиц:"); this.tableWater.Add(this.label2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label2])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.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.tableWater.Add(this.label3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label3])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.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("Склад списания:"); this.tableWater.Add(this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label5])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.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.tableWater.Add(this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label6])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.labelTimeStamp = new global::Gamma.GtkWidgets.yLabel(); this.labelTimeStamp.Name = "labelTimeStamp"; this.labelTimeStamp.Xalign = 0F; this.tableWater.Add(this.labelTimeStamp); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWater[this.labelTimeStamp])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.sourceWarehouseEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.sourceWarehouseEntry.Events = ((global::Gdk.EventMask)(256)); this.sourceWarehouseEntry.Name = "sourceWarehouseEntry"; this.sourceWarehouseEntry.CanEditReference = false; this.tableWater.Add(this.sourceWarehouseEntry); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWater[this.sourceWarehouseEntry])); 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 tableWater.Gtk.Table+TableChild this.spinAmount = new global::Gamma.GtkWidgets.ySpinButton(0D, 10000D, 1D); this.spinAmount.CanFocus = true; this.spinAmount.Name = "spinAmount"; this.spinAmount.Adjustment.PageIncrement = 10D; this.spinAmount.ClimbRate = 1D; this.spinAmount.Numeric = true; this.spinAmount.Value = 1D; this.spinAmount.ValueAsDecimal = 0m; this.spinAmount.ValueAsInt = 0; this.tableWater.Add(this.spinAmount); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWater[this.spinAmount])); 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)); // Container child tableWater.Gtk.Table+TableChild this.yentryProduct = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.yentryProduct.Events = ((global::Gdk.EventMask)(256)); this.yentryProduct.Name = "yentryProduct"; this.yentryProduct.CanEditReference = false; this.tableWater.Add(this.yentryProduct); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWater[this.yentryProduct])); 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)); this.vbox2.Add(this.tableWater); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.tableWater])); w18.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonFill.Clicked += new global::System.EventHandler(this.OnButtonFillClicked); }
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.CODEAction = new global::Gtk.Action("CODEAction", global::Mono.Unix.Catalog.GetString("CODE"), null, null); this.CODEAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CODE"); w1.Add(this.CODEAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Open File"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open File"); w1.Add(this.openAction, null); this.CLEARAction = new global::Gtk.Action("CLEARAction", global::Mono.Unix.Catalog.GetString("CLEAR"), null, null); this.CLEARAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CLEAR"); w1.Add(this.CLEARAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Save File"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save File"); w1.Add(this.saveAction, null); this.clearAction = new global::Gtk.Action("clearAction", global::Mono.Unix.Catalog.GetString("Clear"), null, "gtk-clear"); this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Clear"); w1.Add(this.clearAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='CODEAction' action='CODEAction'><menuitem name='openAction' action='openAction'/></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; // 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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow3.BorderWidth = ((uint)(5)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.codearea = new global::Gtk.TextView(); this.codearea.CanFocus = true; this.codearea.Name = "codearea"; this.GtkScrolledWindow3.Add(this.codearea); this.hbox1.Add(this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow3])); w4.Position = 0; // 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.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("LEXEMES"); this.label4.WidthChars = 30; this.vbox3.Add(this.label4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label4])); w5.Position = 0; w5.Expand = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow1.BorderWidth = ((uint)(5)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.lexemearea = new global::Gtk.TreeView(); this.lexemearea.CanFocus = true; this.lexemearea.Name = "lexemearea"; this.GtkScrolledWindow1.Add(this.lexemearea); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1])); w7.Position = 1; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("SYMBOL TABLE"); this.label5.WidthChars = 30; this.vbox6.Add(this.label5); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label5])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow2.BorderWidth = ((uint)(5)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.symbolarea = new global::Gtk.TreeView(); this.symbolarea.CanFocus = true; this.symbolarea.Name = "symbolarea"; this.GtkScrolledWindow2.Add(this.symbolarea); this.vbox6.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.GtkScrolledWindow2])); w11.Position = 1; this.hbox1.Add(this.vbox6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox6])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w13.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.BorderWidth = ((uint)(2)); this.button1.Label = global::Mono.Unix.Catalog.GetString("EXECUTE"); this.hbox3.Add(this.button1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button1])); w14.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.BorderWidth = ((uint)(2)); global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_trash_full", global::Gtk.IconSize.Menu); this.button2.Image = w15; this.hbox3.Add(this.button2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button2])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 1; w16.Expand = false; w16.Fill = false; w16.Padding = ((uint)(2)); this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w18.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(4)); this.GtkScrolledWindow.BorderWidth = ((uint)(5)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.consolearea = new global::Gtk.TextView(); this.consolearea.CanFocus = true; this.consolearea.Name = "consolearea"; this.consolearea.Editable = false; this.consolearea.CursorVisible = false; this.GtkScrolledWindow.Add(this.consolearea); this.vbox4.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow])); w20.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbuttonbox2 = new global::Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; this.vbox4.Add(this.hbuttonbox2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbuttonbox2])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.CanFocus = true; this.label2.Events = ((global::Gdk.EventMask)(262144)); this.label2.Name = "label2"; this.label2.Yalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("CMSC 124 B-3L GRP ABC"); this.label2.Wrap = true; this.label2.Justify = ((global::Gtk.Justification)(2)); this.label2.Ellipsize = ((global::Pango.EllipsizeMode)(1)); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w22.Position = 0; this.vbox4.Add(this.hbox2); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.vbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4])); w24.Position = 2; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 882; this.DefaultHeight = 597; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.openFile); this.button1.Clicked += new global::System.EventHandler(this.execute); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.CapturerBin global::Stetic.BinContainer.Attach(this); this.Name = "LongoMatch.Gui.CapturerBin"; // Container child LongoMatch.Gui.CapturerBin.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.capturerhbox = new global::Gtk.HBox(); this.capturerhbox.Name = "capturerhbox"; this.capturerhbox.Spacing = 6; this.vbox1.Add(this.capturerhbox); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.capturerhbox])); w1.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.logodrawingarea = new global::Gtk.DrawingArea(); this.logodrawingarea.Name = "logodrawingarea"; this.vbox1.Add(this.logodrawingarea); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.logodrawingarea])); w2.Position = 1; // 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.buttonsbox = new global::Gtk.HBox(); this.buttonsbox.Name = "buttonsbox"; this.buttonsbox.Spacing = 6; // Container child buttonsbox.Gtk.Box+BoxChild this.recbutton = new global::Gtk.Button(); this.recbutton.TooltipMarkup = "Start or continue capture"; this.recbutton.Name = "recbutton"; this.recbutton.UseUnderline = true; // Container child recbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w3 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w4 = new global::Gtk.HBox(); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-record", global::Gtk.IconSize.Dialog); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label(); w4.Add(w7); w3.Add(w4); this.recbutton.Add(w3); this.buttonsbox.Add(this.recbutton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.recbutton])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.pausebutton = new global::Gtk.Button(); this.pausebutton.TooltipMarkup = "Pause capture"; this.pausebutton.Name = "pausebutton"; this.pausebutton.UseUnderline = true; // Container child pausebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w12 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w13 = new global::Gtk.HBox(); w13.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-pause", global::Gtk.IconSize.Dialog); w13.Add(w14); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w16 = new global::Gtk.Label(); w13.Add(w16); w12.Add(w13); this.pausebutton.Add(w12); this.buttonsbox.Add(this.pausebutton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.pausebutton])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.stopbutton = new global::Gtk.Button(); this.stopbutton.TooltipMarkup = "Stop and close capture"; this.stopbutton.Name = "stopbutton"; this.stopbutton.UseUnderline = true; // Container child stopbutton.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-media-stop", global::Gtk.IconSize.Dialog); w22.Add(w23); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w25 = new global::Gtk.Label(); w22.Add(w25); w21.Add(w22); this.stopbutton.Add(w21); this.buttonsbox.Add(this.stopbutton); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.stopbutton])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.hbox2.Add(this.buttonsbox); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonsbox])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.timelabel = new global::Gtk.Label(); this.timelabel.Name = "timelabel"; this.timelabel.Xalign = 1F; this.timelabel.LabelProp = "Time: 0:00:00"; this.hbox2.Add(this.timelabel); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.timelabel])); w31.PackType = ((global::Gtk.PackType)(1)); w31.Position = 1; w31.Expand = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w32.Position = 2; w32.Expand = false; w32.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.pausebutton.Hide(); this.stopbutton.Hide(); this.Show(); this.logodrawingarea.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnLogodrawingareaExposeEvent); this.recbutton.Clicked += new global::System.EventHandler(this.OnRecbuttonClicked); this.pausebutton.Clicked += new global::System.EventHandler(this.OnPausebuttonClicked); this.stopbutton.Clicked += new global::System.EventHandler(this.OnStopbuttonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Ide.Gui.Dialogs.SelectFileFormatDialog this.Name = "MonoDevelop.Ide.Gui.Dialogs.SelectFileFormatDialog"; this.Title = global::MonoDevelop.Core.GettextCatalog.GetString("Select File Format"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Ide.Gui.Dialogs.SelectFileFormatDialog.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)(6)); // 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.image146 = new global::Gtk.Image(); this.image146.Name = "image146"; this.image146.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", global::Gtk.IconSize.Dialog); this.vbox3.Add(this.image146); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.image146])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0f; this.label1.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("<b>File Format Incompatibility Detected</b>"); this.label1.UseMarkup = true; this.vbox2.Add(this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.labelMessage = new global::Gtk.Label(); this.labelMessage.Name = "labelMessage"; this.labelMessage.Xalign = 0f; this.labelMessage.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("The current file format for project {0} is not compatible with some settings of the project."); this.vbox2.Add(this.labelMessage); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelMessage])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.labelWarnings = new global::Gtk.Label(); this.labelWarnings.WidthRequest = 525; this.labelWarnings.Name = "labelWarnings"; this.labelWarnings.Xalign = 0f; this.labelWarnings.Wrap = true; this.vbox2.Add(this.labelWarnings); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelWarnings])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0f; this.label6.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Please select a new file format for the solution:"); this.vbox2.Add(this.label6); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label6])); w7.Position = 3; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.alignment2 = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f); this.alignment2.Name = "alignment2"; this.alignment2.LeftPadding = ((uint)(18)); // Container child alignment2.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.alignment3 = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f); this.alignment3.Name = "alignment3"; this.alignment3.TopPadding = ((uint)(3)); this.alignment3.BottomPadding = ((uint)(3)); // Container child alignment3.Gtk.Container+ContainerChild this.labelCurrentFormat = new global::Gtk.Label(); this.labelCurrentFormat.Name = "labelCurrentFormat"; this.labelCurrentFormat.Xalign = 0f; this.labelCurrentFormat.LabelProp = "MonoDevelop"; this.alignment3.Add(this.labelCurrentFormat); this.table1.Add(this.alignment3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.alignment3])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboNewFormat = global::Gtk.ComboBox.NewText(); this.comboNewFormat.Name = "comboNewFormat"; this.table1.Add(this.comboNewFormat); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboNewFormat])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0f; this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Current Format:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0f; this.label4.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("New Format:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.alignment2.Add(this.table1); this.vbox2.Add(this.alignment2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.alignment2])); w14.Position = 4; w14.Expand = false; w14.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Internal child MonoDevelop.Ide.Gui.Dialogs.SelectFileFormatDialog.ActionArea global::Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.BorderWidth = ((uint)(5)); w17.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 w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonCancel])); w18.Expand = false; w18.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 w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonOk])); w19.Position = 1; w19.Expand = false; w19.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 638; this.DefaultHeight = 246; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Tools.DataBaseSettingsView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Tools.DataBaseSettingsView"; // Container child workwear.Views.Tools.DataBaseSettingsView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w6 = new global::Gtk.Viewport(); w6.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkCheckBalances = new global::Gamma.GtkWidgets.yCheckButton(); this.checkCheckBalances.CanFocus = true; this.checkCheckBalances.Name = "checkCheckBalances"; this.checkCheckBalances.Label = global::Mono.Unix.Catalog.GetString("Включено"); this.checkCheckBalances.DrawIndicator = true; this.checkCheckBalances.UseUnderline = true; this.table1.Add(this.checkCheckBalances); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.checkCheckBalances])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); 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.ComboExtendPeriod = new global::Gamma.Widgets.yEnumComboBox(); this.ComboExtendPeriod.Name = "ComboExtendPeriod"; this.ComboExtendPeriod.ShowSpecialStateAll = false; this.ComboExtendPeriod.ShowSpecialStateNot = false; this.ComboExtendPeriod.UseShortTitle = false; this.ComboExtendPeriod.DefaultFirst = false; this.table1.Add(this.ComboExtendPeriod); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.ComboExtendPeriod])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); 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.ComboShirtExpluatacion = new global::Gamma.Widgets.yEnumComboBox(); this.ComboShirtExpluatacion.Name = "ComboShirtExpluatacion"; this.ComboShirtExpluatacion.ShowSpecialStateAll = false; this.ComboShirtExpluatacion.ShowSpecialStateNot = false; this.ComboShirtExpluatacion.UseShortTitle = false; this.ComboShirtExpluatacion.DefaultFirst = false; this.table1.Add(this.ComboShirtExpluatacion); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.ComboShirtExpluatacion])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Авто списание с сотрудника:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); 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("Это значение будет применено только к новым выдачам. На старые выдачи это не повл" + "ияет. Для старых выдач автосписание можно отключить вручную для каждой позиции."); this.label2.Wrap = true; this.table1.Add(this.label2); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.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 w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckAutoWriteoff = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckAutoWriteoff.CanFocus = true; this.ycheckAutoWriteoff.Name = "ycheckAutoWriteoff"; this.ycheckAutoWriteoff.Label = global::Mono.Unix.Catalog.GetString("Включено"); this.ycheckAutoWriteoff.DrawIndicator = true; this.ycheckAutoWriteoff.UseUnderline = true; this.table1.Add(this.ycheckAutoWriteoff); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckAutoWriteoff])); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.spbutAheadOfShedule = new global::Gamma.GtkWidgets.ySpinButton(0D, 356D, 1D); this.spbutAheadOfShedule.CanFocus = true; this.spbutAheadOfShedule.Name = "spbutAheadOfShedule"; this.spbutAheadOfShedule.Adjustment.PageIncrement = 10D; this.spbutAheadOfShedule.ClimbRate = 1D; this.spbutAheadOfShedule.Numeric = true; this.spbutAheadOfShedule.ValueAsDecimal = 0m; this.spbutAheadOfShedule.ValueAsInt = 0; this.yhbox1.Add(this.spbutAheadOfShedule); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.spbutAheadOfShedule])); w14.Position = 0; // Container child yhbox1.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("дней"); this.yhbox1.Add(this.ylabel2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ylabel2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.yhbox1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.yhbox1])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Проверять остатки при расходе со склада:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.Xalign = 1F; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Переносить дату начала эксплуатации:"); this.table1.Add(this.ylabel3); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel3])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel4 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel4.Name = "ylabel4"; this.ylabel4.Xalign = 1F; this.ylabel4.LabelProp = global::Mono.Unix.Catalog.GetString("Увеличить период эксплуатации пропорционально кол-ву:"); this.table1.Add(this.ylabel4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel4])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); w6.Add(this.table1); this.GtkScrolledWindow.Add(w6); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w22.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.DocumentDialogs.TransferOperationDocumentItemView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.DocumentDialogs.TransferOperationDocumentItemView"; // Container child Vodovoz.Dialogs.DocumentDialogs.TransferOperationDocumentItemView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.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.vbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label1])); 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.treeItemsList = new global::Gamma.GtkWidgets.yTreeView(); this.treeItemsList.CanFocus = true; this.treeItemsList.Name = "treeItemsList"; this.GtkScrolledWindow.Add(this.treeItemsList); 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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonAdd = new global::Gtk.Button(); this.buttonAdd.Sensitive = false; this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w4; this.hbox1.Add(this.buttonAdd); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAdd])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button(); this.buttonDelete.Sensitive = false; this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w6; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonAdd.Clicked += new global::System.EventHandler(this.OnButtonAddClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Company.EmployeeChilds.EmployeeListedItemsView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Company.EmployeeChilds.EmployeeListedItemsView"; // Container child workwear.Views.Company.EmployeeChilds.EmployeeListedItemsView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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.treeviewListedItems = new global::QSOrmProject.RepresentationTreeView(); this.treeviewListedItems.CanFocus = true; this.treeviewListedItems.Name = "treeviewListedItems"; this.GtkScrolledWindow.Add(this.treeviewListedItems); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w2.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.buttonGiveWear = new global::Gtk.Button(); this.buttonGiveWear.Sensitive = false; this.buttonGiveWear.CanFocus = true; this.buttonGiveWear.Name = "buttonGiveWear"; this.buttonGiveWear.UseUnderline = true; this.buttonGiveWear.Label = global::Mono.Unix.Catalog.GetString("Выдача сотруднику"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonGiveWear.Image = w3; this.hbox9.Add(this.buttonGiveWear); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonGiveWear])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonReturnWear = new global::Gtk.Button(); this.buttonReturnWear.Sensitive = false; this.buttonReturnWear.CanFocus = true; this.buttonReturnWear.Name = "buttonReturnWear"; this.buttonReturnWear.UseUnderline = true; this.buttonReturnWear.Label = global::Mono.Unix.Catalog.GetString("Возврат на склад"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-redo", global::Gtk.IconSize.Menu); this.buttonReturnWear.Image = w5; this.hbox9.Add(this.buttonReturnWear); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonReturnWear])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonWriteOffWear = new global::Gtk.Button(); this.buttonWriteOffWear.Sensitive = false; this.buttonWriteOffWear.CanFocus = true; this.buttonWriteOffWear.Name = "buttonWriteOffWear"; this.buttonWriteOffWear.UseUnderline = true; this.buttonWriteOffWear.Label = global::Mono.Unix.Catalog.GetString("Списание"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonWriteOffWear.Image = w7; this.hbox9.Add(this.buttonWriteOffWear); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonWriteOffWear])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.vbox1.Add(this.hbox9); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox9])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonGiveWear.Clicked += new global::System.EventHandler(this.OnButtonGiveWearClicked); this.buttonReturnWear.Clicked += new global::System.EventHandler(this.OnButtonReturnWearClicked); this.buttonWriteOffWear.Clicked += new global::System.EventHandler(this.OnButtonWriteOffWearClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.AspNet.Deployment.WebDeployLaunchDialog this.Name = "MonoDevelop.AspNet.Deployment.WebDeployLaunchDialog"; this.Title = global::MonoDevelop.Core.GettextCatalog.GetString("Deploy to Web"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(9)); // Internal child MonoDevelop.AspNet.Deployment.WebDeployLaunchDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.titleLabel = new global::Gtk.Label(); this.titleLabel.Name = "titleLabel"; this.titleLabel.Xalign = 0F; this.titleLabel.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("<big><b>Deploying Web Project...</b></big>"); this.titleLabel.UseMarkup = true; w1.Add(this.titleLabel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.titleLabel])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Targets to which the project should be deployed:"); w1.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.label1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(4)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.scrolledwindow4 = new global::Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.targetView = new global::Gtk.TreeView(); this.targetView.CanFocus = true; this.targetView.Name = "targetView"; this.scrolledwindow4.Add(this.targetView); w1.Add(this.scrolledwindow4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.scrolledwindow4])); w5.Position = 2; // Internal child MonoDevelop.AspNet.Deployment.WebDeployLaunchDialog.ActionArea global::Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "dialog1_ActionArea"; w6.Spacing = 6; w6.BorderWidth = ((uint)(5)); w6.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button6 = new global::Gtk.Button(); this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; // Container child button6.Gtk.Container+ContainerChild global::Gtk.Alignment w7 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w8 = new global::Gtk.HBox(); w8.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); w8.Add(w9); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w11 = new global::Gtk.Label(); w11.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("_Edit targets"); w11.UseUnderline = true; w8.Add(w11); w7.Add(w8); this.button6.Add(w7); this.AddActionWidget(this.button6, -11); global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.button6])); w15.Expand = false; w15.Fill = false; // 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 w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonCancel])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonDeploy = new global::Gtk.Button(); this.buttonDeploy.CanDefault = true; this.buttonDeploy.CanFocus = true; this.buttonDeploy.Name = "buttonDeploy"; this.buttonDeploy.UseUnderline = true; // Container child buttonDeploy.Gtk.Container+ContainerChild global::Gtk.Alignment w17 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w18 = new global::Gtk.HBox(); w18.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w19 = new global::Gtk.Image(); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu); w18.Add(w19); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w21 = new global::Gtk.Label(); w21.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("_Deploy"); w21.UseUnderline = true; w18.Add(w21); w17.Add(w18); this.buttonDeploy.Add(w17); this.AddActionWidget(this.buttonDeploy, -5); global::Gtk.ButtonBox.ButtonBoxChild w25 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonDeploy])); w25.Position = 2; w25.Expand = false; w25.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 511; this.DefaultHeight = 353; this.Hide(); this.button6.Clicked += new global::System.EventHandler(this.editTargetsClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Regulations.ProtectionToolsView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Regulations.ProtectionToolsView"; // Container child workwear.Views.Regulations.ProtectionToolsView.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.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(9)); // Container child table1.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.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextComment); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label = new global::Gtk.Label(); this.label.Name = "label"; this.label.Xalign = 1F; this.label.LabelProp = global::Mono.Unix.Catalog.GetString("Код:"); this.table1.Add(this.label); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Оценочная стоимость:"); this.label10.UseMarkup = true; this.table1.Add(this.label10); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label10])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование<span foreground=\"red\">*</span>:"); this.label2.UseMarkup = true; this.table1.Add(this.label2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.Yalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.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("Тип номенклатуры<span foreground=\"red\">*</span>:"); this.label9.UseMarkup = true; this.table1.Add(this.label9); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryItemsType = new global::QS.Views.Control.EntityEntry(); this.yentryItemsType.Events = ((global::Gdk.EventMask)(256)); this.yentryItemsType.Name = "yentryItemsType"; this.table1.Add(this.yentryItemsType); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryItemsType])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 240; this.yentryName.InvisibleChar = '●'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel(); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table1.Add(this.ylabelId); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelId])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinAssessedCost = new global::Gamma.GtkWidgets.ySpinButton(0D, 99999999D, 10D); this.yspinAssessedCost.CanFocus = true; this.yspinAssessedCost.Name = "yspinAssessedCost"; this.yspinAssessedCost.Adjustment.PageIncrement = 100D; this.yspinAssessedCost.ClimbRate = 1D; this.yspinAssessedCost.Digits = ((uint)(2)); this.yspinAssessedCost.Numeric = true; this.yspinAssessedCost.ValueAsDecimal = 0m; this.yspinAssessedCost.ValueAsInt = 0; this.table1.Add(this.yspinAssessedCost); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinAssessedCost])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox5.Add(this.table1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.table1])); w17.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.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.ytreeNormAnalog = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeNormAnalog.CanFocus = true; this.ytreeNormAnalog.Name = "ytreeNormAnalog"; this.GtkScrolledWindow1.Add(this.ytreeNormAnalog); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w19.Position = 0; // 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.buttonAddNormAnalog = new global::Gtk.Button(); this.buttonAddNormAnalog.CanFocus = true; this.buttonAddNormAnalog.Name = "buttonAddNormAnalog"; this.buttonAddNormAnalog.UseUnderline = true; this.buttonAddNormAnalog.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddNormAnalog.Image = w20; this.hbox6.Add(this.buttonAddNormAnalog); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddNormAnalog])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveNormAnalog = new global::Gtk.Button(); this.buttonRemoveNormAnalog.Sensitive = false; this.buttonRemoveNormAnalog.CanFocus = true; this.buttonRemoveNormAnalog.Name = "buttonRemoveNormAnalog"; this.buttonRemoveNormAnalog.UseUnderline = true; this.buttonRemoveNormAnalog.Label = global::Mono.Unix.Catalog.GetString("Убрать"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveNormAnalog.Image = w22; this.hbox6.Add(this.buttonRemoveNormAnalog); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveNormAnalog])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.vbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox6])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.hbox5.Add(this.vbox1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox1])); w25.Position = 1; this.dialog1_VBox.Add(this.hbox5); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox5])); w26.Position = 1; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonAddNomenclature = new global::Gtk.Button(); this.buttonAddNomenclature.CanFocus = true; this.buttonAddNomenclature.Name = "buttonAddNomenclature"; this.buttonAddNomenclature.UseUnderline = true; this.buttonAddNomenclature.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddNomenclature.Image = w27; this.hbox7.Add(this.buttonAddNomenclature); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonAddNomenclature])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRemoveNomeclature = new global::Gtk.Button(); this.buttonRemoveNomeclature.Sensitive = false; this.buttonRemoveNomeclature.CanFocus = true; this.buttonRemoveNomeclature.Name = "buttonRemoveNomeclature"; this.buttonRemoveNomeclature.UseUnderline = true; this.buttonRemoveNomeclature.Label = global::Mono.Unix.Catalog.GetString("Убрать"); global::Gtk.Image w29 = new global::Gtk.Image(); w29.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveNomeclature.Image = w29; this.hbox7.Add(this.buttonRemoveNomeclature); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonRemoveNomeclature])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonCreateNomenclature = new global::Gamma.GtkWidgets.yButton(); this.buttonCreateNomenclature.TooltipMarkup = "Создать складскую номенклатуру с тем же названием."; this.buttonCreateNomenclature.CanFocus = true; this.buttonCreateNomenclature.Name = "buttonCreateNomenclature"; this.buttonCreateNomenclature.UseUnderline = true; this.buttonCreateNomenclature.Label = global::Mono.Unix.Catalog.GetString("Создать идентичную номенклатуру"); this.hbox7.Add(this.buttonCreateNomenclature); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonCreateNomenclature])); w31.PackType = ((global::Gtk.PackType)(1)); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.dialog1_VBox.Add(this.hbox7); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox7])); w32.PackType = ((global::Gtk.PackType)(1)); w32.Position = 2; w32.Expand = false; w32.Fill = false; // 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.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytreeItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeItems.CanFocus = true; this.ytreeItems.Name = "ytreeItems"; this.GtkScrolledWindow2.Add(this.ytreeItems); this.hbox2.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.GtkScrolledWindow2])); w34.Position = 0; this.dialog1_VBox.Add(this.hbox2); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox2])); w35.PackType = ((global::Gtk.PackType)(1)); w35.Position = 3; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Номенклатура</b>"); this.label5.UseMarkup = true; this.dialog1_VBox.Add(this.label5); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.label5])); w36.PackType = ((global::Gtk.PackType)(1)); w36.Position = 4; w36.Expand = false; w36.Fill = false; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonAddNormAnalog.Clicked += new global::System.EventHandler(this.OnButtonAddNormAnalogClicked); this.buttonRemoveNormAnalog.Clicked += new global::System.EventHandler(this.OnButtonRemoveNormAnalogClicked); this.buttonAddNomenclature.Clicked += new global::System.EventHandler(this.OnButtonAddNomenclatureClicked); this.buttonRemoveNomeclature.Clicked += new global::System.EventHandler(this.OnButtonRemoveNomeclatureClicked); this.buttonCreateNomenclature.Clicked += new global::System.EventHandler(this.OnButtonCreateNomenclatureClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.GarminUSBWidget global::Stetic.BinContainer.Attach(this); this.Name = "ocmgtk.GarminUSBWidget"; // Container child ocmgtk.GarminUSBWidget.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.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.descMode = global::Gtk.ComboBox.NewText(); this.descMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Name")); this.descMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code/Size/Hint")); this.descMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code/Size/Type")); this.descMode.Name = "descMode"; this.descMode.Active = 0; this.table1.Add(this.descMode); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.descMode])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); 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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Waypoint Name Format:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Waypoint Description Format:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.limitCheck = new global::Gtk.CheckButton(); this.limitCheck.CanFocus = true; this.limitCheck.Name = "limitCheck"; this.limitCheck.Label = global::Mono.Unix.Catalog.GetString("Limit Number of Geocaches"); this.limitCheck.Active = true; this.limitCheck.DrawIndicator = true; this.limitCheck.UseUnderline = true; this.table1.Add(this.limitCheck); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.limitCheck])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.limitEntry = new global::Gtk.Entry(); this.limitEntry.CanFocus = true; this.limitEntry.Name = "limitEntry"; this.limitEntry.Text = "500"; this.limitEntry.IsEditable = true; this.limitEntry.InvisibleChar = '•'; this.table1.Add(this.limitEntry); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.limitEntry])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.nameMode = global::Gtk.ComboBox.NewText(); this.nameMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code")); this.nameMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Name")); this.nameMode.Name = "nameMode"; this.nameMode.Active = 0; this.table1.Add(this.nameMode); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.nameMode])); 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)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.image2 = new global::Gtk.Image(); this.image2.Name = "image2"; this.image2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.hbox2.Add(this.image2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.image2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hotPlugButton = new global::Gtk.Button(); this.hotPlugButton.CanFocus = true; this.hotPlugButton.Name = "hotPlugButton"; this.hotPlugButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child hotPlugButton.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Important:</b> You may need to configure non-root access to\nUSB to allow OCM to write to your Garmin Device. See:\n<span fgcolor=\"blue\">http://www.gpsbabel.org/os/Linux_Hotplug.html</span>"); this.label4.UseMarkup = true; this.hotPlugButton.Add(this.label4); this.hbox2.Add(this.hotPlugButton); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hotPlugButton])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.limitCheck.Toggled += new global::System.EventHandler(this.OnLimitToggle); this.hotPlugButton.Clicked += new global::System.EventHandler(this.OnHotplugClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Debugger.ExceptionsDialog this.Name = "MonoDevelop.Debugger.ExceptionsDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Exceptions"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(3)); // Internal child MonoDevelop.Debugger.ExceptionsDialog.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)(9)); // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.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("Exceptions:"); this.vbox4.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.image15 = new global::Gtk.Image(); this.image15.Name = "image15"; this.image15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu); this.hbox2.Add(this.image15); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.image15])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryFilter = new global::Gtk.Entry(); this.entryFilter.CanFocus = true; this.entryFilter.Name = "entryFilter"; this.entryFilter.IsEditable = true; this.entryFilter.InvisibleChar = '●'; this.hbox2.Add(this.entryFilter); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entryFilter])); w4.Position = 1; this.vbox4.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeExceptions = new global::Gtk.TreeView(); this.treeExceptions.CanFocus = true; this.treeExceptions.Name = "treeExceptions"; this.treeExceptions.HeadersVisible = false; this.GtkScrolledWindow.Add(this.treeExceptions); this.vbox4.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow])); w7.Position = 2; this.hbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); w8.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 12; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.vbox3.Add(this.label1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w9.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.buttonAdd = new global::Gtk.Button(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; // Container child buttonAdd.Gtk.Container+ContainerChild global::Gtk.Alignment w10 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w11 = new global::Gtk.HBox(); w11.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu); w11.Add(w12); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w14 = new global::Gtk.Label(); w11.Add(w14); w10.Add(w11); this.buttonAdd.Add(w10); this.vbox3.Add(this.buttonAdd); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonAdd])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.buttonRemove = new global::Gtk.Button(); this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseUnderline = true; // Container child buttonRemove.Gtk.Container+ContainerChild global::Gtk.Alignment w19 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w20 = new global::Gtk.HBox(); w20.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w21 = new global::Gtk.Image(); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu); w20.Add(w21); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w23 = new global::Gtk.Label(); w20.Add(w23); w19.Add(w20); this.buttonRemove.Add(w19); this.vbox3.Add(this.buttonRemove); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonRemove])); w27.Position = 2; w27.Expand = false; w27.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.vbox3.Add(this.label4); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label4])); w28.Position = 3; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Stop in exceptions:"); this.vbox5.Add(this.label3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label3])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox5.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.treeSelected = new global::Gtk.TreeView(); this.treeSelected.CanFocus = true; this.treeSelected.Name = "treeSelected"; this.treeSelected.HeadersVisible = false; this.GtkScrolledWindow1.Add(this.treeSelected); this.vbox5.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1])); w32.Position = 1; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5])); w33.Position = 2; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w34.Position = 0; // Internal child MonoDevelop.Debugger.ExceptionsDialog.ActionArea global::Gtk.HButtonBox w35 = this.ActionArea; w35.Name = "dialog1_ActionArea"; w35.Spacing = 6; w35.BorderWidth = ((uint)(5)); w35.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 w36 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w35 [this.buttonCancel])); w36.Expand = false; w36.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 w37 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w35 [this.buttonOk])); w37.Position = 1; w37.Expand = false; w37.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 910; this.DefaultHeight = 451; this.Hide(); this.entryFilter.Changed += new global::System.EventHandler(this.OnEntryFilterChanged); this.entryFilter.Activated += new global::System.EventHandler(this.OnEntryFilterActivated); this.treeExceptions.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnTreeExceptionsKeyPressEvent); this.treeExceptions.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnTreeExceptionsButtonPressEvent); this.buttonAdd.Clicked += new global::System.EventHandler(this.OnButtonAddClicked); this.buttonRemove.Clicked += new global::System.EventHandler(this.OnButtonRemoveClicked); this.treeSelected.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnTreeSelectedKeyPressEvent); this.treeSelected.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnTreeSelectedButtonPressEvent); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Statements.IssuanceSheetView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Statements.IssuanceSheetView"; // Container child workwear.Views.Statements.IssuanceSheetView.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.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator2])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.enumPrint = new global::QSOrmProject.EnumMenuButton(); this.enumPrint.CanFocus = true; this.enumPrint.Name = "enumPrint"; this.enumPrint.UseUnderline = true; this.enumPrint.UseMarkup = false; this.enumPrint.LabelXAlign = 0F; this.enumPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.enumPrint.Image = w6; this.hbox4.Add(this.enumPrint); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.enumPrint])); w7.Position = 3; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild 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.dateOfPreparation = new global::Gamma.Widgets.yDatePicker(); this.dateOfPreparation.Events = ((global::Gdk.EventMask)(256)); this.dateOfPreparation.Name = "dateOfPreparation"; this.dateOfPreparation.WithTime = false; this.dateOfPreparation.Date = new global::System.DateTime(0); this.dateOfPreparation.IsEditable = true; this.dateOfPreparation.AutoSeparation = true; this.table1.Add(this.dateOfPreparation); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.dateOfPreparation])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityentryHeadOfDivisionPerson = new global::QS.Views.Control.EntityEntry(); this.entityentryHeadOfDivisionPerson.Events = ((global::Gdk.EventMask)(256)); this.entityentryHeadOfDivisionPerson.Name = "entityentryHeadOfDivisionPerson"; this.table1.Add(this.entityentryHeadOfDivisionPerson); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryHeadOfDivisionPerson])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityentryOrganization = new global::QS.Views.Control.EntityEntry(); this.entityentryOrganization.Events = ((global::Gdk.EventMask)(256)); this.entityentryOrganization.Name = "entityentryOrganization"; this.table1.Add(this.entityentryOrganization); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryOrganization])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityentryResponsiblePerson = new global::QS.Views.Control.EntityEntry(); this.entityentryResponsiblePerson.Events = ((global::Gdk.EventMask)(256)); this.entityentryResponsiblePerson.Name = "entityentryResponsiblePerson"; this.table1.Add(this.entityentryResponsiblePerson); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryResponsiblePerson])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityentrySubdivision = new global::QS.Views.Control.EntityEntry(); this.entityentrySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entityentrySubdivision.Name = "entityentrySubdivision"; this.table1.Add(this.entityentrySubdivision); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentrySubdivision])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Материально ответственное лицо:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.table1.Add(this.ylabel2); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.Xalign = 1F; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.ylabel3); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel3])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Спецодежда:</b>"); this.label4.UseMarkup = true; this.hbox7.Add(this.label4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label4])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.hboxExpense = new global::Gtk.HBox(); this.hboxExpense.Name = "hboxExpense"; this.hboxExpense.Spacing = 6; // Container child hboxExpense.Gtk.Box+BoxChild this.labelExpense = new global::Gtk.Label(); this.labelExpense.Name = "labelExpense"; this.labelExpense.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.hboxExpense.Add(this.labelExpense); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hboxExpense[this.labelExpense])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hboxExpense.Gtk.Box+BoxChild this.buttonExpenseOpen = new global::Gtk.Button(); this.buttonExpenseOpen.CanFocus = true; this.buttonExpenseOpen.Name = "buttonExpenseOpen"; this.buttonExpenseOpen.UseUnderline = true; this.buttonExpenseOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть выдачу"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonExpenseOpen.Image = w22; this.hboxExpense.Add(this.buttonExpenseOpen); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hboxExpense[this.buttonExpenseOpen])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.hbox7.Add(this.hboxExpense); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.hboxExpense])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonCloseFillBy = new global::Gamma.GtkWidgets.yButton(); this.buttonCloseFillBy.CanFocus = true; this.buttonCloseFillBy.Name = "buttonCloseFillBy"; this.buttonCloseFillBy.UseStock = true; this.buttonCloseFillBy.UseUnderline = true; this.buttonCloseFillBy.Label = "gtk-close"; this.hbox7.Add(this.buttonCloseFillBy); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonCloseFillBy])); w25.PackType = ((global::Gtk.PackType)(1)); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonFillBy = new global::Gtk.Button(); this.buttonFillBy.CanFocus = true; this.buttonFillBy.Name = "buttonFillBy"; this.buttonFillBy.UseUnderline = true; this.buttonFillBy.Label = global::Mono.Unix.Catalog.GetString("Заполнить..."); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-down", global::Gtk.IconSize.Menu); this.buttonFillBy.Image = w26; this.hbox7.Add(this.buttonFillBy); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonFillBy])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 3; w27.Expand = false; w27.Fill = false; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7])); w28.Position = 2; w28.Expand = false; w28.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hboxTable = new global::Gtk.HBox(); this.hboxTable.Name = "hboxTable"; this.hboxTable.Spacing = 6; // Container child hboxTable.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.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow.Add(this.ytreeviewItems); this.hboxTable.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hboxTable[this.GtkScrolledWindow])); w30.Position = 0; this.vbox2.Add(this.hboxTable); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxTable])); w31.Position = 3; // Container child vbox2.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonAdd = new global::Gamma.GtkWidgets.yButton(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w32 = new global::Gtk.Image(); w32.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w32; this.hbox8.Add(this.buttonAdd); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonAdd])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonDel = new global::Gtk.Button(); this.buttonDel.Sensitive = false; this.buttonDel.CanFocus = true; this.buttonDel.Name = "buttonDel"; this.buttonDel.UseUnderline = true; this.buttonDel.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w34 = new global::Gtk.Image(); w34.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDel.Image = w34; this.hbox8.Add(this.buttonDel); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonDel])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox8.Add(this.vseparator1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.vseparator1])); w36.Position = 2; w36.Expand = false; w36.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonSetEmployee = new global::Gtk.Button(); this.buttonSetEmployee.CanFocus = true; this.buttonSetEmployee.Name = "buttonSetEmployee"; this.buttonSetEmployee.UseUnderline = true; this.buttonSetEmployee.Label = global::Mono.Unix.Catalog.GetString("Изменить сотрудника"); this.hbox8.Add(this.buttonSetEmployee); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonSetEmployee])); w37.Position = 3; w37.Expand = false; w37.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.labelFooter = new global::Gamma.GtkWidgets.yLabel(); this.labelFooter.Name = "labelFooter"; this.labelFooter.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.labelFooter.UseMarkup = true; this.hbox8.Add(this.labelFooter); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.labelFooter])); w38.PackType = ((global::Gtk.PackType)(1)); w38.Position = 4; w38.Expand = false; w38.Fill = false; this.vbox2.Add(this.hbox8); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox8])); w39.Position = 4; w39.Expand = false; w39.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumPrint.EnumItemClicked += new global::System.EventHandler <QSOrmProject.EnumItemClickedEventArgs>(this.OnEnumPrintEnumItemClicked); this.buttonExpenseOpen.Clicked += new global::System.EventHandler(this.OnButtonExpenseOpenClicked); this.buttonFillBy.Clicked += new global::System.EventHandler(this.OnButtonFillByExpenseClicked); this.buttonCloseFillBy.Clicked += new global::System.EventHandler(this.OnButtonCloseFillByClicked); this.ytreeviewItems.RowActivated += new global::Gtk.RowActivatedHandler(this.OnYtreeviewItemsRowActivated); this.buttonAdd.Clicked += new global::System.EventHandler(this.OnButtonAddClicked); this.buttonDel.Clicked += new global::System.EventHandler(this.OnButtonDelClicked); this.buttonSetEmployee.Clicked += new global::System.EventHandler(this.OnButtonSetEmployeeClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Rent.PaidRentPackageView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Rent.PaidRentPackageView"; // Container child Vodovoz.Views.Rent.PaidRentPackageView.Gtk.Container+ContainerChild this.vboxMain = new global::Gtk.VBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.hboxButtons = new global::Gtk.HBox(); this.hboxButtons.Name = "hboxButtons"; this.hboxButtons.Spacing = 6; // Container child hboxButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxMain.Add(this.hboxButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.datatable = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.datatable.Name = "datatable"; this.datatable.RowSpacing = ((uint)(6)); this.datatable.ColumnSpacing = ((uint)(6)); this.datatable.BorderWidth = ((uint)(6)); // Container child datatable.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.datatable.Add(this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable[this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.spinPriceDaily = new global::Gamma.GtkWidgets.ySpinButton(0D, 9000000D, 1D); this.spinPriceDaily.CanFocus = true; this.spinPriceDaily.Name = "spinPriceDaily"; this.spinPriceDaily.Adjustment.PageIncrement = 10D; this.spinPriceDaily.ClimbRate = 1D; this.spinPriceDaily.Digits = ((uint)(2)); this.spinPriceDaily.Numeric = true; this.spinPriceDaily.ValueAsDecimal = 0m; this.spinPriceDaily.ValueAsInt = 0; this.hbox6.Add(this.spinPriceDaily); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spinPriceDaily])); w7.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable.Add(this.hbox6); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable[this.hbox6])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.spinPriceMonthly = new global::Gamma.GtkWidgets.ySpinButton(0D, 9000000D, 1D); this.spinPriceMonthly.CanFocus = true; this.spinPriceMonthly.Name = "spinPriceMonthly"; this.spinPriceMonthly.Adjustment.PageIncrement = 10D; this.spinPriceMonthly.ClimbRate = 1D; this.spinPriceMonthly.Digits = ((uint)(2)); this.spinPriceMonthly.Numeric = true; this.spinPriceMonthly.ValueAsDecimal = 0m; this.spinPriceMonthly.ValueAsInt = 0; this.hbox7.Add(this.spinPriceMonthly); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.spinPriceMonthly])); w10.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox7.Add(this.currencylabel2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.currencylabel2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.datatable.Add(this.hbox7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable[this.hbox7])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.spinDeposit = new global::Gamma.GtkWidgets.ySpinButton(0D, 99999D, 1D); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10D; this.spinDeposit.ClimbRate = 1D; this.spinDeposit.Digits = ((uint)(2)); this.spinDeposit.Numeric = true; this.spinDeposit.ValueAsDecimal = 0m; this.spinDeposit.ValueAsInt = 0; this.hbox8.Add(this.spinDeposit); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.spinDeposit])); w13.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.currencylabel3 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel3.Name = "currencylabel3"; this.currencylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox8.Add(this.currencylabel3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.currencylabel3])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.datatable.Add(this.hbox8); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable[this.hbox8])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.referenceDepositService = new global::Gamma.Widgets.yEntryReference(); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.datatable.Add(this.referenceDepositService); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable[this.referenceDepositService])); w16.TopAttach = ((uint)(7)); w16.BottomAttach = ((uint)(8)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.referenceEquipmentType = new global::Gamma.Widgets.yEntryReference(); this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentType.Name = "referenceEquipmentType"; this.datatable.Add(this.referenceEquipmentType); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable[this.referenceEquipmentType])); 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 datatable.Gtk.Table+TableChild this.referenceRentServiceDaily = new global::Gamma.Widgets.yEntryReference(); this.referenceRentServiceDaily.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceDaily.Name = "referenceRentServiceDaily"; this.datatable.Add(this.referenceRentServiceDaily); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable[this.referenceRentServiceDaily])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.referenceRentServiceMonthly = new global::Gamma.Widgets.yEntryReference(); this.referenceRentServiceMonthly.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceMonthly.Name = "referenceRentServiceMonthly"; this.datatable.Add(this.referenceRentServiceMonthly); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable[this.referenceRentServiceMonthly])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.ylblDailyPrice = new global::Gamma.GtkWidgets.yLabel(); this.ylblDailyPrice.Name = "ylblDailyPrice"; this.ylblDailyPrice.Xalign = 1F; this.ylblDailyPrice.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость (сутки):"); this.datatable.Add(this.ylblDailyPrice); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable[this.ylblDailyPrice])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.ylblDailyRentService = new global::Gamma.GtkWidgets.yLabel(); this.ylblDailyRentService.Name = "ylblDailyRentService"; this.ylblDailyRentService.Xalign = 1F; this.ylblDailyRentService.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга посуточной \nаренды:"); this.ylblDailyRentService.Justify = ((global::Gtk.Justification)(1)); this.datatable.Add(this.ylblDailyRentService); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable[this.ylblDailyRentService])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.ylblDepositService = new global::Gamma.GtkWidgets.yLabel(); this.ylblDepositService.Name = "ylblDepositService"; this.ylblDepositService.Xalign = 1F; this.ylblDepositService.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга залога:"); this.datatable.Add(this.ylblDepositService); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable[this.ylblDepositService])); w22.TopAttach = ((uint)(7)); w22.BottomAttach = ((uint)(8)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.ylblDepositSum = new global::Gamma.GtkWidgets.yLabel(); this.ylblDepositSum.Name = "ylblDepositSum"; this.ylblDepositSum.Xalign = 1F; this.ylblDepositSum.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма залога:"); this.datatable.Add(this.ylblDepositSum); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable[this.ylblDepositSum])); w23.TopAttach = ((uint)(6)); w23.BottomAttach = ((uint)(7)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.ylblEquipmentType = new global::Gamma.GtkWidgets.yLabel(); this.ylblEquipmentType.Name = "ylblEquipmentType"; this.ylblEquipmentType.Xalign = 1F; this.ylblEquipmentType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип оборудования:"); this.datatable.Add(this.ylblEquipmentType); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable[this.ylblEquipmentType])); w24.TopAttach = ((uint)(5)); w24.BottomAttach = ((uint)(6)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.ylblMonthlyPrice = new global::Gamma.GtkWidgets.yLabel(); this.ylblMonthlyPrice.Name = "ylblMonthlyPrice"; this.ylblMonthlyPrice.Xalign = 1F; this.ylblMonthlyPrice.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость (месяц):"); this.datatable.Add(this.ylblMonthlyPrice); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable[this.ylblMonthlyPrice])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.ylblMonthlyRentService = new global::Gamma.GtkWidgets.yLabel(); this.ylblMonthlyRentService.Name = "ylblMonthlyRentService"; this.ylblMonthlyRentService.Xalign = 1F; this.ylblMonthlyRentService.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга долгосрочной\nаренды:"); this.ylblMonthlyRentService.Justify = ((global::Gtk.Justification)(1)); this.datatable.Add(this.ylblMonthlyRentService); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable[this.ylblMonthlyRentService])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable.Gtk.Table+TableChild this.ylblName = new global::Gamma.GtkWidgets.yLabel(); this.ylblName.Name = "ylblName"; this.ylblName.Xalign = 1F; this.ylblName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.datatable.Add(this.ylblName); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable[this.ylblName])); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxMain.Add(this.datatable); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.datatable])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add(this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget llum.DeleteGroupsWidget global::Stetic.BinContainer.Attach(this); this.Name = "llum.DeleteGroupsWidget"; // Container child llum.DeleteGroupsWidget.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.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.image52 = new global::Gtk.Image(); this.image52.Name = "image52"; this.image52.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "dialog-cancel", global::Gtk.IconSize.Dialog); this.hbox4.Add(this.image52); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.image52])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Delete Groups"); this.hbox4.Add(this.label4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label4])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox5.Add(this.hbox4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("The follwing users are going to be deleted:"); this.vbox5.Add(this.label5); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label5])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox5.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.groupListTreeview = new global::Gtk.TreeView(); this.groupListTreeview.Name = "groupListTreeview"; this.GtkScrolledWindow.Add(this.groupListTreeview); this.vbox5.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow])); w6.Position = 2; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.deleteUsersCheckbutton = new global::Gtk.CheckButton(); this.deleteUsersCheckbutton.CanFocus = true; this.deleteUsersCheckbutton.Name = "deleteUsersCheckbutton"; this.deleteUsersCheckbutton.Label = global::Mono.Unix.Catalog.GetString("Delete users belonging to those groups"); this.deleteUsersCheckbutton.DrawIndicator = true; this.deleteUsersCheckbutton.UseUnderline = true; this.hbox1.Add(this.deleteUsersCheckbutton); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.deleteUsersCheckbutton])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.delete_checkbutton = new global::Gtk.CheckButton(); this.delete_checkbutton.Sensitive = false; this.delete_checkbutton.CanFocus = true; this.delete_checkbutton.Name = "delete_checkbutton"; this.delete_checkbutton.Label = global::Mono.Unix.Catalog.GetString("Delete /net user data as well"); this.delete_checkbutton.Active = true; this.delete_checkbutton.DrawIndicator = true; this.delete_checkbutton.UseUnderline = true; this.hbox1.Add(this.delete_checkbutton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.delete_checkbutton])); w8.Position = 1; this.vbox5.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox1])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child vbox5.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.userListTreeview = new global::Gtk.TreeView(); this.userListTreeview.Sensitive = false; this.userListTreeview.CanFocus = true; this.userListTreeview.Name = "userListTreeview"; this.GtkScrolledWindow1.Add(this.userListTreeview); this.vbox5.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1])); w11.Position = 4; // Container child vbox5.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.acceptButton = new global::Gtk.Button(); this.acceptButton.CanFocus = true; this.acceptButton.Name = "acceptButton"; this.acceptButton.UseStock = true; this.acceptButton.UseUnderline = true; this.acceptButton.Label = "gtk-apply"; this.hbox5.Add(this.acceptButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.acceptButton])); w12.Position = 0; w12.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.cancelButton = new global::Gtk.Button(); this.cancelButton.CanFocus = true; this.cancelButton.Name = "cancelButton"; this.cancelButton.UseStock = true; this.cancelButton.UseUnderline = true; this.cancelButton.Label = "gtk-cancel"; this.hbox5.Add(this.cancelButton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.cancelButton])); w13.Position = 1; w13.Fill = false; this.vbox5.Add(this.hbox5); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox5])); w14.Position = 5; w14.Expand = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild global::Gtk.Viewport w15 = new global::Gtk.Viewport(); w15.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.msgLabel = new global::Gtk.Label(); this.msgLabel.Name = "msgLabel"; w15.Add(this.msgLabel); this.GtkScrolledWindow2.Add(w15); this.vbox5.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow2])); w18.Position = 6; this.GtkAlignment.Add(this.vbox5); this.frame1.Add(this.GtkAlignment); this.Add(this.frame1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.deleteUsersCheckbutton.Toggled += new global::System.EventHandler(this.OnDeleteUsersCheckbuttonToggled); this.acceptButton.Clicked += new global::System.EventHandler(this.OnAcceptButtonClicked); this.cancelButton.Clicked += new global::System.EventHandler(this.OnCancelButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.ExportPOIDialog this.WidthRequest = 600; this.Name = "ocmgtk.ExportPOIDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Export Garmin POI"); 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.ExportPOIDialog.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; // 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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("File:"); 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.fileEntry = new global::Gtk.Entry(); this.fileEntry.CanFocus = true; this.fileEntry.Name = "fileEntry"; this.fileEntry.IsEditable = true; this.fileEntry.InvisibleChar = '●'; this.hbox1.Add(this.fileEntry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fileEntry])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.fileButton = new global::Gtk.Button(); this.fileButton.CanFocus = true; this.fileButton.Name = "fileButton"; // Container child fileButton.Gtk.Container+ContainerChild this.image3 = new global::Gtk.Image(); this.image3.Name = "image3"; this.image3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); this.fileButton.Add(this.image3); this.hbox1.Add(this.fileButton); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fileButton])); 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 = 0; w6.Expand = false; w6.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.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.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.catagoryEntry = new global::Gtk.Entry(); this.catagoryEntry.CanFocus = true; this.catagoryEntry.Name = "catagoryEntry"; this.catagoryEntry.Text = global::Mono.Unix.Catalog.GetString("Geocaches"); this.catagoryEntry.IsEditable = true; this.catagoryEntry.InvisibleChar = '●'; this.table1.Add(this.catagoryEntry); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.catagoryEntry])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); 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.descCombo = global::Gtk.ComboBox.NewText(); this.descCombo.AppendText(global::Mono.Unix.Catalog.GetString("Cache Name")); this.descCombo.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code/Size/Hint")); this.descCombo.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code/Size/Type")); this.descCombo.AppendText(global::Mono.Unix.Catalog.GetString("Full Paperless")); this.descCombo.Name = "descCombo"; this.descCombo.Active = 0; this.table1.Add(this.descCombo); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.descCombo])); 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.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.includeBMPCheck = new global::Gtk.CheckButton(); this.includeBMPCheck.CanFocus = true; this.includeBMPCheck.Name = "includeBMPCheck"; this.includeBMPCheck.Label = global::Mono.Unix.Catalog.GetString("BMP Icon:"); this.includeBMPCheck.DrawIndicator = true; this.includeBMPCheck.UseUnderline = true; this.hbox2.Add(this.includeBMPCheck); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.includeBMPCheck])); w9.Position = 0; w9.Expand = false; // Container child hbox2.Gtk.Box+BoxChild this.bmpFile = new global::Gtk.Entry(); this.bmpFile.Sensitive = false; this.bmpFile.CanFocus = true; this.bmpFile.Name = "bmpFile"; this.bmpFile.IsEditable = true; this.bmpFile.InvisibleChar = '●'; this.hbox2.Add(this.bmpFile); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.bmpFile])); w10.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.bmpButton = new global::Gtk.Button(); this.bmpButton.Sensitive = false; this.bmpButton.CanFocus = true; this.bmpButton.Name = "bmpButton"; // Container child bmpButton.Gtk.Container+ContainerChild this.image4 = new global::Gtk.Image(); this.image4.Name = "image4"; this.image4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); this.bmpButton.Add(this.image4); this.hbox2.Add(this.bmpButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.bmpButton])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hbox2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); w13.TopAttach = ((uint)(8)); w13.BottomAttach = ((uint)(9)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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.proxEntry = new global::Gtk.Entry(); this.proxEntry.Sensitive = false; this.proxEntry.CanFocus = true; this.proxEntry.Name = "proxEntry"; this.proxEntry.Text = global::Mono.Unix.Catalog.GetString("1"); this.proxEntry.IsEditable = true; this.proxEntry.InvisibleChar = '●'; this.hbox3.Add(this.proxEntry); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.proxEntry])); w14.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.proxCombo = global::Gtk.ComboBox.NewText(); this.proxCombo.AppendText(global::Mono.Unix.Catalog.GetString("kilometers")); this.proxCombo.AppendText(global::Mono.Unix.Catalog.GetString("miles")); this.proxCombo.Sensitive = false; this.proxCombo.Name = "proxCombo"; this.proxCombo.Active = 0; this.hbox3.Add(this.proxCombo); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.proxCombo])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox3])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.includeChildrenCheck = new global::Gtk.CheckButton(); this.includeChildrenCheck.CanFocus = true; this.includeChildrenCheck.Name = "includeChildrenCheck"; this.includeChildrenCheck.Label = global::Mono.Unix.Catalog.GetString("Include Child Waypoints"); this.includeChildrenCheck.DrawIndicator = true; this.includeChildrenCheck.UseUnderline = true; this.table1.Add(this.includeChildrenCheck); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.includeChildrenCheck])); w17.TopAttach = ((uint)(6)); w17.BottomAttach = ((uint)(7)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Name:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Description:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Category:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.limitCaches = new global::Gtk.CheckButton(); this.limitCaches.CanFocus = true; this.limitCaches.Name = "limitCaches"; this.limitCaches.Label = global::Mono.Unix.Catalog.GetString("Limit Number of Geocaches"); this.limitCaches.DrawIndicator = true; this.limitCaches.UseUnderline = true; this.table1.Add(this.limitCaches); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.limitCaches])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.limitEntry = new global::Gtk.Entry(); this.limitEntry.Sensitive = false; this.limitEntry.CanFocus = true; this.limitEntry.Name = "limitEntry"; this.limitEntry.Text = global::Mono.Unix.Catalog.GetString("1000"); this.limitEntry.IsEditable = true; this.limitEntry.InvisibleChar = '●'; this.table1.Add(this.limitEntry); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.limitEntry])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.logCheck = new global::Gtk.CheckButton(); this.logCheck.CanFocus = true; this.logCheck.Name = "logCheck"; this.logCheck.Label = global::Mono.Unix.Catalog.GetString("Limit Number of Logs"); this.logCheck.DrawIndicator = true; this.logCheck.UseUnderline = true; this.table1.Add(this.logCheck); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.logCheck])); w23.TopAttach = ((uint)(5)); w23.BottomAttach = ((uint)(6)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.logEntry = new global::Gtk.Entry(); this.logEntry.Sensitive = false; this.logEntry.CanFocus = true; this.logEntry.Name = "logEntry"; this.logEntry.Text = global::Mono.Unix.Catalog.GetString("5"); this.logEntry.IsEditable = true; this.logEntry.InvisibleChar = '●'; this.table1.Add(this.logEntry); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.logEntry])); w24.TopAttach = ((uint)(5)); w24.BottomAttach = ((uint)(6)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.nameCombo = global::Gtk.ComboBox.NewText(); this.nameCombo.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code")); this.nameCombo.AppendText(global::Mono.Unix.Catalog.GetString("Cache Name")); this.nameCombo.Name = "nameCombo"; this.nameCombo.Active = 0; this.table1.Add(this.nameCombo); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.nameCombo])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.proximityAlertCheck = new global::Gtk.CheckButton(); this.proximityAlertCheck.CanFocus = true; this.proximityAlertCheck.Name = "proximityAlertCheck"; this.proximityAlertCheck.Label = global::Mono.Unix.Catalog.GetString("Proximity Alert:"); this.proximityAlertCheck.DrawIndicator = true; this.proximityAlertCheck.UseUnderline = true; this.table1.Add(this.proximityAlertCheck); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.proximityAlertCheck])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.useHTMLCheck = new global::Gtk.CheckButton(); this.useHTMLCheck.CanFocus = true; this.useHTMLCheck.Name = "useHTMLCheck"; this.useHTMLCheck.Label = global::Mono.Unix.Catalog.GetString("Convert HTML to Plain Text"); this.useHTMLCheck.DrawIndicator = true; this.useHTMLCheck.UseUnderline = true; this.table1.Add(this.useHTMLCheck); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.useHTMLCheck])); w27.TopAttach = ((uint)(7)); w27.BottomAttach = ((uint)(8)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment2.Add(this.table1); this.frame1.Add(this.GtkAlignment2); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>POI Options</b>"); this.GtkLabel4.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel4; this.vbox2.Add(this.frame1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1])); w30.Position = 1; w30.Expand = false; w30.Fill = false; w1.Add(this.vbox2); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Internal child ocmgtk.ExportPOIDialog.ActionArea global::Gtk.HButtonBox w32 = this.ActionArea; w32.Name = "dialog1_ActionArea"; w32.Spacing = 10; w32.BorderWidth = ((uint)(5)); w32.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 w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonCancel])); w33.Expand = false; w33.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 w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonOk])); w34.Position = 1; w34.Expand = false; w34.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 612; this.DefaultHeight = 415; this.Show(); this.fileButton.Clicked += new global::System.EventHandler(this.OnFileClick); this.proximityAlertCheck.Toggled += new global::System.EventHandler(this.OnProxToggle); this.logCheck.Toggled += new global::System.EventHandler(this.OnLogToggle); this.limitCaches.Toggled += new global::System.EventHandler(this.OnCacheToggle); this.includeBMPCheck.Toggled += new global::System.EventHandler(this.OnBMPToggle); this.bmpButton.Clicked += new global::System.EventHandler(this.OnBMPClick); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnCancelClick); this.buttonOk.Clicked += new global::System.EventHandler(this.OnOKClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.FineDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.FineDlg"; // Container child Vodovoz.FineDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(4)), ((uint)(6)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.btnShowUndelivery = new global::Gtk.Button(); this.btnShowUndelivery.CanFocus = true; this.btnShowUndelivery.Name = "btnShowUndelivery"; this.btnShowUndelivery.UseUnderline = true; this.btnShowUndelivery.Label = global::Mono.Unix.Catalog.GetString("Перейти в недовоз"); this.tableWriteoff.Add(this.btnShowUndelivery); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.btnShowUndelivery])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.LeftAttach = ((uint)(4)); w6.RightAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.enumFineType = new global::Gamma.Widgets.yEnumComboBox(); this.enumFineType.Name = "enumFineType"; this.enumFineType.ShowSpecialStateAll = false; this.enumFineType.ShowSpecialStateNot = false; this.enumFineType.UseShortTitle = false; this.enumFineType.DefaultFirst = false; this.hbox3.Add(this.enumFineType); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.enumFineType])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.labelOverspending = new global::Gtk.Label(); this.labelOverspending.Name = "labelOverspending"; this.labelOverspending.LabelProp = global::Mono.Unix.Catalog.GetString("Перерасход (л.):"); this.hbox3.Add(this.labelOverspending); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelOverspending])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yspinLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D); this.yspinLiters.CanFocus = true; this.yspinLiters.Name = "yspinLiters"; this.yspinLiters.Adjustment.PageIncrement = 10D; this.yspinLiters.ClimbRate = 1D; this.yspinLiters.Digits = ((uint)(2)); this.yspinLiters.Numeric = true; this.yspinLiters.ValueAsDecimal = 0m; this.yspinLiters.ValueAsInt = 0; this.hbox3.Add(this.yspinLiters); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yspinLiters])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.labelRequestRouteList = new global::Gtk.Label(); this.labelRequestRouteList.Name = "labelRequestRouteList"; this.labelRequestRouteList.LabelProp = global::Mono.Unix.Catalog.GetString("<span color=\"red\">Необходимо выбрать маршрутный лист</span>"); this.labelRequestRouteList.UseMarkup = true; this.hbox3.Add(this.labelRequestRouteList); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelRequestRouteList])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.tableWriteoff.Add(this.hbox3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox3])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.yentryFineReasonString = new global::Gamma.GtkWidgets.yEntry(); this.yentryFineReasonString.CanFocus = true; this.yentryFineReasonString.Name = "yentryFineReasonString"; this.yentryFineReasonString.IsEditable = true; this.yentryFineReasonString.InvisibleChar = '●'; this.hbox4.Add(this.yentryFineReasonString); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yentryFineReasonString])); w12.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonGetReasonFromTemplate = new global::Gtk.Button(); this.buttonGetReasonFromTemplate.CanFocus = true; this.buttonGetReasonFromTemplate.Name = "buttonGetReasonFromTemplate"; this.buttonGetReasonFromTemplate.UseUnderline = true; this.buttonGetReasonFromTemplate.Label = global::Mono.Unix.Catalog.GetString("Заполнить из шаблона"); this.hbox4.Add(this.buttonGetReasonFromTemplate); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonGetReasonFromTemplate])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.tableWriteoff.Add(this.hbox4); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox4])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 100D; this.yspinMoney.ClimbRate = 1D; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = "currencylabel1"; this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonDivideAtAll = new global::Gtk.Button(); this.buttonDivideAtAll.CanFocus = true; this.buttonDivideAtAll.Name = "buttonDivideAtAll"; this.buttonDivideAtAll.UseUnderline = true; this.buttonDivideAtAll.Label = global::Mono.Unix.Catalog.GetString("Разбить на всех"); this.hbox6.Add(this.buttonDivideAtAll); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonDivideAtAll])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.tableWriteoff.Add(this.hbox6); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox6])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(3)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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.tableWriteoff.Add(this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Причина штрафа:"); this.tableWriteoff.Add(this.label3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label3])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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.tableWriteoff.Add(this.label4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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("№ МЛ"); this.tableWriteoff.Add(this.label5); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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.tableWriteoff.Add(this.label6); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label6])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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.tableWriteoff.Add(this.label7); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label7])); w24.LeftAttach = ((uint)(4)); w24.RightAttach = ((uint)(5)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryAuthor = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryAuthor.Sensitive = false; this.yentryAuthor.Events = ((global::Gdk.EventMask)(256)); this.yentryAuthor.Name = "yentryAuthor"; this.tableWriteoff.Add(this.yentryAuthor); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryAuthor])); w25.LeftAttach = ((uint)(5)); w25.RightAttach = ((uint)(6)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryreferenceRouteList = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryreferenceRouteList.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceRouteList.Name = "yentryreferenceRouteList"; this.tableWriteoff.Add(this.yentryreferenceRouteList); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryreferenceRouteList])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(4)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.tableWriteoff.Add(this.ylabelDate); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ylabelDate])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableWriteoff])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.fineitemsview1 = new global::Vodovoz.FineItemsView(); this.fineitemsview1.Events = ((global::Gdk.EventMask)(256)); this.fineitemsview1.Name = "fineitemsview1"; this.fineitemsview1.IsFuelOverspending = false; this.vbox4.Add(this.fineitemsview1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.fineitemsview1])); w29.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.btnShowUndelivery.Hide(); this.Hide(); this.yentryreferenceRouteList.ChangedByUser += new global::System.EventHandler(this.OnYentryreferenceRouteListChangedByUser); this.buttonDivideAtAll.Clicked += new global::System.EventHandler(this.OnButtonDivideAtAllClicked); this.buttonGetReasonFromTemplate.Clicked += new global::System.EventHandler(this.OnButtonGetReasonFromTemplateClicked); this.enumFineType.ChangedByUser += new global::System.EventHandler(this.OnEnumFineTypeChangedByUser); this.yspinLiters.ValueChanged += new global::System.EventHandler(this.OnYspinLitersValueChanged); this.btnShowUndelivery.Clicked += new global::System.EventHandler(this.OnBtnShowUndeliveryClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.WageCalculation.WageDistrictLevelRatesView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.WageCalculation.WageDistrictLevelRatesView"; // Container child Vodovoz.Views.WageCalculation.WageDistrictLevelRatesView.Gtk.Container+ContainerChild this.vbxMain = new global::Gtk.VBox(); this.vbxMain.Name = "vbxMain"; this.vbxMain.Spacing = 6; // Container child vbxMain.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbxMain.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; // Container child vbxMain.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.labelName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '•'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbxMain.Add(this.table1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.table1])); w8.Position = 1; w8.Expand = false; // Container child vbxMain.Gtk.Box+BoxChild this.chkDefaultLevel = new global::Gamma.GtkWidgets.yCheckButton(); this.chkDefaultLevel.CanFocus = true; this.chkDefaultLevel.Name = "chkDefaultLevel"; this.chkDefaultLevel.Label = global::Mono.Unix.Catalog.GetString("Уровень по умолчанию для новых сотрудников (Найм)"); this.chkDefaultLevel.DrawIndicator = true; this.chkDefaultLevel.UseUnderline = true; this.vbxMain.Add(this.chkDefaultLevel); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.chkDefaultLevel])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.chkDefaultLevelOurCars = new global::Gamma.GtkWidgets.yCheckButton(); this.chkDefaultLevelOurCars.CanFocus = true; this.chkDefaultLevelOurCars.Name = "chkDefaultLevelOurCars"; this.chkDefaultLevelOurCars.Label = global::Mono.Unix.Catalog.GetString("Уровень по умолчанию для новых сотрудников (Наши авто)"); this.chkDefaultLevelOurCars.DrawIndicator = true; this.chkDefaultLevelOurCars.UseUnderline = true; this.vbxMain.Add(this.chkDefaultLevelOurCars); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.chkDefaultLevelOurCars])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.chkDefaultLevelRaskatCars = new global::Gamma.GtkWidgets.yCheckButton(); this.chkDefaultLevelRaskatCars.CanFocus = true; this.chkDefaultLevelRaskatCars.Name = "chkDefaultLevelRaskatCars"; this.chkDefaultLevelRaskatCars.Label = global::Mono.Unix.Catalog.GetString("Уровень по умолчанию для новых сотрудников (Для авто в раскате)"); this.chkDefaultLevelRaskatCars.DrawIndicator = true; this.chkDefaultLevelRaskatCars.UseUnderline = true; this.vbxMain.Add(this.chkDefaultLevelRaskatCars); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.chkDefaultLevelRaskatCars])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.hbxNotebooksWithDistricts = new global::Gtk.HBox(); this.hbxNotebooksWithDistricts.Name = "hbxNotebooksWithDistricts"; this.hbxNotebooksWithDistricts.Spacing = 6; this.vbxMain.Add(this.hbxNotebooksWithDistricts); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hbxNotebooksWithDistricts])); w12.Position = 5; // Container child vbxMain.Gtk.Box+BoxChild this.chkIsArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.chkIsArchive.CanFocus = true; this.chkIsArchive.Name = "chkIsArchive"; this.chkIsArchive.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.chkIsArchive.DrawIndicator = true; this.chkIsArchive.UseUnderline = true; this.vbxMain.Add(this.chkIsArchive); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.chkIsArchive])); w13.Position = 6; w13.Expand = false; w13.Fill = false; this.Add(this.vbxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.DriverDistrictPrioritySetView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.DriverDistrictPrioritySetView"; // Container child Vodovoz.Views.Logistic.DriverDistrictPrioritySetView.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.labelFiller = new global::Gtk.Label(); this.labelFiller.WidthRequest = 30; this.labelFiller.Name = "labelFiller"; this.hbox3.Add(this.labelFiller); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelFiller])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hboxTopMenu = new global::Gtk.HBox(); this.hboxTopMenu.Name = "hboxTopMenu"; this.hboxTopMenu.Spacing = 6; // Container child hboxTopMenu.Gtk.Box+BoxChild this.ybuttonAccept = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAccept.CanFocus = true; this.ybuttonAccept.Name = "ybuttonAccept"; this.ybuttonAccept.UseUnderline = true; this.ybuttonAccept.Label = global::Mono.Unix.Catalog.GetString("Подтвердить"); global::Gtk.Image w2 = new global::Gtk.Image(); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-yes", global::Gtk.IconSize.Menu); this.ybuttonAccept.Image = w2; this.hboxTopMenu.Add(this.ybuttonAccept); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxTopMenu[this.ybuttonAccept])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hboxTopMenu.Gtk.Box+BoxChild this.ybuttonCancel = new global::Gamma.GtkWidgets.yButton(); this.ybuttonCancel.CanFocus = true; this.ybuttonCancel.Name = "ybuttonCancel"; this.ybuttonCancel.UseUnderline = true; this.ybuttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu); this.ybuttonCancel.Image = w4; this.hboxTopMenu.Add(this.ybuttonCancel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxTopMenu[this.ybuttonCancel])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hboxTopMenu); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxTopMenu])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxInfo = new global::Gtk.HBox(); this.hboxInfo.Name = "hboxInfo"; this.hboxInfo.Spacing = 6; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelCodeString = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCodeString.Name = "ylabelCodeString"; this.ylabelCodeString.LabelProp = global::Mono.Unix.Catalog.GetString("Код:"); this.hboxInfo.Add(this.ylabelCodeString); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelCodeString])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelCode = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCode.Name = "ylabelCode"; this.hboxInfo.Add(this.ylabelCode); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelCode])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hboxInfo.Add(this.vseparator1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.vseparator1])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelAuthorString = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthorString.Name = "ylabelAuthorString"; this.ylabelAuthorString.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.hboxInfo.Add(this.ylabelAuthorString); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelAuthorString])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.hboxInfo.Add(this.ylabelAuthor); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelAuthor])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hboxInfo.Add(this.vseparator2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.vseparator2])); w12.Position = 5; w12.Expand = false; w12.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelDateActivatedString = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDateActivatedString.Name = "ylabelDateActivatedString"; this.ylabelDateActivatedString.LabelProp = global::Mono.Unix.Catalog.GetString("Дата активации:"); this.hboxInfo.Add(this.ylabelDateActivatedString); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelDateActivatedString])); w13.Position = 6; w13.Expand = false; w13.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelDateActivated = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDateActivated.Name = "ylabelDateActivated"; this.hboxInfo.Add(this.ylabelDateActivated); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelDateActivated])); w14.Position = 7; w14.Expand = false; w14.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hboxInfo.Add(this.vseparator3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.vseparator3])); w15.Position = 8; w15.Expand = false; w15.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelDateDeactivatedString = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDateDeactivatedString.Name = "ylabelDateDeactivatedString"; this.ylabelDateDeactivatedString.LabelProp = global::Mono.Unix.Catalog.GetString("Дата деактивации:"); this.hboxInfo.Add(this.ylabelDateDeactivatedString); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelDateDeactivatedString])); w16.Position = 9; w16.Expand = false; w16.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelDateDeactivated = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDateDeactivated.Name = "ylabelDateDeactivated"; this.hboxInfo.Add(this.ylabelDateDeactivated); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelDateDeactivated])); w17.Position = 10; w17.Expand = false; w17.Fill = false; this.vbox1.Add(this.hboxInfo); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxInfo])); w18.Position = 1; w18.Expand = false; w18.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.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 w19 = new global::Gtk.Viewport(); w19.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.ytreeDriverDistrictPriorities = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeDriverDistrictPriorities.CanFocus = true; this.ytreeDriverDistrictPriorities.Name = "ytreeDriverDistrictPriorities"; this.vbox2.Add(this.ytreeDriverDistrictPriorities); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ytreeDriverDistrictPriorities])); w20.Position = 0; w19.Add(this.vbox2); this.scrolledwindow1.Add(w19); this.hbox2.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.scrolledwindow1])); w23.Position = 0; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w24.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.ybuttonAddDistricts = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddDistricts.CanFocus = true; this.ybuttonAddDistricts.Name = "ybuttonAddDistricts"; this.ybuttonAddDistricts.UseUnderline = true; this.ybuttonAddDistricts.Label = global::Mono.Unix.Catalog.GetString("Добавить районы"); global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.ybuttonAddDistricts.Image = w25; this.hbox1.Add(this.ybuttonAddDistricts); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ybuttonAddDistricts])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ybuttonDeleteDistricts = new global::Gamma.GtkWidgets.yButton(); this.ybuttonDeleteDistricts.CanFocus = true; this.ybuttonDeleteDistricts.Name = "ybuttonDeleteDistricts"; this.ybuttonDeleteDistricts.UseUnderline = true; this.ybuttonDeleteDistricts.Label = global::Mono.Unix.Catalog.GetString("Удалить районы"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.ybuttonDeleteDistricts.Image = w27; this.hbox1.Add(this.ybuttonDeleteDistricts); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ybuttonDeleteDistricts])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w29.Position = 3; w29.Expand = false; w29.Fill = false; this.hbox3.Add(this.vbox1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox1])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.Add(this.hbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget llum.DeleteHomeWidget global::Stetic.BinContainer.Attach(this); this.Name = "llum.DeleteHomeWidget"; // Container child llum.DeleteHomeWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 12; this.vbox1.BorderWidth = ((uint)(7)); // 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.image1 = new global::Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "dialog-cancel", global::Gtk.IconSize.Dialog); this.hbox3.Add(this.image1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.image1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Clear /home contents tool"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(2)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(6)); this.GtkAlignment3.TopPadding = ((uint)(6)); this.GtkAlignment3.RightPadding = ((uint)(6)); this.GtkAlignment3.BottomPadding = ((uint)(6)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.selectionHbox = new global::Gtk.HBox(); this.selectionHbox.Name = "selectionHbox"; this.selectionHbox.Spacing = 6; // Container child selectionHbox.Gtk.Box+BoxChild this.optionCombobox = global::Gtk.ComboBox.NewText(); this.optionCombobox.Name = "optionCombobox"; this.selectionHbox.Add(this.optionCombobox); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.selectionHbox [this.optionCombobox])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child selectionHbox.Gtk.Box+BoxChild this.acceptButton = new global::Gtk.Button(); this.acceptButton.CanFocus = true; this.acceptButton.Name = "acceptButton"; this.acceptButton.UseStock = true; this.acceptButton.UseUnderline = true; this.acceptButton.Label = "gtk-ok"; this.selectionHbox.Add(this.acceptButton); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.selectionHbox [this.acceptButton])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.GtkAlignment3.Add(this.selectionHbox); this.frame2.Add(this.GtkAlignment3); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.Xpad = 6; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Group of homes to delete</b>"); this.GtkLabel3.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel3; this.vbox1.Add(this.frame2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("* You will be asked to confirm this action"); this.vbox1.Add(this.label7); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label7])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.warningHbox = new global::Gtk.HBox(); this.warningHbox.Name = "warningHbox"; this.warningHbox.Spacing = 6; // Container child warningHbox.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.warningLabel = new global::Gtk.Label(); this.warningLabel.Name = "warningLabel"; this.vbox3.Add(this.warningLabel); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.warningLabel])); w10.Position = 0; w10.Expand = false; w10.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.doitButton = new global::Gtk.Button(); this.doitButton.CanFocus = true; this.doitButton.Name = "doitButton"; this.doitButton.UseStock = true; this.doitButton.UseUnderline = true; this.doitButton.Label = "gtk-ok"; this.hbox9.Add(this.doitButton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.doitButton])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.cancelButton = new global::Gtk.Button(); this.cancelButton.CanFocus = true; this.cancelButton.Name = "cancelButton"; this.cancelButton.UseStock = true; this.cancelButton.UseUnderline = true; this.cancelButton.Label = "gtk-cancel"; this.hbox9.Add(this.cancelButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.cancelButton])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vbox3.Add(this.hbox9); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox9])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.warningHbox.Add(this.vbox3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.warningHbox [this.vbox3])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.vbox1.Add(this.warningHbox); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.warningHbox])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w16 = new global::Gtk.Viewport(); w16.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.msgLabel = new global::Gtk.Label(); this.msgLabel.Name = "msgLabel"; w16.Add(this.msgLabel); this.GtkScrolledWindow.Add(w16); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w19.PackType = ((global::Gtk.PackType)(1)); w19.Position = 4; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.acceptButton.Clicked += new global::System.EventHandler(this.OnAcceptButtonClicked); this.doitButton.Clicked += new global::System.EventHandler(this.OnDoitButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Wallet.SendDialog global::Stetic.BinContainer.Attach(this); this.WidthRequest = 650; this.Name = "Wallet.SendDialog"; // Container child Wallet.SendDialog.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 20; this.vbox1.BorderWidth = ((uint)(15)); // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.WidthRequest = 50; this.label4.Name = "label4"; this.hbox5.Add(this.label4); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label4])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.labelHeader = new global::Gtk.Label(); this.labelHeader.Name = "labelHeader"; this.labelHeader.LabelProp = global::Mono.Unix.Catalog.GetString("Send"); this.hbox5.Add(this.labelHeader); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labelHeader])); w2.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.eventboxCancel = new global::Gtk.EventBox(); this.eventboxCancel.Name = "eventboxCancel"; // Container child eventboxCancel.Gtk.Container+ContainerChild this.image5 = new global::Gtk.Image(); this.image5.WidthRequest = 50; this.image5.Name = "image5"; this.image5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", global::Gtk.IconSize.Menu); this.eventboxCancel.Add(this.image5); this.hbox5.Add(this.eventboxCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.eventboxCancel])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.imageCurrency = new global::Gtk.Image(); this.imageCurrency.Name = "imageCurrency"; this.vbox1.Add(this.imageCurrency); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.imageCurrency])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxContent = new global::Gtk.HBox(); this.hboxContent.Name = "hboxContent"; this.hboxContent.Spacing = 6; // Container child hboxContent.Gtk.Box+BoxChild this.senddialogwaiting = new global::Wallet.SendDialogWaiting(); this.senddialogwaiting.Events = ((global::Gdk.EventMask)(256)); this.senddialogwaiting.Name = "senddialogwaiting"; this.hboxContent.Add(this.senddialogwaiting); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxContent[this.senddialogwaiting])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hboxContent.Gtk.Box+BoxChild this.senddialogstep1 = new global::Wallet.SendDialogStep1(); this.senddialogstep1.Events = ((global::Gdk.EventMask)(256)); this.senddialogstep1.Name = "senddialogstep1"; this.hboxContent.Add(this.senddialogstep1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxContent[this.senddialogstep1])); w8.Position = 1; // Container child hboxContent.Gtk.Box+BoxChild this.senddialogstep2 = new global::Wallet.SendDialogStep2(); this.senddialogstep2.Events = ((global::Gdk.EventMask)(256)); this.senddialogstep2.Name = "senddialogstep2"; this.hboxContent.Add(this.senddialogstep2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxContent[this.senddialogstep2])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox1.Add(this.hboxContent); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxContent])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxFooter = new global::Gtk.HBox(); this.hboxFooter.Name = "hboxFooter"; this.hboxFooter.Homogeneous = true; this.hboxFooter.Spacing = 6; // Container child hboxFooter.Gtk.Box+BoxChild this.labelBalance = new global::Gtk.Label(); this.labelBalance.Name = "labelBalance"; this.labelBalance.Xalign = 0F; this.labelBalance.LabelProp = global::Mono.Unix.Catalog.GetString("Balance"); this.hboxFooter.Add(this.labelBalance); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxFooter[this.labelBalance])); w11.Position = 0; // Container child hboxFooter.Gtk.Box+BoxChild this.labelFee = new global::Gtk.Label(); this.labelFee.Name = "labelFee"; this.labelFee.Xalign = 1F; this.labelFee.LabelProp = global::Mono.Unix.Catalog.GetString("Fee"); this.hboxFooter.Add(this.labelFee); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxFooter[this.labelFee])); w12.Position = 1; this.vbox1.Add(this.hboxFooter); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFooter])); w13.Position = 3; 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", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.IsImportant = true; 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, null); this.QuitAction.IsImportant = true; this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.QuitAction, "<Primary><Mod2>q"); this.LogAction = new global::Gtk.Action("LogAction", global::Mono.Unix.Catalog.GetString("Log"), null, null); this.LogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Log"); w1.Add(this.LogAction, null); this.ShowLogWindowAction = new global::Gtk.Action("ShowLogWindowAction", global::Mono.Unix.Catalog.GetString("Show log window"), null, null); this.ShowLogWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show log window"); w1.Add(this.ShowLogWindowAction, "<Primary><Mod2>s"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Monitor UI"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.robot-icon.resized.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menuBar'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='LogAction' action='LogAction'><menuitem name='ShowLogWindowAction' action='ShowLogWindowAction'/></menu></menubar></ui>"); this.menuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menuBar"))); this.menuBar.Name = "menuBar"; this.vbox1.Add(this.menuBar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menuBar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.boxCamera = new global::Gtk.VBox(); this.boxCamera.Name = "boxCamera"; this.boxCamera.Spacing = 6; // Container child boxCamera.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0F, 0.5F, 0F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.BorderWidth = ((uint)(6)); // Container child alignment1.Gtk.Container+ContainerChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.checkButtonCameraOn = new global::Gtk.CheckButton(); this.checkButtonCameraOn.CanFocus = true; this.checkButtonCameraOn.Name = "checkButtonCameraOn"; this.checkButtonCameraOn.Label = global::Mono.Unix.Catalog.GetString("Camera On"); this.checkButtonCameraOn.DrawIndicator = true; this.checkButtonCameraOn.UseUnderline = true; this.hbox5.Add(this.checkButtonCameraOn); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonCameraOn])); w3.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.checkButtonRobotPosition = new global::Gtk.CheckButton(); this.checkButtonRobotPosition.CanFocus = true; this.checkButtonRobotPosition.Name = "checkButtonRobotPosition"; this.checkButtonRobotPosition.Label = global::Mono.Unix.Catalog.GetString("Show Position"); this.checkButtonRobotPosition.DrawIndicator = true; this.checkButtonRobotPosition.UseUnderline = true; this.hbox5.Add(this.checkButtonRobotPosition); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonRobotPosition])); w4.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.checkButtonFPS = new global::Gtk.CheckButton(); this.checkButtonFPS.CanFocus = true; this.checkButtonFPS.Name = "checkButtonFPS"; this.checkButtonFPS.Label = global::Mono.Unix.Catalog.GetString("Show FPS"); this.checkButtonFPS.DrawIndicator = true; this.checkButtonFPS.UseUnderline = true; this.hbox5.Add(this.checkButtonFPS); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonFPS])); w5.Position = 2; this.alignment1.Add(this.hbox5); this.hbox2.Add(this.alignment1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.alignment1])); w7.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.buttonAskArena = new global::Gtk.Button(); this.buttonAskArena.CanFocus = true; this.buttonAskArena.Name = "buttonAskArena"; this.buttonAskArena.UseUnderline = true; this.buttonAskArena.Label = global::Mono.Unix.Catalog.GetString("Ask Arena..."); this.hbox2.Add(this.buttonAskArena); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonAskArena])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.boxCamera.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.boxCamera[this.hbox2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child boxCamera.Gtk.Box+BoxChild this.drawingAreaCamera = new global::Gtk.DrawingArea(); this.drawingAreaCamera.Name = "drawingAreaCamera"; this.boxCamera.Add(this.drawingAreaCamera); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.boxCamera[this.drawingAreaCamera])); w10.Position = 1; this.hbox1.Add(this.boxCamera); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.boxCamera])); w11.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox3.Add(this.vseparator1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vseparator1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.alignment3 = new global::Gtk.Alignment(1F, 0F, 0F, 0F); this.alignment3.Name = "alignment3"; this.alignment3.BorderWidth = ((uint)(4)); // Container child alignment3.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.labelServer = new global::Gtk.Label(); this.labelServer.HeightRequest = 36; this.labelServer.Name = "labelServer"; this.labelServer.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Server connection</u></b>"); this.labelServer.UseMarkup = true; this.vbox10.Add(this.labelServer); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.labelServer])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.gtkAlignmentServer = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.gtkAlignmentServer.Name = "gtkAlignmentServer"; this.gtkAlignmentServer.LeftPadding = ((uint)(12)); // Container child gtkAlignmentServer.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.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.entryServerName = new global::Gtk.Entry(); this.entryServerName.CanFocus = true; this.entryServerName.Name = "entryServerName"; this.entryServerName.IsEditable = true; this.entryServerName.InvisibleChar = '●'; this.table1.Add(this.entryServerName); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.entryServerName])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryServerPort = new global::Gtk.Entry(); this.entryServerPort.CanFocus = true; this.entryServerPort.Name = "entryServerPort"; this.entryServerPort.IsEditable = true; this.entryServerPort.InvisibleChar = '●'; this.table1.Add(this.entryServerPort); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.entryServerPort])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryTimeout = new global::Gtk.Entry(); this.entryTimeout.CanFocus = true; this.entryTimeout.Name = "entryTimeout"; this.entryTimeout.IsEditable = true; this.entryTimeout.InvisibleChar = '●'; this.table1.Add(this.entryTimeout); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.entryTimeout])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.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("Server name:"); this.label1.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label1); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Server port:"); this.label2.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.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("Timeout (ms):"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox6.Add(this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.table1])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.buttonServerConnection = new global::Gtk.Button(); this.buttonServerConnection.CanFocus = true; this.buttonServerConnection.Name = "buttonServerConnection"; this.buttonServerConnection.UseUnderline = true; this.buttonServerConnection.Label = global::Mono.Unix.Catalog.GetString("Connect"); this.vbox6.Add(this.buttonServerConnection); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.buttonServerConnection])); w21.PackType = ((global::Gtk.PackType)(1)); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.gtkAlignmentServer.Add(this.vbox6); this.vbox10.Add(this.gtkAlignmentServer); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.gtkAlignmentServer])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.vbox5.Add(this.vbox10); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox10])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox5.Add(this.hseparator1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator1])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.vbox11 = new global::Gtk.VBox(); this.vbox11.Name = "vbox11"; this.vbox11.Spacing = 6; // Container child vbox11.Gtk.Box+BoxChild this.labelRobot = new global::Gtk.Label(); this.labelRobot.HeightRequest = 36; this.labelRobot.Name = "labelRobot"; this.labelRobot.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Robot Activation</u></b>"); this.labelRobot.UseMarkup = true; this.vbox11.Add(this.labelRobot); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.labelRobot])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.alignment9 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment9.Name = "alignment9"; // Container child alignment9.Gtk.Container+ContainerChild this.gtkAlignmentRobot = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.gtkAlignmentRobot.Name = "gtkAlignmentRobot"; this.gtkAlignmentRobot.LeftPadding = ((uint)(12)); // Container child gtkAlignmentRobot.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.alignment6 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment6.Name = "alignment6"; // Container child alignment6.Gtk.Container+ContainerChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.radioButtonWithWatchdog = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("with watchdog")); this.radioButtonWithWatchdog.CanFocus = true; this.radioButtonWithWatchdog.Name = "radioButtonWithWatchdog"; this.radioButtonWithWatchdog.DrawIndicator = true; this.radioButtonWithWatchdog.UseUnderline = true; this.radioButtonWithWatchdog.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox4.Add(this.radioButtonWithWatchdog); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radioButtonWithWatchdog])); w27.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.radioButtonWithoutWatchdog = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("without watchdog")); this.radioButtonWithoutWatchdog.CanFocus = true; this.radioButtonWithoutWatchdog.Name = "radioButtonWithoutWatchdog"; this.radioButtonWithoutWatchdog.DrawIndicator = true; this.radioButtonWithoutWatchdog.UseUnderline = true; this.radioButtonWithoutWatchdog.Group = this.radioButtonWithWatchdog.Group; this.hbox4.Add(this.radioButtonWithoutWatchdog); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radioButtonWithoutWatchdog])); w28.Position = 1; this.alignment6.Add(this.hbox4); this.vbox8.Add(this.alignment6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.alignment6])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.alignment5 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment5.Name = "alignment5"; // Container child alignment5.Gtk.Container+ContainerChild this.alignment7 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment7.Name = "alignment7"; // Container child alignment7.Gtk.Container+ContainerChild this.buttonRobotActivation = new global::Gtk.Button(); this.buttonRobotActivation.CanFocus = true; this.buttonRobotActivation.Name = "buttonRobotActivation"; this.buttonRobotActivation.UseUnderline = true; this.buttonRobotActivation.Label = global::Mono.Unix.Catalog.GetString("Activation"); this.alignment7.Add(this.buttonRobotActivation); this.alignment5.Add(this.alignment7); this.vbox8.Add(this.alignment5); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.alignment5])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.gtkAlignmentRobot.Add(this.vbox8); this.alignment9.Add(this.gtkAlignmentRobot); this.vbox11.Add(this.alignment9); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.alignment9])); w36.Position = 1; w36.Expand = false; w36.Fill = false; this.vbox5.Add(this.vbox11); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox11])); w37.Position = 2; w37.Expand = false; w37.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox5.Add(this.hseparator2); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator2])); w38.Position = 3; w38.Expand = false; w38.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.vbox12 = new global::Gtk.VBox(); this.vbox12.Name = "vbox12"; this.vbox12.Spacing = 6; // Container child vbox12.Gtk.Box+BoxChild this.labelRobotControl = new global::Gtk.Label(); this.labelRobotControl.HeightRequest = 36; this.labelRobotControl.Name = "labelRobotControl"; this.labelRobotControl.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Robot Controls and Status</u></b>"); this.labelRobotControl.UseMarkup = true; this.vbox12.Add(this.labelRobotControl); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.labelRobotControl])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.gtkAlignmentRobotControl = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.gtkAlignmentRobotControl.Name = "gtkAlignmentRobotControl"; this.gtkAlignmentRobotControl.LeftPadding = ((uint)(12)); // Container child gtkAlignmentRobotControl.Gtk.Container+ContainerChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.alignment8 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment8.Name = "alignment8"; // Container child alignment8.Gtk.Container+ContainerChild this.table4 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.buttonDown = new global::Gtk.Button(); this.buttonDown.TooltipMarkup = "Move robot backward"; this.buttonDown.CanFocus = true; this.buttonDown.Name = "buttonDown"; this.buttonDown.UseUnderline = true; global::Gtk.Image w40 = new global::Gtk.Image(); w40.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-down-symbolic.symbolic.png"); this.buttonDown.Image = w40; this.table4.Add(this.buttonDown); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonDown])); w41.TopAttach = ((uint)(2)); w41.BottomAttach = ((uint)(3)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.buttonForward = new global::Gtk.Button(); this.buttonForward.TooltipMarkup = "Move robot forward"; this.buttonForward.CanFocus = true; this.buttonForward.Name = "buttonForward"; this.buttonForward.UseUnderline = true; global::Gtk.Image w42 = new global::Gtk.Image(); w42.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-up-symbolic.symbolic.png"); this.buttonForward.Image = w42; this.table4.Add(this.buttonForward); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonForward])); w43.LeftAttach = ((uint)(1)); w43.RightAttach = ((uint)(2)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.buttonLeft = new global::Gtk.Button(); this.buttonLeft.TooltipMarkup = "Turn robot to the left"; this.buttonLeft.CanFocus = true; this.buttonLeft.Name = "buttonLeft"; this.buttonLeft.UseUnderline = true; global::Gtk.Image w44 = new global::Gtk.Image(); w44.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-start-symbolic.symbolic.png"); this.buttonLeft.Image = w44; this.table4.Add(this.buttonLeft); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonLeft])); w45.TopAttach = ((uint)(1)); w45.BottomAttach = ((uint)(2)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.buttonRight = new global::Gtk.Button(); this.buttonRight.TooltipMarkup = "Turn robot to the right"; this.buttonRight.CanFocus = true; this.buttonRight.Name = "buttonRight"; this.buttonRight.UseUnderline = true; global::Gtk.Image w46 = new global::Gtk.Image(); w46.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-end-symbolic.symbolic.png"); this.buttonRight.Image = w46; this.table4.Add(this.buttonRight); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonRight])); w47.TopAttach = ((uint)(1)); w47.BottomAttach = ((uint)(2)); w47.LeftAttach = ((uint)(2)); w47.RightAttach = ((uint)(3)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.buttonStop = new global::Gtk.Button(); this.buttonStop.TooltipMarkup = "Stop robot movements"; this.buttonStop.CanFocus = true; this.buttonStop.Name = "buttonStop"; this.buttonStop.UseUnderline = true; global::Gtk.Image w48 = new global::Gtk.Image(); w48.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.hand-filled-32.png"); this.buttonStop.Image = w48; this.table4.Add(this.buttonStop); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonStop])); 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)); this.alignment8.Add(this.table4); this.vbox9.Add(this.alignment8); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.alignment8])); w51.Position = 0; w51.Expand = false; w51.Fill = false; // Container child vbox9.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)(6)); // Container child table3.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("Battery level:"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.table3.Add(this.label3); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table3[this.label3])); w52.YPadding = ((uint)(10)); w52.XOptions = ((global::Gtk.AttachOptions)(4)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelBatteryLevel = new global::Gtk.Label(); this.labelBatteryLevel.Name = "labelBatteryLevel"; this.labelBatteryLevel.Xpad = 1; this.labelBatteryLevel.Xalign = 0F; this.labelBatteryLevel.LabelProp = global::Mono.Unix.Catalog.GetString("Unknown"); this.table3.Add(this.labelBatteryLevel); global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table3[this.labelBatteryLevel])); w53.LeftAttach = ((uint)(1)); w53.RightAttach = ((uint)(2)); w53.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox9.Add(this.table3); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.table3])); w54.Position = 2; w54.Expand = false; w54.Fill = false; this.gtkAlignmentRobotControl.Add(this.vbox9); this.vbox12.Add(this.gtkAlignmentRobotControl); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.gtkAlignmentRobotControl])); w56.Position = 1; this.vbox5.Add(this.vbox12); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox12])); w57.Position = 4; this.alignment3.Add(this.vbox5); this.hbox3.Add(this.alignment3); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.alignment3])); w59.Position = 1; w59.Expand = false; w59.Fill = false; this.hbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox3])); w60.Position = 1; w60.Expand = false; w60.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w61.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1025; this.DefaultHeight = 686; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.ShowLogWindowAction.Activated += new global::System.EventHandler(this.OnShowLogWindowActionActivated); this.checkButtonCameraOn.Clicked += new global::System.EventHandler(this.OnCheckButtonCameraOnClicked); this.checkButtonRobotPosition.Clicked += new global::System.EventHandler(this.OnCheckButtonRobotPositionClicked); this.checkButtonFPS.Toggled += new global::System.EventHandler(this.OnCheckButtonFPSToggled); this.buttonAskArena.Clicked += new global::System.EventHandler(this.OnButtonAskArenaClicked); this.buttonServerConnection.Clicked += new global::System.EventHandler(this.OnButtonServerConnectionClicked); this.buttonRobotActivation.Clicked += new global::System.EventHandler(this.OnButtonRobotActivationClicked); this.buttonStop.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked); this.buttonRight.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked); this.buttonLeft.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked); this.buttonForward.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked); this.buttonDown.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.EquipmentGenerator Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w2, 0); this.Name = "Vodovoz.EquipmentGenerator"; // Container child Vodovoz.EquipmentGenerator.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.datavbox1 = new global::Gtk.VBox(); this.datavbox1.Name = "datavbox1"; this.datavbox1.Spacing = 6; // Container child datavbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Регистрация оборудования</b>"); this.label1.UseMarkup = true; this.datavbox1.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.datavbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.hseparator1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Модель:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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("Окончание гарантии:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelModel = new global::Gtk.Label(); this.labelModel.Name = "labelModel"; this.labelModel.LabelProp = global::Mono.Unix.Catalog.GetString("--//--"); this.table1.Add(this.labelModel); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelModel])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceNomenclature = new global::Gamma.Widgets.yEntryReference(); this.referenceNomenclature.Events = ((global::Gdk.EventMask)(256)); this.referenceNomenclature.Name = "referenceNomenclature"; this.table1.Add(this.referenceNomenclature); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceNomenclature])); 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.spinAmount = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinAmount.CanFocus = true; this.spinAmount.Name = "spinAmount"; this.spinAmount.Adjustment.PageIncrement = 10D; this.spinAmount.ClimbRate = 1D; this.spinAmount.Numeric = true; this.table1.Add(this.spinAmount); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.spinAmount])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydatepickerWarrantyEnd = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerWarrantyEnd.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerWarrantyEnd.Name = "ydatepickerWarrantyEnd"; this.ydatepickerWarrantyEnd.WithTime = false; this.ydatepickerWarrantyEnd.HideCalendarButton = false; this.ydatepickerWarrantyEnd.Date = new global::System.DateTime(0); this.ydatepickerWarrantyEnd.IsEditable = true; this.ydatepickerWarrantyEnd.AutoSeparation = false; this.table1.Add(this.ydatepickerWarrantyEnd); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatepickerWarrantyEnd])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.datavbox1.Add(this.table1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.table1])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.buttonCreate = new global::Gtk.Button(); this.buttonCreate.Sensitive = false; this.buttonCreate.CanFocus = true; this.buttonCreate.Name = "buttonCreate"; this.buttonCreate.UseUnderline = true; this.buttonCreate.Label = global::Mono.Unix.Catalog.GetString("Зарегистрировать оборудование"); global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonCreate.Image = w14; this.datavbox1.Add(this.buttonCreate); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.buttonCreate])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Формирование наклеек</b>"); this.label6.UseMarkup = true; this.datavbox1.Add(this.label6); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.label6])); w16.Position = 4; w16.Expand = false; w16.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.printTwo = new global::Gtk.CheckButton(); this.printTwo.CanFocus = true; this.printTwo.Name = "printTwo"; this.printTwo.Label = global::Mono.Unix.Catalog.GetString("Печатать по 2 наклейки"); this.printTwo.DrawIndicator = true; this.printTwo.UseUnderline = true; this.datavbox1.Add(this.printTwo); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.printTwo])); w17.Position = 5; w17.Expand = false; w17.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonAddAndClose = new global::Gtk.Button(); this.buttonAddAndClose.Sensitive = false; this.buttonAddAndClose.CanFocus = true; this.buttonAddAndClose.Name = "buttonAddAndClose"; this.buttonAddAndClose.UseUnderline = true; this.buttonAddAndClose.Label = global::Mono.Unix.Catalog.GetString("Добавить в накладную и закрыть"); global::Gtk.Image w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonAddAndClose.Image = w18; this.hbox4.Add(this.buttonAddAndClose); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonAddAndClose])); w19.Position = 0; this.datavbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.hbox4])); w20.Position = 6; w20.Expand = false; w20.Fill = false; this.hbox2.Add(this.datavbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.datavbox1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; w21.Padding = ((uint)(5)); // Container child hbox2.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox2.Add(this.vseparator1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vseparator1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.reportviewer2 = new global::fyiReporting.RdlGtkViewer.ReportViewer(); this.reportviewer2.WidthRequest = 0; this.reportviewer2.HeightRequest = 0; this.reportviewer2.Events = ((global::Gdk.EventMask)(256)); this.reportviewer2.Name = "reportviewer2"; this.reportviewer2.ShowErrors = false; this.reportviewer2.ShowParameters = false; this.hbox2.Add(this.reportviewer2); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.reportviewer2])); w23.Position = 2; w23.Padding = ((uint)(5)); this.Add(this.hbox2); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); this.spinAmount.ValueChanged += new global::System.EventHandler(this.OnSpinAmountValueChanged); this.referenceNomenclature.Changed += new global::System.EventHandler(this.OnReferenceNomenclatureChanged); this.buttonCreate.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); this.printTwo.Toggled += new global::System.EventHandler(this.OnPrintTwoToggled); this.buttonAddAndClose.Clicked += new global::System.EventHandler(this.OnButtonAddAndCloseClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mono.Addins.Gui.AddinInfoView global::Stetic.BinContainer.Attach(this); this.Name = "Mono.Addins.Gui.AddinInfoView"; // Container child Mono.Addins.Gui.AddinInfoView.Gtk.Container+ContainerChild this.ebox = new global::Gtk.EventBox(); this.ebox.Name = "ebox"; // Container child ebox.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; // Container child vbox6.Gtk.Box+BoxChild this.boxHeader = new global::Gtk.EventBox(); this.boxHeader.Name = "boxHeader"; // Container child boxHeader.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.imageHeader = new global::Gtk.Image(); this.imageHeader.Name = "imageHeader"; this.imageHeader.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.hbox2.Add(this.imageHeader); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.imageHeader])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.labelHeader = new global::Gtk.Label(); this.labelHeader.WidthRequest = 250; this.labelHeader.Name = "labelHeader"; this.labelHeader.Xalign = 0F; this.labelHeader.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.labelHeader.Wrap = true; this.hbox2.Add(this.labelHeader); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelHeader])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.boxHeader.Add(this.hbox2); this.vbox6.Add(this.boxHeader); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.boxHeader])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(12)); // Container child vbox3.Gtk.Box+BoxChild this.headerBox = new global::Gtk.HBox(); this.headerBox.Name = "headerBox"; this.headerBox.Spacing = 6; // Container child headerBox.Gtk.Box+BoxChild this.boxTitle = new global::Gtk.HBox(); this.boxTitle.Name = "boxTitle"; this.boxTitle.Spacing = 6; // Container child boxTitle.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 3; // Container child vbox4.Gtk.Box+BoxChild this.labelName = new global::Gtk.Label(); this.labelName.WidthRequest = 280; this.labelName.Name = "labelName"; this.labelName.Xalign = 0F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("<b><big>Some Addin</big></b>"); this.labelName.UseMarkup = true; this.labelName.Wrap = true; this.vbox4.Add(this.labelName); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.labelName])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.labelVersion = new global::Gtk.Label(); this.labelVersion.WidthRequest = 280; this.labelVersion.Name = "labelVersion"; this.labelVersion.Xalign = 0F; this.labelVersion.LabelProp = global::Mono.Unix.Catalog.GetString("Version 2.6"); this.labelVersion.Wrap = true; this.vbox4.Add(this.labelVersion); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.labelVersion])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.boxTitle.Add(this.vbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.boxTitle [this.vbox4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.headerBox.Add(this.boxTitle); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.headerBox [this.boxTitle])); w8.Position = 0; this.vbox3.Add(this.headerBox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.headerBox])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindow = new global::Gtk.ScrolledWindow(); this.scrolledwindow.CanFocus = true; this.scrolledwindow.Name = "scrolledwindow"; this.scrolledwindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); // Container child scrolledwindow.Gtk.Container+ContainerChild global::Gtk.Viewport w10 = new global::Gtk.Viewport(); w10.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.ebox2 = new global::Gtk.EventBox(); this.ebox2.Name = "ebox2"; // Container child ebox2.Gtk.Container+ContainerChild this.vboxDesc = new global::Gtk.VBox(); this.vboxDesc.Name = "vboxDesc"; this.vboxDesc.Spacing = 6; // Container child vboxDesc.Gtk.Box+BoxChild this.labelDesc = new global::Gtk.Label(); this.labelDesc.WidthRequest = 250; this.labelDesc.Name = "labelDesc"; this.labelDesc.Xalign = 0F; this.labelDesc.LabelProp = global::Mono.Unix.Catalog.GetString("Long description of the extension. Long description of the extension. Long description of the extension. Long description of the extension. Long description of the extension. Long description of the extension. "); this.labelDesc.Wrap = true; this.vboxDesc.Add(this.labelDesc); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxDesc [this.labelDesc])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vboxDesc.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.urlButton = new global::Gtk.Button(); this.urlButton.CanFocus = true; this.urlButton.Name = "urlButton"; this.urlButton.UseUnderline = true; this.urlButton.Relief = ((global::Gtk.ReliefStyle)(2)); this.urlButton.Label = global::Mono.Unix.Catalog.GetString("More information"); global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("web-search-16.png"); this.urlButton.Image = w12; this.hbox3.Add(this.urlButton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.urlButton])); w13.Position = 0; w13.Expand = false; w13.Fill = false; this.vboxDesc.Add(this.hbox3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vboxDesc [this.hbox3])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.ebox2.Add(this.vboxDesc); w10.Add(this.ebox2); this.scrolledwindow.Add(w10); this.vbox3.Add(this.scrolledwindow); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow])); w18.Position = 1; this.vbox6.Add(this.vbox3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.vbox3])); w19.Position = 1; // Container child vbox6.Gtk.Box+BoxChild this.eboxButs = new global::Gtk.EventBox(); this.eboxButs.Name = "eboxButs"; // Container child eboxButs.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.btnInstall = new global::Gtk.Button(); this.btnInstall.CanFocus = true; this.btnInstall.Name = "btnInstall"; this.btnInstall.UseUnderline = true; this.btnInstall.Label = global::Mono.Unix.Catalog.GetString("Install..."); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("download-16.png"); this.btnInstall.Image = w20; this.hbox1.Add(this.btnInstall); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnInstall])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnUpdate = new global::Gtk.Button(); this.btnUpdate.CanFocus = true; this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.UseUnderline = true; this.btnUpdate.Label = global::Mono.Unix.Catalog.GetString("Update"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("download-16.png"); this.btnUpdate.Image = w22; this.hbox1.Add(this.btnUpdate); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnUpdate])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnDisable = new global::Gtk.Button(); this.btnDisable.CanFocus = true; this.btnDisable.Name = "btnDisable"; this.btnDisable.UseUnderline = true; this.btnDisable.Label = global::Mono.Unix.Catalog.GetString("Disable"); this.hbox1.Add(this.btnDisable); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnDisable])); w24.Position = 2; w24.Expand = false; w24.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnUninstall = new global::Gtk.Button(); this.btnUninstall.CanFocus = true; this.btnUninstall.Name = "btnUninstall"; this.btnUninstall.UseUnderline = true; this.btnUninstall.Label = global::Mono.Unix.Catalog.GetString("_Uninstall..."); this.hbox1.Add(this.btnUninstall); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnUninstall])); w25.Position = 3; w25.Expand = false; w25.Fill = false; this.eboxButs.Add(this.hbox1); this.vbox6.Add(this.eboxButs); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.eboxButs])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.ebox.Add(this.vbox6); this.Add(this.ebox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.urlButton.Clicked += new global::System.EventHandler(this.OnUrlButtonClicked); this.btnInstall.Clicked += new global::System.EventHandler(this.OnBtnInstallClicked); this.btnUpdate.Clicked += new global::System.EventHandler(this.OnBtnUpdateClicked); this.btnDisable.Clicked += new global::System.EventHandler(this.OnBtnDisableClicked); this.btnUninstall.Clicked += new global::System.EventHandler(this.OnBtnUninstallClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.AcceptBeforeView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.AcceptBeforeView"; // Container child Vodovoz.Views.Logistic.AcceptBeforeView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labelTime = new global::Gtk.Label(); this.labelTime.Name = "labelTime"; this.labelTime.Xalign = 1F; this.labelTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время: "); this.hbox1.Add(this.labelTime); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelTime])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.cmbHours = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.cmbHours.Name = "cmbHours"; this.cmbHours.AddIfNotExist = false; this.cmbHours.DefaultFirst = false; this.cmbHours.ShowSpecialStateAll = false; this.cmbHours.ShowSpecialStateNot = false; this.hbox1.Add(this.cmbHours); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cmbHours])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString(":"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.cmbMinutes = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.cmbMinutes.Name = "cmbMinutes"; this.cmbMinutes.AddIfNotExist = false; this.cmbMinutes.DefaultFirst = false; this.cmbMinutes.ShowSpecialStateAll = false; this.cmbMinutes.ShowSpecialStateNot = false; this.hbox1.Add(this.cmbMinutes); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cmbMinutes])); w9.Position = 3; w9.Expand = false; w9.Fill = false; this.vboxDialog.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox1])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ContactsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ContactsView"; // Container child Vodovoz.ContactsView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные лица контрагента"); this.vbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label1])); 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.datatreeviewContacts = new global::QSOrmProject.RepresentationTreeView(); this.datatreeviewContacts.CanFocus = true; this.datatreeviewContacts.Name = "datatreeviewContacts"; this.GtkScrolledWindow.Add(this.datatreeviewContacts); 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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonAdd = new global::Gtk.Button(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Новый контакт"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w4; this.hbox1.Add(this.buttonAdd); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAdd])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button(); this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString("Изменить"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w6; this.hbox1.Add(this.buttonEdit); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonEdit])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button(); this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w8; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonAdd.Clicked += new global::System.EventHandler(this.OnButtonAddClicked); this.buttonEdit.Clicked += new global::System.EventHandler(this.OnButtonEditClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Ide.Execution.MonoExecutionParametersWidget global::Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.Ide.Execution.MonoExecutionParametersWidget"; // Container child MonoDevelop.Ide.Execution.MonoExecutionParametersWidget.Gtk.Container+ContainerChild 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.propertyGrid = new global::MonoDevelop.Components.PropertyGrid.PropertyGrid(); this.propertyGrid.Name = "propertyGrid"; this.propertyGrid.ShowToolbar = false; this.propertyGrid.ShowHelp = true; this.hbox1.Add(this.propertyGrid); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.propertyGrid])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.buttonReset = new global::Gtk.Button(); this.buttonReset.CanFocus = true; this.buttonReset.Name = "buttonReset"; this.buttonReset.UseUnderline = true; // Container child buttonReset.Gtk.Container+ContainerChild global::Gtk.Alignment w2 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w3 = new global::Gtk.HBox(); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); w3.Add(w4); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w6 = new global::Gtk.Label(); w6.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Clear All Options"); w6.UseUnderline = true; w3.Add(w6); w2.Add(w3); this.buttonReset.Add(w2); this.vbox4.Add(this.buttonReset); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.buttonReset])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.buttonPreview = new global::Gtk.Button(); this.buttonPreview.CanFocus = true; this.buttonPreview.Name = "buttonPreview"; this.buttonPreview.UseUnderline = true; this.buttonPreview.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Preview Options"); this.vbox4.Add(this.buttonPreview); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.buttonPreview])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.hbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox4])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonReset.Clicked += new global::System.EventHandler(this.OnButtonResetClicked); this.buttonPreview.Clicked += new global::System.EventHandler(this.OnButtonPreviewClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mono.Upnp.GtkClient.ActionInvocationWindow this.WidthRequest = 0; this.HeightRequest = 0; this.Name = "Mono.Upnp.GtkClient.ActionInvocationWindow"; this.Title = "Invoke Action"; this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 0; this.DefaultHeight = 0; // Container child Mono.Upnp.GtkClient.ActionInvocationWindow.Gtk.Container+ContainerChild this.vbox = new global::Gtk.VBox(); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; this.vbox.BorderWidth = ((uint)(6)); // Container child vbox.Gtk.Box+BoxChild this.name = new global::Gtk.Label(); this.name.Name = "name"; this.name.Xalign = 0F; this.name.LabelProp = "<big><b>action</b></big>"; this.name.UseMarkup = true; this.vbox.Add(this.name); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox [this.name])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.inputsBox = new global::Gtk.VBox(); this.inputsBox.Name = "inputsBox"; this.inputsBox.Spacing = 6; this.vbox.Add(this.inputsBox); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox [this.inputsBox])); w2.Position = 1; // Container child vbox.Gtk.Box+BoxChild this.invoke = new global::Gtk.Button(); this.invoke.CanFocus = true; this.invoke.Name = "invoke"; this.invoke.UseUnderline = true; this.invoke.Relief = ((global::Gtk.ReliefStyle)(2)); this.invoke.Label = global::Mono.Unix.Catalog.GetString("_Invoke"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Menu); this.invoke.Image = w3; this.vbox.Add(this.invoke); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox [this.invoke])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.outputsBox = new global::Gtk.VBox(); this.outputsBox.Name = "outputsBox"; this.outputsBox.Spacing = 6; this.vbox.Add(this.outputsBox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox [this.outputsBox])); w5.Position = 3; this.Add(this.vbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.invoke.Clicked += new global::System.EventHandler(this.OnInvokeClicked); }