protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Dialogs.ImageLoaderDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Dialogs.ImageLoaderDlg";
     // Container child Vodovoz.Dialogs.ImageLoaderDlg.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gtk.Button();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox2.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox2.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Название");
     this.hbox3.Add(this.label1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.imageNameYentry               = new global::Gamma.GtkWidgets.yEntry();
     this.imageNameYentry.CanFocus      = true;
     this.imageNameYentry.Name          = "imageNameYentry";
     this.imageNameYentry.IsEditable    = true;
     this.imageNameYentry.InvisibleChar = '•';
     this.hbox3.Add(this.imageNameYentry);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.imageNameYentry]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.photoview = new global::QS.Widgets.GtkUI.PhotoView();
     this.photoview.WidthRequest  = 500;
     this.photoview.HeightRequest = 500;
     this.photoview.Events        = ((global::Gdk.EventMask)(256));
     this.photoview.Name          = "photoview";
     this.photoview.CanPrint      = false;
     this.vbox1.Add(this.photoview);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.photoview]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.ylabelId           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelId.Name      = "ylabelId";
     this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString("id");
     this.vbox1.Add(this.ylabelId);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ylabelId]));
     w10.PackType = ((global::Gtk.PackType)(1));
     w10.Position = 3;
     w10.Expand   = false;
     w10.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Dialogs.CertificateDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Dialogs.CertificateDlg";
     // Container child Vodovoz.Dialogs.CertificateDlg.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.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-floppy", 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;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.lblExpirationDate           = new global::Gtk.Label();
     this.lblExpirationDate.Name      = "lblExpirationDate";
     this.lblExpirationDate.Xalign    = 1F;
     this.lblExpirationDate.LabelProp = global::Mono.Unix.Catalog.GetString("Окончание срока действия:");
     this.table2.Add(this.lblExpirationDate);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.lblExpirationDate]));
     w7.TopAttach    = ((uint)(3));
     w7.BottomAttach = ((uint)(4));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lblName           = new global::Gtk.Label();
     this.lblName.Name      = "lblName";
     this.lblName.Xalign    = 1F;
     this.lblName.LabelProp = global::Mono.Unix.Catalog.GetString("Название сертификата:");
     this.table2.Add(this.lblName);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.lblName]));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lblStartDate           = new global::Gtk.Label();
     this.lblStartDate.Name      = "lblStartDate";
     this.lblStartDate.Xalign    = 1F;
     this.lblStartDate.LabelProp = global::Mono.Unix.Catalog.GetString("Начало срока действия (либо дата выдачи):");
     this.table2.Add(this.lblStartDate);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.lblStartDate]));
     w9.TopAttach    = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lblType           = new global::Gtk.Label();
     this.lblType.Name      = "lblType";
     this.lblType.Xalign    = 1F;
     this.lblType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип сертификата:");
     this.table2.Add(this.lblType);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.lblType]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yChkIsArchive               = new global::Gamma.GtkWidgets.yCheckButton();
     this.yChkIsArchive.CanFocus      = true;
     this.yChkIsArchive.Name          = "yChkIsArchive";
     this.yChkIsArchive.Label         = global::Mono.Unix.Catalog.GetString("Архивный");
     this.yChkIsArchive.DrawIndicator = true;
     this.yChkIsArchive.UseUnderline  = true;
     this.table2.Add(this.yChkIsArchive);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.yChkIsArchive]));
     w11.TopAttach    = ((uint)(4));
     w11.BottomAttach = ((uint)(5));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yDateOfExpiration                = new global::QS.Widgets.GtkUI.DatePicker();
     this.yDateOfExpiration.Events         = ((global::Gdk.EventMask)(256));
     this.yDateOfExpiration.Name           = "yDateOfExpiration";
     this.yDateOfExpiration.WithTime       = false;
     this.yDateOfExpiration.Date           = new global::System.DateTime(631139040000000000);
     this.yDateOfExpiration.IsEditable     = true;
     this.yDateOfExpiration.AutoSeparation = true;
     this.table2.Add(this.yDateOfExpiration);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.yDateOfExpiration]));
     w12.TopAttach    = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add(this.yEntryName);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.yEntryName]));
     w13.LeftAttach  = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yEnumCmbType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yEnumCmbType.Name = "yEnumCmbType";
     this.yEnumCmbType.ShowSpecialStateAll = false;
     this.yEnumCmbType.ShowSpecialStateNot = true;
     this.yEnumCmbType.UseShortTitle       = false;
     this.yEnumCmbType.DefaultFirst        = false;
     this.table2.Add(this.yEnumCmbType);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.yEnumCmbType]));
     w14.TopAttach    = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(2));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yStartDate                = new global::QS.Widgets.GtkUI.DatePicker();
     this.yStartDate.Events         = ((global::Gdk.EventMask)(256));
     this.yStartDate.Name           = "yStartDate";
     this.yStartDate.WithTime       = false;
     this.yStartDate.Date           = new global::System.DateTime(631139040000000000);
     this.yStartDate.IsEditable     = true;
     this.yStartDate.AutoSeparation = true;
     this.table2.Add(this.yStartDate);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.yStartDate]));
     w15.TopAttach    = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox2.Add(this.table2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table2]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.frame2            = new global::Gtk.Frame();
     this.frame2.Name       = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment4             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.photoViewCertificate          = new global::QS.Widgets.GtkUI.PhotoView();
     this.photoViewCertificate.Events   = ((global::Gdk.EventMask)(256));
     this.photoViewCertificate.Name     = "photoViewCertificate";
     this.photoViewCertificate.CanPrint = false;
     this.GtkAlignment4.Add(this.photoViewCertificate);
     this.frame2.Add(this.GtkAlignment4);
     this.lblImage           = new global::Gtk.Label();
     this.lblImage.Name      = "lblImage";
     this.lblImage.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Изображение сертификата</b>");
     this.lblImage.UseMarkup = true;
     this.frame2.LabelWidget = this.lblImage;
     this.hbox2.Add(this.frame2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.frame2]));
     w19.Position = 1;
     this.notebook1.Add(this.hbox2);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span foreground=\'black\'><b>Общее</b></span>");
     this.label1.UseMarkup = true;
     this.notebook1.SetTabLabel(this.hbox2, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbxNomenclatures         = new global::Gtk.VBox();
     this.vbxNomenclatures.Name    = "vbxNomenclatures";
     this.vbxNomenclatures.Spacing = 6;
     // Container child vbxNomenclatures.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.yTreeNomenclatures          = new global::Gamma.GtkWidgets.yTreeView();
     this.yTreeNomenclatures.CanFocus = true;
     this.yTreeNomenclatures.Name     = "yTreeNomenclatures";
     this.GtkScrolledWindow.Add(this.yTreeNomenclatures);
     this.vbxNomenclatures.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures[this.GtkScrolledWindow]));
     w22.Position = 0;
     // Container child vbxNomenclatures.Gtk.Box+BoxChild
     this.hbuttonbox2             = new global::Gtk.HButtonBox();
     this.hbuttonbox2.Name        = "hbuttonbox2";
     this.hbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.btnAddNomenclature              = new global::Gtk.Button();
     this.btnAddNomenclature.CanFocus     = true;
     this.btnAddNomenclature.Name         = "btnAddNomenclature";
     this.btnAddNomenclature.UseUnderline = true;
     this.btnAddNomenclature.Label        = global::Mono.Unix.Catalog.GetString("Добавить");
     this.hbuttonbox2.Add(this.btnAddNomenclature);
     global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btnAddNomenclature]));
     w23.Expand = false;
     w23.Fill   = false;
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.btnDelete              = new global::Gtk.Button();
     this.btnDelete.CanFocus     = true;
     this.btnDelete.Name         = "btnDelete";
     this.btnDelete.UseUnderline = true;
     this.btnDelete.Label        = global::Mono.Unix.Catalog.GetString("Удалить");
     this.hbuttonbox2.Add(this.btnDelete);
     global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btnDelete]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.vbxNomenclatures.Add(this.hbuttonbox2);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures[this.hbuttonbox2]));
     w25.Position = 1;
     w25.Expand   = false;
     this.notebook1.Add(this.vbxNomenclatures);
     global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbxNomenclatures]));
     w26.Position = 1;
     // Notebook tab
     this.lblNomenclatures           = new global::Gtk.Label();
     this.lblNomenclatures.Name      = "lblNomenclatures";
     this.lblNomenclatures.LabelProp = global::Mono.Unix.Catalog.GetString("<span foreground=\'black\'><b>Номенклатуры</b></span>");
     this.lblNomenclatures.UseMarkup = true;
     this.notebook1.SetTabLabel(this.vbxNomenclatures, this.lblNomenclatures);
     this.lblNomenclatures.ShowAll();
     this.vbox2.Add(this.notebook1);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1]));
     w27.Position = 1;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.btnAddNomenclature.Clicked += new global::System.EventHandler(this.OnBtnAddNomenclatureClicked);
     this.btnDelete.Activated        += new global::System.EventHandler(this.OnBtnDeleteActivated);
 }