protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.SidePanel.InfoViews.CashInfoPanelView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.SidePanel.InfoViews.CashInfoPanelView"; // Container child Vodovoz.SidePanel.InfoViews.CashInfoPanelView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hseparatorTop = new global::Gtk.HSeparator(); this.hseparatorTop.HeightRequest = 2; this.hseparatorTop.Name = "hseparatorTop"; this.vbox1.Add(this.hseparatorTop); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparatorTop])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelTitle = new global::Gtk.Label(); this.labelTitle.Name = "labelTitle"; this.labelTitle.LabelProp = global::Mono.Unix.Catalog.GetString("<u><b>Остатки по кассам:</b></u>"); this.labelTitle.UseMarkup = true; this.vbox1.Add(this.labelTitle); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelTitle])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelInfo = new global::Vodovoz.WrapLabel(); this.labelInfo.Name = "labelInfo"; this.labelInfo.LabelProp = global::Mono.Unix.Catalog.GetString("info"); this.labelInfo.Selectable = true; this.vbox1.Add(this.labelInfo); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelInfo])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparatorBottom = new global::Gtk.HSeparator(); this.hseparatorBottom.HeightRequest = 2; this.hseparatorBottom.Name = "hseparatorBottom"; this.vbox1.Add(this.hseparatorBottom); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparatorBottom])); w4.Position = 3; w4.Expand = false; w4.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.Core.Journal.MultipleEntityJournal global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Core.Journal.MultipleEntityJournal"; // Container child Vodovoz.Core.Journal.MultipleEntityJournal.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hboxButtons = new global::Gtk.HBox(); this.hboxButtons.Name = "hboxButtons"; this.hboxButtons.Spacing = 6; // Container child hboxButtons.Gtk.Box+BoxChild this.hboxButtonActions = new global::Gtk.HBox(); this.hboxButtonActions.Name = "hboxButtonActions"; this.hboxButtonActions.Spacing = 6; this.hboxButtons.Add(this.hboxButtonActions); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.hboxButtonActions])); w1.Position = 0; // Container child hboxButtons.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.hboxButtons.Add(this.checkShowFilter); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.checkShowFilter])); w2.PackType = ((global::Gtk.PackType)(1)); w2.Position = 1; w2.Expand = false; // Container child hboxButtons.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 w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w3; this.hboxButtons.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.buttonRefresh])); w4.PackType = ((global::Gtk.PackType)(1)); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hboxButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxButtons])); w5.Position = 0; w5.Expand = false; w5.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 w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFilter])); w6.Position = 1; w6.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 w7 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.label1])); w7.Position = 0; w7.Expand = false; w7.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 w8 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.entrySearch])); w8.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 w9 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.ylabelSearchAnd])); w9.Position = 2; w9.Expand = false; w9.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 w10 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.entrySearch2])); w10.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 w11 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.ylabelSearchAnd2])); w11.Position = 4; w11.Expand = false; w11.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 w12 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.entrySearch3])); w12.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 w13 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.ylabelSearchAnd3])); w13.Position = 6; w13.Expand = false; w13.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 w14 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.entrySearch4])); w14.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 w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddAnd.Image = w15; this.hboxSearch.Add(this.buttonAddAnd); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.buttonAddAnd])); w16.Position = 8; w16.Expand = false; w16.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 w17 = new global::Gtk.Image(); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonSearchClear.Image = w17; this.hboxSearch.Add(this.buttonSearchClear); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxSearch[this.buttonSearchClear])); w18.Position = 9; w18.Expand = false; w18.Fill = false; this.vbox1.Add(this.hboxSearch); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxSearch])); w19.Position = 2; w19.Expand = false; w19.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.tableview = new global::QS.Widgets.GtkUI.RepresentationTreeView(); this.tableview.CanFocus = true; this.tableview.Name = "tableview"; this.GtkScrolledWindow.Add(this.tableview); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w21.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.wraplabelSum = new global::Vodovoz.WrapLabel(); this.wraplabelSum.Name = "wraplabelSum"; this.wraplabelSum.LabelProp = global::Mono.Unix.Catalog.GetString("wraplabel1"); this.wraplabelSum.Wrap = true; this.vbox1.Add(this.wraplabelSum); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.wraplabelSum])); w22.Position = 4; w22.Expand = false; w22.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelSum = new global::Gamma.GtkWidgets.yLabel(); this.labelSum.Name = "labelSum"; this.labelSum.Xalign = 1F; this.labelSum.SingleLineMode = true; this.vbox1.Add(this.labelSum); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelSum])); w23.Position = 5; w23.Expand = false; w23.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.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.tableview.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTableviewRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.Panel.AdditionalAgreementPanelView global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.Panel.AdditionalAgreementPanelView"; // Container child Vodovoz.Panel.AdditionalAgreementPanelView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b><u>Допсоглашения</u></b>"); this.label4.UseMarkup = true; this.vbox1.Add (this.label4); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label4])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.WidthRequest = 100; this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Бутылей в этом месяце:"); this.label2.Wrap = true; this.table1.Add (this.label2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Кулеров:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.WidthRequest = 100; this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Ближайшая сан. обработка:"); this.label5.Wrap = true; this.table1.Add (this.label5); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelBottlesPerMonth = new global::Vodovoz.WrapLabel (); this.labelBottlesPerMonth.Name = "labelBottlesPerMonth"; this.labelBottlesPerMonth.LabelProp = global::Mono.Unix.Catalog.GetString ("wraplabel3"); this.labelBottlesPerMonth.Wrap = true; this.labelBottlesPerMonth.Selectable = true; this.table1.Add (this.labelBottlesPerMonth); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelBottlesPerMonth])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEquipmentCount = new global::Vodovoz.WrapLabel (); this.labelEquipmentCount.Name = "labelEquipmentCount"; this.labelEquipmentCount.LabelProp = global::Mono.Unix.Catalog.GetString ("wraplabel1"); this.labelEquipmentCount.Selectable = true; this.table1.Add (this.labelEquipmentCount); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelEquipmentCount])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelNextService = new global::Vodovoz.WrapLabel (); this.labelNextService.Name = "labelNextService"; this.labelNextService.LabelProp = global::Mono.Unix.Catalog.GetString ("wraplabel1"); this.labelNextService.Wrap = true; this.labelNextService.Selectable = true; this.table1.Add (this.labelNextService); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelNextService])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxRent = new global::Gtk.VBox (); this.vboxRent.Name = "vboxRent"; this.vboxRent.Spacing = 6; // Container child vboxRent.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Посуточная аренда:</b>"); this.label1.UseMarkup = true; this.vboxRent.Add (this.label1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxRent [this.label1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxRent.Gtk.Box+BoxChild this.labelRent = new global::Vodovoz.WrapLabel (); this.labelRent.Name = "labelRent"; this.labelRent.LabelProp = global::Mono.Unix.Catalog.GetString ("wraplabel1"); this.labelRent.Wrap = true; this.labelRent.Selectable = true; this.vboxRent.Add (this.labelRent); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxRent [this.labelRent])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox1.Add (this.vboxRent); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vboxRent])); w11.Position = 5; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.SidePanel.InfoViews.CounterpartyPanelView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.SidePanel.InfoViews.CounterpartyPanelView"; // Container child Vodovoz.SidePanel.InfoViews.CounterpartyPanelView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<u><b>Контрагент</b></u>"); this.label1.UseMarkup = true; 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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSaveComment = new global::Gtk.Button(); this.buttonSaveComment.CanFocus = true; this.buttonSaveComment.Name = "buttonSaveComment"; this.buttonSaveComment.UseUnderline = true; this.buttonSaveComment.Label = global::Mono.Unix.Catalog.GetString("Сохранить комментарий"); global::Gtk.Image w2 = new global::Gtk.Image(); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSaveComment.Image = w2; this.hbox1.Add(this.buttonSaveComment); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSaveComment])); w3.Position = 0; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w4.PackType = ((global::Gtk.PackType)(1)); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewComment = new global::Gtk.TextView(); this.textviewComment.CanFocus = true; this.textviewComment.Name = "textviewComment"; this.textviewComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.textviewComment); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Комментарий:</b>"); this.label5.UseMarkup = true; this.vbox1.Add(this.label5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label5])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxCurrentOrders = new global::Gtk.VBox(); this.vboxCurrentOrders.Name = "vboxCurrentOrders"; this.vboxCurrentOrders.Spacing = 6; // Container child vboxCurrentOrders.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Оформленные заказы:</b>"); this.label2.UseMarkup = true; this.vboxCurrentOrders.Add(this.label2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxCurrentOrders[this.label2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vboxCurrentOrders.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeCurrentOrders = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeCurrentOrders.CanFocus = true; this.ytreeCurrentOrders.Name = "ytreeCurrentOrders"; this.GtkScrolledWindow1.Add(this.ytreeCurrentOrders); this.vboxCurrentOrders.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxCurrentOrders[this.GtkScrolledWindow1])); w10.Position = 1; this.vbox1.Add(this.vboxCurrentOrders); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxCurrentOrders])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 5; // 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.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox2.Add(this.label6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label6])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.labelLatestOrderDate = new global::Gtk.Label(); this.labelLatestOrderDate.Name = "labelLatestOrderDate"; this.labelLatestOrderDate.Selectable = true; this.hbox2.Add(this.labelLatestOrderDate); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelLatestOrderDate])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 6; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Последний заказ:</b>"); this.label4.UseMarkup = true; this.label4.Wrap = true; this.label4.Justify = ((global::Gtk.Justification)(1)); this.vbox1.Add(this.label4); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label4])); w15.PackType = ((global::Gtk.PackType)(1)); w15.Position = 7; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("ФИО:"); this.label3.UseMarkup = true; this.table1.Add(this.label3); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Vodovoz.WrapLabel(); this.labelName.Name = "labelName"; this.labelName.Xalign = 0F; this.labelName.Yalign = 0F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("wraplabel1"); this.labelName.Wrap = true; this.labelName.Selectable = true; this.table1.Add(this.labelName); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(3)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 8; // Container child vbox1.Gtk.Box+BoxChild this.PhonesTable = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.PhonesTable.Name = "PhonesTable"; this.PhonesTable.RowSpacing = ((uint)(6)); this.PhonesTable.ColumnSpacing = ((uint)(6)); this.vbox1.Add(this.PhonesTable); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.PhonesTable])); w19.PackType = ((global::Gtk.PackType)(1)); w19.Position = 9; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.label2.Hide(); this.ytreeCurrentOrders.Hide(); this.GtkScrolledWindow1.Hide(); this.label6.Hide(); this.labelLatestOrderDate.Hide(); this.label4.Hide(); this.Hide(); this.buttonSaveComment.Clicked += new global::System.EventHandler(this.OnButtonSaveCommentClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.SidePanel.InfoViews.DeliveryPointPanelView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.SidePanel.InfoViews.DeliveryPointPanelView"; // Container child Vodovoz.SidePanel.InfoViews.DeliveryPointPanelView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<u><b>Точка доставки:</b></u>"); this.label1.UseMarkup = true; 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.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Адрес:</b>"); this.label2.UseMarkup = true; this.vbox1.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelAddress = new global::Vodovoz.WrapLabel(); this.labelAddress.Name = "labelAddress"; this.labelAddress.LabelProp = global::Mono.Unix.Catalog.GetString("wraplabel1"); this.labelAddress.Wrap = true; this.labelAddress.Selectable = true; this.vbox1.Add(this.labelAddress); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelAddress])); w3.Position = 2; w3.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.PhonesTable = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.PhonesTable.Name = "PhonesTable"; this.PhonesTable.RowSpacing = ((uint)(6)); this.PhonesTable.ColumnSpacing = ((uint)(6)); this.vbox1.Add(this.PhonesTable); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.PhonesTable])); w4.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.debtByClientLabel = new global::Vodovoz.WrapLabel(); this.debtByClientLabel.Name = "debtByClientLabel"; this.debtByClientLabel.LabelProp = global::Mono.Unix.Catalog.GetString("wraplabel1"); this.table2.Add(this.debtByClientLabel); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.debtByClientLabel])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString(" Долг:"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.label4])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Залогов:"); this.label5.Wrap = true; this.label5.Justify = ((global::Gtk.Justification)(2)); this.table2.Add(this.label5); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.label5])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelDeposits = new global::Vodovoz.WrapLabel(); this.labelDeposits.Name = "labelDeposits"; this.labelDeposits.LabelProp = global::Mono.Unix.Catalog.GetString("wraplabel3"); this.labelDeposits.Selectable = true; this.table2.Add(this.labelDeposits); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.labelDeposits])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.lblBottlesQty = new global::Vodovoz.WrapLabel(); this.lblBottlesQty.Name = "lblBottlesQty"; this.lblBottlesQty.LabelProp = global::Mono.Unix.Catalog.GetString("wraplabel1"); this.lblBottlesQty.Wrap = true; this.lblBottlesQty.Justify = ((global::Gtk.Justification)(2)); this.lblBottlesQty.Selectable = true; this.table2.Add(this.lblBottlesQty); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.lblBottlesQty])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("По клиенту :"); this.table2.Add(this.ylabel1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabel1])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("По адресу:"); this.table2.Add(this.ylabel2); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabel2])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table2])); w12.Position = 4; // Container child vbox1.Gtk.Box+BoxChild this.vboxLastOrders = new global::Gtk.VBox(); this.vboxLastOrders.Name = "vboxLastOrders"; this.vboxLastOrders.Spacing = 6; // Container child vboxLastOrders.Gtk.Box+BoxChild this.labelLastOrders = new global::Gtk.Label(); this.labelLastOrders.Name = "labelLastOrders"; this.labelLastOrders.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Последние заказы:</b>"); this.labelLastOrders.UseMarkup = true; this.vboxLastOrders.Add(this.labelLastOrders); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxLastOrders[this.labelLastOrders])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vboxLastOrders.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeLastOrders = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeLastOrders.TooltipMarkup = "tooltip\nnot tooltip"; this.ytreeLastOrders.CanFocus = true; this.ytreeLastOrders.Name = "ytreeLastOrders"; this.ytreeLastOrders.HeadersVisible = false; this.ytreeLastOrders.HoverSelection = true; this.GtkScrolledWindow1.Add(this.ytreeLastOrders); this.vboxLastOrders.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxLastOrders[this.GtkScrolledWindow1])); w15.Position = 1; this.vbox1.Add(this.vboxLastOrders); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxLastOrders])); w16.Position = 5; // Container child vbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Комментарий:</b>"); this.label3.UseMarkup = true; this.vbox1.Add(this.label3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label3])); w17.Position = 6; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewComment = new global::Gtk.TextView(); this.textviewComment.CanFocus = true; this.textviewComment.Name = "textviewComment"; this.textviewComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.textviewComment); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w19.Position = 7; // 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.buttonSaveComment = new global::Gtk.Button(); this.buttonSaveComment.CanFocus = true; this.buttonSaveComment.Name = "buttonSaveComment"; this.buttonSaveComment.UseUnderline = true; this.buttonSaveComment.Label = global::Mono.Unix.Catalog.GetString("Сохранить комментарий"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSaveComment.Image = w20; this.hbox1.Add(this.buttonSaveComment); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSaveComment])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w22.Position = 8; w22.Expand = false; w22.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSaveComment.Clicked += new global::System.EventHandler(this.OnButtonSaveCommentClicked); }