示例#1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.OrganizationDlg
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "Vodovoz.OrganizationDlg";
     // Container child Vodovoz.OrganizationDlg.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gtk.Button();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w3;
     this.hbox1.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.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 w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w5;
     this.hbox1.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.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 w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.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 w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabInfo]));
     w8.Position = 3;
     // Container child hbox1.Gtk.Box+BoxChild
     this.radioTabAccounts               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Счета"));
     this.radioTabAccounts.CanFocus      = true;
     this.radioTabAccounts.Name          = "radioTabAccounts";
     this.radioTabAccounts.DrawIndicator = false;
     this.radioTabAccounts.UseUnderline  = true;
     this.radioTabAccounts.Group         = this.radioTabInfo.Group;
     this.hbox1.Add(this.radioTabAccounts);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabAccounts]));
     w9.Position = 4;
     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.scrolledwindow1                  = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus         = true;
     this.scrolledwindow1.Name             = "scrolledwindow1";
     this.scrolledwindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.scrolledwindow1.ShadowType       = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.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)(13)), ((uint)(2)), false);
     this.datatableMain.Name          = "datatableMain";
     this.datatableMain.RowSpacing    = ((uint)(6));
     this.datatableMain.ColumnSpacing = ((uint)(6));
     this.datatableMain.BorderWidth   = ((uint)(2));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryEmail               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryEmail.CanFocus      = true;
     this.dataentryEmail.Name          = "dataentryEmail";
     this.dataentryEmail.IsEditable    = true;
     this.dataentryEmail.MaxLength     = 45;
     this.dataentryEmail.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryEmail);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryEmail]));
     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 datatableMain.Gtk.Table+TableChild
     this.dataentryFullName               = new global::Gamma.GtkWidgets.yEntry();
     this.dataentryFullName.CanFocus      = true;
     this.dataentryFullName.Name          = "dataentryFullName";
     this.dataentryFullName.IsEditable    = true;
     this.dataentryFullName.MaxLength     = 200;
     this.dataentryFullName.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryFullName);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryFullName]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryINN               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryINN.CanFocus      = true;
     this.dataentryINN.Name          = "dataentryINN";
     this.dataentryINN.IsEditable    = true;
     this.dataentryINN.MaxLength     = 12;
     this.dataentryINN.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryINN);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryINN]));
     w14.TopAttach    = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryKPP               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryKPP.CanFocus      = true;
     this.dataentryKPP.Name          = "dataentryKPP";
     this.dataentryKPP.IsEditable    = true;
     this.dataentryKPP.MaxLength     = 9;
     this.dataentryKPP.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryKPP);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryKPP]));
     w15.TopAttach    = ((uint)(7));
     w15.BottomAttach = ((uint)(8));
     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.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 w16 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryName]));
     w16.LeftAttach  = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryOGRN               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryOGRN.CanFocus      = true;
     this.dataentryOGRN.Name          = "dataentryOGRN";
     this.dataentryOGRN.IsEditable    = true;
     this.dataentryOGRN.MaxLength     = 15;
     this.dataentryOGRN.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryOGRN);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryOGRN]));
     w17.TopAttach    = ((uint)(8));
     w17.BottomAttach = ((uint)(9));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryOKPO               = new global::Gamma.Widgets.yValidatedEntry();
     this.dataentryOKPO.CanFocus      = true;
     this.dataentryOKPO.Name          = "dataentryOKPO";
     this.dataentryOKPO.IsEditable    = true;
     this.dataentryOKPO.MaxLength     = 13;
     this.dataentryOKPO.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryOKPO);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryOKPO]));
     w18.TopAttach    = ((uint)(9));
     w18.BottomAttach = ((uint)(10));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryOKVED               = new global::Gamma.GtkWidgets.yEntry();
     this.dataentryOKVED.CanFocus      = true;
     this.dataentryOKVED.Name          = "dataentryOKVED";
     this.dataentryOKVED.IsEditable    = true;
     this.dataentryOKVED.MaxLength     = 100;
     this.dataentryOKVED.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryOKVED);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryOKVED]));
     w19.TopAttach    = ((uint)(10));
     w19.BottomAttach = ((uint)(11));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatextviewJurAddress          = new global::Gamma.GtkWidgets.yTextView();
     this.datatextviewJurAddress.CanFocus = true;
     this.datatextviewJurAddress.Name     = "datatextviewJurAddress";
     this.datatextviewJurAddress.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow1.Add(this.datatextviewJurAddress);
     this.datatableMain.Add(this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.GtkScrolledWindow1]));
     w21.TopAttach    = ((uint)(12));
     w21.BottomAttach = ((uint)(13));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.datatextviewAddress          = new global::Gamma.GtkWidgets.yTextView();
     this.datatextviewAddress.CanFocus = true;
     this.datatextviewAddress.Name     = "datatextviewAddress";
     this.datatextviewAddress.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow2.Add(this.datatextviewAddress);
     this.datatableMain.Add(this.GtkScrolledWindow2);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.GtkScrolledWindow2]));
     w23.TopAttach    = ((uint)(11));
     w23.BottomAttach = ((uint)(12));
     w23.LeftAttach   = ((uint)(1));
     w23.RightAttach  = ((uint)(2));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.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 w24 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label10]));
     w24.TopAttach    = ((uint)(8));
     w24.BottomAttach = ((uint)(9));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.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("E-mail:");
     this.datatableMain.Add(this.label11);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label11]));
     w25.TopAttach    = ((uint)(3));
     w25.BottomAttach = ((uint)(4));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.Xalign    = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Руководитель:");
     this.datatableMain.Add(this.label13);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label13]));
     w26.TopAttach    = ((uint)(4));
     w26.BottomAttach = ((uint)(5));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.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 w27 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label14]));
     w27.TopAttach    = ((uint)(5));
     w27.BottomAttach = ((uint)(6));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.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 w28 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label15]));
     w28.TopAttach    = ((uint)(9));
     w28.BottomAttach = ((uint)(10));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label16           = new global::Gtk.Label();
     this.label16.Name      = "label16";
     this.label16.Xalign    = 1F;
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("ОКВЭД:");
     this.datatableMain.Add(this.label16);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label16]));
     w29.TopAttach    = ((uint)(10));
     w29.BottomAttach = ((uint)(11));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Полное название:");
     this.datatableMain.Add(this.label3);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label3]));
     w30.TopAttach    = ((uint)(1));
     w30.BottomAttach = ((uint)(2));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Название<span foreground=\"red\">*</span>:");
     this.label4.UseMarkup = true;
     this.datatableMain.Add(this.label4);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label4]));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.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.Yalign    = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес:");
     this.datatableMain.Add(this.label5);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label5]));
     w32.TopAttach    = ((uint)(11));
     w32.BottomAttach = ((uint)(12));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.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.Yalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Юр. адрес:");
     this.datatableMain.Add(this.label6);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label6]));
     w33.TopAttach    = ((uint)(12));
     w33.BottomAttach = ((uint)(13));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.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 w34 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label7]));
     w34.TopAttach    = ((uint)(6));
     w34.BottomAttach = ((uint)(7));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("КПП:");
     this.datatableMain.Add(this.label8);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label8]));
     w35.TopAttach    = ((uint)(7));
     w35.BottomAttach = ((uint)(8));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 1F;
     this.label9.Yalign    = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Телефоны:");
     this.datatableMain.Add(this.label9);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label9]));
     w36.TopAttach    = ((uint)(2));
     w36.BottomAttach = ((uint)(3));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.phonesview1            = new global::Vodovoz.Views.Contacts.PhonesView();
     this.phonesview1.Events     = ((global::Gdk.EventMask)(256));
     this.phonesview1.Name       = "phonesview1";
     this.phonesview1.IsReadOnly = false;
     this.datatableMain.Add(this.phonesview1);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.phonesview1]));
     w37.TopAttach    = ((uint)(2));
     w37.BottomAttach = ((uint)(3));
     w37.LeftAttach   = ((uint)(1));
     w37.RightAttach  = ((uint)(2));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceBuhgalter        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceBuhgalter.Events = ((global::Gdk.EventMask)(256));
     this.referenceBuhgalter.Name   = "referenceBuhgalter";
     this.datatableMain.Add(this.referenceBuhgalter);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceBuhgalter]));
     w38.TopAttach    = ((uint)(5));
     w38.BottomAttach = ((uint)(6));
     w38.LeftAttach   = ((uint)(1));
     w38.RightAttach  = ((uint)(2));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceLeader        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceLeader.Events = ((global::Gdk.EventMask)(256));
     this.referenceLeader.Name   = "referenceLeader";
     this.datatableMain.Add(this.referenceLeader);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceLeader]));
     w39.TopAttach    = ((uint)(4));
     w39.BottomAttach = ((uint)(5));
     w39.LeftAttach   = ((uint)(1));
     w39.RightAttach  = ((uint)(2));
     w39.XOptions     = ((global::Gtk.AttachOptions)(4));
     w39.YOptions     = ((global::Gtk.AttachOptions)(4));
     w11.Add(this.datatableMain);
     this.scrolledwindow1.Add(w11);
     this.notebookMain.Add(this.scrolledwindow1);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация");
     this.notebookMain.SetTabLabel(this.scrolledwindow1, this.label1);
     this.label1.ShowAll();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.accountsview1        = new global::QSBanks.AccountsView();
     this.accountsview1.Events = ((global::Gdk.EventMask)(256));
     this.accountsview1.Name   = "accountsview1";
     this.notebookMain.Add(this.accountsview1);
     global::Gtk.Notebook.NotebookChild w43 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.accountsview1]));
     w43.Position = 1;
     // Notebook tab
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Счет");
     this.notebookMain.SetTabLabel(this.accountsview1, this.label12);
     this.label12.ShowAll();
     this.vbox1.Add(this.notebookMain);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebookMain]));
     w44.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.radioTabInfo.Toggled     += new global::System.EventHandler(this.OnRadioTabInfoToggled);
     this.radioTabAccounts.Toggled += new global::System.EventHandler(this.OnRadioTabAccountsToggled);
 }
示例#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);
 }
示例#3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ContactDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ContactDlg";
     // Container child Vodovoz.ContactDlg.Gtk.Container+ContainerChild
     this.datavbox1         = new global::Gtk.VBox();
     this.datavbox1.Name    = "datavbox1";
     this.datavbox1.Spacing = 6;
     // Container child datavbox1.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.datavbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.hbox2]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.datatable1               = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false);
     this.datatable1.Name          = "datatable1";
     this.datatable1.RowSpacing    = ((uint)(6));
     this.datatable1.ColumnSpacing = ((uint)(6));
     // Container child datatable1.Gtk.Table+TableChild
     this.checkbuttonFired               = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkbuttonFired.CanFocus      = true;
     this.checkbuttonFired.Name          = "checkbuttonFired";
     this.checkbuttonFired.Label         = "";
     this.checkbuttonFired.DrawIndicator = true;
     this.checkbuttonFired.UseUnderline  = true;
     this.datatable1.Add(this.checkbuttonFired);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1[this.checkbuttonFired]));
     w6.TopAttach    = ((uint)(4));
     w6.BottomAttach = ((uint)(5));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.emailsView        = new global::Vodovoz.Views.Contacts.EmailsView();
     this.emailsView.Events = ((global::Gdk.EventMask)(256));
     this.emailsView.Name   = "emailsView";
     this.datatable1.Add(this.emailsView);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1[this.emailsView]));
     w7.TopAttach    = ((uint)(6));
     w7.BottomAttach = ((uint)(7));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.entryName               = new global::Gamma.GtkWidgets.yEntry();
     this.entryName.CanFocus      = true;
     this.entryName.Name          = "entryName";
     this.entryName.IsEditable    = true;
     this.entryName.InvisibleChar = '●';
     this.datatable1.Add(this.entryName);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entryName]));
     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 datatable1.Gtk.Table+TableChild
     this.entryPatronymic               = new global::Gamma.GtkWidgets.yEntry();
     this.entryPatronymic.CanFocus      = true;
     this.entryPatronymic.Name          = "entryPatronymic";
     this.entryPatronymic.IsEditable    = true;
     this.entryPatronymic.InvisibleChar = '●';
     this.datatable1.Add(this.entryPatronymic);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entryPatronymic]));
     w9.TopAttach    = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.entrySurname               = new global::Gamma.GtkWidgets.yEntry();
     this.entrySurname.CanFocus      = true;
     this.entrySurname.Name          = "entrySurname";
     this.entrySurname.IsEditable    = true;
     this.entrySurname.InvisibleChar = '●';
     this.datatable1.Add(this.entrySurname);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entrySurname]));
     w10.LeftAttach  = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.XOptions    = ((global::Gtk.AttachOptions)(4));
     w10.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.dataComment          = new global::Gamma.GtkWidgets.yTextView();
     this.dataComment.CanFocus = true;
     this.dataComment.Name     = "dataComment";
     this.dataComment.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow.Add(this.dataComment);
     this.datatable1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.GtkScrolledWindow]));
     w12.TopAttach    = ((uint)(7));
     w12.BottomAttach = ((uint)(8));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Фамилия:");
     this.datatable1.Add(this.label1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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.datatable1.Add(this.label2);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label2]));
     w14.TopAttach    = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник уволен:");
     this.datatable1.Add(this.label3);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label3]));
     w15.TopAttach    = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные телефоны:");
     this.datatable1.Add(this.label4);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label4]));
     w16.TopAttach    = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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("E-mail:");
     this.datatable1.Add(this.label5);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label5]));
     w17.TopAttach    = ((uint)(6));
     w17.BottomAttach = ((uint)(7));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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.datatable1.Add(this.label6);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label6]));
     w18.TopAttach    = ((uint)(7));
     w18.BottomAttach = ((uint)(8));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child datatable1.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.datatable1.Add(this.label7);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7]));
     w19.TopAttach    = ((uint)(1));
     w19.BottomAttach = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Отчество:");
     this.datatable1.Add(this.label8);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label8]));
     w20.TopAttach    = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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.datatable1.Add(this.phonesView);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1[this.phonesView]));
     w21.TopAttach    = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referencePost        = new global::Gamma.Widgets.yEntryReference();
     this.referencePost.Events = ((global::Gdk.EventMask)(256));
     this.referencePost.Name   = "referencePost";
     this.datatable1.Add(this.referencePost);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referencePost]));
     w22.TopAttach    = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.LeftAttach   = ((uint)(1));
     w22.RightAttach  = ((uint)(2));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.datavbox1.Add(this.datatable1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.datatable1]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     this.Add(this.datavbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonSave.Clicked   += new global::System.EventHandler(this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked);
 }