protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Employees.TraineeDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Employees.TraineeDlg"; // Container child Vodovoz.Dialogs.Employees.TraineeDlg.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.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("Сохранить"); 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.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.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("Отменить"); 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.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.radioTabInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Основное")); this.radioTabInfo.CanFocus = true; this.radioTabInfo.Name = "radioTabInfo"; this.radioTabInfo.DrawIndicator = false; this.radioTabInfo.UseUnderline = true; this.radioTabInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radioTabInfo); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabInfo])); w6.Position = 3; // Container child hbox1.Gtk.Box+BoxChild this.radioTabAccounting = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты")); this.radioTabAccounting.CanFocus = true; this.radioTabAccounting.Name = "radioTabAccounting"; this.radioTabAccounting.DrawIndicator = false; this.radioTabAccounting.UseUnderline = true; this.radioTabAccounting.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabAccounting); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabAccounting])); w7.Position = 4; // Container child hbox1.Gtk.Box+BoxChild this.radioTabFiles = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Файлы")); this.radioTabFiles.CanFocus = true; this.radioTabFiles.Name = "radioTabFiles"; this.radioTabFiles.DrawIndicator = false; this.radioTabFiles.UseUnderline = true; this.radioTabFiles.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabFiles); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabFiles])); w8.Position = 5; // Container child hbox1.Gtk.Box+BoxChild this.radioTabDocuments = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Документы")); this.radioTabDocuments.CanFocus = true; this.radioTabDocuments.Name = "radioTabDocuments"; this.radioTabDocuments.DrawIndicator = false; this.radioTabDocuments.UseUnderline = true; this.radioTabDocuments.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabDocuments); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabDocuments])); w9.Position = 6; 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.notebookMain = new global::Gtk.Notebook(); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 0; // Container child notebookMain.Gtk.Notebook+NotebookChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport(); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.datatableMain = new global::Gtk.Table(((uint)(10)), ((uint)(3)), false); this.datatableMain.Name = "datatableMain"; this.datatableMain.RowSpacing = ((uint)(6)); this.datatableMain.ColumnSpacing = ((uint)(6)); this.datatableMain.BorderWidth = ((uint)(6)); // Container child datatableMain.Gtk.Table+TableChild this.checkbuttonRussianCitizen = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonRussianCitizen.CanFocus = true; this.checkbuttonRussianCitizen.Name = "checkbuttonRussianCitizen"; this.checkbuttonRussianCitizen.Label = global::Mono.Unix.Catalog.GetString("Гражданство РФ"); this.checkbuttonRussianCitizen.Active = true; this.checkbuttonRussianCitizen.DrawIndicator = true; this.checkbuttonRussianCitizen.UseUnderline = true; this.checkbuttonRussianCitizen.FocusOnClick = false; this.checkbuttonRussianCitizen.Relief = ((global::Gtk.ReliefStyle)(2)); this.datatableMain.Add(this.checkbuttonRussianCitizen); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.checkbuttonRussianCitizen])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryDrivingNumber = new global::Gamma.GtkWidgets.yEntry(); this.dataentryDrivingNumber.TooltipMarkup = "Десять символов серии и номера без пробелов."; this.dataentryDrivingNumber.CanFocus = true; this.dataentryDrivingNumber.Name = "dataentryDrivingNumber"; this.dataentryDrivingNumber.IsEditable = true; this.dataentryDrivingNumber.MaxLength = 45; this.dataentryDrivingNumber.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryDrivingNumber); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryDrivingNumber])); w13.TopAttach = ((uint)(9)); w13.BottomAttach = ((uint)(10)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryLastName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryLastName.CanFocus = true; this.dataentryLastName.Name = "dataentryLastName"; this.dataentryLastName.IsEditable = true; this.dataentryLastName.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryLastName); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryLastName])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.MaxLength = 100; this.dataentryName.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryName); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryName])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryPatronymic = new global::Gamma.GtkWidgets.yEntry(); this.dataentryPatronymic.CanFocus = true; this.dataentryPatronymic.Name = "dataentryPatronymic"; this.dataentryPatronymic.IsEditable = true; this.dataentryPatronymic.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryPatronymic); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryPatronymic])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.entryAddressCurrent = new global::Gamma.GtkWidgets.yEntry(); this.entryAddressCurrent.CanFocus = true; this.entryAddressCurrent.Name = "entryAddressCurrent"; this.entryAddressCurrent.IsEditable = true; this.entryAddressCurrent.InvisibleChar = '●'; this.datatableMain.Add(this.entryAddressCurrent); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.entryAddressCurrent])); w17.TopAttach = ((uint)(8)); w17.BottomAttach = ((uint)(9)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.entryAddressRegistration = new global::Gamma.GtkWidgets.yEntry(); this.entryAddressRegistration.CanFocus = true; this.entryAddressRegistration.Name = "entryAddressRegistration"; this.entryAddressRegistration.IsEditable = true; this.entryAddressRegistration.InvisibleChar = '●'; this.datatableMain.Add(this.entryAddressRegistration); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.entryAddressRegistration])); w18.TopAttach = ((uint)(7)); w18.BottomAttach = ((uint)(8)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.datatableMain.Add(this.label10); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label10])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Водительское удостоверение:"); this.datatableMain.Add(this.label11); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label11])); w20.TopAttach = ((uint)(9)); w20.BottomAttach = ((uint)(10)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.datatableMain.Add(this.label13); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label13])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес регистрации:"); this.datatableMain.Add(this.label14); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label14])); w22.TopAttach = ((uint)(7)); w22.BottomAttach = ((uint)(8)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Фактический адрес:"); this.datatableMain.Add(this.label15); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label15])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.label2.UseMarkup = true; this.datatableMain.Add(this.label2); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label2])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.datatableMain.Add(this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label5])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Отчество:"); this.datatableMain.Add(this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label6])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.datatableMain.Add(this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label7])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.labelCitizenship = new global::Gtk.Label(); this.labelCitizenship.Name = "labelCitizenship"; this.labelCitizenship.Xalign = 1F; this.labelCitizenship.LabelProp = global::Mono.Unix.Catalog.GetString("Ин.гражданство:"); this.datatableMain.Add(this.labelCitizenship); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.labelCitizenship])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.phonesView = new global::Vodovoz.Views.Contacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.phonesView.IsReadOnly = false; this.datatableMain.Add(this.phonesView); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.phonesView])); w29.TopAttach = ((uint)(6)); w29.BottomAttach = ((uint)(7)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.photoviewEmployee = new global::QS.Widgets.GtkUI.PhotoView(); this.photoviewEmployee.Events = ((global::Gdk.EventMask)(256)); this.photoviewEmployee.Name = "photoviewEmployee"; this.photoviewEmployee.CanPrint = false; this.datatableMain.Add(this.photoviewEmployee); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.photoviewEmployee])); w30.BottomAttach = ((uint)(4)); w30.LeftAttach = ((uint)(2)); w30.RightAttach = ((uint)(3)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceCitizenship = new global::Gamma.Widgets.yEntryReference(); this.referenceCitizenship.Events = ((global::Gdk.EventMask)(256)); this.referenceCitizenship.Name = "referenceCitizenship"; this.datatableMain.Add(this.referenceCitizenship); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceCitizenship])); w31.TopAttach = ((uint)(5)); w31.BottomAttach = ((uint)(6)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceNationality = new global::Gamma.Widgets.yEntryReference(); this.referenceNationality.Events = ((global::Gdk.EventMask)(256)); this.referenceNationality.Name = "referenceNationality"; this.datatableMain.Add(this.referenceNationality); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceNationality])); w32.TopAttach = ((uint)(3)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); w11.Add(this.datatableMain); this.GtkScrolledWindow.Add(w11); this.notebookMain.Add(this.GtkScrolledWindow); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebookMain.SetTabLabel(this.GtkScrolledWindow, this.label1); this.label1.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.vbox5.BorderWidth = ((uint)(6)); // Container child vbox5.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:"); this.hbox6.Add(this.label19); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label19])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.entryInn = new global::Gamma.GtkWidgets.yEntry(); this.entryInn.CanFocus = true; this.entryInn.Name = "entryInn"; this.entryInn.IsEditable = true; this.entryInn.InvisibleChar = '●'; this.hbox6.Add(this.entryInn); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.entryInn])); w37.Position = 1; this.vbox5.Add(this.hbox6); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox6])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.accountsView = new global::QSBanks.AccountsView(); this.accountsView.Events = ((global::Gdk.EventMask)(256)); this.accountsView.Name = "accountsView"; this.accountsView.CanEdit = true; this.vbox5.Add(this.accountsView); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.accountsView])); w39.Position = 1; this.notebookMain.Add(this.vbox5); global::Gtk.Notebook.NotebookChild w40 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.vbox5])); w40.Position = 1; // Notebook tab this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты"); this.notebookMain.SetTabLabel(this.vbox5, this.label17); this.label17.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.attachmentsView = new global::QSAttachment.Views.Widgets.AttachmentsView(); this.attachmentsView.Events = ((global::Gdk.EventMask)(256)); this.attachmentsView.Name = "attachmentsView"; this.notebookMain.Add(this.attachmentsView); global::Gtk.Notebook.NotebookChild w41 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.attachmentsView])); w41.Position = 2; // Notebook tab this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Файлы"); this.notebookMain.SetTabLabel(this.attachmentsView, this.label24); this.label24.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w42 = new global::Gtk.Image(); w42.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.button1.Image = w42; this.hbox12.Add(this.button1); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.button1])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.buttonDocumentEdit = new global::Gtk.Button(); this.buttonDocumentEdit.CanFocus = true; this.buttonDocumentEdit.Name = "buttonDocumentEdit"; this.buttonDocumentEdit.UseUnderline = true; this.buttonDocumentEdit.Label = global::Mono.Unix.Catalog.GetString("Изменить"); global::Gtk.Image w44 = new global::Gtk.Image(); w44.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonDocumentEdit.Image = w44; this.hbox12.Add(this.buttonDocumentEdit); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.buttonDocumentEdit])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w46 = new global::Gtk.Image(); w46.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.button3.Image = w46; this.hbox12.Add(this.button3); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.button3])); w47.Position = 2; w47.Expand = false; w47.Fill = false; this.vbox7.Add(this.hbox12); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox12])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child vbox7.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.ytreeviewEmployeeDocument = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewEmployeeDocument.CanFocus = true; this.ytreeviewEmployeeDocument.Name = "ytreeviewEmployeeDocument"; this.GtkScrolledWindow4.Add(this.ytreeviewEmployeeDocument); this.vbox7.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.GtkScrolledWindow4])); w50.Position = 1; this.notebookMain.Add(this.vbox7); global::Gtk.Notebook.NotebookChild w51 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.vbox7])); w51.Position = 3; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Документы"); this.notebookMain.SetTabLabel(this.vbox7, this.label3); this.label3.ShowAll(); this.vbox1.Add(this.notebookMain); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebookMain])); w52.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonChangeToEmployee = new global::Gtk.Button(); this.buttonChangeToEmployee.CanFocus = true; this.buttonChangeToEmployee.Name = "buttonChangeToEmployee"; this.buttonChangeToEmployee.UseUnderline = true; this.buttonChangeToEmployee.Label = global::Mono.Unix.Catalog.GetString("Перевести в сотрудники"); this.hbox5.Add(this.buttonChangeToEmployee); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonChangeToEmployee])); w53.PackType = ((global::Gtk.PackType)(1)); w53.Position = 2; w53.Expand = false; w53.Fill = false; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w54.PackType = ((global::Gtk.PackType)(1)); w54.Position = 2; w54.Expand = false; w54.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.radioTabInfo.Toggled += new global::System.EventHandler(this.OnRadioTabInfoToggled); this.radioTabAccounting.Toggled += new global::System.EventHandler(this.OnRadioTabAccountingToggled); this.radioTabFiles.Toggled += new global::System.EventHandler(this.OnRadioTabFilesToggled); this.radioTabDocuments.Toggled += new global::System.EventHandler(this.OnRadioTabDocumentsToggled); this.checkbuttonRussianCitizen.Toggled += new global::System.EventHandler(this.OnRussianCitizenToggled); this.button1.Clicked += new global::System.EventHandler(this.OnButtonAddDocumentClicked); this.buttonDocumentEdit.Clicked += new global::System.EventHandler(this.OnButtonEditDocumentClicked); this.button3.Clicked += new global::System.EventHandler(this.OnButtonRemoveDocumentClicked); this.ytreeviewEmployeeDocument.RowActivated += new global::Gtk.RowActivatedHandler(this.OnEmployeeDocumentRowActivated); this.buttonChangeToEmployee.Clicked += new global::System.EventHandler(this.OnButtonChangeToEmployeeClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.BulkEmailView this.Name = "Vodovoz.Views.BulkEmailView"; this.Title = global::Mono.Unix.Catalog.GetString("Массовая рассылка"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Internal child Vodovoz.Views.BulkEmailView.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(6)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.attachmentsEmailView = new global::QSAttachment.Views.Widgets.AttachmentsView(); this.attachmentsEmailView.Events = ((global::Gdk.EventMask)(256)); this.attachmentsEmailView.Name = "attachmentsEmailView"; this.table1.Add(this.attachmentsEmailView); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.attachmentsEmailView])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 150; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewText = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewText.CanFocus = true; this.ytextviewText.Name = "ytextviewText"; this.GtkScrolledWindow.Add(this.ytextviewText); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); 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.labelAttachments = new global::Gtk.Label(); this.labelAttachments.Name = "labelAttachments"; this.labelAttachments.Xalign = 1F; this.labelAttachments.LabelProp = global::Mono.Unix.Catalog.GetString("Вложения:"); this.table1.Add(this.labelAttachments); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.labelAttachments])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelRecepient = new global::Gtk.Label(); this.labelRecepient.Name = "labelRecepient"; this.labelRecepient.Xalign = 1F; this.labelRecepient.LabelProp = global::Mono.Unix.Catalog.GetString("Количество адресатов:"); this.table1.Add(this.labelRecepient); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelRecepient])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelSendingDuration = new global::Gtk.Label(); this.labelSendingDuration.Name = "labelSendingDuration"; this.labelSendingDuration.Xalign = 1F; this.labelSendingDuration.LabelProp = global::Mono.Unix.Catalog.GetString("Время работы:"); this.table1.Add(this.labelSendingDuration); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelSendingDuration])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelSubject = new global::Gtk.Label(); this.labelSubject.Name = "labelSubject"; this.labelSubject.Xalign = 1F; this.labelSubject.LabelProp = global::Mono.Unix.Catalog.GetString("Тема:"); this.table1.Add(this.labelSubject); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelSubject])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelText = new global::Gtk.Label(); this.labelText.Name = "labelText"; this.labelText.Xalign = 1F; this.labelText.LabelProp = global::Mono.Unix.Catalog.GetString("Текст:"); this.table1.Add(this.labelText); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelText])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentrySubject = new global::Gamma.GtkWidgets.yEntry(); this.yentrySubject.CanFocus = true; this.yentrySubject.Name = "yentrySubject"; this.yentrySubject.IsEditable = true; this.yentrySubject.InvisibleChar = '•'; this.table1.Add(this.yentrySubject); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentrySubject])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelAttachmentsInfo = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAttachmentsInfo.Name = "ylabelAttachmentsInfo"; this.ylabelAttachmentsInfo.Xalign = 0F; this.ylabelAttachmentsInfo.LabelProp = global::Mono.Unix.Catalog.GetString("0/15Мб"); this.ylabelAttachmentsInfo.UseMarkup = true; this.table1.Add(this.ylabelAttachmentsInfo); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelAttachmentsInfo])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelRecepientInfo = new global::Gamma.GtkWidgets.yLabel(); this.ylabelRecepientInfo.Name = "ylabelRecepientInfo"; this.ylabelRecepientInfo.Xalign = 0F; this.ylabelRecepientInfo.LabelProp = global::Mono.Unix.Catalog.GetString("0/1000 за раз (0 адресатов уже получали письмо массовой рассылки в течение послед" + "них 2 часов) и 0/20000 в месяц писем вида массовой рассылки"); this.ylabelRecepientInfo.UseMarkup = true; this.ylabelRecepientInfo.Wrap = true; this.ylabelRecepientInfo.Selectable = true; this.ylabelRecepientInfo.WidthChars = 100; this.table1.Add(this.ylabelRecepientInfo); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelRecepientInfo])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelSendingDuration = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSendingDuration.Name = "ylabelSendingDuration"; this.ylabelSendingDuration.Xalign = 0F; this.ylabelSendingDuration.LabelProp = global::Mono.Unix.Catalog.GetString("0 секунд"); this.table1.Add(this.ylabelSendingDuration); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelSendingDuration])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelSubjectInfo = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSubjectInfo.Name = "ylabelSubjectInfo"; this.ylabelSubjectInfo.Xalign = 0F; this.ylabelSubjectInfo.LabelProp = global::Mono.Unix.Catalog.GetString("0/255 символов"); this.ylabelSubjectInfo.UseMarkup = true; this.table1.Add(this.ylabelSubjectInfo); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelSubjectInfo])); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yprogressbarSending = new global::Gamma.GtkWidgets.yProgressBar(); this.yprogressbarSending.Name = "yprogressbarSending"; this.table1.Add(this.yprogressbarSending); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.yprogressbarSending])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(0)); w1.Add(this.table1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); w16.Position = 0; // Internal child Vodovoz.Views.BulkEmailView.ActionArea global::Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.BorderWidth = ((uint)(5)); w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonSend = new global::Gtk.Button(); this.buttonSend.Sensitive = false; this.buttonSend.CanDefault = true; this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; this.buttonSend.Label = global::Mono.Unix.Catalog.GetString("Запустить рассылку"); w17.Add(this.buttonSend); global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonSend])); w18.Expand = false; w18.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 945; this.DefaultHeight = 441; this.yprogressbarSending.Hide(); this.Show(); }