Beispiel #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget BioGorod.Dialogs.Client.ContactDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "BioGorod.Dialogs.Client.ContactDlg";
     // Container child BioGorod.Dialogs.Client.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::QSContacts.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::QSContacts.PhonesView();
     this.phonesView.Events = ((global::Gdk.EventMask)(256));
     this.phonesView.Name   = "phonesView";
     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);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.CounterpartyDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.CounterpartyDlg";
     // Container child Vodovoz.CounterpartyDlg.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox();
     this.vbox2.HeightRequest = 400;
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(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.menuActions = new global::QSWidgetLib.MenuButton();
     this.menuActions.CanFocus = true;
     this.menuActions.Name = "menuActions";
     this.menuActions.UseUnderline = true;
     this.menuActions.UseMarkup = false;
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.menu.png");
     this.menuActions.Image = w5;
     this.hbox1.Add(this.menuActions);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.menuActions]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox2.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox19 = new global::Gtk.HBox();
     this.hbox19.Name = "hbox19";
     this.hbox19.Spacing = 6;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Информация"));
     this.radioInfo.CanFocus = true;
     this.radioInfo.Name = "radioInfo";
     this.radioInfo.DrawIndicator = false;
     this.radioInfo.UseUnderline = true;
     this.radioInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.hbox19.Add(this.radioInfo);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioInfo]));
     w9.Position = 0;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioContacts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контакты"));
     this.radioContacts.CanFocus = true;
     this.radioContacts.Name = "radioContacts";
     this.radioContacts.DrawIndicator = false;
     this.radioContacts.UseUnderline = true;
     this.radioContacts.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioContacts);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContacts]));
     w10.Position = 1;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioDetails = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты"));
     this.radioDetails.CanFocus = true;
     this.radioDetails.Name = "radioDetails";
     this.radioDetails.DrawIndicator = false;
     this.radioDetails.UseUnderline = true;
     this.radioDetails.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioDetails);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDetails]));
     w11.Position = 2;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioCurators = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Кураторы"));
     this.radioCurators.CanFocus = true;
     this.radioCurators.Name = "radioCurators";
     this.radioCurators.DrawIndicator = false;
     this.radioCurators.UseUnderline = true;
     this.radioCurators.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioCurators);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioCurators]));
     w12.Position = 3;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioContactPersons = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контактные лица"));
     this.radioContactPersons.CanFocus = true;
     this.radioContactPersons.Name = "radioContactPersons";
     this.radioContactPersons.DrawIndicator = false;
     this.radioContactPersons.UseUnderline = true;
     this.radioContactPersons.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioContactPersons);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContactPersons]));
     w13.Position = 4;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radiobuttonProxies = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Доверенности"));
     this.radiobuttonProxies.CanFocus = true;
     this.radiobuttonProxies.Name = "radiobuttonProxies";
     this.radiobuttonProxies.DrawIndicator = false;
     this.radiobuttonProxies.UseUnderline = true;
     this.radiobuttonProxies.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radiobuttonProxies);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radiobuttonProxies]));
     w14.Position = 5;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioContracts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Договор"));
     this.radioContracts.CanFocus = true;
     this.radioContracts.Name = "radioContracts";
     this.radioContracts.DrawIndicator = false;
     this.radioContracts.UseUnderline = true;
     this.radioContracts.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioContracts);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContracts]));
     w15.Position = 6;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioDeliveryPoint = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Точки доставки"));
     this.radioDeliveryPoint.CanFocus = true;
     this.radioDeliveryPoint.Name = "radioDeliveryPoint";
     this.radioDeliveryPoint.DrawIndicator = false;
     this.radioDeliveryPoint.UseUnderline = true;
     this.radioDeliveryPoint.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioDeliveryPoint);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDeliveryPoint]));
     w16.Position = 7;
     this.vbox2.Add(this.hbox19);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox19]));
     w17.Position = 2;
     w17.Expand = false;
     w17.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.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow4.Name = "GtkScrolledWindow4";
     this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
     global::Gtk.Viewport w18 = new global::Gtk.Viewport();
     w18.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table(((uint)(11)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.datalegalname1 = new global::QSOrmProject.yLegalName();
     this.datalegalname1.Events = ((global::Gdk.EventMask)(256));
     this.datalegalname1.Name = "datalegalname1";
     this.table1.Add(this.datalegalname1);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.datalegalname1]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(4));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFIO = new global::Gamma.GtkWidgets.yEntry();
     this.entryFIO.CanFocus = true;
     this.entryFIO.Name = "entryFIO";
     this.entryFIO.IsEditable = true;
     this.entryFIO.InvisibleChar = '●';
     this.table1.Add(this.entryFIO);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFIO]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach = ((uint)(1));
     w20.RightAttach = ((uint)(4));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFullName = new global::Gamma.GtkWidgets.yEntry();
     this.entryFullName.CanFocus = true;
     this.entryFullName.Name = "entryFullName";
     this.entryFullName.IsEditable = true;
     this.entryFullName.MaxLength = 300;
     this.entryFullName.InvisibleChar = '●';
     this.table1.Add(this.entryFullName);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFullName]));
     w21.TopAttach = ((uint)(3));
     w21.BottomAttach = ((uint)(4));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.enumDefaultDocumentType = new global::Gamma.Widgets.yEnumComboBox();
     this.enumDefaultDocumentType.Name = "enumDefaultDocumentType";
     this.enumDefaultDocumentType.ShowSpecialStateAll = false;
     this.enumDefaultDocumentType.ShowSpecialStateNot = false;
     this.enumDefaultDocumentType.UseShortTitle = false;
     this.enumDefaultDocumentType.DefaultFirst = false;
     this.table1.Add(this.enumDefaultDocumentType);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.enumDefaultDocumentType]));
     w22.TopAttach = ((uint)(8));
     w22.BottomAttach = ((uint)(9));
     w22.LeftAttach = ((uint)(3));
     w22.RightAttach = ((uint)(4));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.enumPayment = new global::Gamma.Widgets.yEnumComboBox();
     this.enumPayment.Name = "enumPayment";
     this.enumPayment.ShowSpecialStateAll = false;
     this.enumPayment.ShowSpecialStateNot = false;
     this.enumPayment.UseShortTitle = false;
     this.enumPayment.DefaultFirst = false;
     this.table1.Add(this.enumPayment);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.enumPayment]));
     w23.TopAttach = ((uint)(8));
     w23.BottomAttach = ((uint)(9));
     w23.LeftAttach = ((uint)(1));
     w23.RightAttach = ((uint)(2));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow5.Name = "GtkScrolledWindow5";
     this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild
     this.dataWaybillComment = new global::Gamma.GtkWidgets.yTextView();
     this.dataWaybillComment.CanFocus = true;
     this.dataWaybillComment.Name = "dataWaybillComment";
     this.GtkScrolledWindow5.Add(this.dataWaybillComment);
     this.table1.Add(this.GtkScrolledWindow5);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow5]));
     w25.TopAttach = ((uint)(10));
     w25.BottomAttach = ((uint)(11));
     w25.LeftAttach = ((uint)(3));
     w25.RightAttach = ((uint)(4));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow6.Name = "GtkScrolledWindow6";
     this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild
     this.dataComment = new global::Gamma.GtkWidgets.yTextView();
     this.dataComment.CanFocus = true;
     this.dataComment.Name = "dataComment";
     this.GtkScrolledWindow6.Add(this.dataComment);
     this.table1.Add(this.GtkScrolledWindow6);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow6]));
     w27.TopAttach = ((uint)(10));
     w27.BottomAttach = ((uint)(11));
     w27.LeftAttach = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox17 = new global::Gtk.HBox();
     this.hbox17.Name = "hbox17";
     this.hbox17.Spacing = 6;
     // Container child hbox17.Gtk.Box+BoxChild
     this.enumPersonType = new global::Gamma.Widgets.yEnumComboBox();
     this.enumPersonType.Name = "enumPersonType";
     this.enumPersonType.ShowSpecialStateAll = false;
     this.enumPersonType.ShowSpecialStateNot = false;
     this.enumPersonType.UseShortTitle = false;
     this.enumPersonType.DefaultFirst = false;
     this.hbox17.Add(this.enumPersonType);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.enumPersonType]));
     w28.Position = 0;
     // Container child hbox17.Gtk.Box+BoxChild
     this.ycheckIsArchived = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckIsArchived.TooltipMarkup = "Больше не работаем с этим клиентом";
     this.ycheckIsArchived.CanFocus = true;
     this.ycheckIsArchived.Name = "ycheckIsArchived";
     this.ycheckIsArchived.Label = global::Mono.Unix.Catalog.GetString("Архивный");
     this.ycheckIsArchived.DrawIndicator = true;
     this.ycheckIsArchived.UseUnderline = true;
     this.hbox17.Add(this.ycheckIsArchived);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.ycheckIsArchived]));
     w29.Position = 1;
     w29.Expand = false;
     w29.Fill = false;
     this.table1.Add(this.hbox17);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox17]));
     w30.LeftAttach = ((uint)(1));
     w30.RightAttach = ((uint)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label19 = new global::Gtk.Label();
     this.label19.Name = "label19";
     this.label19.Xalign = 1F;
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString(" Максимальная\nсумма кредита:");
     this.table1.Add(this.label19);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.label19]));
     w31.TopAttach = ((uint)(9));
     w31.BottomAttach = ((uint)(10));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label25 = new global::Gtk.Label();
     this.label25.Name = "label25";
     this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий\nдля накладной:");
     this.label25.Justify = ((global::Gtk.Justification)(1));
     this.table1.Add(this.label25);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.label25]));
     w32.TopAttach = ((uint)(10));
     w32.BottomAttach = ((uint)(11));
     w32.LeftAttach = ((uint)(2));
     w32.RightAttach = ((uint)(3));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label26 = new global::Gtk.Label();
     this.label26.Name = "label26";
     this.label26.Xalign = 1F;
     this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("  Форма оплаты \n(по умолчанию):");
     this.table1.Add(this.label26);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label26]));
     w33.TopAttach = ((uint)(8));
     w33.BottomAttach = ((uint)(9));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label31 = new global::Gtk.Label();
     this.label31.Name = "label31";
     this.label31.Xalign = 1F;
     this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Внутренний\nкомментарий:");
     this.label31.Justify = ((global::Gtk.Justification)(1));
     this.table1.Add(this.label31);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label31]));
     w34.TopAttach = ((uint)(10));
     w34.BottomAttach = ((uint)(11));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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("Предыдущий контрагент:");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w35.TopAttach = ((uint)(5));
     w35.BottomAttach = ((uint)(6));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.label5);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
     w36.TopAttach = ((uint)(6));
     w36.BottomAttach = ((uint)(7));
     w36.XOptions = ((global::Gtk.AttachOptions)(4));
     w36.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.label6);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1[this.label6]));
     w37.TopAttach = ((uint)(7));
     w37.BottomAttach = ((uint)(8));
     w37.XOptions = ((global::Gtk.AttachOptions)(4));
     w37.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.label8);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
     w38.XOptions = ((global::Gtk.AttachOptions)(4));
     w38.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Тип контрагента:");
     this.table1.Add(this.label9);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.label9]));
     w39.TopAttach = ((uint)(6));
     w39.BottomAttach = ((uint)(7));
     w39.LeftAttach = ((uint)(2));
     w39.RightAttach = ((uint)(3));
     w39.XOptions = ((global::Gtk.AttachOptions)(4));
     w39.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelDefaultDocumentType = new global::Gtk.Label();
     this.labelDefaultDocumentType.Name = "labelDefaultDocumentType";
     this.labelDefaultDocumentType.Xalign = 1F;
     this.labelDefaultDocumentType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документов\n(по умолчанию):");
     this.table1.Add(this.labelDefaultDocumentType);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultDocumentType]));
     w40.TopAttach = ((uint)(8));
     w40.BottomAttach = ((uint)(9));
     w40.LeftAttach = ((uint)(2));
     w40.RightAttach = ((uint)(3));
     w40.XOptions = ((global::Gtk.AttachOptions)(4));
     w40.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelDefaultExpense = new global::Gtk.Label();
     this.labelDefaultExpense.Name = "labelDefaultExpense";
     this.labelDefaultExpense.Xalign = 1F;
     this.labelDefaultExpense.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода\nпо-умолчанию:");
     this.table1.Add(this.labelDefaultExpense);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultExpense]));
     w41.TopAttach = ((uint)(9));
     w41.BottomAttach = ((uint)(10));
     w41.LeftAttach = ((uint)(2));
     w41.RightAttach = ((uint)(3));
     w41.XOptions = ((global::Gtk.AttachOptions)(4));
     w41.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelFIO = new global::Gtk.Label();
     this.labelFIO.Name = "labelFIO";
     this.labelFIO.Xalign = 1F;
     this.labelFIO.LabelProp = global::Mono.Unix.Catalog.GetString("Ф.И.О.:");
     this.table1.Add(this.labelFIO);
     global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFIO]));
     w42.TopAttach = ((uint)(1));
     w42.BottomAttach = ((uint)(2));
     w42.XOptions = ((global::Gtk.AttachOptions)(4));
     w42.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelFullName = new global::Gtk.Label();
     this.labelFullName.Name = "labelFullName";
     this.labelFullName.Xalign = 1F;
     this.labelFullName.LabelProp = global::Mono.Unix.Catalog.GetString("Полное наименование:");
     this.table1.Add(this.labelFullName);
     global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFullName]));
     w43.TopAttach = ((uint)(3));
     w43.BottomAttach = ((uint)(4));
     w43.XOptions = ((global::Gtk.AttachOptions)(4));
     w43.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelMainCounterparty = new global::Gtk.Label();
     this.labelMainCounterparty.Name = "labelMainCounterparty";
     this.labelMainCounterparty.Xalign = 1F;
     this.labelMainCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Головная организация:");
     this.table1.Add(this.labelMainCounterparty);
     global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1[this.labelMainCounterparty]));
     w44.TopAttach = ((uint)(4));
     w44.BottomAttach = ((uint)(5));
     w44.XOptions = ((global::Gtk.AttachOptions)(4));
     w44.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelShort = new global::Gtk.Label();
     this.labelShort.Name = "labelShort";
     this.labelShort.Xalign = 1F;
     this.labelShort.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование:");
     this.table1.Add(this.labelShort);
     global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShort]));
     w45.TopAttach = ((uint)(2));
     w45.BottomAttach = ((uint)(3));
     w45.XOptions = ((global::Gtk.AttachOptions)(4));
     w45.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceDefaultExpense = new global::Gamma.Widgets.yEntryReference();
     this.referenceDefaultExpense.Events = ((global::Gdk.EventMask)(256));
     this.referenceDefaultExpense.Name = "referenceDefaultExpense";
     this.referenceDefaultExpense.DisplayFields = new string[] {
             "Name"};
     this.table1.Add(this.referenceDefaultExpense);
     global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDefaultExpense]));
     w46.TopAttach = ((uint)(9));
     w46.BottomAttach = ((uint)(10));
     w46.LeftAttach = ((uint)(3));
     w46.RightAttach = ((uint)(4));
     w46.XOptions = ((global::Gtk.AttachOptions)(4));
     w46.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceMainCounterparty = new global::Gamma.Widgets.yEntryReferenceVM();
     this.referenceMainCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.referenceMainCounterparty.Name = "referenceMainCounterparty";
     this.table1.Add(this.referenceMainCounterparty);
     global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceMainCounterparty]));
     w47.TopAttach = ((uint)(4));
     w47.BottomAttach = ((uint)(5));
     w47.LeftAttach = ((uint)(1));
     w47.RightAttach = ((uint)(4));
     w47.XOptions = ((global::Gtk.AttachOptions)(4));
     w47.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referencePreviousCounterparty = new global::Gamma.Widgets.yEntryReferenceVM();
     this.referencePreviousCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.referencePreviousCounterparty.Name = "referencePreviousCounterparty";
     this.table1.Add(this.referencePreviousCounterparty);
     global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table1[this.referencePreviousCounterparty]));
     w48.TopAttach = ((uint)(5));
     w48.BottomAttach = ((uint)(6));
     w48.LeftAttach = ((uint)(1));
     w48.RightAttach = ((uint)(4));
     w48.XOptions = ((global::Gtk.AttachOptions)(4));
     w48.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceSignificance = new global::Gamma.Widgets.yEntryReference();
     this.referenceSignificance.Events = ((global::Gdk.EventMask)(256));
     this.referenceSignificance.Name = "referenceSignificance";
     this.referenceSignificance.DisplayFields = new string[] {
             "Name"};
     this.table1.Add(this.referenceSignificance);
     global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceSignificance]));
     w49.TopAttach = ((uint)(7));
     w49.BottomAttach = ((uint)(8));
     w49.LeftAttach = ((uint)(1));
     w49.RightAttach = ((uint)(2));
     w49.XOptions = ((global::Gtk.AttachOptions)(4));
     w49.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceStatus = new global::Gamma.Widgets.yEntryReference();
     this.referenceStatus.Events = ((global::Gdk.EventMask)(256));
     this.referenceStatus.Name = "referenceStatus";
     this.referenceStatus.DisplayFields = new string[] {
             "Name"};
     this.table1.Add(this.referenceStatus);
     global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceStatus]));
     w50.TopAttach = ((uint)(6));
     w50.BottomAttach = ((uint)(7));
     w50.LeftAttach = ((uint)(1));
     w50.RightAttach = ((uint)(2));
     w50.XOptions = ((global::Gtk.AttachOptions)(4));
     w50.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinMaxCredit = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100);
     this.spinMaxCredit.CanFocus = true;
     this.spinMaxCredit.Name = "spinMaxCredit";
     this.spinMaxCredit.ValueAsDecimal = 0m;
     this.spinMaxCredit.ValueAsInt = 0;
     this.table1.Add(this.spinMaxCredit);
     global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table1[this.spinMaxCredit]));
     w51.TopAttach = ((uint)(9));
     w51.BottomAttach = ((uint)(10));
     w51.LeftAttach = ((uint)(1));
     w51.RightAttach = ((uint)(2));
     w51.XOptions = ((global::Gtk.AttachOptions)(4));
     w51.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vboxCooperation = new global::Gtk.VBox();
     this.vboxCooperation.Name = "vboxCooperation";
     this.vboxCooperation.Spacing = 1;
     // Container child vboxCooperation.Gtk.Box+BoxChild
     this.checkCustomer = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkCustomer.CanFocus = true;
     this.checkCustomer.Name = "checkCustomer";
     this.checkCustomer.Label = global::Mono.Unix.Catalog.GetString("Покупатель");
     this.checkCustomer.DrawIndicator = true;
     this.checkCustomer.UseUnderline = true;
     this.vboxCooperation.Add(this.checkCustomer);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkCustomer]));
     w52.Position = 0;
     w52.Expand = false;
     w52.Fill = false;
     // Container child vboxCooperation.Gtk.Box+BoxChild
     this.checkSupplier = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkSupplier.CanFocus = true;
     this.checkSupplier.Name = "checkSupplier";
     this.checkSupplier.Label = global::Mono.Unix.Catalog.GetString("Поставщик");
     this.checkSupplier.DrawIndicator = true;
     this.checkSupplier.UseUnderline = true;
     this.vboxCooperation.Add(this.checkSupplier);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkSupplier]));
     w53.Position = 1;
     w53.Expand = false;
     w53.Fill = false;
     // Container child vboxCooperation.Gtk.Box+BoxChild
     this.checkPartner = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkPartner.CanFocus = true;
     this.checkPartner.Name = "checkPartner";
     this.checkPartner.Label = global::Mono.Unix.Catalog.GetString("Партнер");
     this.checkPartner.DrawIndicator = true;
     this.checkPartner.UseUnderline = true;
     this.vboxCooperation.Add(this.checkPartner);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkPartner]));
     w54.Position = 2;
     w54.Expand = false;
     w54.Fill = false;
     this.table1.Add(this.vboxCooperation);
     global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table1[this.vboxCooperation]));
     w55.TopAttach = ((uint)(6));
     w55.BottomAttach = ((uint)(8));
     w55.LeftAttach = ((uint)(3));
     w55.RightAttach = ((uint)(4));
     w55.XOptions = ((global::Gtk.AttachOptions)(4));
     w55.YOptions = ((global::Gtk.AttachOptions)(0));
     w18.Add(this.table1);
     this.GtkScrolledWindow4.Add(w18);
     this.notebook1.Add(this.GtkScrolledWindow4);
     // Notebook tab
     this.label1 = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow4, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.datatable2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false);
     this.datatable2.Name = "datatable2";
     this.datatable2.RowSpacing = ((uint)(6));
     this.datatable2.ColumnSpacing = ((uint)(6));
     this.datatable2.BorderWidth = ((uint)(6));
     // Container child datatable2.Gtk.Table+TableChild
     this.dataentryFinancialContact = new global::Gamma.Widgets.yEntryReferenceVM();
     this.dataentryFinancialContact.Events = ((global::Gdk.EventMask)(256));
     this.dataentryFinancialContact.Name = "dataentryFinancialContact";
     this.datatable2.Add(this.dataentryFinancialContact);
     global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryFinancialContact]));
     w59.TopAttach = ((uint)(3));
     w59.BottomAttach = ((uint)(4));
     w59.LeftAttach = ((uint)(1));
     w59.RightAttach = ((uint)(2));
     w59.XOptions = ((global::Gtk.AttachOptions)(4));
     w59.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.dataentryMainContact = new global::Gamma.Widgets.yEntryReferenceVM();
     this.dataentryMainContact.Events = ((global::Gdk.EventMask)(256));
     this.dataentryMainContact.Name = "dataentryMainContact";
     this.datatable2.Add(this.dataentryMainContact);
     global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryMainContact]));
     w60.TopAttach = ((uint)(2));
     w60.BottomAttach = ((uint)(3));
     w60.LeftAttach = ((uint)(1));
     w60.RightAttach = ((uint)(2));
     w60.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.emailsView = new global::QSContacts.EmailsView();
     this.emailsView.Events = ((global::Gdk.EventMask)(256));
     this.emailsView.Name = "emailsView";
     this.datatable2.Add(this.emailsView);
     global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.datatable2[this.emailsView]));
     w61.TopAttach = ((uint)(1));
     w61.BottomAttach = ((uint)(2));
     w61.LeftAttach = ((uint)(1));
     w61.RightAttach = ((uint)(2));
     w61.XOptions = ((global::Gtk.AttachOptions)(4));
     w61.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.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.datatable2.Add(this.label11);
     global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label11]));
     w62.TopAttach = ((uint)(1));
     w62.BottomAttach = ((uint)(2));
     w62.XOptions = ((global::Gtk.AttachOptions)(4));
     w62.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label();
     this.label12.Name = "label12";
     this.label12.Xalign = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Главное контактное лицо:");
     this.datatable2.Add(this.label12);
     global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label12]));
     w63.TopAttach = ((uint)(2));
     w63.BottomAttach = ((uint)(3));
     w63.XOptions = ((global::Gtk.AttachOptions)(4));
     w63.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.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("Контактное лицо по \nфинансовым вопросам:");
     this.label13.UseMarkup = true;
     this.datatable2.Add(this.label13);
     global::Gtk.Table.TableChild w64 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label13]));
     w64.TopAttach = ((uint)(3));
     w64.BottomAttach = ((uint)(4));
     w64.XOptions = ((global::Gtk.AttachOptions)(4));
     w64.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.label18 = new global::Gtk.Label();
     this.label18.Name = "label18";
     this.label18.Xalign = 1F;
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Общие телефоны:");
     this.datatable2.Add(this.label18);
     global::Gtk.Table.TableChild w65 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label18]));
     w65.XOptions = ((global::Gtk.AttachOptions)(4));
     w65.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.phonesView = new global::QSContacts.PhonesView();
     this.phonesView.Events = ((global::Gdk.EventMask)(256));
     this.phonesView.Name = "phonesView";
     this.datatable2.Add(this.phonesView);
     global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.datatable2[this.phonesView]));
     w66.LeftAttach = ((uint)(1));
     w66.RightAttach = ((uint)(2));
     w66.XOptions = ((global::Gtk.AttachOptions)(4));
     w66.YOptions = ((global::Gtk.AttachOptions)(4));
     this.notebook1.Add(this.datatable2);
     global::Gtk.Notebook.NotebookChild w67 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable2]));
     w67.Position = 1;
     // Notebook tab
     this.label20 = new global::Gtk.Label();
     this.label20.Name = "label20";
     this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Контакты");
     this.notebook1.SetTabLabel(this.datatable2, this.label20);
     this.label20.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox6 = new global::Gtk.VBox();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     this.vbox6.BorderWidth = ((uint)(6));
     // Container child vbox6.Gtk.Box+BoxChild
     this.datatable4 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false);
     this.datatable4.Name = "datatable4";
     this.datatable4.RowSpacing = ((uint)(6));
     this.datatable4.ColumnSpacing = ((uint)(6));
     // Container child datatable4.Gtk.Table+TableChild
     this.entryJurAddress = new global::Gamma.GtkWidgets.yEntry();
     this.entryJurAddress.CanFocus = true;
     this.entryJurAddress.Name = "entryJurAddress";
     this.entryJurAddress.IsEditable = true;
     this.entryJurAddress.InvisibleChar = '●';
     this.datatable4.Add(this.entryJurAddress);
     global::Gtk.Table.TableChild w68 = ((global::Gtk.Table.TableChild)(this.datatable4[this.entryJurAddress]));
     w68.TopAttach = ((uint)(2));
     w68.BottomAttach = ((uint)(3));
     w68.LeftAttach = ((uint)(1));
     w68.RightAttach = ((uint)(2));
     w68.XOptions = ((global::Gtk.AttachOptions)(4));
     w68.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label17 = new global::Gtk.Label();
     this.label17.Name = "label17";
     this.label17.Xalign = 1F;
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("В лице:");
     this.datatable4.Add(this.label17);
     global::Gtk.Table.TableChild w69 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label17]));
     w69.TopAttach = ((uint)(1));
     w69.BottomAttach = ((uint)(2));
     w69.LeftAttach = ((uint)(2));
     w69.RightAttach = ((uint)(3));
     w69.XOptions = ((global::Gtk.AttachOptions)(4));
     w69.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label27 = new global::Gtk.Label();
     this.label27.Name = "label27";
     this.label27.Xalign = 1F;
     this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:");
     this.datatable4.Add(this.label27);
     global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label27]));
     w70.XOptions = ((global::Gtk.AttachOptions)(4));
     w70.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label28 = new global::Gtk.Label();
     this.label28.Name = "label28";
     this.label28.Xalign = 1F;
     this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("КПП:");
     this.datatable4.Add(this.label28);
     global::Gtk.Table.TableChild w71 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label28]));
     w71.TopAttach = ((uint)(1));
     w71.BottomAttach = ((uint)(2));
     w71.XOptions = ((global::Gtk.AttachOptions)(4));
     w71.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label29 = new global::Gtk.Label();
     this.label29.Name = "label29";
     this.label29.Xalign = 1F;
     this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Юр. адрес:");
     this.datatable4.Add(this.label29);
     global::Gtk.Table.TableChild w72 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label29]));
     w72.TopAttach = ((uint)(2));
     w72.BottomAttach = ((uint)(3));
     w72.XOptions = ((global::Gtk.AttachOptions)(4));
     w72.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label32 = new global::Gtk.Label();
     this.label32.Name = "label32";
     this.label32.Xalign = 1F;
     this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("На основании:");
     this.datatable4.Add(this.label32);
     global::Gtk.Table.TableChild w73 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label32]));
     w73.TopAttach = ((uint)(2));
     w73.BottomAttach = ((uint)(3));
     w73.LeftAttach = ((uint)(2));
     w73.RightAttach = ((uint)(3));
     w73.XOptions = ((global::Gtk.AttachOptions)(4));
     w73.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.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.datatable4.Add(this.label7);
     global::Gtk.Table.TableChild w74 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label7]));
     w74.LeftAttach = ((uint)(2));
     w74.RightAttach = ((uint)(3));
     w74.XOptions = ((global::Gtk.AttachOptions)(4));
     w74.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.validatedINN = new global::Gamma.Widgets.yValidatedEntry();
     this.validatedINN.CanFocus = true;
     this.validatedINN.Name = "validatedINN";
     this.validatedINN.IsEditable = true;
     this.validatedINN.MaxLength = 12;
     this.validatedINN.InvisibleChar = '●';
     this.datatable4.Add(this.validatedINN);
     global::Gtk.Table.TableChild w75 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedINN]));
     w75.LeftAttach = ((uint)(1));
     w75.RightAttach = ((uint)(2));
     w75.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.validatedKPP = new global::Gamma.Widgets.yValidatedEntry();
     this.validatedKPP.CanFocus = true;
     this.validatedKPP.Name = "validatedKPP";
     this.validatedKPP.IsEditable = true;
     this.validatedKPP.MaxLength = 9;
     this.validatedKPP.InvisibleChar = '●';
     this.datatable4.Add(this.validatedKPP);
     global::Gtk.Table.TableChild w76 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedKPP]));
     w76.TopAttach = ((uint)(1));
     w76.BottomAttach = ((uint)(2));
     w76.LeftAttach = ((uint)(1));
     w76.RightAttach = ((uint)(2));
     w76.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.yentrySignBaseOf = new global::Gamma.GtkWidgets.yEntry();
     this.yentrySignBaseOf.CanFocus = true;
     this.yentrySignBaseOf.Name = "yentrySignBaseOf";
     this.yentrySignBaseOf.IsEditable = true;
     this.yentrySignBaseOf.InvisibleChar = '●';
     this.datatable4.Add(this.yentrySignBaseOf);
     global::Gtk.Table.TableChild w77 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignBaseOf]));
     w77.TopAttach = ((uint)(2));
     w77.BottomAttach = ((uint)(3));
     w77.LeftAttach = ((uint)(3));
     w77.RightAttach = ((uint)(4));
     w77.XOptions = ((global::Gtk.AttachOptions)(4));
     w77.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.yentrySignFIO = new global::Gamma.GtkWidgets.yEntry();
     this.yentrySignFIO.CanFocus = true;
     this.yentrySignFIO.Name = "yentrySignFIO";
     this.yentrySignFIO.IsEditable = true;
     this.yentrySignFIO.InvisibleChar = '●';
     this.datatable4.Add(this.yentrySignFIO);
     global::Gtk.Table.TableChild w78 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignFIO]));
     w78.LeftAttach = ((uint)(3));
     w78.RightAttach = ((uint)(4));
     w78.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.yentrySignPost = new global::Gamma.GtkWidgets.yEntry();
     this.yentrySignPost.CanFocus = true;
     this.yentrySignPost.Name = "yentrySignPost";
     this.yentrySignPost.IsEditable = true;
     this.yentrySignPost.InvisibleChar = '●';
     this.datatable4.Add(this.yentrySignPost);
     global::Gtk.Table.TableChild w79 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignPost]));
     w79.TopAttach = ((uint)(1));
     w79.BottomAttach = ((uint)(2));
     w79.LeftAttach = ((uint)(3));
     w79.RightAttach = ((uint)(4));
     w79.XOptions = ((global::Gtk.AttachOptions)(4));
     w79.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox6.Add(this.datatable4);
     global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.datatable4]));
     w80.Position = 0;
     w80.Expand = false;
     w80.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.accountsView = new global::QSBanks.AccountsView();
     this.accountsView.Events = ((global::Gdk.EventMask)(256));
     this.accountsView.Name = "accountsView";
     this.vbox6.Add(this.accountsView);
     global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.accountsView]));
     w81.Position = 1;
     this.notebook1.Add(this.vbox6);
     global::Gtk.Notebook.NotebookChild w82 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6]));
     w82.Position = 2;
     // Notebook tab
     this.label21 = new global::Gtk.Label();
     this.label21.Name = "label21";
     this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты");
     this.notebook1.SetTabLabel(this.vbox6, this.label21);
     this.label21.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.datatable3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.datatable3.Name = "datatable3";
     this.datatable3.RowSpacing = ((uint)(6));
     this.datatable3.ColumnSpacing = ((uint)(6));
     this.datatable3.BorderWidth = ((uint)(6));
     // Container child datatable3.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.datatable3.Add(this.label14);
     global::Gtk.Table.TableChild w83 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label14]));
     w83.XOptions = ((global::Gtk.AttachOptions)(4));
     w83.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.label22 = new global::Gtk.Label();
     this.label22.Name = "label22";
     this.label22.Xalign = 1F;
     this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Бухгалтер:");
     this.datatable3.Add(this.label22);
     global::Gtk.Table.TableChild w84 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label22]));
     w84.TopAttach = ((uint)(1));
     w84.BottomAttach = ((uint)(2));
     w84.XOptions = ((global::Gtk.AttachOptions)(4));
     w84.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.label23 = new global::Gtk.Label();
     this.label23.Name = "label23";
     this.label23.Xalign = 1F;
     this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по бутылям:");
     this.datatable3.Add(this.label23);
     global::Gtk.Table.TableChild w85 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label23]));
     w85.TopAttach = ((uint)(2));
     w85.BottomAttach = ((uint)(3));
     w85.XOptions = ((global::Gtk.AttachOptions)(4));
     w85.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.referenceAccountant = new global::Gamma.Widgets.yEntryReference();
     this.referenceAccountant.Events = ((global::Gdk.EventMask)(256));
     this.referenceAccountant.Name = "referenceAccountant";
     this.referenceAccountant.DisplayFields = new string[] {
             "LastName",
             "Name",
             "Patronymic"};
     this.referenceAccountant.DisplayFormatString = "{0} {1} {2}";
     this.datatable3.Add(this.referenceAccountant);
     global::Gtk.Table.TableChild w86 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceAccountant]));
     w86.TopAttach = ((uint)(1));
     w86.BottomAttach = ((uint)(2));
     w86.LeftAttach = ((uint)(1));
     w86.RightAttach = ((uint)(2));
     w86.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.referenceBottleManager = new global::Gamma.Widgets.yEntryReference();
     this.referenceBottleManager.Events = ((global::Gdk.EventMask)(256));
     this.referenceBottleManager.Name = "referenceBottleManager";
     this.referenceBottleManager.DisplayFields = new string[] {
             "LastName",
             "Name",
             "Patronymic"};
     this.referenceBottleManager.DisplayFormatString = "{0} {1} {2}";
     this.datatable3.Add(this.referenceBottleManager);
     global::Gtk.Table.TableChild w87 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceBottleManager]));
     w87.TopAttach = ((uint)(2));
     w87.BottomAttach = ((uint)(3));
     w87.LeftAttach = ((uint)(1));
     w87.RightAttach = ((uint)(2));
     w87.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.referenceSalesManager = new global::Gamma.Widgets.yEntryReference();
     this.referenceSalesManager.Events = ((global::Gdk.EventMask)(256));
     this.referenceSalesManager.Name = "referenceSalesManager";
     this.referenceSalesManager.DisplayFields = new string[] {
             "LastName",
             "Name",
             "Patronymic"};
     this.referenceSalesManager.DisplayFormatString = "{0} {1} {2}";
     this.datatable3.Add(this.referenceSalesManager);
     global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceSalesManager]));
     w88.LeftAttach = ((uint)(1));
     w88.RightAttach = ((uint)(2));
     w88.YOptions = ((global::Gtk.AttachOptions)(4));
     this.notebook1.Add(this.datatable3);
     global::Gtk.Notebook.NotebookChild w89 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable3]));
     w89.Position = 3;
     // Notebook tab
     this.label10 = new global::Gtk.Label();
     this.label10.Name = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Кураторы");
     this.notebook1.SetTabLabel(this.datatable3, this.label10);
     this.label10.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.contactsview1 = new global::Vodovoz.ContactsView();
     this.contactsview1.Events = ((global::Gdk.EventMask)(256));
     this.contactsview1.Name = "contactsview1";
     this.notebook1.Add(this.contactsview1);
     global::Gtk.Notebook.NotebookChild w90 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.contactsview1]));
     w90.Position = 4;
     // Notebook tab
     this.label24 = new global::Gtk.Label();
     this.label24.Name = "label24";
     this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные лица");
     this.notebook1.SetTabLabel(this.contactsview1, this.label24);
     this.label24.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.proxiesview1 = new global::Vodovoz.ProxyView();
     this.proxiesview1.Events = ((global::Gdk.EventMask)(256));
     this.proxiesview1.Name = "proxiesview1";
     this.notebook1.Add(this.proxiesview1);
     global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.proxiesview1]));
     w91.Position = 5;
     // Notebook tab
     this.label30 = new global::Gtk.Label();
     this.label30.Name = "label30";
     this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("Доверенности");
     this.notebook1.SetTabLabel(this.proxiesview1, this.label30);
     this.label30.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.counterpartyContractsView = new global::Vodovoz.CounterpartyContractsView();
     this.counterpartyContractsView.Events = ((global::Gdk.EventMask)(256));
     this.counterpartyContractsView.Name = "counterpartyContractsView";
     this.notebook1.Add(this.counterpartyContractsView);
     global::Gtk.Notebook.NotebookChild w92 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.counterpartyContractsView]));
     w92.Position = 6;
     // Notebook tab
     this.label34 = new global::Gtk.Label();
     this.label34.Name = "label34";
     this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("Договор");
     this.notebook1.SetTabLabel(this.counterpartyContractsView, this.label34);
     this.label34.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox9 = new global::Gtk.VBox();
     this.vbox9.Name = "vbox9";
     this.vbox9.Spacing = 6;
     this.vbox9.BorderWidth = ((uint)(6));
     // Container child vbox9.Gtk.Box+BoxChild
     this.deliveryPointView = new global::Vodovoz.DeliveryPointView();
     this.deliveryPointView.Events = ((global::Gdk.EventMask)(256));
     this.deliveryPointView.Name = "deliveryPointView";
     this.vbox9.Add(this.deliveryPointView);
     global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.deliveryPointView]));
     w93.Position = 0;
     this.notebook1.Add(this.vbox9);
     global::Gtk.Notebook.NotebookChild w94 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox9]));
     w94.Position = 7;
     // Notebook tab
     this.label40 = new global::Gtk.Label();
     this.label40.Name = "label40";
     this.label40.LabelProp = global::Mono.Unix.Catalog.GetString("Точки доставки");
     this.notebook1.SetTabLabel(this.vbox9, this.label40);
     this.label40.ShowAll();
     this.vbox2.Add(this.notebook1);
     global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1]));
     w95.Position = 3;
     this.Add(this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.labelDefaultExpense.Hide();
     this.referenceDefaultExpense.Hide();
     this.Hide();
     this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked);
     this.radioInfo.Toggled += new global::System.EventHandler(this.OnRadioInfoToggled);
     this.radioContacts.Toggled += new global::System.EventHandler(this.OnRadioContactsToggled);
     this.radioDetails.Toggled += new global::System.EventHandler(this.OnRadioDetailsToggled);
     this.radioCurators.Toggled += new global::System.EventHandler(this.OnRadioCuratorsToggled);
     this.radioContactPersons.Toggled += new global::System.EventHandler(this.OnRadioContactPersonsToggled);
     this.radiobuttonProxies.Toggled += new global::System.EventHandler(this.OnRadiobuttonProxiesToggled);
     this.radioContracts.Toggled += new global::System.EventHandler(this.OnRadioContractsToggled);
     this.radioDeliveryPoint.Toggled += new global::System.EventHandler(this.OnRadioDeliveryPointToggled);
     this.checkSupplier.Toggled += new global::System.EventHandler(this.OnCheckSupplierToggled);
     this.referencePreviousCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferencePreviousCounterpartyChangedByUser);
     this.referenceMainCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferenceMainCounterpartyChangedByUser);
     this.enumPersonType.Changed += new global::System.EventHandler(this.OnEnumPersonTypeChanged);
     this.enumPayment.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumPaymentEnumItemSelected);
     this.yentrySignPost.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignPostFocusInEvent);
     this.yentrySignBaseOf.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignBaseOfFocusInEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget BioGorod.Dialogs.Company.EmployeeDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "BioGorod.Dialogs.Company.EmployeeDlg";
     // Container child BioGorod.Dialogs.Company.EmployeeDlg.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;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.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 w7 = new global::Gtk.Viewport();
     w7.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.datatableMain               = new global::Gtk.Table(((uint)(12)), ((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.checkIsFired               = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkIsFired.CanFocus      = true;
     this.checkIsFired.Name          = "checkIsFired";
     this.checkIsFired.Label         = "";
     this.checkIsFired.DrawIndicator = true;
     this.checkIsFired.UseUnderline  = true;
     this.datatableMain.Add(this.checkIsFired);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.checkIsFired]));
     w8.TopAttach    = ((uint)(11));
     w8.BottomAttach = ((uint)(12));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(3));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.comboCategory      = new global::Gamma.Widgets.yEnumComboBox();
     this.comboCategory.Name = "comboCategory";
     this.comboCategory.ShowSpecialStateAll = false;
     this.comboCategory.ShowSpecialStateNot = false;
     this.comboCategory.UseShortTitle       = false;
     this.comboCategory.DefaultFirst        = true;
     this.datatableMain.Add(this.comboCategory);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.comboCategory]));
     w9.TopAttach    = ((uint)(3));
     w9.BottomAttach = ((uint)(4));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.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 w10 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryDrivingNumber]));
     w10.TopAttach    = ((uint)(7));
     w10.BottomAttach = ((uint)(8));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(3));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.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 w11 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryLastName]));
     w11.LeftAttach  = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.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 w12 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     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.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 w13 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryPatronymic]));
     w13.TopAttach    = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.datahbox2         = new global::Gtk.HBox();
     this.datahbox2.Name    = "datahbox2";
     this.datahbox2.Spacing = 6;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("серия");
     this.datahbox2.Add(this.label4);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.label4]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.dataentryPassportSeria               = new global::Gamma.GtkWidgets.yEntry();
     this.dataentryPassportSeria.CanFocus      = true;
     this.dataentryPassportSeria.Name          = "dataentryPassportSeria";
     this.dataentryPassportSeria.IsEditable    = true;
     this.dataentryPassportSeria.WidthChars    = 5;
     this.dataentryPassportSeria.MaxLength     = 5;
     this.dataentryPassportSeria.InvisibleChar = '●';
     this.datahbox2.Add(this.dataentryPassportSeria);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.dataentryPassportSeria]));
     w15.Position = 1;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("номер");
     this.datahbox2.Add(this.label13);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.label13]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.dataentryPassportNumber               = new global::Gamma.GtkWidgets.yEntry();
     this.dataentryPassportNumber.CanFocus      = true;
     this.dataentryPassportNumber.Name          = "dataentryPassportNumber";
     this.dataentryPassportNumber.IsEditable    = true;
     this.dataentryPassportNumber.WidthChars    = 6;
     this.dataentryPassportNumber.MaxLength     = 6;
     this.dataentryPassportNumber.InvisibleChar = '●';
     this.datahbox2.Add(this.dataentryPassportNumber);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.dataentryPassportNumber]));
     w17.Position = 3;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.ylabel1           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel1.Name      = "ylabel1";
     this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("выдан");
     this.datahbox2.Add(this.ylabel1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.ylabel1]));
     w18.Position = 4;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.ydateIssued                = new global::Gamma.Widgets.yDatePicker();
     this.ydateIssued.Events         = ((global::Gdk.EventMask)(256));
     this.ydateIssued.Name           = "ydateIssued";
     this.ydateIssued.WithTime       = false;
     this.ydateIssued.Date           = new global::System.DateTime(0);
     this.ydateIssued.IsEditable     = true;
     this.ydateIssued.AutoSeparation = true;
     this.datahbox2.Add(this.ydateIssued);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.ydateIssued]));
     w19.Position = 5;
     this.datatableMain.Add(this.datahbox2);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.datahbox2]));
     w20.TopAttach    = ((uint)(5));
     w20.BottomAttach = ((uint)(6));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(3));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.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 w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.entryAddressCurrent]));
     w21.TopAttach    = ((uint)(10));
     w21.BottomAttach = ((uint)(11));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(3));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.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 w22 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.entryAddressRegistration]));
     w22.TopAttach    = ((uint)(9));
     w22.BottomAttach = ((uint)(10));
     w22.LeftAttach   = ((uint)(1));
     w22.RightAttach  = ((uint)(3));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("кем выдан");
     this.hbox4.Add(this.label7);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label7]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.entryIssuedBy               = new global::Gamma.GtkWidgets.yEntry();
     this.entryIssuedBy.CanFocus      = true;
     this.entryIssuedBy.Name          = "entryIssuedBy";
     this.entryIssuedBy.IsEditable    = true;
     this.entryIssuedBy.MaxLength     = 300;
     this.entryIssuedBy.InvisibleChar = '●';
     this.hbox4.Add(this.entryIssuedBy);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.entryIssuedBy]));
     w24.Position = 1;
     this.datatableMain.Add(this.hbox4);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.hbox4]));
     w25.TopAttach    = ((uint)(6));
     w25.BottomAttach = ((uint)(7));
     w25.LeftAttach   = ((uint)(1));
     w25.RightAttach  = ((uint)(3));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.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 w26 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label10]));
     w26.TopAttach    = ((uint)(8));
     w26.BottomAttach = ((uint)(9));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.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("Водительское\nудостоверение:");
     this.datatableMain.Add(this.label11);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label11]));
     w27.TopAttach    = ((uint)(7));
     w27.BottomAttach = ((uint)(8));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.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 w28 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label14]));
     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.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 w29 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label15]));
     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.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 w30 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label16]));
     w30.TopAttach    = ((uint)(11));
     w30.BottomAttach = ((uint)(12));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.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 w31 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label2]));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.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 w32 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3]));
     w32.TopAttach    = ((uint)(3));
     w32.BottomAttach = ((uint)(4));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.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 w33 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label5]));
     w33.TopAttach    = ((uint)(1));
     w33.BottomAttach = ((uint)(2));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.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 w34 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label6]));
     w34.TopAttach    = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     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)(4));
     w35.BottomAttach = ((uint)(5));
     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.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)(5));
     w36.BottomAttach = ((uint)(6));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.phonesView        = new global::QSContacts.PhonesView();
     this.phonesView.Events = ((global::Gdk.EventMask)(256));
     this.phonesView.Name   = "phonesView";
     this.datatableMain.Add(this.phonesView);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.phonesView]));
     w37.TopAttach    = ((uint)(8));
     w37.BottomAttach = ((uint)(9));
     w37.LeftAttach   = ((uint)(1));
     w37.RightAttach  = ((uint)(3));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.photoviewEmployee        = new global::QSOrmProject.PhotoView();
     this.photoviewEmployee.Events = ((global::Gdk.EventMask)(256));
     this.photoviewEmployee.Name   = "photoviewEmployee";
     this.datatableMain.Add(this.photoviewEmployee);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.photoviewEmployee]));
     w38.BottomAttach = ((uint)(5));
     w38.LeftAttach   = ((uint)(2));
     w38.RightAttach  = ((uint)(3));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceUser               = new global::Gamma.Widgets.yEntryReference();
     this.referenceUser.Events        = ((global::Gdk.EventMask)(256));
     this.referenceUser.Name          = "referenceUser";
     this.referenceUser.DisplayFields = new string[] {
         "Name"
     };
     this.datatableMain.Add(this.referenceUser);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceUser]));
     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));
     w7.Add(this.datatableMain);
     this.GtkScrolledWindow.Add(w7);
     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();
     this.vbox1.Add(this.notebookMain);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain]));
     w43.Position = 1;
     this.Add(this.vbox1);
     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);
 }
 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)(11)), ((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 = 13;
     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.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 w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow1]));
     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.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 w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow2]));
     w21.TopAttach = ((uint)(9));
     w21.BottomAttach = ((uint)(10));
     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.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 w22 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label10]));
     w22.TopAttach = ((uint)(8));
     w22.BottomAttach = ((uint)(9));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.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 w23 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label11]));
     w23.TopAttach = ((uint)(3));
     w23.BottomAttach = ((uint)(4));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.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 w24 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label13]));
     w24.TopAttach = ((uint)(4));
     w24.BottomAttach = ((uint)(5));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.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 w25 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label14]));
     w25.TopAttach = ((uint)(5));
     w25.BottomAttach = ((uint)(6));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.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 w26 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.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 w27 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label4]));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.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 w28 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label5]));
     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.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 w29 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label6]));
     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.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 w30 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label7]));
     w30.TopAttach = ((uint)(6));
     w30.BottomAttach = ((uint)(7));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.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 w31 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label8]));
     w31.TopAttach = ((uint)(7));
     w31.BottomAttach = ((uint)(8));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.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 w32 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label9]));
     w32.TopAttach = ((uint)(2));
     w32.BottomAttach = ((uint)(3));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.phonesview1 = new global::QSContacts.PhonesView ();
     this.phonesview1.Events = ((global::Gdk.EventMask)(256));
     this.phonesview1.Name = "phonesview1";
     this.datatableMain.Add (this.phonesview1);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.phonesview1]));
     w33.TopAttach = ((uint)(2));
     w33.BottomAttach = ((uint)(3));
     w33.LeftAttach = ((uint)(1));
     w33.RightAttach = ((uint)(2));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceBuhgalter = new global::Gamma.Widgets.yEntryReference ();
     this.referenceBuhgalter.Events = ((global::Gdk.EventMask)(256));
     this.referenceBuhgalter.Name = "referenceBuhgalter";
     this.referenceBuhgalter.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceBuhgalter.DisplayFormatString = "{0}";
     this.datatableMain.Add (this.referenceBuhgalter);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceBuhgalter]));
     w34.TopAttach = ((uint)(5));
     w34.BottomAttach = ((uint)(6));
     w34.LeftAttach = ((uint)(1));
     w34.RightAttach = ((uint)(2));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceLeader = new global::Gamma.Widgets.yEntryReference ();
     this.referenceLeader.Events = ((global::Gdk.EventMask)(256));
     this.referenceLeader.Name = "referenceLeader";
     this.referenceLeader.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceLeader.DisplayFormatString = "{0}";
     this.datatableMain.Add (this.referenceLeader);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceLeader]));
     w35.TopAttach = ((uint)(4));
     w35.BottomAttach = ((uint)(5));
     w35.LeftAttach = ((uint)(1));
     w35.RightAttach = ((uint)(2));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.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 w39 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.accountsview1]));
     w39.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 w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain]));
     w40.Position = 1;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
     this.radioTabInfo.Toggled += new global::System.EventHandler (this.OnRadioTabInfoToggled);
     this.radioTabAccounts.Toggled += new global::System.EventHandler (this.OnRadioTabAccountsToggled);
 }
Beispiel #5
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget BioGorod.Dialogs.Company.OrganizationDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "BioGorod.Dialogs.Company.OrganizationDlg";
     // Container child BioGorod.Dialogs.Company.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 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.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 w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabAccounts]));
     w7.Position = 4;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.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 w9 = new global::Gtk.Viewport();
     w9.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.datatableMain               = new global::Gtk.Table(((uint)(12)), ((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 w10 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryEmail]));
     w10.TopAttach    = ((uint)(3));
     w10.BottomAttach = ((uint)(4));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.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 w11 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryFullName]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.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 w12 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryINN]));
     w12.TopAttach    = ((uint)(6));
     w12.BottomAttach = ((uint)(7));
     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.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 w13 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryKPP]));
     w13.TopAttach    = ((uint)(7));
     w13.BottomAttach = ((uint)(8));
     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.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 w14 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName]));
     w14.LeftAttach  = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.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     = 13;
     this.dataentryOGRN.InvisibleChar = '●';
     this.datatableMain.Add(this.dataentryOGRN);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryOGRN]));
     w15.TopAttach    = ((uint)(8));
     w15.BottomAttach = ((uint)(9));
     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.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 w17 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow1]));
     w17.TopAttach    = ((uint)(10));
     w17.BottomAttach = ((uint)(11));
     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.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 w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow2]));
     w19.TopAttach    = ((uint)(9));
     w19.BottomAttach = ((uint)(10));
     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.GtkScrolledWindow3            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow3.Name       = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.ytextPostAddress          = new global::Gamma.GtkWidgets.yTextView();
     this.ytextPostAddress.CanFocus = true;
     this.ytextPostAddress.Name     = "ytextPostAddress";
     this.GtkScrolledWindow3.Add(this.ytextPostAddress);
     this.datatableMain.Add(this.GtkScrolledWindow3);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow3]));
     w21.TopAttach    = ((uint)(11));
     w21.BottomAttach = ((uint)(12));
     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.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 w22 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label10]));
     w22.TopAttach    = ((uint)(8));
     w22.BottomAttach = ((uint)(9));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.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 w23 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label11]));
     w23.TopAttach    = ((uint)(3));
     w23.BottomAttach = ((uint)(4));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.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 w24 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label13]));
     w24.TopAttach    = ((uint)(4));
     w24.BottomAttach = ((uint)(5));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.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 w25 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label14]));
     w25.TopAttach    = ((uint)(5));
     w25.BottomAttach = ((uint)(6));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.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.Yalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Почтовый адрес:");
     this.datatableMain.Add(this.label2);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label2]));
     w26.TopAttach    = ((uint)(11));
     w26.BottomAttach = ((uint)(12));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.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 w27 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3]));
     w27.TopAttach    = ((uint)(1));
     w27.BottomAttach = ((uint)(2));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.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 w28 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label4]));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.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 w29 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label5]));
     w29.TopAttach    = ((uint)(9));
     w29.BottomAttach = ((uint)(10));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.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 w30 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label6]));
     w30.TopAttach    = ((uint)(10));
     w30.BottomAttach = ((uint)(11));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.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 w31 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label7]));
     w31.TopAttach    = ((uint)(6));
     w31.BottomAttach = ((uint)(7));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.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 w32 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label8]));
     w32.TopAttach    = ((uint)(7));
     w32.BottomAttach = ((uint)(8));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.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 w33 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label9]));
     w33.TopAttach    = ((uint)(2));
     w33.BottomAttach = ((uint)(3));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.phonesview1        = new global::QSContacts.PhonesView();
     this.phonesview1.Events = ((global::Gdk.EventMask)(256));
     this.phonesview1.Name   = "phonesview1";
     this.datatableMain.Add(this.phonesview1);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.phonesview1]));
     w34.TopAttach    = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     w34.LeftAttach   = ((uint)(1));
     w34.RightAttach  = ((uint)(2));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceBuhgalter               = new global::Gamma.Widgets.yEntryReference();
     this.referenceBuhgalter.Events        = ((global::Gdk.EventMask)(256));
     this.referenceBuhgalter.Name          = "referenceBuhgalter";
     this.referenceBuhgalter.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceBuhgalter.DisplayFormatString = "{0}";
     this.datatableMain.Add(this.referenceBuhgalter);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceBuhgalter]));
     w35.TopAttach    = ((uint)(5));
     w35.BottomAttach = ((uint)(6));
     w35.LeftAttach   = ((uint)(1));
     w35.RightAttach  = ((uint)(2));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceLeader               = new global::Gamma.Widgets.yEntryReference();
     this.referenceLeader.Events        = ((global::Gdk.EventMask)(256));
     this.referenceLeader.Name          = "referenceLeader";
     this.referenceLeader.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceLeader.DisplayFormatString = "{0}";
     this.datatableMain.Add(this.referenceLeader);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceLeader]));
     w36.TopAttach    = ((uint)(4));
     w36.BottomAttach = ((uint)(5));
     w36.LeftAttach   = ((uint)(1));
     w36.RightAttach  = ((uint)(2));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     w9.Add(this.datatableMain);
     this.scrolledwindow1.Add(w9);
     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 w40 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.accountsview1]));
     w40.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 w41 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain]));
     w41.Position = 1;
     this.Add(this.vbox1);
     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);
     this.radioTabInfo.Toggled     += new global::System.EventHandler(this.OnRadioTabInfoToggled);
     this.radioTabAccounts.Toggled += new global::System.EventHandler(this.OnRadioTabAccountsToggled);
 }