protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Complaints.ComplaintView global::Stetic.BinContainer.Attach(this); this.WidthRequest = 800; this.Name = "Vodovoz.Views.Complaints.ComplaintView"; // Container child Vodovoz.Views.Complaints.ComplaintView.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 512; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.vboxDicussions = new global::Gtk.VBox(); this.vboxDicussions.WidthRequest = 450; this.vboxDicussions.Name = "vboxDicussions"; this.vboxDicussions.Spacing = 6; w1.Add(this.vboxDicussions); this.GtkScrolledWindow6.Add(w1); this.hpaned1.Add(this.GtkScrolledWindow6); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.GtkScrolledWindow6])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport(); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vboxComplaint = new global::Gtk.VBox(); this.vboxComplaint.Name = "vboxComplaint"; this.vboxComplaint.Spacing = 6; // Container child vboxComplaint.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w6; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w7.Position = 0; w7.Expand = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w8; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w9.Position = 1; w9.Expand = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.hboxInfo = new global::Gtk.HBox(); this.hboxInfo.Name = "hboxInfo"; this.hboxInfo.Spacing = 6; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelSubdivisions = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSubdivisions.Name = "ylabelSubdivisions"; this.ylabelSubdivisions.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxInfo.Add(this.ylabelSubdivisions); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelSubdivisions])); w10.Position = 0; // Container child hboxInfo.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hboxInfo.Add(this.vseparator1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.vseparator1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreatedBy.Name = "ylabelCreatedBy"; this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxInfo.Add(this.ylabelCreatedBy); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelCreatedBy])); w12.Position = 2; // Container child hboxInfo.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hboxInfo.Add(this.vseparator2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.vseparator2])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.ylabelChangedBy = new global::Gamma.GtkWidgets.yLabel(); this.ylabelChangedBy.Name = "ylabelChangedBy"; this.ylabelChangedBy.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxInfo.Add(this.ylabelChangedBy); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.ylabelChangedBy])); w14.Position = 4; this.hboxDialogButtons.Add(this.hboxInfo); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.hboxInfo])); w15.PackType = ((global::Gtk.PackType)(1)); w15.Position = 3; w15.Expand = false; this.vboxComplaint.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hboxDialogButtons])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vboxComplaint.Gtk.Box+BoxChild this.tableFields = new global::Gtk.Table(((uint)(7)), ((uint)(4)), false); this.tableFields.Name = "tableFields"; this.tableFields.RowSpacing = ((uint)(6)); this.tableFields.ColumnSpacing = ((uint)(6)); // Container child tableFields.Gtk.Table+TableChild this.comboboxComplaintSource = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxComplaintSource.Name = "comboboxComplaintSource"; this.comboboxComplaintSource.AddIfNotExist = false; this.comboboxComplaintSource.DefaultFirst = false; this.comboboxComplaintSource.ShowSpecialStateAll = false; this.comboboxComplaintSource.ShowSpecialStateNot = false; this.tableFields.Add(this.comboboxComplaintSource); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFields[this.comboboxComplaintSource])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.LeftAttach = ((uint)(3)); w17.RightAttach = ((uint)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.comboType = new global::Gamma.Widgets.yEnumComboBox(); this.comboType.Name = "comboType"; this.comboType.ShowSpecialStateAll = false; this.comboType.ShowSpecialStateNot = false; this.comboType.UseShortTitle = false; this.comboType.DefaultFirst = false; this.tableFields.Add(this.comboType); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableFields[this.comboType])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.LeftAttach = ((uint)(3)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = false; this.tableFields.Add(this.entryCounterparty); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFields[this.entryCounterparty])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.entryOrder = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryOrder.Events = ((global::Gdk.EventMask)(256)); this.entryOrder.Name = "entryOrder"; this.entryOrder.CanEditReference = false; this.tableFields.Add(this.entryOrder); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFields[this.entryOrder])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.labelNameGuilties = new global::Gamma.GtkWidgets.yLabel(); this.labelNameGuilties.Name = "labelNameGuilties"; this.labelNameGuilties.Xalign = 0F; this.labelNameGuilties.LabelProp = global::Mono.Unix.Catalog.GetString("Виновники:"); this.vbox3.Add(this.labelNameGuilties); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.labelNameGuilties])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.guiltyitemsview = new global::Vodovoz.Views.Complaints.GuiltyItemsView(); this.guiltyitemsview.HeightRequest = 125; this.guiltyitemsview.Events = ((global::Gdk.EventMask)(256)); this.guiltyitemsview.Name = "guiltyitemsview"; this.vbox3.Add(this.guiltyitemsview); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.guiltyitemsview])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.hbox2.Add(this.vbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.labelComplaintText = new global::Gamma.GtkWidgets.yLabel(); this.labelComplaintText.Name = "labelComplaintText"; this.labelComplaintText.Xalign = 0F; this.labelComplaintText.Yalign = 0F; this.labelComplaintText.LabelProp = global::Mono.Unix.Catalog.GetString("Проблема: "); this.vbox6.Add(this.labelComplaintText); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.labelComplaintText])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytextviewComplaintText = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComplaintText.CanFocus = true; this.ytextviewComplaintText.Name = "ytextviewComplaintText"; this.ytextviewComplaintText.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow2.Add(this.ytextviewComplaintText); this.vbox6.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.GtkScrolledWindow2])); w26.Position = 1; this.hbox2.Add(this.vbox6); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox6])); w27.Position = 1; this.tableFields.Add(this.hbox2); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableFields[this.hbox2])); w28.TopAttach = ((uint)(6)); w28.BottomAttach = ((uint)(7)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelCounterparty = new global::Gamma.GtkWidgets.yLabel(); this.labelCounterparty.Name = "labelCounterparty"; this.labelCounterparty.Xalign = 1F; this.labelCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.tableFields.Add(this.labelCounterparty); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelCounterparty])); w29.TopAttach = ((uint)(2)); w29.BottomAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelName = new global::Gamma.GtkWidgets.yLabel(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Имя:"); this.tableFields.Add(this.labelName); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelName])); w30.TopAttach = ((uint)(1)); w30.BottomAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelName4 = new global::Gamma.GtkWidgets.yLabel(); this.labelName4.Name = "labelName4"; this.labelName4.Xalign = 1F; this.labelName4.LabelProp = global::Mono.Unix.Catalog.GetString("Дата план. завершения:"); this.tableFields.Add(this.labelName4); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelName4])); w31.LeftAttach = ((uint)(2)); w31.RightAttach = ((uint)(3)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelNamePhone = new global::Gamma.GtkWidgets.yLabel(); this.labelNamePhone.Name = "labelNamePhone"; this.labelNamePhone.Xalign = 1F; this.labelNamePhone.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон:"); this.tableFields.Add(this.labelNamePhone); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelNamePhone])); w32.TopAttach = ((uint)(4)); w32.BottomAttach = ((uint)(5)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelOrder = new global::Gamma.GtkWidgets.yLabel(); this.labelOrder.Name = "labelOrder"; this.labelOrder.Xalign = 1F; this.labelOrder.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ:"); this.tableFields.Add(this.labelOrder); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelOrder])); w33.TopAttach = ((uint)(2)); w33.BottomAttach = ((uint)(3)); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelOrder1 = new global::Gamma.GtkWidgets.yLabel(); this.labelOrder1.Name = "labelOrder1"; this.labelOrder1.Xalign = 1F; this.labelOrder1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип:"); this.tableFields.Add(this.labelOrder1); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelOrder1])); w34.TopAttach = ((uint)(4)); w34.BottomAttach = ((uint)(5)); w34.LeftAttach = ((uint)(2)); w34.RightAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelSource = new global::Gamma.GtkWidgets.yLabel(); this.labelSource.Name = "labelSource"; this.labelSource.Xalign = 1F; this.labelSource.LabelProp = global::Mono.Unix.Catalog.GetString("Источник:"); this.tableFields.Add(this.labelSource); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelSource])); w35.TopAttach = ((uint)(3)); w35.BottomAttach = ((uint)(4)); w35.LeftAttach = ((uint)(2)); w35.RightAttach = ((uint)(3)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelStatus = new global::Gamma.GtkWidgets.yLabel(); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 1F; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.tableFields.Add(this.labelStatus); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelStatus])); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.lblAddress = new global::Gamma.GtkWidgets.yLabel(); this.lblAddress.Name = "lblAddress"; this.lblAddress.Xalign = 1F; this.lblAddress.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес:"); this.tableFields.Add(this.lblAddress); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableFields[this.lblAddress])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.spLstAddress = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.spLstAddress.Name = "spLstAddress"; this.spLstAddress.AddIfNotExist = false; this.spLstAddress.DefaultFirst = false; this.spLstAddress.ShowSpecialStateAll = false; this.spLstAddress.ShowSpecialStateNot = true; this.tableFields.Add(this.spLstAddress); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableFields[this.spLstAddress])); w38.TopAttach = ((uint)(3)); w38.BottomAttach = ((uint)(4)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.ydatepickerPlannedCompletionDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerPlannedCompletionDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerPlannedCompletionDate.Name = "ydatepickerPlannedCompletionDate"; this.ydatepickerPlannedCompletionDate.WithTime = false; this.ydatepickerPlannedCompletionDate.HideCalendarButton = false; this.ydatepickerPlannedCompletionDate.Date = new global::System.DateTime(0); this.ydatepickerPlannedCompletionDate.IsEditable = true; this.ydatepickerPlannedCompletionDate.AutoSeparation = false; this.tableFields.Add(this.ydatepickerPlannedCompletionDate); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.tableFields[this.ydatepickerPlannedCompletionDate])); w39.LeftAttach = ((uint)(3)); w39.RightAttach = ((uint)(4)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.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.tableFields.Add(this.yentryName); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yentryName])); w40.TopAttach = ((uint)(1)); w40.BottomAttach = ((uint)(2)); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(4)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.yentryPhone = new global::Gamma.GtkWidgets.yEntry(); this.yentryPhone.CanFocus = true; this.yentryPhone.Name = "yentryPhone"; this.yentryPhone.IsEditable = true; this.yentryPhone.InvisibleChar = '●'; this.tableFields.Add(this.yentryPhone); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yentryPhone])); w41.TopAttach = ((uint)(4)); w41.BottomAttach = ((uint)(5)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.yenumcomboStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboStatus.Name = "yenumcomboStatus"; this.yenumcomboStatus.ShowSpecialStateAll = false; this.yenumcomboStatus.ShowSpecialStateNot = false; this.yenumcomboStatus.UseShortTitle = false; this.yenumcomboStatus.DefaultFirst = false; this.tableFields.Add(this.yenumcomboStatus); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yenumcomboStatus])); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxComplaint.Add(this.tableFields); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.tableFields])); w43.Position = 1; w43.Expand = false; w43.Fill = false; // Container child vboxComplaint.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; this.vboxComplaint.Add(this.hbox9); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hbox9])); w44.Position = 2; // Container child vboxComplaint.Gtk.Box+BoxChild this.hbxComplaintKind = new global::Gtk.HBox(); this.hbxComplaintKind.Name = "hbxComplaintKind"; this.hbxComplaintKind.Spacing = 6; // Container child hbxComplaintKind.Gtk.Box+BoxChild this.lblComplaintKind = new global::Gamma.GtkWidgets.yLabel(); this.lblComplaintKind.Name = "lblComplaintKind"; this.lblComplaintKind.Xalign = 0F; this.lblComplaintKind.LabelProp = global::Mono.Unix.Catalog.GetString("Вид рекламации: "); this.hbxComplaintKind.Add(this.lblComplaintKind); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbxComplaintKind[this.lblComplaintKind])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbxComplaintKind.Gtk.Box+BoxChild this.cmbComplaintKind = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.cmbComplaintKind.Name = "cmbComplaintKind"; this.cmbComplaintKind.AddIfNotExist = false; this.cmbComplaintKind.DefaultFirst = false; this.cmbComplaintKind.ShowSpecialStateAll = false; this.cmbComplaintKind.ShowSpecialStateNot = true; this.hbxComplaintKind.Add(this.cmbComplaintKind); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbxComplaintKind[this.cmbComplaintKind])); w46.Position = 1; this.vboxComplaint.Add(this.hbxComplaintKind); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hbxComplaintKind])); w47.Position = 3; w47.Expand = false; w47.Fill = false; // Container child vboxComplaint.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxComplaint.Add(this.hseparator1); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hseparator1])); w48.Position = 4; w48.Expand = false; w48.Fill = false; // Container child vboxComplaint.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.labelResultText = new global::Gamma.GtkWidgets.yLabel(); this.labelResultText.Name = "labelResultText"; this.labelResultText.Xalign = 0F; this.labelResultText.Yalign = 0F; this.labelResultText.LabelProp = global::Mono.Unix.Catalog.GetString("Результат: "); this.hbox8.Add(this.labelResultText); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.labelResultText])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ytextviewResultText = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewResultText.CanFocus = true; this.ytextviewResultText.Name = "ytextviewResultText"; this.ytextviewResultText.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow3.Add(this.ytextviewResultText); this.hbox8.Add(this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.GtkScrolledWindow3])); w51.Position = 1; this.vboxComplaint.Add(this.hbox8); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hbox8])); w52.Position = 5; w52.Expand = false; w52.Fill = false; // Container child vboxComplaint.Gtk.Box+BoxChild this.hboxArrangement = new global::Gtk.HBox(); this.hboxArrangement.Name = "hboxArrangement"; this.hboxArrangement.Spacing = 6; // Container child hboxArrangement.Gtk.Box+BoxChild this.ylabelArrangement = new global::Gamma.GtkWidgets.yLabel(); this.ylabelArrangement.Name = "ylabelArrangement"; this.ylabelArrangement.LabelProp = global::Mono.Unix.Catalog.GetString("Мероприятия:"); this.hboxArrangement.Add(this.ylabelArrangement); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hboxArrangement[this.ylabelArrangement])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child hboxArrangement.Gtk.Box+BoxChild this.GtkScrolledWindow7 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow7.Name = "GtkScrolledWindow7"; this.GtkScrolledWindow7.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow7.Gtk.Container+ContainerChild this.arrangementTextView = new global::Gamma.GtkWidgets.yTextView(); this.arrangementTextView.CanFocus = true; this.arrangementTextView.Name = "arrangementTextView"; this.arrangementTextView.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow7.Add(this.arrangementTextView); this.hboxArrangement.Add(this.GtkScrolledWindow7); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hboxArrangement[this.GtkScrolledWindow7])); w55.Position = 1; this.vboxComplaint.Add(this.hboxArrangement); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hboxArrangement])); w56.Position = 6; w56.Expand = false; w56.Fill = false; // Container child vboxComplaint.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.labelResult = new global::Gamma.GtkWidgets.yLabel(); this.labelResult.Name = "labelResult"; this.labelResult.LabelProp = global::Mono.Unix.Catalog.GetString("Итог работы: "); this.hbox10.Add(this.labelResult); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.labelResult])); w57.Position = 0; w57.Expand = false; w57.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.comboboxComplaintResult = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxComplaintResult.Name = "comboboxComplaintResult"; this.comboboxComplaintResult.AddIfNotExist = false; this.comboboxComplaintResult.DefaultFirst = false; this.comboboxComplaintResult.ShowSpecialStateAll = false; this.comboboxComplaintResult.ShowSpecialStateNot = false; this.hbox10.Add(this.comboboxComplaintResult); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.comboboxComplaintResult])); w58.Position = 1; w58.Expand = false; w58.Fill = false; this.vboxComplaint.Add(this.hbox10); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hbox10])); w59.Position = 7; w59.Expand = false; w59.Fill = false; // Container child vboxComplaint.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.ytreeviewFines = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewFines.CanFocus = true; this.ytreeviewFines.Name = "ytreeviewFines"; this.GtkScrolledWindow5.Add(this.ytreeviewFines); this.hbox11.Add(this.GtkScrolledWindow5); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.GtkScrolledWindow5])); w61.Position = 0; // Container child hbox11.Gtk.Box+BoxChild this.complaintfilesview = new global::Vodovoz.Views.Complaints.ComplaintFilesView(); this.complaintfilesview.WidthRequest = 300; this.complaintfilesview.Events = ((global::Gdk.EventMask)(256)); this.complaintfilesview.Name = "complaintfilesview"; this.hbox11.Add(this.complaintfilesview); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.complaintfilesview])); w62.Position = 1; w62.Expand = false; w62.Fill = false; this.vboxComplaint.Add(this.hbox11); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hbox11])); w63.Position = 8; w63.Expand = false; w63.Fill = false; // Container child vboxComplaint.Gtk.Box+BoxChild this.hboxFineButtons = new global::Gtk.HBox(); this.hboxFineButtons.Name = "hboxFineButtons"; this.hboxFineButtons.Spacing = 6; // Container child hboxFineButtons.Gtk.Box+BoxChild this.buttonAttachFine = new global::Gamma.GtkWidgets.yButton(); this.buttonAttachFine.CanFocus = true; this.buttonAttachFine.Name = "buttonAttachFine"; this.buttonAttachFine.UseUnderline = true; this.buttonAttachFine.Label = global::Mono.Unix.Catalog.GetString("Прикрепить штраф"); this.hboxFineButtons.Add(this.buttonAttachFine); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hboxFineButtons[this.buttonAttachFine])); w64.Position = 0; w64.Expand = false; w64.Fill = false; // Container child hboxFineButtons.Gtk.Box+BoxChild this.buttonAddFine = new global::Gamma.GtkWidgets.yButton(); this.buttonAddFine.CanFocus = true; this.buttonAddFine.Name = "buttonAddFine"; this.buttonAddFine.UseUnderline = true; this.buttonAddFine.Label = global::Mono.Unix.Catalog.GetString("Добавить штраф"); this.hboxFineButtons.Add(this.buttonAddFine); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hboxFineButtons[this.buttonAddFine])); w65.Position = 1; w65.Expand = false; w65.Fill = false; this.vboxComplaint.Add(this.hboxFineButtons); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vboxComplaint[this.hboxFineButtons])); w66.Position = 9; w66.Expand = false; w66.Fill = false; w5.Add(this.vboxComplaint); this.GtkScrolledWindow.Add(w5); this.hpaned1.Add(this.GtkScrolledWindow); this.Add(this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Complaints.CreateComplaintView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Complaints.CreateComplaintView"; // Container child Vodovoz.Views.Complaints.CreateComplaintView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableFields = new global::Gtk.Table(((uint)(14)), ((uint)(2)), false); this.tableFields.Name = "tableFields"; this.tableFields.RowSpacing = ((uint)(6)); this.tableFields.ColumnSpacing = ((uint)(6)); // Container child tableFields.Gtk.Table+TableChild this.comboboxComplaintSource = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxComplaintSource.Name = "comboboxComplaintSource"; this.comboboxComplaintSource.AddIfNotExist = false; this.comboboxComplaintSource.DefaultFirst = false; this.comboboxComplaintSource.ShowSpecialStateAll = false; this.comboboxComplaintSource.ShowSpecialStateNot = false; this.tableFields.Add(this.comboboxComplaintSource); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableFields[this.comboboxComplaintSource])); w6.TopAttach = ((uint)(11)); w6.BottomAttach = ((uint)(12)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.complaintfilesview = new global::Vodovoz.Views.Complaints.ComplaintFilesView(); this.complaintfilesview.Events = ((global::Gdk.EventMask)(256)); this.complaintfilesview.Name = "complaintfilesview"; this.tableFields.Add(this.complaintfilesview); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableFields[this.complaintfilesview])); w7.TopAttach = ((uint)(12)); w7.BottomAttach = ((uint)(13)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = false; this.tableFields.Add(this.entryCounterparty); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableFields[this.entryCounterparty])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.entryOrder = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryOrder.Events = ((global::Gdk.EventMask)(256)); this.entryOrder.Name = "entryOrder"; this.entryOrder.CanEditReference = false; this.tableFields.Add(this.entryOrder); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableFields[this.entryOrder])); w9.TopAttach = ((uint)(8)); w9.BottomAttach = ((uint)(9)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.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.ytextviewComplaintText = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComplaintText.CanFocus = true; this.ytextviewComplaintText.Name = "ytextviewComplaintText"; this.GtkScrolledWindow1.Add(this.ytextviewComplaintText); this.tableFields.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableFields[this.GtkScrolledWindow1])); w11.TopAttach = ((uint)(5)); w11.BottomAttach = ((uint)(6)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); // Container child tableFields.Gtk.Table+TableChild this.guiltyitemsview = new global::Vodovoz.Views.Complaints.GuiltyItemsView(); this.guiltyitemsview.HeightRequest = 125; this.guiltyitemsview.Events = ((global::Gdk.EventMask)(256)); this.guiltyitemsview.Name = "guiltyitemsview"; this.tableFields.Add(this.guiltyitemsview); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableFields[this.guiltyitemsview])); w12.TopAttach = ((uint)(13)); w12.BottomAttach = ((uint)(14)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelComplaintKind = new global::Gtk.Label(); this.labelComplaintKind.Name = "labelComplaintKind"; this.labelComplaintKind.LabelProp = global::Mono.Unix.Catalog.GetString("Вид рекламации:"); this.tableFields.Add(this.labelComplaintKind); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelComplaintKind])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelComplaintText = new global::Gtk.Label(); this.labelComplaintText.Name = "labelComplaintText"; this.labelComplaintText.Xalign = 1F; this.labelComplaintText.LabelProp = global::Mono.Unix.Catalog.GetString("Проблема:"); this.tableFields.Add(this.labelComplaintText); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelComplaintText])); w14.TopAttach = ((uint)(5)); w14.BottomAttach = ((uint)(6)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelCounterparty = new global::Gtk.Label(); this.labelCounterparty.Name = "labelCounterparty"; this.labelCounterparty.Xalign = 1F; this.labelCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.tableFields.Add(this.labelCounterparty); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelCounterparty])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelGuilty = new global::Gtk.Label(); this.labelGuilty.Name = "labelGuilty"; this.labelGuilty.Xalign = 1F; this.labelGuilty.LabelProp = global::Mono.Unix.Catalog.GetString("Виновники:"); this.tableFields.Add(this.labelGuilty); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelGuilty])); w16.TopAttach = ((uint)(13)); w16.BottomAttach = ((uint)(14)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Имя:"); this.tableFields.Add(this.labelName); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelName])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelName2 = new global::Gtk.Label(); this.labelName2.Name = "labelName2"; this.labelName2.Xalign = 1F; this.labelName2.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон:"); this.tableFields.Add(this.labelName2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelName2])); w18.TopAttach = ((uint)(10)); w18.BottomAttach = ((uint)(11)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelOrder = new global::Gtk.Label(); this.labelOrder.Name = "labelOrder"; this.labelOrder.Xalign = 1F; this.labelOrder.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ:"); this.tableFields.Add(this.labelOrder); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelOrder])); w19.TopAttach = ((uint)(8)); w19.BottomAttach = ((uint)(9)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelSource = new global::Gtk.Label(); this.labelSource.Name = "labelSource"; this.labelSource.Xalign = 1F; this.labelSource.LabelProp = global::Mono.Unix.Catalog.GetString("Источник:"); this.tableFields.Add(this.labelSource); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelSource])); w20.TopAttach = ((uint)(11)); w20.BottomAttach = ((uint)(12)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.lblAddress = new global::Gtk.Label(); this.lblAddress.Name = "lblAddress"; this.lblAddress.Xalign = 1F; this.lblAddress.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес:"); this.tableFields.Add(this.lblAddress); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFields[this.lblAddress])); w21.TopAttach = ((uint)(7)); w21.BottomAttach = ((uint)(8)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.spLstAddress = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.spLstAddress.Name = "spLstAddress"; this.spLstAddress.AddIfNotExist = false; this.spLstAddress.DefaultFirst = false; this.spLstAddress.ShowSpecialStateAll = false; this.spLstAddress.ShowSpecialStateNot = true; this.tableFields.Add(this.spLstAddress); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFields[this.spLstAddress])); w22.TopAttach = ((uint)(7)); w22.BottomAttach = ((uint)(8)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.spLstComplaintKind = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.spLstComplaintKind.Name = "spLstComplaintKind"; this.spLstComplaintKind.AddIfNotExist = false; this.spLstComplaintKind.DefaultFirst = false; this.spLstComplaintKind.ShowSpecialStateAll = false; this.spLstComplaintKind.ShowSpecialStateNot = false; this.tableFields.Add(this.spLstComplaintKind); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFields[this.spLstComplaintKind])); w23.TopAttach = ((uint)(6)); w23.BottomAttach = ((uint)(7)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.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.tableFields.Add(this.yentryName); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yentryName])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.yentryPhone = new global::Gamma.GtkWidgets.yEntry(); this.yentryPhone.CanFocus = true; this.yentryPhone.Name = "yentryPhone"; this.yentryPhone.IsEditable = true; this.yentryPhone.InvisibleChar = '●'; this.tableFields.Add(this.yentryPhone); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yentryPhone])); w25.TopAttach = ((uint)(10)); w25.BottomAttach = ((uint)(11)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableFields); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableFields])); w26.Position = 1; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxDialog.Add(this.hseparator1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator1])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Complaints.CreateInnerComplaintView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Complaints.CreateInnerComplaintView"; // Container child Vodovoz.Views.Complaints.CreateInnerComplaintView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableFields = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.tableFields.Name = "tableFields"; this.tableFields.RowSpacing = ((uint)(6)); this.tableFields.ColumnSpacing = ((uint)(6)); // Container child tableFields.Gtk.Table+TableChild this.complaintfilesview = new global::Vodovoz.Views.Complaints.ComplaintFilesView(); this.complaintfilesview.Events = ((global::Gdk.EventMask)(256)); this.complaintfilesview.Name = "complaintfilesview"; this.tableFields.Add(this.complaintfilesview); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableFields[this.complaintfilesview])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.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.ytextviewComplaintText = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComplaintText.CanFocus = true; this.ytextviewComplaintText.Name = "ytextviewComplaintText"; this.GtkScrolledWindow1.Add(this.ytextviewComplaintText); this.tableFields.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableFields[this.GtkScrolledWindow1])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); // Container child tableFields.Gtk.Table+TableChild this.guiltyitemsview = new global::Vodovoz.Views.Complaints.GuiltyItemsView(); this.guiltyitemsview.Events = ((global::Gdk.EventMask)(256)); this.guiltyitemsview.Name = "guiltyitemsview"; this.tableFields.Add(this.guiltyitemsview); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableFields[this.guiltyitemsview])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelComplaintKind = new global::Gtk.Label(); this.labelComplaintKind.Name = "labelComplaintKind"; this.labelComplaintKind.LabelProp = global::Mono.Unix.Catalog.GetString("Вид рекламации:"); this.tableFields.Add(this.labelComplaintKind); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelComplaintKind])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelComplaintText = new global::Gtk.Label(); this.labelComplaintText.Name = "labelComplaintText"; this.labelComplaintText.Xalign = 1F; this.labelComplaintText.Yalign = 0F; this.labelComplaintText.LabelProp = global::Mono.Unix.Catalog.GetString("Проблема:"); this.tableFields.Add(this.labelComplaintText); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelComplaintText])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelGuilty = new global::Gtk.Label(); this.labelGuilty.Name = "labelGuilty"; this.labelGuilty.Xalign = 1F; this.labelGuilty.Yalign = 0F; this.labelGuilty.LabelProp = global::Mono.Unix.Catalog.GetString("Виновники:"); this.tableFields.Add(this.labelGuilty); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelGuilty])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.spLstComplaintKind = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.spLstComplaintKind.Name = "spLstComplaintKind"; this.spLstComplaintKind.AddIfNotExist = false; this.spLstComplaintKind.DefaultFirst = false; this.spLstComplaintKind.ShowSpecialStateAll = false; this.spLstComplaintKind.ShowSpecialStateNot = false; this.tableFields.Add(this.spLstComplaintKind); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFields[this.spLstComplaintKind])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableFields); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableFields])); w14.Position = 1; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxDialog.Add(this.hseparator1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator1])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }