protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.StockBalanceView global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.StockBalanceView"; // Container child Vodovoz.StockBalanceView.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.stockbalancefilter1 = new global::Vodovoz.StockBalanceFilter (); this.stockbalancefilter1.Events = ((global::Gdk.EventMask)(256)); this.stockbalancefilter1.Name = "stockbalancefilter1"; this.hbox2.Add (this.stockbalancefilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.stockbalancefilter1])); w1.Position = 1; w1.Expand = false; w1.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.datatreeviewBalance = new global::QSOrmProject.RepresentationTreeView (); this.datatreeviewBalance.CanFocus = true; this.datatreeviewBalance.Name = "datatreeviewBalance"; this.GtkScrolledWindow.Add (this.datatreeviewBalance); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w4.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.RouteListMileageCheckView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.RouteListMileageCheckView"; // Container child Vodovoz.RouteListMileageCheckView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.routelistsfilter1 = new global::Vodovoz.RouteListsFilter(); this.routelistsfilter1.Events = ((global::Gdk.EventMask)(256)); this.routelistsfilter1.Name = "routelistsfilter1"; this.vbox2.Add(this.routelistsfilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.routelistsfilter1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeRouteLists = new global::QSOrmProject.RepresentationTreeView(); this.treeRouteLists.CanFocus = true; this.treeRouteLists.Name = "treeRouteLists"; this.GtkScrolledWindow.Add(this.treeRouteLists); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w3.Position = 1; // 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.buttonOpen = new global::Gtk.Button(); this.buttonOpen.Sensitive = false; this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); global::Gtk.Image w4 = new global::Gtk.Image(); this.buttonOpen.Image = w4; this.hbox2.Add(this.buttonOpen); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonOpen])); w5.Position = 0; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.treeRouteLists.RowActivated += new global::Gtk.RowActivatedHandler(this.OnRouteListActivated); this.buttonOpen.Clicked += new global::System.EventHandler(this.OnButtonOpenClicked); }
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 Vodovoz.AccountableDebts global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.AccountableDebts"; // Container child Vodovoz.AccountableDebts.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.accountabledebtsfilter1 = new global::Vodovoz.AccountableDebtsFilter (); this.accountabledebtsfilter1.Events = ((global::Gdk.EventMask)(256)); this.accountabledebtsfilter1.Name = "accountabledebtsfilter1"; this.vbox1.Add (this.accountabledebtsfilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.accountabledebtsfilter1])); w1.Position = 0; w1.Expand = false; w1.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.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 w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entrySearch = new global::Gtk.Entry (); this.entrySearch.CanFocus = true; this.entrySearch.Name = "entrySearch"; this.entrySearch.IsEditable = true; this.entrySearch.InvisibleChar = '●'; this.hbox2.Add (this.entrySearch); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entrySearch])); w3.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonSearchClear = new global::Gtk.Button (); this.buttonSearchClear.TooltipMarkup = "Очистить"; this.buttonSearchClear.CanFocus = true; this.buttonSearchClear.Name = "buttonSearchClear"; this.buttonSearchClear.UseUnderline = true; global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonSearchClear.Image = w4; this.hbox2.Add (this.buttonSearchClear); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSearchClear])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w6.Position = 1; w6.Expand = false; w6.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.representationtreeviewDebts = new global::QSOrmProject.RepresentationTreeView (); this.representationtreeviewDebts.CanFocus = true; this.representationtreeviewDebts.Name = "representationtreeviewDebts"; this.GtkScrolledWindow.Add (this.representationtreeviewDebts); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w8.Position = 2; // 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.buttonSlips = new global::Gtk.Button (); this.buttonSlips.CanFocus = true; this.buttonSlips.Name = "buttonSlips"; this.buttonSlips.UseUnderline = true; this.buttonSlips.Label = global::Mono.Unix.Catalog.GetString ("Движения по сотруднику"); this.hbox3.Add (this.buttonSlips); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonSlips])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonUnclosed = new global::Gtk.Button (); this.buttonUnclosed.CanFocus = true; this.buttonUnclosed.Name = "buttonUnclosed"; this.buttonUnclosed.UseUnderline = true; this.buttonUnclosed.Label = global::Mono.Unix.Catalog.GetString ("Незакрытые авансы"); this.hbox3.Add (this.buttonUnclosed); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonUnclosed])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonAdvanceReport = new global::Gtk.Button (); this.buttonAdvanceReport.CanFocus = true; this.buttonAdvanceReport.Name = "buttonAdvanceReport"; this.buttonAdvanceReport.UseUnderline = true; this.buttonAdvanceReport.Label = global::Mono.Unix.Catalog.GetString ("Создать авансовый отчет"); this.hbox3.Add (this.buttonAdvanceReport); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonAdvanceReport])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w12.Position = 3; w12.Expand = false; w12.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.entrySearch.Changed += new global::System.EventHandler (this.OnEntrySearchChanged); this.buttonSearchClear.Clicked += new global::System.EventHandler (this.OnButtonSearchClearClicked); this.representationtreeviewDebts.RowActivated += new global::Gtk.RowActivatedHandler (this.OnRepresentationtreeviewDebtsRowActivated); this.buttonSlips.Clicked += new global::System.EventHandler (this.OnButtonSlipsClicked); this.buttonUnclosed.Clicked += new global::System.EventHandler (this.OnButtonUnclosedClicked); this.buttonAdvanceReport.Clicked += new global::System.EventHandler (this.OnButtonAdvanceReportClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.ReadyForShipmentView global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.ReadyForShipmentView"; // Container child Vodovoz.ReadyForShipmentView.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.readyforshipmentfilter1 = new global::Vodovoz.ReadyForShipmentFilter (); this.readyforshipmentfilter1.Events = ((global::Gdk.EventMask)(256)); this.readyforshipmentfilter1.Name = "readyforshipmentfilter1"; this.hbox1.Add (this.readyforshipmentfilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.readyforshipmentfilter1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.searchentity2 = new global::QSWidgetLib.SearchEntity (); this.searchentity2.Events = ((global::Gdk.EventMask)(256)); this.searchentity2.Name = "searchentity2"; this.vbox1.Add (this.searchentity2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.searchentity2])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.tableReadyForShipment = new global::QSOrmProject.RepresentationTreeView (); this.tableReadyForShipment.CanFocus = true; this.tableReadyForShipment.Name = "tableReadyForShipment"; this.GtkScrolledWindow.Add (this.tableReadyForShipment); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w5.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button (); this.buttonOpen.Sensitive = false; this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString ("Погрузить машину"); global::Gtk.Image w6 = new global::Gtk.Image (); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOpen.Image = w6; this.hbox2.Add (this.buttonOpen); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonOpen])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w8.Position = 3; w8.Expand = false; w8.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.searchentity2.TextChanged += new global::System.EventHandler (this.OnSearchentity2TextChanged); this.tableReadyForShipment.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTableReadyForShipmentRowActivated); this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonOpenClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Fittings.FittingDlg global::Stetic.BinContainer.Attach(this); this.Name = "Fittings.FittingDlg"; // Container child Fittings.FittingDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.bodyMaterialReference = new global::Gamma.Widgets.yEntryReference(); this.bodyMaterialReference.Events = ((global::Gdk.EventMask)(256)); this.bodyMaterialReference.Name = "bodyMaterialReference"; this.table1.Add(this.bodyMaterialReference); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.bodyMaterialReference])); w4.TopAttach = ((uint)(5)); w4.BottomAttach = ((uint)(6)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.codeEntry = new global::Gamma.GtkWidgets.yEntry(); this.codeEntry.CanFocus = true; this.codeEntry.Name = "codeEntry"; this.codeEntry.IsEditable = true; this.codeEntry.InvisibleChar = '●'; this.table1.Add(this.codeEntry); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.codeEntry])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.connectionTypeRreference = new global::Gamma.Widgets.yEntryReference(); this.connectionTypeRreference.Events = ((global::Gdk.EventMask)(256)); this.connectionTypeRreference.Name = "connectionTypeRreference"; this.table1.Add(this.connectionTypeRreference); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.connectionTypeRreference])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fittingTypeReference = new global::Gamma.Widgets.yEntryReference(); this.fittingTypeReference.Events = ((global::Gdk.EventMask)(256)); this.fittingTypeReference.Name = "fittingTypeReference"; this.table1.Add(this.fittingTypeReference); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.fittingTypeReference])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.commentTextview = new global::Gamma.GtkWidgets.yTextView(); this.commentTextview.CanFocus = true; this.commentTextview.Name = "commentTextview"; this.GtkScrolledWindow.Add(this.commentTextview); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.diameterUnitscombobox = new global::Gamma.Widgets.yEnumComboBox(); this.diameterUnitscombobox.Name = "diameterUnitscombobox"; this.diameterUnitscombobox.ShowSpecialStateAll = false; this.diameterUnitscombobox.ShowSpecialStateNot = false; this.diameterUnitscombobox.UseShortTitle = false; this.diameterUnitscombobox.DefaultFirst = true; this.hbox4.Add(this.diameterUnitscombobox); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.diameterUnitscombobox])); w10.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.diameterCombobox = new global::Gamma.Widgets.ySpecComboBox(); this.diameterCombobox.Name = "diameterCombobox"; this.diameterCombobox.AddIfNotExist = false; this.diameterCombobox.DefaultFirst = false; this.diameterCombobox.ShowSpecialStateAll = false; this.diameterCombobox.ShowSpecialStateNot = true; this.hbox4.Add(this.diameterCombobox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.diameterCombobox])); w11.Position = 1; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox4])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.pressureUnitscombobox = new global::Gamma.Widgets.yEnumComboBox(); this.pressureUnitscombobox.Name = "pressureUnitscombobox"; this.pressureUnitscombobox.ShowSpecialStateAll = false; this.pressureUnitscombobox.ShowSpecialStateNot = false; this.pressureUnitscombobox.UseShortTitle = false; this.pressureUnitscombobox.DefaultFirst = true; this.hbox5.Add(this.pressureUnitscombobox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.pressureUnitscombobox])); w13.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.pressureCombobox = new global::Gamma.Widgets.ySpecComboBox(); this.pressureCombobox.Name = "pressureCombobox"; this.pressureCombobox.AddIfNotExist = false; this.pressureCombobox.DefaultFirst = false; this.pressureCombobox.ShowSpecialStateAll = false; this.pressureCombobox.ShowSpecialStateNot = true; this.hbox5.Add(this.pressureCombobox); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.pressureCombobox])); w14.Position = 1; this.table1.Add(this.hbox5); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); 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.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Тип арматуры:"); this.table1.Add(this.label10); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); 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.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 w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); 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.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Материал корпуса:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Артикул:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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("Комментарий:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w21.TopAttach = ((uint)(6)); w21.BottomAttach = ((uint)(7)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.Давление = new global::Gtk.Label(); this.Давление.Name = "Давление"; this.Давление.Xalign = 1F; this.Давление.LabelProp = global::Mono.Unix.Catalog.GetString("Давление:"); this.table1.Add(this.Давление); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.Давление])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.table1); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Основное"); this.notebook1.SetTabLabel(this.table1, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxPrice = new global::Gtk.VBox(); this.vboxPrice.Name = "vboxPrice"; this.vboxPrice.Spacing = 6; // Container child vboxPrice.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.treeviewPrice = new global::QSOrmProject.RepresentationTreeView(); this.treeviewPrice.CanFocus = true; this.treeviewPrice.Name = "treeviewPrice"; this.GtkScrolledWindow1.Add(this.treeviewPrice); this.vboxPrice.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vboxPrice [this.GtkScrolledWindow1])); w25.Position = 1; this.notebook1.Add(this.vboxPrice); global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vboxPrice])); w26.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Цены"); this.notebook1.SetTabLabel(this.vboxPrice, this.label3); this.label3.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w27.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.pressureUnitscombobox.Changed += new global::System.EventHandler(this.OnPressureUnitscomboboxChanged); this.diameterUnitscombobox.Changed += new global::System.EventHandler(this.OnDiameterUnitscomboboxChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.NuanceDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.NuanceDlg"; // Container child Vodovoz.Dialogs.NuanceDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.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.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatable5 = new global::Gtk.Table(((uint)(6)), ((uint)(4)), false); this.datatable5.Name = "datatable5"; this.datatable5.RowSpacing = ((uint)(6)); this.datatable5.ColumnSpacing = ((uint)(6)); this.datatable5.BorderWidth = ((uint)(6)); // Container child datatable5.Gtk.Table+TableChild this.buttonCreateTemplate = new global::Gtk.Button(); this.buttonCreateTemplate.CanFocus = true; this.buttonCreateTemplate.Name = "buttonCreateTemplate"; this.buttonCreateTemplate.UseUnderline = true; this.buttonCreateTemplate.Label = global::Mono.Unix.Catalog.GetString("Создать шаблон"); this.datatable5.Add(this.buttonCreateTemplate); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable5[this.buttonCreateTemplate])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.LeftAttach = ((uint)(3)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child datatable5.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.representationtreeview1 = new global::QSOrmProject.RepresentationTreeView(); this.representationtreeview1.CanFocus = true; this.representationtreeview1.Name = "representationtreeview1"; this.GtkScrolledWindow.Add(this.representationtreeview1); this.datatable5.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable5[this.GtkScrolledWindow])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.RightAttach = ((uint)(3)); // Container child datatable5.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytextCommentFinal = new global::Gamma.GtkWidgets.yTextView(); this.ytextCommentFinal.CanFocus = true; this.ytextCommentFinal.Name = "ytextCommentFinal"; this.GtkScrolledWindow1.Add(this.ytextCommentFinal); this.datatable5.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable5[this.GtkScrolledWindow1])); w10.TopAttach = ((uint)(5)); w10.BottomAttach = ((uint)(6)); w10.RightAttach = ((uint)(3)); w10.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child datatable5.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSelectTemplate = new global::Gtk.Button(); this.buttonSelectTemplate.CanFocus = true; this.buttonSelectTemplate.Name = "buttonSelectTemplate"; this.buttonSelectTemplate.UseUnderline = true; this.buttonSelectTemplate.Label = global::Mono.Unix.Catalog.GetString("Выбрать шаблон"); this.hbox1.Add(this.buttonSelectTemplate); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSelectTemplate])); w11.Position = 0; w11.Expand = false; w11.Fill = false; this.datatable5.Add(this.hbox1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable5[this.hbox1])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.datatable5.Add(this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label11])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(3)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.referenceAuthor = new global::Gamma.Widgets.yEntryReference(); this.referenceAuthor.Sensitive = false; this.referenceAuthor.Events = ((global::Gdk.EventMask)(256)); this.referenceAuthor.Name = "referenceAuthor"; this.datatable5.Add(this.referenceAuthor); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable5[this.referenceAuthor])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(3)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.searchentity2 = new global::QSWidgetLib.SearchEntity(); this.searchentity2.Events = ((global::Gdk.EventMask)(256)); this.searchentity2.Name = "searchentity2"; this.datatable5.Add(this.searchentity2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable5[this.searchentity2])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.table2 = new global::Gtk.Table(((uint)(13)), ((uint)(1)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.checkCommentFixed = new global::Gamma.GtkWidgets.yCheckButton(); this.checkCommentFixed.CanFocus = true; this.checkCommentFixed.Name = "checkCommentFixed"; this.checkCommentFixed.Label = global::Mono.Unix.Catalog.GetString("Фиксированный"); this.checkCommentFixed.Active = true; this.checkCommentFixed.DrawIndicator = true; this.checkCommentFixed.UseUnderline = true; this.checkCommentFixed.Xalign = 0F; this.table2.Add(this.checkCommentFixed); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.checkCommentFixed])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.enumAncorPoint = new global::Gamma.Widgets.yEnumComboBox(); this.enumAncorPoint.Name = "enumAncorPoint"; this.enumAncorPoint.ShowSpecialStateAll = false; this.enumAncorPoint.ShowSpecialStateNot = false; this.enumAncorPoint.UseShortTitle = false; this.enumAncorPoint.DefaultFirst = false; this.table2.Add(this.enumAncorPoint); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.enumAncorPoint])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Поля привязки:"); this.table2.Add(this.label12); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.label12])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.table2.Add(this.label13); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.label13])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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("Точка доставки:"); this.table2.Add(this.label3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w20.TopAttach = ((uint)(6)); w20.BottomAttach = ((uint)(7)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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("Заказ:"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2[this.label4])); w21.TopAttach = ((uint)(8)); w21.BottomAttach = ((uint)(9)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.referenceClient = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceClient.Events = ((global::Gdk.EventMask)(256)); this.referenceClient.Name = "referenceClient"; this.table2.Add(this.referenceClient); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.referenceClient])); w22.TopAttach = ((uint)(5)); w22.BottomAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.referenceDeliveryPoint = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.referenceDeliveryPoint.Name = "referenceDeliveryPoint"; this.table2.Add(this.referenceDeliveryPoint); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.referenceDeliveryPoint])); w23.TopAttach = ((uint)(7)); w23.BottomAttach = ((uint)(8)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.referenceOrder = new global::Gamma.Widgets.yEntryReference(); this.referenceOrder.TooltipMarkup = "При проставлении логистического района у данной точки доставки он проставится у в" + "сех точек доставки с совпадающим до номера дома включительно адресом."; this.referenceOrder.Events = ((global::Gdk.EventMask)(256)); this.referenceOrder.Name = "referenceOrder"; this.table2.Add(this.referenceOrder); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.referenceOrder])); w24.TopAttach = ((uint)(9)); w24.BottomAttach = ((uint)(10)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.table2.Add(this.spinbutton1); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.spinbutton1])); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryreferencevm1 = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryreferencevm1.Events = ((global::Gdk.EventMask)(256)); this.yentryreferencevm1.Name = "yentryreferencevm1"; this.table2.Add(this.yentryreferencevm1); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryreferencevm1])); w26.TopAttach = ((uint)(10)); w26.BottomAttach = ((uint)(11)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.datatable5.Add(this.table2); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable5[this.table2])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.LeftAttach = ((uint)(3)); w27.RightAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.datatable5); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.datatable5])); w28.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumAncorPoint.ChangedByUser += new global::System.EventHandler(this.OnEnumAncorPointChangedByUser); this.searchentity2.TextChanged += new global::System.EventHandler(this.OnSearchentity2TextChanged); this.buttonSelectTemplate.Clicked += new global::System.EventHandler(this.OnButtonSelectTemplateClicked); this.buttonCreateTemplate.Clicked += new global::System.EventHandler(this.OnButtonCreateTemplateClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LeaseAgreement.ContractPlaceAdd this.Name = "LeaseAgreement.ContractPlaceAdd"; this.Title = global::Mono.Unix.Catalog.GetString ("Выберите места для добавления"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child LeaseAgreement.ContractPlaceAdd.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Аренда с:"); this.hbox1.Add (this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.dateStart = new global::Gamma.Widgets.yDatePicker (); this.dateStart.Events = ((global::Gdk.EventMask)(256)); this.dateStart.Name = "dateStart"; this.dateStart.Date = new global::System.DateTime (0); this.dateStart.IsEditable = true; this.dateStart.AutoSeparation = true; this.hbox1.Add (this.dateStart); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.dateStart])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("по:"); this.hbox1.Add (this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label3])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.dateEnd = new global::Gamma.Widgets.yDatePicker (); this.dateEnd.Events = ((global::Gdk.EventMask)(256)); this.dateEnd.Name = "dateEnd"; this.dateEnd.Date = new global::System.DateTime (0); this.dateEnd.IsEditable = true; this.dateEnd.AutoSeparation = true; this.hbox1.Add (this.dateEnd); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.dateEnd])); w5.Position = 3; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("В списке отображаются только свободные места, в указанный период."); w1.Add (this.label1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.label1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.checkWithDraft = new global::Gtk.CheckButton (); this.checkWithDraft.CanFocus = true; this.checkWithDraft.Name = "checkWithDraft"; this.checkWithDraft.Label = global::Mono.Unix.Catalog.GetString ("Учитывая черновики договоров"); this.checkWithDraft.Active = true; this.checkWithDraft.DrawIndicator = true; this.checkWithDraft.UseUnderline = true; w1.Add (this.checkWithDraft); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.checkWithDraft])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // 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.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск:"); this.hbox4.Add (this.label4); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label4])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.entrySearch = new global::Gtk.Entry (); this.entrySearch.CanFocus = true; this.entrySearch.Name = "entrySearch"; this.entrySearch.IsEditable = true; this.entrySearch.InvisibleChar = '●'; this.hbox4.Add (this.entrySearch); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.entrySearch])); w10.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.buttonClean = new global::Gtk.Button (); this.buttonClean.TooltipMarkup = "Очистить"; this.buttonClean.CanFocus = true; this.buttonClean.Name = "buttonClean"; this.buttonClean.UseUnderline = true; global::Gtk.Image w11 = new global::Gtk.Image (); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonClean.Image = w11; this.hbox4.Add (this.buttonClean); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonClean])); w12.Position = 2; w12.Expand = false; w12.Fill = false; w1.Add (this.hbox4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox4])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // 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.ytreeviewPlaces = new global::QSOrmProject.RepresentationTreeView (); this.ytreeviewPlaces.CanFocus = true; this.ytreeviewPlaces.Name = "ytreeviewPlaces"; this.GtkScrolledWindow.Add (this.ytreeviewPlaces); w1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow])); w15.Position = 4; // Internal child LeaseAgreement.ContractPlaceAdd.ActionArea global::Gtk.HButtonBox w16 = this.ActionArea; w16.Name = "dialog1_ActionArea"; w16.Spacing = 10; w16.BorderWidth = ((uint)(5)); w16.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 w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.buttonCancel])); w17.Expand = false; w17.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 w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.buttonOk])); w18.Position = 1; w18.Expand = false; w18.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 592; this.DefaultHeight = 394; this.Show (); this.dateStart.DateChanged += new global::System.EventHandler (this.OnDateStartDateChanged); this.dateEnd.DateChanged += new global::System.EventHandler (this.OnDateEndDateChanged); this.checkWithDraft.Clicked += new global::System.EventHandler (this.OnCheckWithDraftClicked); this.entrySearch.Changed += new global::System.EventHandler (this.OnEntrySearchChanged); this.buttonClean.Clicked += new global::System.EventHandler (this.OnButtonCleanClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.AccountableSlipsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.AccountableSlipsView"; // Container child Vodovoz.AccountableSlipsView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.accountableslipfilter1 = new global::Vodovoz.AccountableSlipFilter(); this.accountableslipfilter1.Events = ((global::Gdk.EventMask)(256)); this.accountableslipfilter1.Name = "accountableslipfilter1"; this.vbox1.Add(this.accountableslipfilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.accountableslipfilter1])); 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.representationSlips = new global::QSOrmProject.RepresentationTreeView(); this.representationSlips.CanFocus = true; this.representationSlips.Name = "representationSlips"; this.GtkScrolledWindow.Add(this.representationSlips); 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.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.labelCurrentDebt = new global::Gtk.Label(); this.labelCurrentDebt.Name = "labelCurrentDebt"; this.hbox4.Add(this.labelCurrentDebt); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelCurrentDebt])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelRecived = new global::Gtk.Label(); this.labelRecived.Name = "labelRecived"; this.hbox4.Add(this.labelRecived); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelRecived])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelClosed = new global::Gtk.Label(); this.labelClosed.Name = "labelClosed"; this.hbox4.Add(this.labelClosed); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelClosed])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w7.Position = 2; w7.Expand = false; w7.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 Vodovoz.AccountingView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.AccountingView"; // Container child Vodovoz.AccountingView.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.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.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 w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w1; this.hbox3.Add(this.buttonDelete); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonDelete])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.checkFilter = new global::Gtk.CheckButton(); this.checkFilter.CanFocus = true; this.checkFilter.Name = "checkFilter"; this.checkFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтр"); this.checkFilter.DrawIndicator = false; this.checkFilter.UseUnderline = true; this.hbox3.Add(this.checkFilter); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.checkFilter])); w3.PackType = ((global::Gtk.PackType)(1)); w3.Position = 1; w3.Expand = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.accountingFilter = new global::Vodovoz.AccountingFilter(); this.accountingFilter.Events = ((global::Gdk.EventMask)(256)); this.accountingFilter.Name = "accountingFilter"; this.vbox1.Add(this.accountingFilter); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.accountingFilter])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.tableAccountingOperations = new global::QSOrmProject.RepresentationTreeView(); this.tableAccountingOperations.CanFocus = true; this.tableAccountingOperations.Name = "tableAccountingOperations"; this.GtkScrolledWindow.Add(this.tableAccountingOperations); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w7.Position = 2; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); this.checkFilter.Toggled += new global::System.EventHandler(this.OnCheckFilterToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSOrmProject.ReferenceRepresentation global::Stetic.BinContainer.Attach (this); this.Name = "QSOrmProject.ReferenceRepresentation"; // Container child QSOrmProject.ReferenceRepresentation.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.hboxSelect = new global::Gtk.HBox (); this.hboxSelect.Name = "hboxSelect"; this.hboxSelect.Spacing = 6; // Container child hboxSelect.Gtk.Box+BoxChild this.buttonSelect = new global::Gtk.Button (); this.buttonSelect.Sensitive = false; this.buttonSelect.CanFocus = true; this.buttonSelect.Name = "buttonSelect"; this.buttonSelect.UseUnderline = true; this.buttonSelect.Label = global::Mono.Unix.Catalog.GetString ("Выбрать"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-index", global::Gtk.IconSize.Menu); this.buttonSelect.Image = w1; this.hboxSelect.Add (this.buttonSelect); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxSelect [this.buttonSelect])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxSelect.Gtk.Box+BoxChild this.vseparatorSelect = new global::Gtk.VSeparator (); this.vseparatorSelect.Name = "vseparatorSelect"; this.hboxSelect.Add (this.vseparatorSelect); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxSelect [this.vseparatorSelect])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.hbox1.Add (this.hboxSelect); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hboxSelect])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // 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 w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w5; this.hbox1.Add (this.buttonAdd); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonAdd])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button (); this.buttonEdit.Sensitive = false; this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString ("Изменить"); global::Gtk.Image w7 = new global::Gtk.Image (); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w7; this.hbox1.Add (this.buttonEdit); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonEdit])); w8.Position = 2; w8.Expand = false; w8.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 w9 = new global::Gtk.Image (); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w9; this.hbox1.Add (this.buttonDelete); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonDelete])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.checkShowFilter = new global::Gtk.CheckButton (); this.checkShowFilter.CanFocus = true; this.checkShowFilter.Name = "checkShowFilter"; this.checkShowFilter.Label = global::Mono.Unix.Catalog.GetString ("Фильтр"); this.checkShowFilter.DrawIndicator = false; this.checkShowFilter.UseUnderline = true; this.hbox1.Add (this.checkShowFilter); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.checkShowFilter])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 4; w11.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button (); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString ("Обновить"); global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w12; this.hbox1.Add (this.buttonRefresh); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonRefresh])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 5; w13.Expand = false; w13.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxFilter = new global::Gtk.HBox (); this.hboxFilter.Name = "hboxFilter"; this.hboxFilter.Spacing = 6; this.vbox1.Add (this.hboxFilter); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hboxFilter])); w15.Position = 1; w15.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxSearch = new global::Gtk.HBox (); this.hboxSearch.Name = "hboxSearch"; this.hboxSearch.Spacing = 6; // Container child hboxSearch.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.hboxSearch.Add (this.label1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hboxSearch [this.label1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.entrySearch = new global::Gtk.Entry (); this.entrySearch.CanFocus = true; this.entrySearch.Name = "entrySearch"; this.entrySearch.IsEditable = true; this.entrySearch.InvisibleChar = '●'; this.hboxSearch.Add (this.entrySearch); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxSearch [this.entrySearch])); w17.Position = 1; // Container child hboxSearch.Gtk.Box+BoxChild this.ylabelSearchAnd = new global::Gamma.GtkWidgets.yLabel (); this.ylabelSearchAnd.Name = "ylabelSearchAnd"; this.ylabelSearchAnd.LabelProp = global::Mono.Unix.Catalog.GetString ("и"); this.hboxSearch.Add (this.ylabelSearchAnd); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxSearch [this.ylabelSearchAnd])); w18.Position = 2; w18.Expand = false; w18.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.entrySearch2 = new global::Gtk.Entry (); this.entrySearch2.CanFocus = true; this.entrySearch2.Name = "entrySearch2"; this.entrySearch2.IsEditable = true; this.entrySearch2.InvisibleChar = '●'; this.hboxSearch.Add (this.entrySearch2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hboxSearch [this.entrySearch2])); w19.Position = 3; // Container child hboxSearch.Gtk.Box+BoxChild this.ylabelSearchAnd2 = new global::Gamma.GtkWidgets.yLabel (); this.ylabelSearchAnd2.Name = "ylabelSearchAnd2"; this.ylabelSearchAnd2.LabelProp = global::Mono.Unix.Catalog.GetString ("и"); this.hboxSearch.Add (this.ylabelSearchAnd2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hboxSearch [this.ylabelSearchAnd2])); w20.Position = 4; w20.Expand = false; w20.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.entrySearch3 = new global::Gtk.Entry (); this.entrySearch3.CanFocus = true; this.entrySearch3.Name = "entrySearch3"; this.entrySearch3.IsEditable = true; this.entrySearch3.InvisibleChar = '●'; this.hboxSearch.Add (this.entrySearch3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hboxSearch [this.entrySearch3])); w21.Position = 5; // Container child hboxSearch.Gtk.Box+BoxChild this.buttonAddAnd = new global::Gtk.Button (); this.buttonAddAnd.CanFocus = true; this.buttonAddAnd.Name = "buttonAddAnd"; this.buttonAddAnd.UseUnderline = true; this.buttonAddAnd.Label = global::Mono.Unix.Catalog.GetString ("И"); global::Gtk.Image w22 = new global::Gtk.Image (); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddAnd.Image = w22; this.hboxSearch.Add (this.buttonAddAnd); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hboxSearch [this.buttonAddAnd])); w23.Position = 6; w23.Expand = false; w23.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.buttonSearchClear = new global::Gtk.Button (); this.buttonSearchClear.TooltipMarkup = "Очистить"; this.buttonSearchClear.CanFocus = true; this.buttonSearchClear.Name = "buttonSearchClear"; this.buttonSearchClear.UseUnderline = true; global::Gtk.Image w24 = new global::Gtk.Image (); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonSearchClear.Image = w24; this.hboxSearch.Add (this.buttonSearchClear); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hboxSearch [this.buttonSearchClear])); w25.Position = 7; w25.Expand = false; w25.Fill = false; this.vbox1.Add (this.hboxSearch); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hboxSearch])); w26.Position = 2; w26.Expand = false; w26.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.ormtableview = new global::QSOrmProject.RepresentationTreeView (); this.ormtableview.CanFocus = true; this.ormtableview.Name = "ormtableview"; this.GtkScrolledWindow.Add (this.ormtableview); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w28.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.labelSum = new global::Gtk.Label (); this.labelSum.Name = "labelSum"; this.labelSum.Xpad = 6; this.labelSum.Xalign = 1F; this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString ("label2"); this.labelSum.SingleLineMode = true; this.vbox1.Add (this.labelSum); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelSum])); w29.Position = 4; w29.Expand = false; w29.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.checkShowFilter.Hide (); this.hboxFilter.Hide (); this.ylabelSearchAnd.Hide (); this.entrySearch2.Hide (); this.ylabelSearchAnd2.Hide (); this.entrySearch3.Hide (); this.Hide (); this.buttonSelect.Clicked += new global::System.EventHandler (this.OnButtonSelectClicked); 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); this.buttonRefresh.Clicked += new global::System.EventHandler (this.OnButtonRefreshClicked); this.checkShowFilter.Toggled += new global::System.EventHandler (this.OnCheckShowFilterToggled); this.entrySearch.Changed += new global::System.EventHandler (this.OnEntrySearchChanged); this.entrySearch2.Changed += new global::System.EventHandler (this.OnEntrySearch2Changed); this.entrySearch3.Changed += new global::System.EventHandler (this.OnEntrySearch3Changed); this.buttonAddAnd.Clicked += new global::System.EventHandler (this.OnButtonAddAndClicked); this.buttonSearchClear.Clicked += new global::System.EventHandler (this.OnButtonSearchClearClicked); this.ormtableview.RowActivated += new global::Gtk.RowActivatedHandler (this.OnOrmtableviewRowActivated); this.ormtableview.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnOrmtableviewButtonReleaseEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QSOrmProject.ReferenceRepresentation global::Stetic.BinContainer.Attach(this); this.Name = "QSOrmProject.ReferenceRepresentation"; // Container child QSOrmProject.ReferenceRepresentation.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.hboxSelect = new global::Gtk.HBox(); this.hboxSelect.Name = "hboxSelect"; this.hboxSelect.Spacing = 6; // Container child hboxSelect.Gtk.Box+BoxChild this.buttonSelect = new global::Gtk.Button(); this.buttonSelect.Sensitive = false; this.buttonSelect.CanFocus = true; this.buttonSelect.Name = "buttonSelect"; this.buttonSelect.UseUnderline = true; this.buttonSelect.Label = global::Mono.Unix.Catalog.GetString("Выбрать"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-index", global::Gtk.IconSize.Menu); this.buttonSelect.Image = w1; this.hboxSelect.Add(this.buttonSelect); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxSelect[this.buttonSelect])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxSelect.Gtk.Box+BoxChild this.vseparatorSelect = new global::Gtk.VSeparator(); this.vseparatorSelect.Name = "vseparatorSelect"; this.hboxSelect.Add(this.vseparatorSelect); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxSelect[this.vseparatorSelect])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.hbox1.Add(this.hboxSelect); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hboxSelect])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // 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 w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w5; this.hbox1.Add(this.buttonAdd); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAdd])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button(); this.buttonEdit.Sensitive = false; this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString("Изменить"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w7; this.hbox1.Add(this.buttonEdit); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonEdit])); w8.Position = 2; w8.Expand = false; w8.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 w9 = new global::Gtk.Image(); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w9; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.checkShowFilter = new global::Gtk.CheckButton(); this.checkShowFilter.CanFocus = true; this.checkShowFilter.Name = "checkShowFilter"; this.checkShowFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтр"); this.checkShowFilter.DrawIndicator = false; this.checkShowFilter.UseUnderline = true; this.hbox1.Add(this.checkShowFilter); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.checkShowFilter])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 4; w11.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить"); global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w12; this.hbox1.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonRefresh])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 5; w13.Expand = false; w13.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxFilter = new global::Gtk.HBox(); this.hboxFilter.Name = "hboxFilter"; this.hboxFilter.Spacing = 6; this.vbox1.Add(this.hboxFilter); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFilter])); w15.Position = 1; w15.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxSearch = new global::Gtk.HBox(); this.hboxSearch.Name = "hboxSearch"; this.hboxSearch.Spacing = 6; // Container child hboxSearch.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.hboxSearch.Add(this.label1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.label1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.entrySearch = new global::Gtk.Entry(); this.entrySearch.WidthRequest = 50; this.entrySearch.CanFocus = true; this.entrySearch.Name = "entrySearch"; this.entrySearch.IsEditable = true; this.entrySearch.InvisibleChar = '●'; this.hboxSearch.Add(this.entrySearch); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.entrySearch])); w17.Position = 1; // Container child hboxSearch.Gtk.Box+BoxChild this.ylabelSearchAnd = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSearchAnd.Name = "ylabelSearchAnd"; this.ylabelSearchAnd.LabelProp = global::Mono.Unix.Catalog.GetString("и"); this.hboxSearch.Add(this.ylabelSearchAnd); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.ylabelSearchAnd])); w18.Position = 2; w18.Expand = false; w18.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.entrySearch2 = new global::Gtk.Entry(); this.entrySearch2.WidthRequest = 50; this.entrySearch2.CanFocus = true; this.entrySearch2.Name = "entrySearch2"; this.entrySearch2.IsEditable = true; this.entrySearch2.InvisibleChar = '●'; this.hboxSearch.Add(this.entrySearch2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.entrySearch2])); w19.Position = 3; // Container child hboxSearch.Gtk.Box+BoxChild this.ylabelSearchAnd2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSearchAnd2.Name = "ylabelSearchAnd2"; this.ylabelSearchAnd2.LabelProp = global::Mono.Unix.Catalog.GetString("и"); this.hboxSearch.Add(this.ylabelSearchAnd2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.ylabelSearchAnd2])); w20.Position = 4; w20.Expand = false; w20.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.entrySearch3 = new global::Gtk.Entry(); this.entrySearch3.WidthRequest = 50; this.entrySearch3.CanFocus = true; this.entrySearch3.Name = "entrySearch3"; this.entrySearch3.IsEditable = true; this.entrySearch3.InvisibleChar = '●'; this.hboxSearch.Add(this.entrySearch3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.entrySearch3])); w21.Position = 5; // Container child hboxSearch.Gtk.Box+BoxChild this.ylabelSearchAnd3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSearchAnd3.Name = "ylabelSearchAnd3"; this.ylabelSearchAnd3.LabelProp = global::Mono.Unix.Catalog.GetString("и"); this.hboxSearch.Add(this.ylabelSearchAnd3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.ylabelSearchAnd3])); w22.Position = 6; w22.Expand = false; w22.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.entrySearch4 = new global::Gtk.Entry(); this.entrySearch4.WidthRequest = 50; this.entrySearch4.CanFocus = true; this.entrySearch4.Name = "entrySearch4"; this.entrySearch4.IsEditable = true; this.entrySearch4.InvisibleChar = '●'; this.hboxSearch.Add(this.entrySearch4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.entrySearch4])); w23.Position = 7; // Container child hboxSearch.Gtk.Box+BoxChild this.buttonAddAnd = new global::Gtk.Button(); this.buttonAddAnd.CanFocus = true; this.buttonAddAnd.Name = "buttonAddAnd"; this.buttonAddAnd.UseUnderline = true; this.buttonAddAnd.Label = global::Mono.Unix.Catalog.GetString("И"); global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddAnd.Image = w24; this.hboxSearch.Add(this.buttonAddAnd); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.buttonAddAnd])); w25.Position = 8; w25.Expand = false; w25.Fill = false; // Container child hboxSearch.Gtk.Box+BoxChild this.buttonSearchClear = new global::Gtk.Button(); this.buttonSearchClear.TooltipMarkup = "Очистить"; this.buttonSearchClear.CanFocus = true; this.buttonSearchClear.Name = "buttonSearchClear"; this.buttonSearchClear.UseUnderline = true; global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonSearchClear.Image = w26; this.hboxSearch.Add(this.buttonSearchClear); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.buttonSearchClear])); w27.Position = 9; w27.Expand = false; w27.Fill = false; this.vbox1.Add(this.hboxSearch); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxSearch])); w28.Position = 2; w28.Expand = false; w28.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.ormtableview = new global::QSOrmProject.RepresentationTreeView(); this.ormtableview.CanFocus = true; this.ormtableview.Name = "ormtableview"; this.GtkScrolledWindow.Add(this.ormtableview); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w30.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.labelSum = new global::Gtk.Label(); this.labelSum.Name = "labelSum"; this.labelSum.Xpad = 6; this.labelSum.Xalign = 1F; this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.labelSum.SingleLineMode = true; this.vbox1.Add(this.labelSum); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelSum])); w31.Position = 4; w31.Expand = false; w31.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.checkShowFilter.Hide(); this.hboxFilter.Hide(); this.ylabelSearchAnd.Hide(); this.entrySearch2.Hide(); this.ylabelSearchAnd2.Hide(); this.entrySearch3.Hide(); this.ylabelSearchAnd3.Hide(); this.entrySearch4.Hide(); this.Hide(); this.buttonSelect.Clicked += new global::System.EventHandler(this.OnButtonSelectClicked); 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); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); this.checkShowFilter.Toggled += new global::System.EventHandler(this.OnCheckShowFilterToggled); this.entrySearch.Changed += new global::System.EventHandler(this.OnEntrySearchChanged); this.entrySearch2.Changed += new global::System.EventHandler(this.OnEntrySearchChanged); this.entrySearch3.Changed += new global::System.EventHandler(this.OnEntrySearchChanged); this.entrySearch4.Changed += new global::System.EventHandler(this.OnEntrySearchChanged); this.buttonAddAnd.Clicked += new global::System.EventHandler(this.OnButtonAddAndClicked); this.buttonSearchClear.Clicked += new global::System.EventHandler(this.OnButtonSearchClearClicked); this.ormtableview.RowActivated += new global::Gtk.RowActivatedHandler(this.OnOrmtableviewRowActivated); this.ormtableview.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnOrmtableviewButtonReleaseEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.RouteListKeepingView global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.RouteListKeepingView"; // Container child Vodovoz.RouteListKeepingView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeRouteLists = new global::QSOrmProject.RepresentationTreeView (); this.treeRouteLists.CanFocus = true; this.treeRouteLists.Name = "treeRouteLists"; this.GtkScrolledWindow.Add (this.treeRouteLists); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w2.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button (); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString ("Открыть"); global::Gtk.Image w3 = new global::Gtk.Image (); this.buttonOpen.Image = w3; this.hbox1.Add (this.buttonOpen); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonOpen])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button (); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString ("Обновить"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w5; this.hbox1.Add (this.buttonRefresh); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonRefresh])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.treeRouteLists.RowActivated += new global::Gtk.RowActivatedHandler (this.OnRouteListActivated); this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonOpenClicked); this.buttonRefresh.Clicked += new global::System.EventHandler (this.OnButtonRefreshClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.JournalViewers.ProductGroupView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.JournalViewers.ProductGroupView"; // Container child Vodovoz.JournalViewers.ProductGroupView.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.btnAdd = new global::Gtk.Button(); this.btnAdd.CanFocus = true; this.btnAdd.Name = "btnAdd"; this.btnAdd.UseUnderline = true; this.btnAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.btnAdd.Image = w1; this.hbox1.Add(this.btnAdd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnAdd])); w2.Position = 0; w2.Expand = false; w2.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 w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w3; this.hbox1.Add(this.buttonEdit); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonEdit])); w4.Position = 1; w4.Expand = false; w4.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 w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w5; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonFilter = new global::Gtk.CheckButton(); this.buttonFilter.CanFocus = true; this.buttonFilter.Name = "buttonFilter"; this.buttonFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтр"); this.buttonFilter.DrawIndicator = false; this.buttonFilter.UseUnderline = true; this.hbox1.Add(this.buttonFilter); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonFilter])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; w7.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w8; this.hbox1.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonRefresh])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 4; 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 = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxFilter = new global::Gtk.HBox(); this.hboxFilter.Name = "hboxFilter"; this.hboxFilter.Spacing = 6; this.vbox1.Add(this.hboxFilter); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFilter])); w11.Position = 1; w11.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.searchentity = new global::QSWidgetLib.SearchEntity(); this.searchentity.Events = ((global::Gdk.EventMask)(256)); this.searchentity.Name = "searchentity"; this.vbox1.Add(this.searchentity); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.searchentity])); w12.Position = 2; w12.Expand = false; w12.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.tableProductGroup = new global::QSOrmProject.RepresentationTreeView(); this.tableProductGroup.CanFocus = true; this.tableProductGroup.Name = "tableProductGroup"; this.GtkScrolledWindow.Add(this.tableProductGroup); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w14.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.hboxFilter.Hide(); this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CarGlass.Dialogs.StockBalance global::Stetic.BinContainer.Attach(this); this.Name = "CarGlass.Dialogs.StockBalance"; // Container child CarGlass.Dialogs.StockBalance.Gtk.Container+ContainerChild 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.glassselector = new global::CarGlass.Widgets.GlassSelector(); this.glassselector.WidthRequest = 300; this.glassselector.HeightRequest = 250; this.glassselector.Name = "glassselector"; this.hbox1.Add(this.glassselector); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.glassselector])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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.yentrySearch = new global::Gamma.GtkWidgets.yEntry(); this.yentrySearch.CanFocus = true; this.yentrySearch.Name = "yentrySearch"; this.yentrySearch.IsEditable = true; this.yentrySearch.InvisibleChar = '●'; this.hbox3.Add(this.yentrySearch); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yentrySearch])); w2.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.buttonSearchClean = new global::Gtk.Button(); this.buttonSearchClean.CanFocus = true; this.buttonSearchClean.Name = "buttonSearchClean"; this.buttonSearchClean.UseUnderline = true; global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonSearchClean.Image = w3; this.hbox3.Add(this.buttonSearchClean); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSearchClean])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Поиск:</b>"); this.ylabel1.UseMarkup = true; this.vbox1.Add(this.ylabel1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ylabel1])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1])); w7.Position = 1; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.representationViewStoreItems = new global::QSOrmProject.RepresentationTreeView(); this.representationViewStoreItems.CanFocus = true; this.representationViewStoreItems.Name = "representationViewStoreItems"; this.GtkScrolledWindow.Add(this.representationViewStoreItems); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w10.Position = 1; // 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.buttonAddRow = new global::Gtk.Button(); this.buttonAddRow.CanFocus = true; this.buttonAddRow.Name = "buttonAddRow"; this.buttonAddRow.UseUnderline = true; this.buttonAddRow.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddRow.Image = w11; this.hbox2.Add(this.buttonAddRow); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonAddRow])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox2.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 w13 = new global::Gtk.Image(); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w13; this.hbox2.Add(this.buttonEdit); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonEdit])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonDeleteRow = new global::Gtk.Button(); this.buttonDeleteRow.Sensitive = false; this.buttonDeleteRow.CanFocus = true; this.buttonDeleteRow.Name = "buttonDeleteRow"; this.buttonDeleteRow.UseUnderline = true; this.buttonDeleteRow.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDeleteRow.Image = w15; this.hbox2.Add(this.buttonDeleteRow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonDeleteRow])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.glassselector.GlassChanged += new global::System.EventHandler(this.OnGlassselectorGlassChanged); this.yentrySearch.Changed += new global::System.EventHandler(this.OnYentrySearchChanged); this.buttonSearchClean.Clicked += new global::System.EventHandler(this.OnButtonSearchCleanClicked); this.representationViewStoreItems.RowActivated += new global::Gtk.RowActivatedHandler(this.OnRepresentationViewStoreItemsRowActivated); this.buttonAddRow.Clicked += new global::System.EventHandler(this.OnButtonAddRowClicked); this.buttonEdit.Clicked += new global::System.EventHandler(this.OnButtonEditClicked); this.buttonDeleteRow.Clicked += new global::System.EventHandler(this.OnButtonDeleteRowClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Company.EmployeeChilds.EmployeeVacationsView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Company.EmployeeChilds.EmployeeVacationsView"; // Container child workwear.Views.Company.EmployeeChilds.EmployeeVacationsView.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.treeviewVacations = new global::QSOrmProject.RepresentationTreeView(); this.treeviewVacations.CanFocus = true; this.treeviewVacations.Name = "treeviewVacations"; this.GtkScrolledWindow.Add(this.treeviewVacations); 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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.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 w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w3; this.hbox1.Add(this.buttonAdd); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAdd])); w4.Position = 0; w4.Expand = false; w4.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 w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w5; this.hbox1.Add(this.buttonEdit); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonEdit])); w6.Position = 1; w6.Expand = false; w6.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 w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w7; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w9.Position = 1; w9.Expand = false; w9.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 Vodovoz.RouteListKeepingView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.RouteListKeepingView"; // Container child Vodovoz.RouteListKeepingView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeRouteLists = new global::QSOrmProject.RepresentationTreeView(); this.treeRouteLists.CanFocus = true; this.treeRouteLists.Name = "treeRouteLists"; this.GtkScrolledWindow.Add(this.treeRouteLists); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w2.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button(); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); global::Gtk.Image w3 = new global::Gtk.Image(); this.buttonOpen.Image = w3; this.hbox1.Add(this.buttonOpen); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonOpen])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w5; this.hbox1.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonRefresh])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.treeRouteLists.RowActivated += new global::Gtk.RowActivatedHandler(this.OnRouteListActivated); this.buttonOpen.Clicked += new global::System.EventHandler(this.OnButtonOpenClicked); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReadyForReceptionView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReadyForReceptionView"; // Container child Vodovoz.ReadyForReceptionView.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.readyforreceptionfilter1 = new global::Vodovoz.ReadyForReceptionFilter(); this.readyforreceptionfilter1.Events = ((global::Gdk.EventMask)(256)); this.readyforreceptionfilter1.Name = "readyforreceptionfilter1"; this.hbox1.Add(this.readyforreceptionfilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.readyforreceptionfilter1])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить"); this.hbox1.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonRefresh])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.searchentity1 = new global::QSWidgetLib.SearchEntity(); this.searchentity1.Events = ((global::Gdk.EventMask)(256)); this.searchentity1.Name = "searchentity1"; this.vbox1.Add(this.searchentity1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.searchentity1])); w4.Position = 1; 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.tableReadyForReception = new global::QSOrmProject.RepresentationTreeView(); this.tableReadyForReception.CanFocus = true; this.tableReadyForReception.Name = "tableReadyForReception"; this.GtkScrolledWindow.Add(this.tableReadyForReception); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w6.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button(); this.buttonOpen.Sensitive = false; this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Разгрузить машину"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOpen.Image = w7; this.hbox4.Add(this.buttonOpen); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonOpen])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w9.Position = 3; w9.Expand = false; w9.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); this.searchentity1.TextChanged += new global::System.EventHandler(this.OnSearchentity1TextChanged); this.tableReadyForReception.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTableReadyForReceptionRowActivated); this.buttonOpen.Clicked += new global::System.EventHandler(this.OnButtonOpenClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.UnclosedAdvancesView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.UnclosedAdvancesView"; // Container child Vodovoz.UnclosedAdvancesView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.unclosedadvancesfilter1 = new global::Vodovoz.UnclosedAdvancesFilter(); this.unclosedadvancesfilter1.Events = ((global::Gdk.EventMask)(256)); this.unclosedadvancesfilter1.Name = "unclosedadvancesfilter1"; this.vbox1.Add(this.unclosedadvancesfilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.unclosedadvancesfilter1])); 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.representationUnclosed = new global::QSOrmProject.RepresentationTreeView(); this.representationUnclosed.CanFocus = true; this.representationUnclosed.Name = "representationUnclosed"; this.GtkScrolledWindow.Add(this.representationUnclosed); 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.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonReturn = new global::Gtk.Button(); this.buttonReturn.Sensitive = false; this.buttonReturn.CanFocus = true; this.buttonReturn.Name = "buttonReturn"; this.buttonReturn.UseUnderline = true; this.buttonReturn.Label = global::Mono.Unix.Catalog.GetString("Возврат в кассу"); this.hbox3.Add(this.buttonReturn); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonReturn])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonClose = new global::Gtk.Button(); this.buttonClose.Sensitive = false; this.buttonClose.CanFocus = true; this.buttonClose.Name = "buttonClose"; this.buttonClose.UseUnderline = true; this.buttonClose.Label = global::Mono.Unix.Catalog.GetString("Авансовый отчет"); this.hbox3.Add(this.buttonClose); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonClose])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonReturn.Clicked += new global::System.EventHandler(this.OnButtonReturnClicked); this.buttonClose.Clicked += new global::System.EventHandler(this.OnButtonCloseClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.AccountableSlipsView global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.AccountableSlipsView"; // Container child Vodovoz.AccountableSlipsView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.accountableslipfilter1 = new global::Vodovoz.AccountableSlipFilter (); this.accountableslipfilter1.Events = ((global::Gdk.EventMask)(256)); this.accountableslipfilter1.Name = "accountableslipfilter1"; this.vbox1.Add (this.accountableslipfilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.accountableslipfilter1])); 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.representationSlips = new global::QSOrmProject.RepresentationTreeView (); this.representationSlips.CanFocus = true; this.representationSlips.Name = "representationSlips"; this.GtkScrolledWindow.Add (this.representationSlips); 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.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.labelCurrentDebt = new global::Gtk.Label (); this.labelCurrentDebt.Name = "labelCurrentDebt"; this.labelCurrentDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label1"); this.hbox4.Add (this.labelCurrentDebt); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelCurrentDebt])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelRecived = new global::Gtk.Label (); this.labelRecived.Name = "labelRecived"; this.labelRecived.LabelProp = global::Mono.Unix.Catalog.GetString ("label2"); this.hbox4.Add (this.labelRecived); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelRecived])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelClosed = new global::Gtk.Label (); this.labelClosed.Name = "labelClosed"; this.labelClosed.LabelProp = global::Mono.Unix.Catalog.GetString ("label3"); this.hbox4.Add (this.labelClosed); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelClosed])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w7.Position = 2; w7.Expand = false; w7.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 Vodovoz.RouteListTrackDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.RouteListTrackDlg"; // Container child Vodovoz.RouteListTrackDlg.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Водители в пути"); this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.yTreeViewDrivers = new global::QSOrmProject.RepresentationTreeView (); this.yTreeViewDrivers.WidthRequest = 500; this.yTreeViewDrivers.CanFocus = true; this.yTreeViewDrivers.Name = "yTreeViewDrivers"; this.GtkScrolledWindow.Add (this.yTreeViewDrivers); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w3.Position = 1; // 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.buttonChat = new global::Gtk.Button (); this.buttonChat.CanFocus = true; this.buttonChat.Name = "buttonChat"; this.buttonChat.UseUnderline = true; this.buttonChat.Label = global::Mono.Unix.Catalog.GetString ("Открыть чат"); global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("chat-icon.png"); this.buttonChat.Image = w4; this.hbox2.Add (this.buttonChat); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonChat])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxRight = new global::Gtk.VBox (); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; // Container child vboxRight.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Список адресов"); this.vboxRight.Add (this.label2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.label2])); w8.Position = 0; w8.Expand = false; // Container child vboxRight.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.yTreeAddresses = new global::QSOrmProject.RepresentationTreeView (); this.yTreeAddresses.WidthRequest = 600; this.yTreeAddresses.HeightRequest = 150; this.yTreeAddresses.CanFocus = true; this.yTreeAddresses.Name = "yTreeAddresses"; this.GtkScrolledWindow1.Add (this.yTreeAddresses); this.vboxRight.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.GtkScrolledWindow1])); w10.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.toggleButtonHideAddresses = new global::Gtk.ToggleButton (); this.toggleButtonHideAddresses.TooltipMarkup = "Скрыть\\показать адреса."; this.toggleButtonHideAddresses.CanFocus = true; this.toggleButtonHideAddresses.Name = "toggleButtonHideAddresses"; this.toggleButtonHideAddresses.UseUnderline = true; this.toggleButtonHideAddresses.Label = global::Mono.Unix.Catalog.GetString ("⇧⇩"); this.hbox3.Add (this.toggleButtonHideAddresses); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.toggleButtonHideAddresses])); w11.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.buttonCleanTrack = new global::Gtk.Button (); this.buttonCleanTrack.Sensitive = false; this.buttonCleanTrack.CanFocus = true; this.buttonCleanTrack.Name = "buttonCleanTrack"; this.buttonCleanTrack.UseUnderline = true; this.buttonCleanTrack.Label = global::Mono.Unix.Catalog.GetString ("Убрать трек"); global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCleanTrack.Image = w12; this.hbox3.Add (this.buttonCleanTrack); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonCleanTrack])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox (); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox3.Add (this.yenumcomboMapType); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yenumcomboMapType])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonMapInWindow = new global::Gtk.Button (); this.buttonMapInWindow.CanFocus = true; this.buttonMapInWindow.Name = "buttonMapInWindow"; this.buttonMapInWindow.UseUnderline = true; this.buttonMapInWindow.Label = global::Mono.Unix.Catalog.GetString ("Карта в окне"); global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Vodovoz.icons.buttons.window-new.png"); this.buttonMapInWindow.Image = w15; this.hbox3.Add (this.buttonMapInWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonMapInWindow])); w16.Position = 3; w16.Expand = false; w16.Fill = false; this.vboxRight.Add (this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.hbox3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl (); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = false; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vboxRight.Add (this.gmapWidget); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.gmapWidget])); w18.Position = 3; this.hbox1.Add (this.vboxRight); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vboxRight])); w19.Position = 1; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.yTreeViewDrivers.RowActivated += new global::Gtk.RowActivatedHandler (this.OnYTreeViewDriversRowActivated); this.buttonChat.Clicked += new global::System.EventHandler (this.OnButtonChatClicked); this.toggleButtonHideAddresses.Toggled += new global::System.EventHandler (this.OnToggleButtonHideAddressesToggled); this.buttonCleanTrack.Clicked += new global::System.EventHandler (this.OnButtonCleanTrackClicked); this.yenumcomboMapType.ChangedByUser += new global::System.EventHandler (this.OnYenumcomboMapTypeChangedByUser); this.buttonMapInWindow.Clicked += new global::System.EventHandler (this.OnButtonMapInWindowClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.JournalViewers.OrderSelectedView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.JournalViewers.OrderSelectedView"; // Container child Vodovoz.JournalViewers.OrderSelectedView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(6)); // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Документы заказа:"); this.vbox3.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ:"); this.hbox1.Add(this.label3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.yvalidatedentry1 = new global::Gamma.Widgets.yValidatedEntry(); this.yvalidatedentry1.CanFocus = true; this.yvalidatedentry1.Name = "yvalidatedentry1"; this.yvalidatedentry1.IsEditable = true; this.yvalidatedentry1.InvisibleChar = '•'; this.hbox1.Add(this.yvalidatedentry1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.yvalidatedentry1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label2])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryreferencevm1 = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.entryreferencevm1.Events = ((global::Gdk.EventMask)(256)); this.entryreferencevm1.Name = "entryreferencevm1"; this.hbox1.Add(this.entryreferencevm1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryreferencevm1])); w5.Position = 3; w5.Expand = false; w5.Fill = false; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.datatreeviewOrderDocuments = new global::QSOrmProject.RepresentationTreeView(); this.datatreeviewOrderDocuments.CanFocus = true; this.datatreeviewOrderDocuments.Name = "datatreeviewOrderDocuments"; this.GtkScrolledWindow.Add(this.datatreeviewOrderDocuments); this.vbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); w8.Position = 2; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yvalidatedentry1.Changed += new global::System.EventHandler(this.OnYvalidatedentry1Changed); this.datatreeviewOrderDocuments.RowActivated += new global::Gtk.RowActivatedHandler(this.OnDatatreeviewOrderDocumentsRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.WarehouseDocumentsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.WarehouseDocumentsView"; // Container child Vodovoz.WarehouseDocumentsView.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.buttonAdd = new global::QSOrmProject.EnumMenuButton(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.UseMarkup = false; this.buttonAdd.ItemsEnumName = ""; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w1; this.hbox1.Add(this.buttonAdd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAdd])); w2.Position = 0; w2.Expand = false; w2.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 w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w3; this.hbox1.Add(this.buttonEdit); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonEdit])); w4.Position = 1; w4.Expand = false; w4.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 w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w5; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonFilter = new global::Gtk.CheckButton(); this.buttonFilter.CanFocus = true; this.buttonFilter.Name = "buttonFilter"; this.buttonFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтр"); this.buttonFilter.DrawIndicator = false; this.buttonFilter.UseUnderline = true; this.hbox1.Add(this.buttonFilter); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonFilter])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 4; w7.Expand = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxFilter = new global::Gtk.HBox(); this.hboxFilter.Name = "hboxFilter"; this.hboxFilter.Spacing = 6; this.vbox1.Add(this.hboxFilter); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFilter])); w9.Position = 1; w9.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.searchentity1 = new global::QSWidgetLib.SearchEntity(); this.searchentity1.Events = ((global::Gdk.EventMask)(256)); this.searchentity1.Name = "searchentity1"; this.vbox1.Add(this.searchentity1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.searchentity1])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // 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.tableDocuments = new global::QSOrmProject.RepresentationTreeView(); this.tableDocuments.CanFocus = true; this.tableDocuments.Name = "tableDocuments"; this.GtkScrolledWindow1.Add(this.tableDocuments); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w12.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.hboxFilter.Hide(); this.Hide(); this.buttonAdd.EnumItemClicked += new global::System.EventHandler<QSOrmProject.EnumItemClickedEventArgs>(this.OnButtonAddEnumItemClicked); this.buttonEdit.Clicked += new global::System.EventHandler(this.OnButtonEditClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); this.buttonFilter.Toggled += new global::System.EventHandler(this.OnButtonFilterToggled); this.searchentity1.TextChanged += new global::System.EventHandler(this.OnSearchentity1TextChanged); this.tableDocuments.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTableDocumentsRowActivated); }
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.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("Файл"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Файл"); w1.Add (this.Action, null); this.Action1 = new global::Gtk.Action ("Action1", global::Mono.Unix.Catalog.GetString ("Справочники"), null, null); this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справочники"); w1.Add (this.Action1, null); this.Action18 = new global::Gtk.Action ("Action18", global::Mono.Unix.Catalog.GetString ("Ведомости"), null, null); this.Action18.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ведомости"); w1.Add (this.Action18, null); this.Action3 = new global::Gtk.Action ("Action3", global::Mono.Unix.Catalog.GetString ("Справка"), null, null); this.Action3.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка"); w1.Add (this.Action3, null); this.dialogAuthenticationAction = new global::Gtk.Action ("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString ("Изменить пароль"), null, "gtk-dialog-authentication"); this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Изменить пароль"); w1.Add (this.dialogAuthenticationAction, null); this.UsersAction = new global::Gtk.Action ("UsersAction", global::Mono.Unix.Catalog.GetString ("Пользователи"), null, null); this.UsersAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Пользователи"); w1.Add (this.UsersAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Выход"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Выход"); w1.Add (this.quitAction, null); this.Action5 = new global::Gtk.Action ("Action5", global::Mono.Unix.Catalog.GetString ("Типы номенклатуры"), null, null); this.Action5.ShortLabel = global::Mono.Unix.Catalog.GetString ("Типы номенклатуры"); w1.Add (this.Action5, null); this.Action6 = new global::Gtk.Action ("Action6", global::Mono.Unix.Catalog.GetString ("Номенклатура"), null, null); this.Action6.ShortLabel = global::Mono.Unix.Catalog.GetString ("Номенклатура"); w1.Add (this.Action6, null); this.Action7 = new global::Gtk.Action ("Action7", global::Mono.Unix.Catalog.GetString ("Единицы измерения"), null, null); this.Action7.ShortLabel = global::Mono.Unix.Catalog.GetString ("Единицы измерения"); w1.Add (this.Action7, null); this.Action8 = new global::Gtk.Action ("Action8", global::Mono.Unix.Catalog.GetString ("Должности"), null, null); this.Action8.ShortLabel = global::Mono.Unix.Catalog.GetString ("Должности"); w1.Add (this.Action8, null); this.Action9 = new global::Gtk.Action ("Action9", global::Mono.Unix.Catalog.GetString ("Руководители"), null, null); this.Action9.ShortLabel = global::Mono.Unix.Catalog.GetString ("Руководители"); w1.Add (this.Action9, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_О программе"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_О программе"); w1.Add (this.aboutAction, null); this.Action10 = new global::Gtk.Action ("Action10", global::Mono.Unix.Catalog.GetString ("Сводная ведомость"), null, null); this.Action10.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сводная ведомость"); w1.Add (this.Action10, null); this.Action11 = new global::Gtk.Action ("Action11", global::Mono.Unix.Catalog.GetString ("Складская ведомость"), null, null); this.Action11.ShortLabel = global::Mono.Unix.Catalog.GetString ("Складская ведомость"); w1.Add (this.Action11, null); this.Action12 = new global::Gtk.Action ("Action12", global::Mono.Unix.Catalog.GetString ("Список по размерам"), null, null); this.Action12.ShortLabel = global::Mono.Unix.Catalog.GetString ("Список по размерам"); w1.Add (this.Action12, null); this.helpAction = new global::Gtk.Action ("helpAction", global::Mono.Unix.Catalog.GetString ("Документация"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Документация"); w1.Add (this.helpAction, null); this.ActionHistory = new global::Gtk.Action ("ActionHistory", global::Mono.Unix.Catalog.GetString ("История версий"), null, "gtk-file"); this.ActionHistory.ShortLabel = global::Mono.Unix.Catalog.GetString ("История версий"); w1.Add (this.ActionHistory, null); this.ActionUpdate = new global::Gtk.Action ("ActionUpdate", global::Mono.Unix.Catalog.GetString ("Проверить обновление..."), null, "gtk-go-down"); this.ActionUpdate.ShortLabel = global::Mono.Unix.Catalog.GetString ("Проверить обновление..."); w1.Add (this.ActionUpdate, null); this.ActionSN = new global::Gtk.Action ("ActionSN", global::Mono.Unix.Catalog.GetString ("Ввести серийный номер..."), null, null); this.ActionSN.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ввести серийный номер..."); w1.Add (this.ActionSN, null); this.ActionNorms = new global::Gtk.Action ("ActionNorms", global::Mono.Unix.Catalog.GetString ("Нормы выдачи"), null, null); this.ActionNorms.ShortLabel = global::Mono.Unix.Catalog.GetString ("Нормы выдачи"); w1.Add (this.ActionNorms, null); this.Action13 = new global::Gtk.Action ("Action13", global::Mono.Unix.Catalog.GetString ("Ведомость на выдачу"), null, null); this.Action13.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ведомость на выдачу"); w1.Add (this.Action13, null); this.Action21 = new global::Gtk.Action ("Action21", global::Mono.Unix.Catalog.GetString ("Квартальная заявка"), null, null); this.Action21.ShortLabel = global::Mono.Unix.Catalog.GetString ("Месячная заявка"); w1.Add (this.Action21, null); this.ActionYearRequestSheet = new global::Gtk.Action ("ActionYearRequestSheet", global::Mono.Unix.Catalog.GetString ("Годовая заявка"), null, null); this.ActionYearRequestSheet.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сводная заявка"); w1.Add (this.ActionYearRequestSheet, null); this.Action17 = new global::Gtk.Action ("Action17", global::Mono.Unix.Catalog.GetString ("Справка по невыданному"), null, null); this.Action17.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка по невыданному"); w1.Add (this.Action17, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("QS: Спецодежда и имущество"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("workwear.icon.logo.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='Action' action='Action'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='UsersAction' action='UsersAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action1' action='Action1'><menuitem name='ActionNorms' action='ActionNorms'/><menuitem name='Action5' action='Action5'/><menuitem name='Action6' action='Action6'/><separator/><menuitem name='Action7' action='Action7'/><separator/><menuitem name='Action8' action='Action8'/><menuitem name='Action9' action='Action9'/></menu><menu name='Action18' action='Action18'><menuitem name='Action10' action='Action10'/><menuitem name='Action11' action='Action11'/><separator/><menuitem name='Action12' action='Action12'/><separator/><menuitem name='Action13' action='Action13'/><menuitem name='Action21' action='Action21'/><menuitem name='ActionYearRequestSheet' action='ActionYearRequestSheet'/><menuitem name='Action17' action='Action17'/></menu><menu name='Action3' action='Action3'><menuitem name='helpAction' action='helpAction'/><menuitem name='ActionHistory' action='ActionHistory'/><menuitem name='ActionUpdate' action='ActionUpdate'/><separator/><menuitem name='ActionSN' action='ActionSN'/><separator/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook (); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 1; // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(3)); // 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.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск по имени и адресу:"); this.hbox2.Add (this.label4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryObjectSearch = new global::Gtk.Entry (); this.entryObjectSearch.CanFocus = true; this.entryObjectSearch.Name = "entryObjectSearch"; this.entryObjectSearch.IsEditable = true; this.entryObjectSearch.InvisibleChar = '●'; this.hbox2.Add (this.entryObjectSearch); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entryObjectSearch])); w4.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonObjectSearchClean = new global::Gtk.Button (); this.buttonObjectSearchClean.CanFocus = true; this.buttonObjectSearchClean.Name = "buttonObjectSearchClean"; this.buttonObjectSearchClean.UseUnderline = true; global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonObjectSearchClean.Image = w5; this.hbox2.Add (this.buttonObjectSearchClean); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonObjectSearchClean])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewObjects = new global::Gtk.TreeView (); this.treeviewObjects.CanFocus = true; this.treeviewObjects.Name = "treeviewObjects"; this.GtkScrolledWindow.Add (this.treeviewObjects); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w9.Position = 1; this.notebookMain.Add (this.vbox2); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Объекты"); this.notebookMain.SetTabLabel (this.vbox2, this.label1); this.label1.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(3)); // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск по имени:"); this.hbox3.Add (this.label5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label5])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entryCardsSearch = new global::Gtk.Entry (); this.entryCardsSearch.CanFocus = true; this.entryCardsSearch.Name = "entryCardsSearch"; this.entryCardsSearch.IsEditable = true; this.entryCardsSearch.InvisibleChar = '●'; this.hbox3.Add (this.entryCardsSearch); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entryCardsSearch])); w12.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.buttonCardsSearchClear = new global::Gtk.Button (); this.buttonCardsSearchClear.CanFocus = true; this.buttonCardsSearchClear.Name = "buttonCardsSearchClear"; this.buttonCardsSearchClear.UseUnderline = true; global::Gtk.Image w13 = new global::Gtk.Image (); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCardsSearchClear.Image = w13; this.hbox3.Add (this.buttonCardsSearchClear); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonCardsSearchClear])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.checkCardsOnlyActual = new global::Gtk.CheckButton (); this.checkCardsOnlyActual.CanFocus = true; this.checkCardsOnlyActual.Name = "checkCardsOnlyActual"; this.checkCardsOnlyActual.Label = global::Mono.Unix.Catalog.GetString ("Только работающие"); this.checkCardsOnlyActual.Active = true; this.checkCardsOnlyActual.DrawIndicator = true; this.checkCardsOnlyActual.UseUnderline = true; this.hbox3.Add (this.checkCardsOnlyActual); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkCardsOnlyActual])); w15.Position = 3; w15.Expand = false; this.vbox3.Add (this.hbox3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox3.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.treeviewEmployees = new global::QSOrmProject.RepresentationTreeView (); this.treeviewEmployees.CanFocus = true; this.treeviewEmployees.Name = "treeviewEmployees"; this.GtkScrolledWindow1.Add (this.treeviewEmployees); this.vbox3.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1])); w18.Position = 1; this.notebookMain.Add (this.vbox3); global::Gtk.Notebook.NotebookChild w19 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox3])); w19.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Карточки сотрудников"); this.notebookMain.SetTabLabel (this.vbox3, this.label2); this.label2.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.selectStockDates = new global::QSWidgetLib.SelectPeriod (); this.selectStockDates.Events = ((global::Gdk.EventMask)(256)); this.selectStockDates.Name = "selectStockDates"; this.selectStockDates.DateBegin = new global::System.DateTime (0); this.selectStockDates.DateEnd = new global::System.DateTime (0); this.selectStockDates.AutoDateSeparation = true; this.selectStockDates.ShowToday = true; this.selectStockDates.ShowWeek = false; this.selectStockDates.ShowMonth = true; this.selectStockDates.Show3Month = false; this.selectStockDates.Show6Month = true; this.selectStockDates.ShowYear = true; this.selectStockDates.ShowAllTime = false; this.selectStockDates.ShowCurWeek = false; this.selectStockDates.ShowCurMonth = false; this.selectStockDates.ShowCurQuarter = false; this.selectStockDates.ShowCurYear = false; this.hbox4.Add (this.selectStockDates); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.selectStockDates])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox4.Add (this.hbox4); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4])); w21.Position = 0; w21.Expand = false; // Container child vbox4.Gtk.Box+BoxChild this.notebookStock = new global::Gtk.Notebook (); this.notebookStock.CanFocus = true; this.notebookStock.Name = "notebookStock"; this.notebookStock.CurrentPage = 0; this.notebookStock.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebookStock.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeviewIncome = new global::Gtk.TreeView (); this.treeviewIncome.CanFocus = true; this.treeviewIncome.Name = "treeviewIncome"; this.GtkScrolledWindow2.Add (this.treeviewIncome); this.notebookStock.Add (this.GtkScrolledWindow2); // Notebook tab this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Приход"); this.notebookStock.SetTabLabel (this.GtkScrolledWindow2, this.label7); this.label7.ShowAll (); // Container child notebookStock.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.treeviewExpense = new global::Gtk.TreeView (); this.treeviewExpense.CanFocus = true; this.treeviewExpense.Name = "treeviewExpense"; this.GtkScrolledWindow3.Add (this.treeviewExpense); this.notebookStock.Add (this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w25 = ((global::Gtk.Notebook.NotebookChild)(this.notebookStock [this.GtkScrolledWindow3])); w25.Position = 1; // Notebook tab this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Расход"); this.notebookStock.SetTabLabel (this.GtkScrolledWindow3, this.label8); this.label8.ShowAll (); // Container child notebookStock.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.treeviewWriteOff = new global::Gtk.TreeView (); this.treeviewWriteOff.CanFocus = true; this.treeviewWriteOff.Name = "treeviewWriteOff"; this.GtkScrolledWindow4.Add (this.treeviewWriteOff); this.notebookStock.Add (this.GtkScrolledWindow4); global::Gtk.Notebook.NotebookChild w27 = ((global::Gtk.Notebook.NotebookChild)(this.notebookStock [this.GtkScrolledWindow4])); w27.Position = 2; // Notebook tab this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Списание"); this.notebookStock.SetTabLabel (this.GtkScrolledWindow4, this.label10); this.label10.ShowAll (); this.vbox4.Add (this.notebookStock); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.notebookStock])); w28.Position = 1; this.notebookMain.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox4])); w29.Position = 2; // Notebook tab this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Складские документы"); this.notebookMain.SetTabLabel (this.vbox4, this.label9); this.label9.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.stockbalanceview1 = new global::workwear.StockBalanceView (); this.stockbalanceview1.Events = ((global::Gdk.EventMask)(256)); this.stockbalanceview1.Name = "stockbalanceview1"; this.notebookMain.Add (this.stockbalanceview1); global::Gtk.Notebook.NotebookChild w30 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.stockbalanceview1])); w30.Position = 3; // Notebook tab this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Остатки"); this.notebookMain.SetTabLabel (this.stockbalanceview1, this.label11); this.label11.ShowAll (); this.vbox1.Add (this.notebookMain); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain])); w31.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; this.hbox7.BorderWidth = ((uint)(3)); // Container child hbox7.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 w32 = new global::Gtk.Image (); w32.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w32; this.hbox7.Add (this.buttonAdd); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonAdd])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox7.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 w34 = new global::Gtk.Image (); w34.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w34; this.hbox7.Add (this.buttonEdit); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonEdit])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child hbox7.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 w36 = new global::Gtk.Image (); w36.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w36; this.hbox7.Add (this.buttonDelete); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonDelete])); w37.Position = 2; w37.Expand = false; w37.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button (); this.buttonRefresh.TooltipMarkup = "Обновить текущую таблицу."; this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString ("Обновить"); global::Gtk.Image w38 = new global::Gtk.Image (); w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w38; this.hbox7.Add (this.buttonRefresh); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonRefresh])); w39.PackType = ((global::Gtk.PackType)(1)); w39.Position = 3; w39.Expand = false; w39.Fill = false; this.vbox1.Add (this.hbox7); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox7])); w40.Position = 2; w40.Expand = false; w40.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.MainStatusBar = new global::Gtk.Statusbar (); this.MainStatusBar.Name = "MainStatusBar"; this.MainStatusBar.Spacing = 6; // Container child MainStatusBar.Gtk.Box+BoxChild this.labelUser = new global::Gtk.Label (); this.labelUser.Name = "labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("Пользователь"); this.MainStatusBar.Add (this.labelUser); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.MainStatusBar [this.labelUser])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child MainStatusBar.Gtk.Box+BoxChild this.labelStatus = new global::Gtk.Label (); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("Ok"); this.MainStatusBar.Add (this.labelStatus); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.MainStatusBar [this.labelStatus])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.vbox1.Add (this.MainStatusBar); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainStatusBar])); w43.Position = 3; w43.Expand = false; w43.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 709; this.DefaultHeight = 458; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.dialogAuthenticationAction.Activated += new global::System.EventHandler (this.OnDialogAuthenticationActionActivated); this.UsersAction.Activated += new global::System.EventHandler (this.OnUsersActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.Action5.Activated += new global::System.EventHandler (this.OnAction5Activated); this.Action6.Activated += new global::System.EventHandler (this.OnAction6Activated); this.Action7.Activated += new global::System.EventHandler (this.OnAction7Activated); this.Action8.Activated += new global::System.EventHandler (this.OnAction8Activated); this.Action9.Activated += new global::System.EventHandler (this.OnAction9Activated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.Action10.Activated += new global::System.EventHandler (this.OnAction10Activated); this.Action11.Activated += new global::System.EventHandler (this.OnAction11Activated); this.Action12.Activated += new global::System.EventHandler (this.OnAction12Activated); this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated); this.ActionHistory.Activated += new global::System.EventHandler (this.OnActionHistoryActivated); this.ActionUpdate.Activated += new global::System.EventHandler (this.OnActionUpdateActivated); this.ActionSN.Activated += new global::System.EventHandler (this.OnActionSNActivated); this.ActionNorms.Activated += new global::System.EventHandler (this.OnActionNormsActivated); this.Action13.Activated += new global::System.EventHandler (this.OnAction13Activated); this.Action21.Activated += new global::System.EventHandler (this.OnAction21Activated); this.ActionYearRequestSheet.Activated += new global::System.EventHandler (this.OnActionYearRequestSheetActivated); this.Action17.Activated += new global::System.EventHandler (this.OnAction17Activated); this.notebookMain.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebookMainSwitchPage); this.entryObjectSearch.Changed += new global::System.EventHandler (this.OnEntryObjectSearchChanged); this.buttonObjectSearchClean.Clicked += new global::System.EventHandler (this.OnButtonObjectSearchCleanClicked); this.treeviewObjects.CursorChanged += new global::System.EventHandler (this.OnTreeviewObjectsCursorChanged); this.treeviewObjects.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewObjectsRowActivated); this.entryCardsSearch.Changed += new global::System.EventHandler (this.OnEntryCardsSearchChanged); this.buttonCardsSearchClear.Clicked += new global::System.EventHandler (this.OnButtonCardsSearchClearClicked); this.checkCardsOnlyActual.Clicked += new global::System.EventHandler (this.OnCheckOnlyActualClicked); this.treeviewEmployees.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewEmployeesRowActivated); this.selectStockDates.DatesChanged += new global::System.EventHandler (this.OnSelectStockDatesDatesChanged); this.notebookStock.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebookStockSwitchPage); this.treeviewIncome.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewIncomeRowActivated); this.treeviewIncome.CursorChanged += new global::System.EventHandler (this.OnTreeviewIncomeCursorChanged); this.treeviewExpense.CursorChanged += new global::System.EventHandler (this.OnTreeviewExpenseCursorChanged); this.treeviewExpense.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewExpenseRowActivated); this.treeviewWriteOff.CursorChanged += new global::System.EventHandler (this.OnTreeviewWriteOffCursorChanged); this.treeviewWriteOff.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewWriteOffRowActivated); 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); this.buttonRefresh.Clicked += new global::System.EventHandler (this.OnButtonRefreshClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.JournalViewers.TasksView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.JournalViewers.TasksView"; // Container child Vodovoz.JournalViewers.TasksView.Gtk.Container+ContainerChild this.vboxJournal = new global::Gtk.VBox(); this.vboxJournal.Name = "vboxJournal"; this.vboxJournal.Spacing = 6; // Container child vboxJournal.Gtk.Box+BoxChild this.hbxDlgControls = new global::Gtk.HBox(); this.hbxDlgControls.Name = "hbxDlgControls"; this.hbxDlgControls.Spacing = 6; // Container child hbxDlgControls.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 w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w1; this.hbxDlgControls.Add(this.buttonAdd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonAdd])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbxDlgControls.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 w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w3; this.hbxDlgControls.Add(this.buttonEdit); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonEdit])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbxDlgControls.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 w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w5; this.hbxDlgControls.Add(this.buttonDelete); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonDelete])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbxDlgControls.Gtk.Box+BoxChild this.radiobuttonEditSelected = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Изменить задачи")); this.radiobuttonEditSelected.CanFocus = true; this.radiobuttonEditSelected.Name = "radiobuttonEditSelected"; this.radiobuttonEditSelected.DrawIndicator = false; this.radiobuttonEditSelected.UseUnderline = true; this.radiobuttonEditSelected.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbxDlgControls.Add(this.radiobuttonEditSelected); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.radiobuttonEditSelected])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 4; w7.Expand = false; // Container child hbxDlgControls.Gtk.Box+BoxChild this.buttonExport = new global::Gamma.GtkWidgets.yButton(); this.buttonExport.CanFocus = true; this.buttonExport.Name = "buttonExport"; this.buttonExport.UseUnderline = true; this.buttonExport.Label = global::Mono.Unix.Catalog.GetString("Экспорт"); this.hbxDlgControls.Add(this.buttonExport); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonExport])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 5; w8.Expand = false; w8.Fill = false; // Container child hbxDlgControls.Gtk.Box+BoxChild this.radiobuttonShowFilter = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Фильтр")); this.radiobuttonShowFilter.CanFocus = true; this.radiobuttonShowFilter.Name = "radiobuttonShowFilter"; this.radiobuttonShowFilter.DrawIndicator = false; this.radiobuttonShowFilter.UseUnderline = true; this.radiobuttonShowFilter.Group = this.radiobuttonEditSelected.Group; this.hbxDlgControls.Add(this.radiobuttonShowFilter); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.radiobuttonShowFilter])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 6; w9.Expand = false; // Container child hbxDlgControls.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить"); global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w10; this.hbxDlgControls.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonRefresh])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 7; w11.Expand = false; w11.Fill = false; // Container child hbxDlgControls.Gtk.Box+BoxChild this.ycheckbuttonAutoUpdate = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonAutoUpdate.CanFocus = true; this.ycheckbuttonAutoUpdate.Name = "ycheckbuttonAutoUpdate"; this.ycheckbuttonAutoUpdate.Label = global::Mono.Unix.Catalog.GetString("Автообновление"); this.ycheckbuttonAutoUpdate.Active = true; this.ycheckbuttonAutoUpdate.DrawIndicator = true; this.ycheckbuttonAutoUpdate.UseUnderline = true; this.hbxDlgControls.Add(this.ycheckbuttonAutoUpdate); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.ycheckbuttonAutoUpdate])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 8; w12.Expand = false; w12.Fill = false; this.vboxJournal.Add(this.hbxDlgControls); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hbxDlgControls])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vboxJournal.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxJournal.Add(this.hseparator1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hseparator1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vboxJournal.Gtk.Box+BoxChild this.hboxEditSelected = new global::Gtk.HBox(); this.hboxEditSelected.Name = "hboxEditSelected"; this.hboxEditSelected.Spacing = 6; // Container child hboxEditSelected.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonChandgeEployee = new global::Gtk.Button(); this.buttonChandgeEployee.CanFocus = true; this.buttonChandgeEployee.Name = "buttonChandgeEployee"; this.buttonChandgeEployee.UseUnderline = true; this.buttonChandgeEployee.Label = global::Mono.Unix.Catalog.GetString("Ответственный"); this.hbox6.Add(this.buttonChandgeEployee); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonChandgeEployee])); w15.Position = 0; w15.Expand = false; w15.Fill = false; this.hboxEditSelected.Add(this.hbox6); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.hbox6])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hboxEditSelected.Gtk.Box+BoxChild this.taskStatusComboBox = new global::Gamma.Widgets.yEnumComboBox(); this.taskStatusComboBox.Name = "taskStatusComboBox"; this.taskStatusComboBox.ShowSpecialStateAll = false; this.taskStatusComboBox.ShowSpecialStateNot = false; this.taskStatusComboBox.UseShortTitle = false; this.taskStatusComboBox.DefaultFirst = false; this.hboxEditSelected.Add(this.taskStatusComboBox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.taskStatusComboBox])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hboxEditSelected.Gtk.Box+BoxChild this.buttonCompleteSelected = new global::Gtk.Button(); this.buttonCompleteSelected.CanFocus = true; this.buttonCompleteSelected.Name = "buttonCompleteSelected"; this.buttonCompleteSelected.UseUnderline = true; this.buttonCompleteSelected.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.buttonCompleteSelected.Image = w18; this.hboxEditSelected.Add(this.buttonCompleteSelected); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.buttonCompleteSelected])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child hboxEditSelected.Gtk.Box+BoxChild this.datepickerDeadlineChange = new global::QS.Widgets.GtkUI.DatePicker(); this.datepickerDeadlineChange.Events = ((global::Gdk.EventMask)(256)); this.datepickerDeadlineChange.Name = "datepickerDeadlineChange"; this.datepickerDeadlineChange.WithTime = true; this.datepickerDeadlineChange.HideCalendarButton = false; this.datepickerDeadlineChange.Date = new global::System.DateTime(0); this.datepickerDeadlineChange.IsEditable = true; this.datepickerDeadlineChange.AutoSeparation = false; this.hboxEditSelected.Add(this.datepickerDeadlineChange); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.datepickerDeadlineChange])); w20.Position = 3; w20.Expand = false; w20.Fill = false; // Container child hboxEditSelected.Gtk.Box+BoxChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.hboxEditSelected.Add(this.evmeEmployee); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.evmeEmployee])); w21.Position = 4; this.vboxJournal.Add(this.hboxEditSelected); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hboxEditSelected])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vboxJournal.Gtk.Box+BoxChild this.hboxTasksFilter = new global::Gtk.HBox(); this.hboxTasksFilter.Name = "hboxTasksFilter"; this.hboxTasksFilter.Spacing = 6; this.vboxJournal.Add(this.hboxTasksFilter); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hboxTasksFilter])); w23.Position = 3; w23.Expand = false; // Container child vboxJournal.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vboxJournal.Add(this.hseparator2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hseparator2])); w24.Position = 4; w24.Expand = false; w24.Fill = false; // Container child vboxJournal.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.searchentity = new global::QSWidgetLib.SearchEntity(); this.searchentity.Events = ((global::Gdk.EventMask)(256)); this.searchentity.Name = "searchentity"; this.hbox10.Add(this.searchentity); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.searchentity])); w25.Position = 0; this.vbox2.Add(this.hbox10); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox10])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.representationtreeviewTask = new global::QSOrmProject.RepresentationTreeView(); this.representationtreeviewTask.CanFocus = true; this.representationtreeviewTask.Name = "representationtreeviewTask"; this.GtkScrolledWindow.Add(this.representationtreeviewTask); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w28.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hboxStatistics = new global::Gtk.HBox(); this.hboxStatistics.Name = "hboxStatistics"; this.hboxStatistics.Spacing = 6; this.vbox2.Add(this.hboxStatistics); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxStatistics])); w29.Position = 2; w29.Expand = false; this.vboxJournal.Add(this.vbox2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.vbox2])); w30.Position = 5; this.Add(this.vboxJournal); if ((this.Child != null)) { this.Child.ShowAll(); } this.evmeEmployee.Hide(); this.hboxEditSelected.Hide(); this.Hide(); this.buttonAdd.Clicked += new global::System.EventHandler(this.OnAddTaskButtonClicked); this.buttonEdit.Clicked += new global::System.EventHandler(this.OnButtonEditClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); this.ycheckbuttonAutoUpdate.Toggled += new global::System.EventHandler(this.OnYcheckbuttonAutoUpdateToggled); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); this.radiobuttonShowFilter.Toggled += new global::System.EventHandler(this.OnRadiobuttonShowFilterToggled); this.radiobuttonShowFilter.Clicked += new global::System.EventHandler(this.OnRadiobuttonShowFilterClicked); this.radiobuttonEditSelected.Toggled += new global::System.EventHandler(this.OnRadiobuttonEditSelectedToggled); this.radiobuttonEditSelected.Clicked += new global::System.EventHandler(this.OnRadiobuttonEditSelectedClicked); this.buttonChandgeEployee.Clicked += new global::System.EventHandler(this.OnAssignedEmployeeButtonClicked); this.taskStatusComboBox.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnTaskstateButtonEnumItemClicked); this.buttonCompleteSelected.Clicked += new global::System.EventHandler(this.OnCompleteTaskButtonClicked); this.datepickerDeadlineChange.DateChangedByUser += new global::System.EventHandler(this.OnDatepickerDeadlineChangeDateChangedByUser); this.searchentity.TextChanged += new global::System.EventHandler(this.OnSearchentityTextChanged); this.representationtreeviewTask.RowActivated += new global::Gtk.RowActivatedHandler(this.OnRepresentationtreeviewTaskRowActivated); this.representationtreeviewTask.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnRepresentationtreeviewTaskButtonReleaseEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Organization.SubdivisionView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Organization.SubdivisionView"; // Container child Vodovoz.Views.Organization.SubdivisionView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryChief = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryChief.Events = ((global::Gdk.EventMask)(256)); this.entryChief.Name = "entryChief"; this.entryChief.CanEditReference = false; this.table1.Add(this.entryChief); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entryChief])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); 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.entryDefaultSalesPlan = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryDefaultSalesPlan.Events = ((global::Gdk.EventMask)(256)); this.entryDefaultSalesPlan.Name = "entryDefaultSalesPlan"; this.entryDefaultSalesPlan.CanEditReference = false; this.table1.Add(this.entryDefaultSalesPlan); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryDefaultSalesPlan])); w2.TopAttach = ((uint)(6)); w2.BottomAttach = ((uint)(7)); 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.frmWarehoses = new global::Gtk.Frame(); this.frmWarehoses.Name = "frmWarehoses"; this.frmWarehoses.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frmWarehoses.Gtk.Container+ContainerChild this.GtkAlignment4 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.lblWarehouses = new global::Gtk.Label(); this.lblWarehouses.Name = "lblWarehouses"; this.lblWarehouses.Xalign = 0F; this.lblWarehouses.LabelProp = global::Mono.Unix.Catalog.GetString("<b>?</b>"); this.lblWarehouses.UseMarkup = true; this.lblWarehouses.Selectable = true; this.GtkAlignment4.Add(this.lblWarehouses); this.frmWarehoses.Add(this.GtkAlignment4); this.GtkLabel8 = new global::Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Склады отдела:</b>"); this.GtkLabel8.UseMarkup = true; this.frmWarehoses.LabelWidget = this.GtkLabel8; this.table1.Add(this.frmWarehoses); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.frmWarehoses])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(6)); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.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.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.subdivisionentitypermissionwidget = new global::Vodovoz.Core.Permissions.SubdivisionEntityPermissionWidget(); this.subdivisionentitypermissionwidget.Events = ((global::Gdk.EventMask)(256)); this.subdivisionentitypermissionwidget.Name = "subdivisionentitypermissionwidget"; this.notebook1.Add(this.subdivisionentitypermissionwidget); // Notebook tab this.labelPermissions = new global::Gtk.Label(); this.labelPermissions.Name = "labelPermissions"; this.labelPermissions.LabelProp = global::Mono.Unix.Catalog.GetString("Права доступа"); this.notebook1.SetTabLabel(this.subdivisionentitypermissionwidget, this.labelPermissions); this.labelPermissions.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.repTreeChildSubdivisions = new global::QSOrmProject.RepresentationTreeView(); this.repTreeChildSubdivisions.CanFocus = true; this.repTreeChildSubdivisions.Name = "repTreeChildSubdivisions"; this.GtkScrolledWindow2.Add(this.repTreeChildSubdivisions); this.notebook1.Add(this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w8 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow2])); w8.Position = 1; // Notebook tab this.labelChildSubdivizions = new global::Gtk.Label(); this.labelChildSubdivizions.Name = "labelChildSubdivizions"; this.labelChildSubdivizions.LabelProp = global::Mono.Unix.Catalog.GetString("Дочерние подразделения"); this.notebook1.SetTabLabel(this.GtkScrolledWindow2, this.labelChildSubdivizions); this.labelChildSubdivizions.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxDocuments = new global::Gtk.VBox(); this.vboxDocuments.Name = "vboxDocuments"; this.vboxDocuments.Spacing = 6; // Container child vboxDocuments.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.ytreeviewDocuments = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDocuments.CanFocus = true; this.ytreeviewDocuments.Name = "ytreeviewDocuments"; this.GtkScrolledWindow4.Add(this.ytreeviewDocuments); this.vboxDocuments.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.GtkScrolledWindow4])); w10.Position = 0; // Container child vboxDocuments.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonAddDocument = new global::Gamma.GtkWidgets.yButton(); this.buttonAddDocument.CanFocus = true; this.buttonAddDocument.Name = "buttonAddDocument"; this.buttonAddDocument.UseUnderline = true; this.buttonAddDocument.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox5.Add(this.buttonAddDocument); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddDocument])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonDeleteDocument = new global::Gamma.GtkWidgets.yButton(); this.buttonDeleteDocument.CanFocus = true; this.buttonDeleteDocument.Name = "buttonDeleteDocument"; this.buttonDeleteDocument.UseUnderline = true; this.buttonDeleteDocument.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox5.Add(this.buttonDeleteDocument); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonDeleteDocument])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vboxDocuments.Add(this.hbox5); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.hbox5])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.notebook1.Add(this.vboxDocuments); global::Gtk.Notebook.NotebookChild w14 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxDocuments])); w14.Position = 2; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Документы"); this.notebook1.SetTabLabel(this.vboxDocuments, this.label3); this.label3.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.widgetcontainerview2 = new global::Vodovoz.Core.WidgetContainerView(); this.widgetcontainerview2.Events = ((global::Gdk.EventMask)(256)); this.widgetcontainerview2.Name = "widgetcontainerview2"; this.notebook1.Add(this.widgetcontainerview2); global::Gtk.Notebook.NotebookChild w15 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.widgetcontainerview2])); w15.Position = 3; // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Предустановленные права"); this.notebook1.SetTabLabel(this.widgetcontainerview2, this.label4); this.label4.ShowAll(); this.hbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.notebook1])); w16.Position = 0; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3])); w17.TopAttach = ((uint)(7)); w17.BottomAttach = ((uint)(8)); w17.RightAttach = ((uint)(3)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.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 w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w18; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w19.Position = 0; w19.Expand = false; w19.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 w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w20; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w22.RightAttach = ((uint)(3)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxtype = new global::Gtk.HBox(); this.hboxtype.Name = "hboxtype"; this.hboxtype.Spacing = 6; // Container child hboxtype.Gtk.Box+BoxChild this.ylabelType = new global::Gamma.GtkWidgets.yLabel(); this.ylabelType.Name = "ylabelType"; this.ylabelType.Xalign = 1F; this.ylabelType.LabelProp = global::Mono.Unix.Catalog.GetString(" Тип:"); this.hboxtype.Add(this.ylabelType); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.ylabelType])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hboxtype.Gtk.Box+BoxChild this.yenumcomboType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboType.Name = "yenumcomboType"; this.yenumcomboType.ShowSpecialStateAll = false; this.yenumcomboType.ShowSpecialStateNot = false; this.yenumcomboType.UseShortTitle = false; this.yenumcomboType.DefaultFirst = false; this.hboxtype.Add(this.yenumcomboType); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.yenumcomboType])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.table1.Add(this.hboxtype); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxtype])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.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 w26 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.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 w27 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelShortName = new global::Gtk.Label(); this.labelShortName.Name = "labelShortName"; this.labelShortName.Xalign = 1F; this.labelShortName.LabelProp = global::Mono.Unix.Catalog.GetString("Сокращенное наименование:"); this.table1.Add(this.labelShortName); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShortName])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblDefaultSalesPlan = new global::Gamma.GtkWidgets.yLabel(); this.lblDefaultSalesPlan.Name = "lblDefaultSalesPlan"; this.lblDefaultSalesPlan.Xalign = 1F; this.lblDefaultSalesPlan.LabelProp = global::Mono.Unix.Catalog.GetString("План продаж по умолчанию:"); this.table1.Add(this.lblDefaultSalesPlan); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDefaultSalesPlan])); w29.TopAttach = ((uint)(6)); w29.BottomAttach = ((uint)(7)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblGeographicGroup = new global::Gamma.GtkWidgets.yLabel(); this.lblGeographicGroup.Name = "lblGeographicGroup"; this.lblGeographicGroup.Xalign = 1F; this.lblGeographicGroup.LabelProp = global::Mono.Unix.Catalog.GetString("Местоположение подразделения:"); this.table1.Add(this.lblGeographicGroup); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGeographicGroup])); w30.TopAttach = ((uint)(5)); w30.BottomAttach = ((uint)(6)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblParent = new global::Gtk.Label(); this.lblParent.Name = "lblParent"; this.lblParent.Xalign = 1F; this.lblParent.LabelProp = global::Mono.Unix.Catalog.GetString("Вышестоящее подразделение:"); this.table1.Add(this.lblParent); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.lblParent])); w31.TopAttach = ((uint)(4)); w31.BottomAttach = ((uint)(5)); w31.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 w32 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefParentSubdivision = new global::Gamma.Widgets.yEntryReference(); this.yentryrefParentSubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentryrefParentSubdivision.Name = "yentryrefParentSubdivision"; this.table1.Add(this.yentryrefParentSubdivision); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefParentSubdivision])); w33.TopAttach = ((uint)(4)); w33.BottomAttach = ((uint)(5)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryShortName = new global::Gamma.GtkWidgets.yEntry(); this.yentryShortName.CanFocus = true; this.yentryShortName.Name = "yentryShortName"; this.yentryShortName.IsEditable = true; this.yentryShortName.MaxLength = 20; this.yentryShortName.InvisibleChar = '●'; this.table1.Add(this.yentryShortName); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryShortName])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = false; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = true; this.table1.Add(this.ySpecCmbGeographicGroup); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
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 Vodovoz.AccountableDebts global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.AccountableDebts"; // Container child Vodovoz.AccountableDebts.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.accountabledebtsfilter1 = new global::Vodovoz.AccountableDebtsFilter(); this.accountabledebtsfilter1.Events = ((global::Gdk.EventMask)(256)); this.accountabledebtsfilter1.Name = "accountabledebtsfilter1"; this.vbox1.Add(this.accountabledebtsfilter1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.accountabledebtsfilter1])); w1.Position = 0; w1.Expand = false; w1.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.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 w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entrySearch = new global::Gtk.Entry(); this.entrySearch.CanFocus = true; this.entrySearch.Name = "entrySearch"; this.entrySearch.IsEditable = true; this.entrySearch.InvisibleChar = '●'; this.hbox2.Add(this.entrySearch); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entrySearch])); w3.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonSearchClear = new global::Gtk.Button(); this.buttonSearchClear.TooltipMarkup = "Очистить"; this.buttonSearchClear.CanFocus = true; this.buttonSearchClear.Name = "buttonSearchClear"; this.buttonSearchClear.UseUnderline = true; global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonSearchClear.Image = w4; this.hbox2.Add(this.buttonSearchClear); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSearchClear])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w6.Position = 1; w6.Expand = false; w6.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.representationtreeviewDebts = new global::QSOrmProject.RepresentationTreeView(); this.representationtreeviewDebts.CanFocus = true; this.representationtreeviewDebts.Name = "representationtreeviewDebts"; this.GtkScrolledWindow.Add(this.representationtreeviewDebts); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w8.Position = 2; // 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.buttonSlips = new global::Gtk.Button(); this.buttonSlips.CanFocus = true; this.buttonSlips.Name = "buttonSlips"; this.buttonSlips.UseUnderline = true; this.buttonSlips.Label = global::Mono.Unix.Catalog.GetString("Движения по сотруднику"); this.hbox3.Add(this.buttonSlips); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSlips])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonUnclosed = new global::Gtk.Button(); this.buttonUnclosed.CanFocus = true; this.buttonUnclosed.Name = "buttonUnclosed"; this.buttonUnclosed.UseUnderline = true; this.buttonUnclosed.Label = global::Mono.Unix.Catalog.GetString("Незакрытые авансы"); this.hbox3.Add(this.buttonUnclosed); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonUnclosed])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonAdvanceReport = new global::Gtk.Button(); this.buttonAdvanceReport.CanFocus = true; this.buttonAdvanceReport.Name = "buttonAdvanceReport"; this.buttonAdvanceReport.UseUnderline = true; this.buttonAdvanceReport.Label = global::Mono.Unix.Catalog.GetString("Создать авансовый отчет"); this.hbox3.Add(this.buttonAdvanceReport); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonAdvanceReport])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w12.Position = 3; w12.Expand = false; w12.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.entrySearch.Changed += new global::System.EventHandler(this.OnEntrySearchChanged); this.buttonSearchClear.Clicked += new global::System.EventHandler(this.OnButtonSearchClearClicked); this.representationtreeviewDebts.RowActivated += new global::Gtk.RowActivatedHandler(this.OnRepresentationtreeviewDebtsRowActivated); this.buttonSlips.Clicked += new global::System.EventHandler(this.OnButtonSlipsClicked); this.buttonUnclosed.Clicked += new global::System.EventHandler(this.OnButtonUnclosedClicked); this.buttonAdvanceReport.Clicked += new global::System.EventHandler(this.OnButtonAdvanceReportClicked); }
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 Vodovoz.WarehouseDocumentsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.WarehouseDocumentsView"; // Container child Vodovoz.WarehouseDocumentsView.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.buttonAdd = new global::QS.Widgets.EnumMenuButton(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.UseMarkup = false; this.buttonAdd.LabelXAlign = 0F; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w1; this.hbox1.Add(this.buttonAdd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAdd])); w2.Position = 0; w2.Expand = false; w2.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 w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w3; this.hbox1.Add(this.buttonEdit); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonEdit])); w4.Position = 1; w4.Expand = false; w4.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 w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w5; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonFilter = new global::Gtk.CheckButton(); this.buttonFilter.CanFocus = true; this.buttonFilter.Name = "buttonFilter"; this.buttonFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтр"); this.buttonFilter.DrawIndicator = false; this.buttonFilter.UseUnderline = true; this.hbox1.Add(this.buttonFilter); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonFilter])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; w7.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w8; this.hbox1.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonRefresh])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 4; 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 = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxFilter = new global::Gtk.HBox(); this.hboxFilter.Name = "hboxFilter"; this.hboxFilter.Spacing = 6; this.vbox1.Add(this.hboxFilter); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFilter])); w11.Position = 1; w11.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.searchentity1 = new global::QSWidgetLib.SearchEntity(); this.searchentity1.Events = ((global::Gdk.EventMask)(256)); this.searchentity1.Name = "searchentity1"; this.vbox1.Add(this.searchentity1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.searchentity1])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // 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.tableDocuments = new global::QSOrmProject.RepresentationTreeView(); this.tableDocuments.CanFocus = true; this.tableDocuments.Name = "tableDocuments"; this.GtkScrolledWindow1.Add(this.tableDocuments); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w14.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.hboxFilter.Hide(); this.Hide(); this.buttonAdd.EnumItemClicked += new global::System.EventHandler <QS.Widgets.EnumItemClickedEventArgs>(this.OnButtonAddEnumItemClicked); this.buttonEdit.Clicked += new global::System.EventHandler(this.OnButtonEditClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); this.buttonFilter.Toggled += new global::System.EventHandler(this.OnButtonFilterToggled); this.searchentity1.TextChanged += new global::System.EventHandler(this.OnSearchentity1TextChanged); this.tableDocuments.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTableDocumentsRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Reports.CostCarExploitationReportView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Reports.CostCarExploitationReportView"; // Container child Vodovoz.Views.Reports.CostCarExploitationReportView.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.hboxMain = new global::Gtk.HBox(); this.hboxMain.Name = "hboxMain"; this.hboxMain.Spacing = 6; // Container child hboxMain.Gtk.Box+BoxChild this.parametersContainer = new global::Gtk.VBox(); this.parametersContainer.Name = "parametersContainer"; this.parametersContainer.Spacing = 6; // Container child parametersContainer.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.hbox2.Add(this.ylabel1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ylabel1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.dateperiodpicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpicker.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker.Name = "dateperiodpicker"; this.dateperiodpicker.StartDate = new global::System.DateTime(0); this.dateperiodpicker.EndDate = new global::System.DateTime(0); this.hbox2.Add(this.dateperiodpicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.dateperiodpicker])); w2.Position = 1; this.parametersContainer.Add(this.hbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.hbox2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child parametersContainer.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ylabel6 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel6.Name = "ylabel6"; this.ylabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.hbox7.Add(this.ylabel6); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ylabel6])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.entryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCar.Events = ((global::Gdk.EventMask)(256)); this.entryCar.Name = "entryCar"; this.entryCar.CanEditReference = true; this.hbox7.Add(this.entryCar); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.entryCar])); w5.Position = 1; this.parametersContainer.Add(this.hbox7); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.hbox7])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child parametersContainer.Gtk.Box+BoxChild this.ylabelTypeOfUse = new global::Gamma.GtkWidgets.yLabel(); this.ylabelTypeOfUse.Name = "ylabelTypeOfUse"; this.ylabelTypeOfUse.Xalign = 0F; this.ylabelTypeOfUse.LabelProp = global::Mono.Unix.Catalog.GetString("Тип авто:"); this.parametersContainer.Add(this.ylabelTypeOfUse); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.ylabelTypeOfUse])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child parametersContainer.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 global::Gtk.Viewport w8 = new global::Gtk.Viewport(); w8.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.enumcheckCarTypeOfUse = new global::Gamma.Widgets.EnumCheckList(); this.enumcheckCarTypeOfUse.Name = "enumcheckCarTypeOfUse"; w8.Add(this.enumcheckCarTypeOfUse); this.GtkScrolledWindow2.Add(w8); this.parametersContainer.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.GtkScrolledWindow2])); w11.Position = 3; w11.Expand = false; // Container child parametersContainer.Gtk.Box+BoxChild this.ylabelOwnType = new global::Gamma.GtkWidgets.yLabel(); this.ylabelOwnType.Name = "ylabelOwnType"; this.ylabelOwnType.Xalign = 0F; this.ylabelOwnType.LabelProp = global::Mono.Unix.Catalog.GetString("Принадлежность авто:"); this.parametersContainer.Add(this.ylabelOwnType); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.ylabelOwnType])); w12.Position = 4; w12.Expand = false; w12.Fill = false; // Container child parametersContainer.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 global::Gtk.Viewport w13 = new global::Gtk.Viewport(); w13.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.enumcheckCarOwnType = new global::Gamma.Widgets.EnumCheckList(); this.enumcheckCarOwnType.Name = "enumcheckCarOwnType"; w13.Add(this.enumcheckCarOwnType); this.GtkScrolledWindow1.Add(w13); this.parametersContainer.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.GtkScrolledWindow1])); w16.Position = 5; w16.Expand = false; // Container child parametersContainer.Gtk.Box+BoxChild this.ylabel7 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel7.Name = "ylabel7"; this.ylabel7.Xalign = 0F; this.ylabel7.LabelProp = global::Mono.Unix.Catalog.GetString("Вид событий:"); this.parametersContainer.Add(this.ylabel7); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.ylabel7])); w17.Position = 6; w17.Expand = false; w17.Fill = false; // Container child parametersContainer.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.WidthRequest = 220; this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.ytreeviewSubjectTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSubjectTypes.CanFocus = true; this.ytreeviewSubjectTypes.Name = "ytreeviewSubjectTypes"; this.ytreeviewSubjectTypes.HeadersVisible = false; this.GtkScrolledWindow4.Add(this.ytreeviewSubjectTypes); this.parametersContainer.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.GtkScrolledWindow4])); w19.Position = 7; // Container child parametersContainer.Gtk.Box+BoxChild this.ybuttonSave = new global::Gamma.GtkWidgets.yButton(); this.ybuttonSave.CanFocus = true; this.ybuttonSave.Name = "ybuttonSave"; this.ybuttonSave.UseUnderline = true; this.ybuttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.parametersContainer.Add(this.ybuttonSave); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.ybuttonSave])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 8; w20.Expand = false; w20.Fill = false; // Container child parametersContainer.Gtk.Box+BoxChild this.ybuttonCreateReport = new global::Gamma.GtkWidgets.yButton(); this.ybuttonCreateReport.CanFocus = true; this.ybuttonCreateReport.Name = "ybuttonCreateReport"; this.ybuttonCreateReport.UseUnderline = true; this.ybuttonCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.parametersContainer.Add(this.ybuttonCreateReport); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.parametersContainer[this.ybuttonCreateReport])); w21.PackType = ((global::Gtk.PackType)(1)); w21.Position = 9; w21.Expand = false; w21.Fill = false; this.hboxMain.Add(this.parametersContainer); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.parametersContainer])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hboxMain.Gtk.Box+BoxChild this.eventboxArrow = new global::Gtk.EventBox(); this.eventboxArrow.Name = "eventboxArrow"; // Container child eventboxArrow.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.vbox4.Add(this.vseparator1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.vseparator1])); w23.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.arrowSlider = new global::Gtk.Arrow(((global::Gtk.ArrowType)(3)), ((global::Gtk.ShadowType)(2))); this.arrowSlider.Name = "arrowSlider"; this.vbox4.Add(this.arrowSlider); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.arrowSlider])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.labelTitle = new global::Gtk.Label(); this.labelTitle.Name = "labelTitle"; this.labelTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Параметры"); this.labelTitle.SingleLineMode = true; this.labelTitle.Angle = 90D; this.vbox4.Add(this.labelTitle); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.labelTitle])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.vbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.vseparator2])); w26.Position = 3; this.eventboxArrow.Add(this.vbox4); this.hboxMain.Add(this.eventboxArrow); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.eventboxArrow])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.hbox1.Add(this.hboxMain); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hboxMain])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.datatreeviewDocuments = new global::QSOrmProject.RepresentationTreeView(); this.datatreeviewDocuments.CanFocus = true; this.datatreeviewDocuments.Name = "datatreeviewDocuments"; this.GtkScrolledWindow.Add(this.datatreeviewDocuments); this.hbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w31.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ybuttonCreateReport.Clicked += new global::System.EventHandler(this.OnYbuttonCreateReportClicked); this.ybuttonSave.Clicked += new global::System.EventHandler(this.OnYbuttonSaveClicked); this.eventboxArrow.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnEventboxArrowButtonPressEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BioGorod.Dialogs.Client.CounterpartyAddressesView global::Stetic.BinContainer.Attach(this); this.Name = "BioGorod.Dialogs.Client.CounterpartyAddressesView"; // Container child BioGorod.Dialogs.Client.CounterpartyAddressesView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Адреса объектов:"); this.vbox1.Add(this.label10); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label10])); 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.treeDeliveryPoints = new global::QSOrmProject.RepresentationTreeView(); this.treeDeliveryPoints.CanFocus = true; this.treeDeliveryPoints.Name = "treeDeliveryPoints"; this.GtkScrolledWindow.Add(this.treeDeliveryPoints); 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-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.treeDeliveryPoints.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTreeDeliveryPointsRowActivated); 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 Vodovoz.RouteListTrackDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.RouteListTrackDlg"; // Container child Vodovoz.RouteListTrackDlg.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.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.yhbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.label1])); w1.Position = 0; // Container child yhbox1.Gtk.Box+BoxChild this.routelisttrackfilterview1 = new global::Vodovoz.Filters.GtkViews.RouteListTrackFilterView(new RouteListTrackFilterViewModel()); this.routelisttrackfilterview1.Events = ((global::Gdk.EventMask)(256)); this.routelisttrackfilterview1.Name = "routelisttrackfilterview1"; this.yhbox1.Add(this.routelisttrackfilterview1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.routelisttrackfilterview1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox2.Add(this.yhbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.yhbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.yTreeViewDrivers = new global::QSOrmProject.RepresentationTreeView(); this.yTreeViewDrivers.WidthRequest = 500; this.yTreeViewDrivers.CanFocus = true; this.yTreeViewDrivers.Name = "yTreeViewDrivers"; this.GtkScrolledWindow.Add(this.yTreeViewDrivers); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w5.Position = 1; // 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.buttonOpenKeeping = new global::Gtk.Button(); this.buttonOpenKeeping.CanFocus = true; this.buttonOpenKeeping.Name = "buttonOpenKeeping"; this.buttonOpenKeeping.UseUnderline = true; this.buttonOpenKeeping.Label = global::Mono.Unix.Catalog.GetString("Открыть ведение"); this.hbox2.Add(this.buttonOpenKeeping); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonOpenKeeping])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonChat = new global::Gtk.Button(); this.buttonChat.CanFocus = true; this.buttonChat.Name = "buttonChat"; this.buttonChat.UseUnderline = true; this.buttonChat.Label = global::Mono.Unix.Catalog.GetString("Открыть чат"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("chat-icon.png"); this.buttonChat.Image = w7; this.hbox2.Add(this.buttonChat); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonChat])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonSendMessage = new global::Gtk.Button(); this.buttonSendMessage.CanFocus = true; this.buttonSendMessage.Name = "buttonSendMessage"; this.buttonSendMessage.UseUnderline = true; this.buttonSendMessage.Label = global::Mono.Unix.Catalog.GetString("Отправить сообщение"); global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("document-send.png"); this.buttonSendMessage.Image = w9; this.hbox2.Add(this.buttonSendMessage); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSendMessage])); w10.Position = 2; 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 = 2; w11.Expand = false; w11.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxRight = new global::Gtk.VBox(); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; // Container child vboxRight.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Список адресов"); this.vboxRight.Add(this.label2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.label2])); w13.Position = 0; w13.Expand = false; // Container child vboxRight.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.yTreeAddresses = new global::QSOrmProject.RepresentationTreeView(); this.yTreeAddresses.WidthRequest = 600; this.yTreeAddresses.HeightRequest = 150; this.yTreeAddresses.CanFocus = true; this.yTreeAddresses.Name = "yTreeAddresses"; this.GtkScrolledWindow1.Add(this.yTreeAddresses); this.vboxRight.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.GtkScrolledWindow1])); w15.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.toggleButtonHideAddresses = new global::Gtk.ToggleButton(); this.toggleButtonHideAddresses.TooltipMarkup = "Скрыть\\показать адреса."; this.toggleButtonHideAddresses.CanFocus = true; this.toggleButtonHideAddresses.Name = "toggleButtonHideAddresses"; this.toggleButtonHideAddresses.UseUnderline = true; this.toggleButtonHideAddresses.Label = global::Mono.Unix.Catalog.GetString("⇧⇩ Адреса МЛ"); this.hbox3.Add(this.toggleButtonHideAddresses); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.toggleButtonHideAddresses])); w16.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.ybuttonTrackPoints = new global::Gamma.GtkWidgets.yButton(); this.ybuttonTrackPoints.TooltipMarkup = "Координаты"; this.ybuttonTrackPoints.Name = "ybuttonTrackPoints"; this.ybuttonTrackPoints.UseUnderline = true; this.ybuttonTrackPoints.Label = "Координаты"; this.hbox3.Add(this.ybuttonTrackPoints); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ybuttonTrackPoints])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить все"); global::Gtk.Image w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w18; this.hbox3.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonRefresh])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCleanTrack = new global::Gtk.Button(); this.buttonCleanTrack.Sensitive = false; this.buttonCleanTrack.CanFocus = true; this.buttonCleanTrack.Name = "buttonCleanTrack"; this.buttonCleanTrack.UseUnderline = true; this.buttonCleanTrack.Label = global::Mono.Unix.Catalog.GetString("Убрать трек"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCleanTrack.Image = w20; this.hbox3.Add(this.buttonCleanTrack); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCleanTrack])); w21.Position = 3; w21.Expand = false; w21.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox3.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboMapType])); w22.Position = 4; w22.Expand = false; w22.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonMapInWindow = new global::Gtk.Button(); this.buttonMapInWindow.CanFocus = true; this.buttonMapInWindow.Name = "buttonMapInWindow"; this.buttonMapInWindow.UseUnderline = true; this.buttonMapInWindow.Label = global::Mono.Unix.Catalog.GetString("Карта в окне"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.window-new.png"); this.buttonMapInWindow.Image = w23; this.hbox3.Add(this.buttonMapInWindow); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonMapInWindow])); w24.Position = 5; w24.Expand = false; w24.Fill = false; this.vboxRight.Add(this.hbox3); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.hbox3])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vboxRight.Add(this.gmapWidget); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.gmapWidget])); w26.Position = 3; this.hbox1.Add(this.vboxRight); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxRight])); w27.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonChat.Hide(); this.buttonSendMessage.Hide(); this.label2.Hide(); this.GtkScrolledWindow1.Hide(); this.Hide(); this.yTreeViewDrivers.RowActivated += new global::Gtk.RowActivatedHandler(this.OnYTreeViewDriversRowActivated); this.buttonOpenKeeping.Clicked += new global::System.EventHandler(this.OnButtonOpenKeepingClicked); this.buttonChat.Clicked += new global::System.EventHandler(this.OnButtonChatClicked); this.buttonSendMessage.Clicked += new global::System.EventHandler(this.OnButtonSendMessageClicked); this.toggleButtonHideAddresses.Toggled += new global::System.EventHandler(this.OnToggleButtonHideAddressesToggled); this.ybuttonTrackPoints.Clicked += new global::System.EventHandler(this.OnButtonTrackPointsClicked); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); this.buttonCleanTrack.Clicked += new global::System.EventHandler(this.OnButtonCleanTrackClicked); this.yenumcomboMapType.ChangedByUser += new global::System.EventHandler(this.OnYenumcomboMapTypeChangedByUser); this.buttonMapInWindow.Clicked += new global::System.EventHandler(this.OnButtonMapInWindowClicked); }