コード例 #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.WriteoffDocumentDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.WriteoffDocumentDlg";
     // Container child Vodovoz.WriteoffDocumentDlg.Gtk.Container+ContainerChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     this.vbox4.BorderWidth = ((uint)(6));
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.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.hbox5.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox5.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.hbox5.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonPrint = new global::Gtk.Button ();
     this.buttonPrint.CanFocus = true;
     this.buttonPrint.Name = "buttonPrint";
     this.buttonPrint.UseUnderline = true;
     this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать");
     global::Gtk.Image w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu);
     this.buttonPrint.Image = w5;
     this.hbox5.Add (this.buttonPrint);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonPrint]));
     w6.PackType = ((global::Gtk.PackType)(1));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox4.Add (this.hbox5);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(4)), false);
     this.tableWriteoff.Name = "tableWriteoff";
     this.tableWriteoff.RowSpacing = ((uint)(6));
     this.tableWriteoff.ColumnSpacing = ((uint)(6));
     this.tableWriteoff.InheritedDataSource = false;
     this.tableWriteoff.InheritedBoundaryDataSource = false;
     this.tableWriteoff.InheritedDataSource = false;
     this.tableWriteoff.InheritedBoundaryDataSource = false;
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.comboType = new global::QSOrmProject.EnumComboBox ();
     this.comboType.CanFocus = true;
     this.comboType.Name = "comboType";
     this.comboType.ItemsEnumName = "";
     this.comboType.ShowSpecialStateAll = false;
     this.comboType.ShowSpecialStateNot = false;
     this.tableWriteoff.Add (this.comboType);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.comboType]));
     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 tableWriteoff.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.textComment = new global::Gtk.DataBindings.DataTextView ();
     this.textComment.CanFocus = true;
     this.textComment.Name = "textComment";
     this.textComment.InheritedDataSource = true;
     this.textComment.Mappings = "Comment";
     this.textComment.InheritedBoundaryDataSource = false;
     this.textComment.InheritedDataSource = true;
     this.textComment.Mappings = "Comment";
     this.textComment.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow1.Add (this.textComment);
     this.tableWriteoff.Add (this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow1]));
     w10.TopAttach = ((uint)(3));
     w10.BottomAttach = ((uint)(4));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(4));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственное лицо:");
     this.tableWriteoff.Add (this.label12);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label12]));
     w12.LeftAttach = ((uint)(2));
     w12.RightAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label2);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label2]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label4);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.LeftAttach = ((uint)(2));
     w14.RightAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label5);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5]));
     w15.TopAttach = ((uint)(3));
     w15.BottomAttach = ((uint)(4));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label6);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label6]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label7);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label7]));
     w17.TopAttach = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.labelTimeStamp = new global::Gtk.DataBindings.DataLabel ();
     this.labelTimeStamp.Name = "labelTimeStamp";
     this.labelTimeStamp.Xalign = 0F;
     this.labelTimeStamp.InheritedDataSource = true;
     this.labelTimeStamp.Mappings = "DateString";
     this.labelTimeStamp.InheritedBoundaryDataSource = false;
     this.labelTimeStamp.Important = false;
     this.labelTimeStamp.InheritedDataSource = true;
     this.labelTimeStamp.Mappings = "DateString";
     this.labelTimeStamp.InheritedBoundaryDataSource = false;
     this.tableWriteoff.Add (this.labelTimeStamp);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.labelTimeStamp]));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.referenceCounterparty = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.referenceCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.referenceCounterparty.Name = "referenceCounterparty";
     this.tableWriteoff.Add (this.referenceCounterparty);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.referenceCounterparty]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.referenceDeliveryPoint = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPoint.Name = "referenceDeliveryPoint";
     this.referenceDeliveryPoint.DisplayFields = new string[] {
         "CompiledAddress"
     };
     this.referenceDeliveryPoint.DisplayFormatString = "{0}";
     this.referenceDeliveryPoint.InheritedDataSource = true;
     this.referenceDeliveryPoint.Mappings = "DeliveryPoint";
     this.referenceDeliveryPoint.InheritedBoundaryDataSource = false;
     this.referenceDeliveryPoint.CursorPointsEveryType = false;
     this.tableWriteoff.Add (this.referenceDeliveryPoint);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.referenceDeliveryPoint]));
     w20.TopAttach = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.LeftAttach = ((uint)(3));
     w20.RightAttach = ((uint)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.referenceEmployee = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceEmployee.Events = ((global::Gdk.EventMask)(256));
     this.referenceEmployee.Name = "referenceEmployee";
     this.referenceEmployee.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceEmployee.DisplayFormatString = "{0}";
     this.referenceEmployee.InheritedDataSource = true;
     this.referenceEmployee.Mappings = "ResponsibleEmployee";
     this.referenceEmployee.InheritedBoundaryDataSource = false;
     this.referenceEmployee.CursorPointsEveryType = false;
     this.tableWriteoff.Add (this.referenceEmployee);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.referenceEmployee]));
     w21.LeftAttach = ((uint)(3));
     w21.RightAttach = ((uint)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.referenceWarehouse = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceWarehouse.Events = ((global::Gdk.EventMask)(256));
     this.referenceWarehouse.Name = "referenceWarehouse";
     this.referenceWarehouse.DisplayFields = new string[] {
         "Name"
     };
     this.referenceWarehouse.DisplayFormatString = "{0}";
     this.referenceWarehouse.InheritedDataSource = true;
     this.referenceWarehouse.Mappings = "WriteoffWarehouse";
     this.referenceWarehouse.InheritedBoundaryDataSource = false;
     this.referenceWarehouse.CursorPointsEveryType = false;
     this.tableWriteoff.Add (this.referenceWarehouse);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.referenceWarehouse]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(3));
     w22.RightAttach = ((uint)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.tableWriteoff);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff]));
     w23.Position = 1;
     w23.Expand = false;
     w23.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.writeoffdocumentitemsview1 = new global::Vodovoz.WriteoffDocumentItemsView ();
     this.writeoffdocumentitemsview1.Events = ((global::Gdk.EventMask)(256));
     this.writeoffdocumentitemsview1.Name = "writeoffdocumentitemsview1";
     this.vbox4.Add (this.writeoffdocumentitemsview1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.writeoffdocumentitemsview1]));
     w24.PackType = ((global::Gtk.PackType)(1));
     w24.Position = 2;
     this.Add (this.vbox4);
     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.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked);
     this.referenceCounterparty.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyChanged);
 }
コード例 #2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.CarUnloadDocumentDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.CarUnloadDocumentDlg";
     // Container child Vodovoz.CarUnloadDocumentDlg.Gtk.Container+ContainerChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     this.vbox4.BorderWidth = ((uint)(6));
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.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.hbox5.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox5.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.hbox5.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonPrint = new global::Gtk.Button ();
     this.buttonPrint.CanFocus = true;
     this.buttonPrint.Name = "buttonPrint";
     this.buttonPrint.UseUnderline = true;
     this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать");
     global::Gtk.Image w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu);
     this.buttonPrint.Image = w5;
     this.hbox5.Add (this.buttonPrint);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonPrint]));
     w6.PackType = ((global::Gtk.PackType)(1));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox4.Add (this.hbox5);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(4)), false);
     this.tableWriteoff.Name = "tableWriteoff";
     this.tableWriteoff.RowSpacing = ((uint)(6));
     this.tableWriteoff.ColumnSpacing = ((uint)(6));
     this.tableWriteoff.InheritedDataSource = false;
     this.tableWriteoff.InheritedBoundaryDataSource = false;
     this.tableWriteoff.InheritedDataSource = false;
     this.tableWriteoff.InheritedBoundaryDataSource = false;
     // Container child tableWriteoff.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.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewCommnet.CanFocus = true;
     this.ytextviewCommnet.Name = "ytextviewCommnet";
     this.GtkScrolledWindow.Add (this.ytextviewCommnet);
     this.tableWriteoff.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow]));
     w9.TopAttach = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(4));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.VscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.ytextviewRouteListInfo = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewRouteListInfo.CanFocus = true;
     this.ytextviewRouteListInfo.Name = "ytextviewRouteListInfo";
     this.ytextviewRouteListInfo.Editable = false;
     this.GtkScrolledWindow1.Add (this.ytextviewRouteListInfo);
     this.tableWriteoff.Add (this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow1]));
     w11.TopAttach = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach = ((uint)(3));
     w11.RightAttach = ((uint)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1]));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label2);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label2]));
     w13.LeftAttach = ((uint)(2));
     w13.RightAttach = ((uint)(3));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label3);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label3]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.LeftAttach = ((uint)(2));
     w14.RightAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label4);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label5);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.yentryrefRouteList = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.yentryrefRouteList.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefRouteList.Name = "yentryrefRouteList";
     this.tableWriteoff.Add (this.yentryrefRouteList);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefRouteList]));
     w17.LeftAttach = ((uint)(3));
     w17.RightAttach = ((uint)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference ();
     this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefWarehouse.Name = "yentryrefWarehouse";
     this.tableWriteoff.Add (this.yentryrefWarehouse);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse]));
     w18.TopAttach = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(0));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.ylabelDate = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelDate.Name = "ylabelDate";
     this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1");
     this.tableWriteoff.Add (this.ylabelDate);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.ylabelDate]));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.tableWriteoff);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff]));
     w20.Position = 1;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.bottlereceptionview1 = new global::Vodovoz.BottleReceptionView ();
     this.bottlereceptionview1.Events = ((global::Gdk.EventMask)(256));
     this.bottlereceptionview1.Name = "bottlereceptionview1";
     this.vbox1.Add (this.bottlereceptionview1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.bottlereceptionview1]));
     w21.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.equipmentreceptionview1 = new global::Vodovoz.EquipmentReceptionView ();
     this.equipmentreceptionview1.Events = ((global::Gdk.EventMask)(256));
     this.equipmentreceptionview1.Name = "equipmentreceptionview1";
     this.vbox1.Add (this.equipmentreceptionview1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.equipmentreceptionview1]));
     w22.Position = 1;
     this.hbox4.Add (this.vbox1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox1]));
     w23.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.returnsreceptionview1 = new global::Vodovoz.ReturnsReceptionView ();
     this.returnsreceptionview1.Events = ((global::Gdk.EventMask)(256));
     this.returnsreceptionview1.Name = "returnsreceptionview1";
     this.hbox4.Add (this.returnsreceptionview1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.returnsreceptionview1]));
     w24.Position = 1;
     this.vbox4.Add (this.hbox4);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4]));
     w25.Position = 2;
     this.Add (this.vbox4);
     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.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked);
     this.yentryrefWarehouse.Changed += new global::System.EventHandler (this.OnYentryrefWarehouseChanged);
     this.yentryrefRouteList.Changed += new global::System.EventHandler (this.OnYentryrefRouteListChanged);
 }
コード例 #3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget BioGorod.Dialogs.Client.ContractLongLeaseDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "BioGorod.Dialogs.Client.ContractLongLeaseDlg";
     // Container child BioGorod.Dialogs.Client.ContractLongLeaseDlg.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;
     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.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.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.table1.Add(this.label1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w7.LeftAttach  = ((uint)(2));
     w7.RightAttach = ((uint)(3));
     w7.XOptions    = ((global::Gtk.AttachOptions)(4));
     w7.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w9.TopAttach    = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.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 w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(2));
     w11.RightAttach  = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.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 w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.templatewidget1        = new global::QSDocTemplates.TemplateWidget();
     this.templatewidget1.Events = ((global::Gdk.EventMask)(256));
     this.templatewidget1.Name   = "templatewidget1";
     this.table1.Add(this.templatewidget1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.templatewidget1]));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(4));
     w13.RightAttach  = ((uint)(5));
     w13.XOptions     = ((global::Gtk.AttachOptions)(0));
     w13.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ycheckOrigin               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckOrigin.CanFocus      = true;
     this.ycheckOrigin.Name          = "ycheckOrigin";
     this.ycheckOrigin.Label         = global::Mono.Unix.Catalog.GetString("Оригинал");
     this.ycheckOrigin.DrawIndicator = true;
     this.ycheckOrigin.UseUnderline  = true;
     this.vbox2.Add(this.ycheckOrigin);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckOrigin]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ycheckScanned               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckScanned.CanFocus      = true;
     this.ycheckScanned.Name          = "ycheckScanned";
     this.ycheckScanned.Label         = global::Mono.Unix.Catalog.GetString("Скан");
     this.ycheckScanned.DrawIndicator = true;
     this.ycheckScanned.UseUnderline  = true;
     this.vbox2.Add(this.ycheckScanned);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckScanned]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.table1.Add(this.vbox2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(3));
     w16.RightAttach  = ((uint)(4));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycheckArchive               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckArchive.CanFocus      = true;
     this.ycheckArchive.Name          = "ycheckArchive";
     this.ycheckArchive.Label         = global::Mono.Unix.Catalog.GetString("Да");
     this.ycheckArchive.DrawIndicator = true;
     this.ycheckArchive.UseUnderline  = true;
     this.table1.Add(this.ycheckArchive);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycheckArchive]));
     w17.TopAttach    = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach   = ((uint)(3));
     w17.RightAttach  = ((uint)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydateIssue                = new global::Gamma.Widgets.yDatePicker();
     this.ydateIssue.Events         = ((global::Gdk.EventMask)(256));
     this.ydateIssue.Name           = "ydateIssue";
     this.ydateIssue.WithTime       = false;
     this.ydateIssue.Date           = new global::System.DateTime(0);
     this.ydateIssue.IsEditable     = true;
     this.ydateIssue.AutoSeparation = true;
     this.table1.Add(this.ydateIssue);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateIssue]));
     w18.LeftAttach  = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions    = ((global::Gtk.AttachOptions)(4));
     w18.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryreferenceCounterparty        = new global::Gamma.Widgets.yEntryReferenceVM();
     this.yentryreferenceCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceCounterparty.Name   = "yentryreferenceCounterparty";
     this.table1.Add(this.yentryreferenceCounterparty);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceCounterparty]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.yentryreferenceOrg        = new global::Gamma.Widgets.yEntryReference();
     this.yentryreferenceOrg.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceOrg.Name   = "yentryreferenceOrg";
     this.table1.Add(this.yentryreferenceOrg);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceOrg]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylabelNumber           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelNumber.Name      = "ylabelNumber";
     this.ylabelNumber.Xalign    = 0F;
     this.ylabelNumber.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1");
     this.table1.Add(this.ylabelNumber);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelNumber]));
     w21.LeftAttach  = ((uint)(3));
     w21.RightAttach = ((uint)(4));
     w21.XOptions    = ((global::Gtk.AttachOptions)(4));
     w21.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookAddresses             = new global::Gtk.Notebook();
     this.notebookAddresses.CanFocus    = true;
     this.notebookAddresses.Name        = "notebookAddresses";
     this.notebookAddresses.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w23 = new global::Gtk.Label();
     w23.Visible = true;
     this.notebookAddresses.Add(w23);
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebookAddresses.SetTabLabel(w23, this.label7);
     this.label7.ShowAll();
     this.vbox1.Add(this.notebookAddresses);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookAddresses]));
     w24.Position = 2;
     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);
 }
コード例 #4
0
 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.Client.ContractShortLeaseDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "BioGorod.Dialogs.Client.ContractShortLeaseDlg";
     // Container child BioGorod.Dialogs.Client.ContractShortLeaseDlg.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;
     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.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.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.table1.Add(this.label1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w7.LeftAttach  = ((uint)(2));
     w7.RightAttach = ((uint)(3));
     w7.XOptions    = ((global::Gtk.AttachOptions)(4));
     w7.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w9.TopAttach    = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.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 w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(2));
     w11.RightAttach  = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.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 w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.templatewidget1        = new global::QSDocTemplates.TemplateWidget();
     this.templatewidget1.Events = ((global::Gdk.EventMask)(256));
     this.templatewidget1.Name   = "templatewidget1";
     this.table1.Add(this.templatewidget1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.templatewidget1]));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(4));
     w13.RightAttach  = ((uint)(5));
     w13.XOptions     = ((global::Gtk.AttachOptions)(0));
     w13.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ycheckOrigin               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckOrigin.CanFocus      = true;
     this.ycheckOrigin.Name          = "ycheckOrigin";
     this.ycheckOrigin.Label         = global::Mono.Unix.Catalog.GetString("Оригинал");
     this.ycheckOrigin.DrawIndicator = true;
     this.ycheckOrigin.UseUnderline  = true;
     this.vbox2.Add(this.ycheckOrigin);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckOrigin]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ycheckScanned               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckScanned.CanFocus      = true;
     this.ycheckScanned.Name          = "ycheckScanned";
     this.ycheckScanned.Label         = global::Mono.Unix.Catalog.GetString("Скан");
     this.ycheckScanned.DrawIndicator = true;
     this.ycheckScanned.UseUnderline  = true;
     this.vbox2.Add(this.ycheckScanned);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckScanned]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.table1.Add(this.vbox2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(3));
     w16.RightAttach  = ((uint)(4));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycheckArchive               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckArchive.CanFocus      = true;
     this.ycheckArchive.Name          = "ycheckArchive";
     this.ycheckArchive.Label         = global::Mono.Unix.Catalog.GetString("Да");
     this.ycheckArchive.DrawIndicator = true;
     this.ycheckArchive.UseUnderline  = true;
     this.table1.Add(this.ycheckArchive);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycheckArchive]));
     w17.TopAttach    = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach   = ((uint)(3));
     w17.RightAttach  = ((uint)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydateIssue                = new global::Gamma.Widgets.yDatePicker();
     this.ydateIssue.Events         = ((global::Gdk.EventMask)(256));
     this.ydateIssue.Name           = "ydateIssue";
     this.ydateIssue.WithTime       = false;
     this.ydateIssue.Date           = new global::System.DateTime(0);
     this.ydateIssue.IsEditable     = true;
     this.ydateIssue.AutoSeparation = true;
     this.table1.Add(this.ydateIssue);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateIssue]));
     w18.LeftAttach  = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions    = ((global::Gtk.AttachOptions)(4));
     w18.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryreferenceCounterparty        = new global::Gamma.Widgets.yEntryReferenceVM();
     this.yentryreferenceCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceCounterparty.Name   = "yentryreferenceCounterparty";
     this.table1.Add(this.yentryreferenceCounterparty);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceCounterparty]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.yentryreferenceOrg        = new global::Gamma.Widgets.yEntryReference();
     this.yentryreferenceOrg.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceOrg.Name   = "yentryreferenceOrg";
     this.table1.Add(this.yentryreferenceOrg);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceOrg]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylabelNumber           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelNumber.Name      = "ylabelNumber";
     this.ylabelNumber.Xalign    = 0F;
     this.ylabelNumber.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1");
     this.table1.Add(this.ylabelNumber);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelNumber]));
     w21.LeftAttach  = ((uint)(3));
     w21.RightAttach = ((uint)(4));
     w21.XOptions    = ((global::Gtk.AttachOptions)(4));
     w21.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(5)), ((uint)(4)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.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.ytextAdditionalInfo          = new global::Gamma.GtkWidgets.yTextView();
     this.ytextAdditionalInfo.CanFocus = true;
     this.ytextAdditionalInfo.Name     = "ytextAdditionalInfo";
     this.GtkScrolledWindow.Add(this.ytextAdditionalInfo);
     this.table2.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.GtkScrolledWindow]));
     w24.TopAttach    = ((uint)(4));
     w24.BottomAttach = ((uint)(5));
     w24.LeftAttach   = ((uint)(1));
     w24.RightAttach  = ((uint)(3));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add(this.label10);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10]));
     w25.TopAttach    = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Дата и время вывоза:");
     this.table2.Add(this.label11);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11]));
     w26.TopAttach    = ((uint)(2));
     w26.BottomAttach = ((uint)(3));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add(this.label12);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12]));
     w27.TopAttach    = ((uint)(2));
     w27.BottomAttach = ((uint)(3));
     w27.LeftAttach   = ((uint)(2));
     w27.RightAttach  = ((uint)(3));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add(this.label13);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2 [this.label13]));
     w28.TopAttach    = ((uint)(3));
     w28.BottomAttach = ((uint)(4));
     w28.LeftAttach   = ((uint)(2));
     w28.RightAttach  = ((uint)(3));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Условия краткосрочной аренды</b>");
     this.label7.UseMarkup = true;
     this.table2.Add(this.label7);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w29.RightAttach = ((uint)(4));
     w29.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.Yalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Дополнительная информация:");
     this.table2.Add(this.label8);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w30.TopAttach    = ((uint)(4));
     w30.BottomAttach = ((uint)(5));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add(this.label9);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w31.TopAttach    = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.LeftAttach   = ((uint)(2));
     w31.RightAttach  = ((uint)(3));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.ycheckDispenser               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckDispenser.CanFocus      = true;
     this.ycheckDispenser.Name          = "ycheckDispenser";
     this.ycheckDispenser.Label         = global::Mono.Unix.Catalog.GetString("Наличие рукомойника");
     this.ycheckDispenser.DrawIndicator = true;
     this.ycheckDispenser.UseUnderline  = true;
     this.vbox3.Add(this.ycheckDispenser);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ycheckDispenser]));
     w32.Position = 0;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.ycheckAdditionalWater               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckAdditionalWater.CanFocus      = true;
     this.ycheckAdditionalWater.Name          = "ycheckAdditionalWater";
     this.ycheckAdditionalWater.Label         = global::Mono.Unix.Catalog.GetString("Дополнительная вода");
     this.ycheckAdditionalWater.DrawIndicator = true;
     this.ycheckAdditionalWater.UseUnderline  = true;
     this.vbox3.Add(this.ycheckAdditionalWater);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ycheckAdditionalWater]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     this.table2.Add(this.vbox3);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table2 [this.vbox3]));
     w34.TopAttach    = ((uint)(4));
     w34.BottomAttach = ((uint)(5));
     w34.LeftAttach   = ((uint)(3));
     w34.RightAttach  = ((uint)(4));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ydateDelivery                = new global::Gamma.Widgets.yDatePicker();
     this.ydateDelivery.Events         = ((global::Gdk.EventMask)(256));
     this.ydateDelivery.Name           = "ydateDelivery";
     this.ydateDelivery.WithTime       = true;
     this.ydateDelivery.Date           = new global::System.DateTime(0);
     this.ydateDelivery.IsEditable     = true;
     this.ydateDelivery.AutoSeparation = true;
     this.table2.Add(this.ydateDelivery);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table2 [this.ydateDelivery]));
     w35.TopAttach    = ((uint)(1));
     w35.BottomAttach = ((uint)(2));
     w35.LeftAttach   = ((uint)(1));
     w35.RightAttach  = ((uint)(2));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ydateRemoval                = new global::Gamma.Widgets.yDatePicker();
     this.ydateRemoval.Events         = ((global::Gdk.EventMask)(256));
     this.ydateRemoval.Name           = "ydateRemoval";
     this.ydateRemoval.WithTime       = true;
     this.ydateRemoval.Date           = new global::System.DateTime(0);
     this.ydateRemoval.IsEditable     = true;
     this.ydateRemoval.AutoSeparation = true;
     this.table2.Add(this.ydateRemoval);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table2 [this.ydateRemoval]));
     w36.TopAttach    = ((uint)(2));
     w36.BottomAttach = ((uint)(3));
     w36.LeftAttach   = ((uint)(1));
     w36.RightAttach  = ((uint)(2));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ylabel2           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel2.Name      = "ylabel2";
     this.ylabel2.Xalign    = 1F;
     this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость за доставку:");
     this.table2.Add(this.ylabel2);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabel2]));
     w37.TopAttach    = ((uint)(3));
     w37.BottomAttach = ((uint)(4));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ylabelTotalCost           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelTotalCost.Name      = "ylabelTotalCost";
     this.ylabelTotalCost.Xalign    = 0F;
     this.ylabelTotalCost.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel3");
     this.table2.Add(this.ylabelTotalCost);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelTotalCost]));
     w38.TopAttach    = ((uint)(3));
     w38.BottomAttach = ((uint)(4));
     w38.LeftAttach   = ((uint)(3));
     w38.RightAttach  = ((uint)(4));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yspinCabineCost          = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100);
     this.yspinCabineCost.CanFocus = true;
     this.yspinCabineCost.Name     = "yspinCabineCost";
     this.yspinCabineCost.Adjustment.PageIncrement = 1000;
     this.yspinCabineCost.ClimbRate      = 1;
     this.yspinCabineCost.Digits         = ((uint)(2));
     this.yspinCabineCost.Numeric        = true;
     this.yspinCabineCost.ValueAsDecimal = 0m;
     this.yspinCabineCost.ValueAsInt     = 0;
     this.table2.Add(this.yspinCabineCost);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinCabineCost]));
     w39.TopAttach    = ((uint)(2));
     w39.BottomAttach = ((uint)(3));
     w39.LeftAttach   = ((uint)(3));
     w39.RightAttach  = ((uint)(4));
     w39.XOptions     = ((global::Gtk.AttachOptions)(4));
     w39.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yspinCabineCount          = new global::Gamma.GtkWidgets.ySpinButton(0, 100, 1);
     this.yspinCabineCount.CanFocus = true;
     this.yspinCabineCount.Name     = "yspinCabineCount";
     this.yspinCabineCount.Adjustment.PageIncrement = 10;
     this.yspinCabineCount.ClimbRate      = 1;
     this.yspinCabineCount.Numeric        = true;
     this.yspinCabineCount.ValueAsDecimal = 0m;
     this.yspinCabineCount.ValueAsInt     = 0;
     this.table2.Add(this.yspinCabineCount);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinCabineCount]));
     w40.TopAttach    = ((uint)(1));
     w40.BottomAttach = ((uint)(2));
     w40.LeftAttach   = ((uint)(3));
     w40.RightAttach  = ((uint)(4));
     w40.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yspinDeliveryCost          = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100);
     this.yspinDeliveryCost.CanFocus = true;
     this.yspinDeliveryCost.Name     = "yspinDeliveryCost";
     this.yspinDeliveryCost.Adjustment.PageIncrement = 1000;
     this.yspinDeliveryCost.ClimbRate      = 1;
     this.yspinDeliveryCost.Digits         = ((uint)(2));
     this.yspinDeliveryCost.Numeric        = true;
     this.yspinDeliveryCost.ValueAsDecimal = 0m;
     this.yspinDeliveryCost.ValueAsInt     = 0;
     this.table2.Add(this.yspinDeliveryCost);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinDeliveryCost]));
     w41.TopAttach    = ((uint)(3));
     w41.BottomAttach = ((uint)(4));
     w41.LeftAttach   = ((uint)(1));
     w41.RightAttach  = ((uint)(2));
     w41.XOptions     = ((global::Gtk.AttachOptions)(4));
     w41.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table2);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table2]));
     w42.Position = 2;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.contractshortleaseadressesview1        = new global::BioGorod.Dialogs.Client.ContractShortLeaseAdressesView();
     this.contractshortleaseadressesview1.Events = ((global::Gdk.EventMask)(256));
     this.contractshortleaseadressesview1.Name   = "contractshortleaseadressesview1";
     this.vbox1.Add(this.contractshortleaseadressesview1);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.contractshortleaseadressesview1]));
     w43.Position = 3;
     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);
 }
コード例 #6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.Reports.Revision
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.Reports.Revision";
     // Container child Vodovoz.Reports.Revision.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), 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.buttonRun = new global::Gtk.Button ();
     this.buttonRun.Sensitive = false;
     this.buttonRun.CanFocus = true;
     this.buttonRun.Name = "buttonRun";
     this.buttonRun.UseUnderline = true;
     this.buttonRun.Label = global::Mono.Unix.Catalog.GetString ("Сформировать отчет");
     this.table1.Add (this.buttonRun);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonRun]));
     w1.TopAttach = ((uint)(5));
     w1.BottomAttach = ((uint)(6));
     w1.RightAttach = ((uint)(2));
     w1.XOptions = ((global::Gtk.AttachOptions)(0));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateperiodpicker1 = new global::QSWidgetLib.DatePeriodPicker ();
     this.dateperiodpicker1.Events = ((global::Gdk.EventMask)(256));
     this.dateperiodpicker1.Name = "dateperiodpicker1";
     this.dateperiodpicker1.StartDate = new global::System.DateTime (0);
     this.dateperiodpicker1.EndDate = new global::System.DateTime (0);
     this.table1.Add (this.dateperiodpicker1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateperiodpicker1]));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Период:");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Контрагент:");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceCounterparty = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.referenceCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.referenceCounterparty.Name = "referenceCounterparty";
     this.table1.Add (this.referenceCounterparty);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.referenceCounterparty]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     this.Add (this.table1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.referenceCounterparty.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyChanged);
     this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler (this.OnDateperiodpicker1PeriodChanged);
     this.buttonRun.Clicked += new global::System.EventHandler (this.OnButtonRunClicked);
 }
コード例 #7
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.ResidueDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.ResidueDlg";
     // Container child Vodovoz.ResidueDlg.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.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.hbox4.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox4.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.hbox4.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox2.Add (this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinBottlesDeposit = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinBottlesDeposit.Events = ((global::Gdk.EventMask)(256));
     this.disablespinBottlesDeposit.Name = "disablespinBottlesDeposit";
     this.disablespinBottlesDeposit.Active = false;
     this.disablespinBottlesDeposit.Upper = 100000;
     this.disablespinBottlesDeposit.Lower = -100000;
     this.disablespinBottlesDeposit.Digits = ((uint)(2));
     this.table1.Add (this.disablespinBottlesDeposit);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinBottlesDeposit]));
     w6.TopAttach = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.LeftAttach = ((uint)(3));
     w6.RightAttach = ((uint)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinBottlesResidue = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinBottlesResidue.Events = ((global::Gdk.EventMask)(256));
     this.disablespinBottlesResidue.Name = "disablespinBottlesResidue";
     this.disablespinBottlesResidue.Active = false;
     this.disablespinBottlesResidue.Upper = 100000;
     this.disablespinBottlesResidue.Lower = -100000;
     this.disablespinBottlesResidue.Digits = ((uint)(0));
     this.table1.Add (this.disablespinBottlesResidue);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinBottlesResidue]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinEquipmentDeposit = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinEquipmentDeposit.Events = ((global::Gdk.EventMask)(256));
     this.disablespinEquipmentDeposit.Name = "disablespinEquipmentDeposit";
     this.disablespinEquipmentDeposit.Active = false;
     this.disablespinEquipmentDeposit.Upper = 100000;
     this.disablespinEquipmentDeposit.Lower = -100000;
     this.disablespinEquipmentDeposit.Digits = ((uint)(2));
     this.table1.Add (this.disablespinEquipmentDeposit);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinEquipmentDeposit]));
     w8.TopAttach = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.LeftAttach = ((uint)(3));
     w8.RightAttach = ((uint)(4));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinMoneyDebt = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinMoneyDebt.Events = ((global::Gdk.EventMask)(256));
     this.disablespinMoneyDebt.Name = "disablespinMoneyDebt";
     this.disablespinMoneyDebt.Active = false;
     this.disablespinMoneyDebt.Upper = 10000000;
     this.disablespinMoneyDebt.Lower = -10000000;
     this.disablespinMoneyDebt.Digits = ((uint)(2));
     this.table1.Add (this.disablespinMoneyDebt);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinMoneyDebt]));
     w9.TopAttach = ((uint)(4));
     w9.BottomAttach = ((uint)(5));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.ytextviewComment = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewComment.CanFocus = true;
     this.ytextviewComment.Name = "ytextviewComment";
     this.GtkScrolledWindow.Add (this.ytextviewComment);
     this.table1.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow]));
     w11.TopAttach = ((uint)(7));
     w11.BottomAttach = ((uint)(8));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add (this.label1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:");
     this.table1.Add (this.label11);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11]));
     w13.TopAttach = ((uint)(6));
     w13.BottomAttach = ((uint)(7));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add (this.label13);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label13]));
     w14.TopAttach = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.LeftAttach = ((uint)(2));
     w14.RightAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w15.LeftAttach = ((uint)(2));
     w15.RightAttach = ((uint)(3));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add (this.label3);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w17.TopAttach = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.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 w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w18.TopAttach = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.LeftAttach = ((uint)(2));
     w18.RightAttach = ((uint)(3));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.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 w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w19.TopAttach = ((uint)(4));
     w19.BottomAttach = ((uint)(5));
     w19.LeftAttach = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add (this.label7);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w20.TopAttach = ((uint)(3));
     w20.BottomAttach = ((uint)(4));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.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.Yalign = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:");
     this.table1.Add (this.label8);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w21.TopAttach = ((uint)(7));
     w21.BottomAttach = ((uint)(8));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCurrent = new global::Gtk.Label ();
     this.labelCurrent.Name = "labelCurrent";
     this.labelCurrent.Xalign = 1F;
     this.labelCurrent.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущие залоги:");
     this.table1.Add (this.labelCurrent);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrent]));
     w22.TopAttach = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.LeftAttach = ((uint)(2));
     w22.RightAttach = ((uint)(3));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCurrentBootle = new global::Gtk.Label ();
     this.labelCurrentBootle.Name = "labelCurrentBootle";
     this.labelCurrentBootle.LabelProp = global::Mono.Unix.Catalog.GetString ("label3");
     this.table1.Add (this.labelCurrentBootle);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentBootle]));
     w23.TopAttach = ((uint)(3));
     w23.BottomAttach = ((uint)(4));
     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.labelCurrentBottleDeposit = new global::Gtk.Label ();
     this.labelCurrentBottleDeposit.Name = "labelCurrentBottleDeposit";
     this.labelCurrentBottleDeposit.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     this.table1.Add (this.labelCurrentBottleDeposit);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentBottleDeposit]));
     w24.TopAttach = ((uint)(3));
     w24.BottomAttach = ((uint)(4));
     w24.LeftAttach = ((uint)(3));
     w24.RightAttach = ((uint)(4));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCurrentEquipmentDeposit = new global::Gtk.Label ();
     this.labelCurrentEquipmentDeposit.Name = "labelCurrentEquipmentDeposit";
     this.labelCurrentEquipmentDeposit.LabelProp = global::Mono.Unix.Catalog.GetString ("label8");
     this.table1.Add (this.labelCurrentEquipmentDeposit);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentEquipmentDeposit]));
     w25.TopAttach = ((uint)(6));
     w25.BottomAttach = ((uint)(7));
     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.labelCurrentMoneyDebt = new global::Gtk.Label ();
     this.labelCurrentMoneyDebt.Name = "labelCurrentMoneyDebt";
     this.labelCurrentMoneyDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label6");
     this.table1.Add (this.labelCurrentMoneyDebt);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentMoneyDebt]));
     w26.TopAttach = ((uint)(6));
     w26.BottomAttach = ((uint)(7));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.moneyLabel = new global::Gtk.Label ();
     this.moneyLabel.Name = "moneyLabel";
     this.moneyLabel.Xalign = 1F;
     this.moneyLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Долги по деньгам:");
     this.table1.Add (this.moneyLabel);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.moneyLabel]));
     w27.TopAttach = ((uint)(4));
     w27.BottomAttach = ((uint)(5));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yenumcomboDebtPaymentType = new global::Gamma.Widgets.yEnumComboBox ();
     this.yenumcomboDebtPaymentType.Name = "yenumcomboDebtPaymentType";
     this.yenumcomboDebtPaymentType.ShowSpecialStateAll = false;
     this.yenumcomboDebtPaymentType.ShowSpecialStateNot = false;
     this.yenumcomboDebtPaymentType.UseShortTitle = false;
     this.yenumcomboDebtPaymentType.DefaultFirst = false;
     this.table1.Add (this.yenumcomboDebtPaymentType);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.yenumcomboDebtPaymentType]));
     w28.TopAttach = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.LeftAttach = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ypickerDocDate = new global::Gamma.Widgets.yDatePicker ();
     this.ypickerDocDate.Events = ((global::Gdk.EventMask)(256));
     this.ypickerDocDate.Name = "ypickerDocDate";
     this.ypickerDocDate.WithTime = false;
     this.ypickerDocDate.Date = new global::System.DateTime (0);
     this.ypickerDocDate.IsEditable = true;
     this.ypickerDocDate.AutoSeparation = false;
     this.table1.Add (this.ypickerDocDate);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.ypickerDocDate]));
     w29.LeftAttach = ((uint)(1));
     w29.RightAttach = ((uint)(2));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yreferenceClientSelector = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.yreferenceClientSelector.Events = ((global::Gdk.EventMask)(256));
     this.yreferenceClientSelector.Name = "yreferenceClientSelector";
     this.table1.Add (this.yreferenceClientSelector);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.yreferenceClientSelector]));
     w30.LeftAttach = ((uint)(3));
     w30.RightAttach = ((uint)(4));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yreferenceDeliveryPoint = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.yreferenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256));
     this.yreferenceDeliveryPoint.Name = "yreferenceDeliveryPoint";
     this.table1.Add (this.yreferenceDeliveryPoint);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.yreferenceDeliveryPoint]));
     w31.TopAttach = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.LeftAttach = ((uint)(3));
     w31.RightAttach = ((uint)(4));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.table1);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
     w32.Position = 1;
     this.Add (this.vbox2);
     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.yreferenceDeliveryPoint.Changed += new global::System.EventHandler (this.OnYreferenceDeliveryPointChanged);
     this.yreferenceClientSelector.Changed += new global::System.EventHandler (this.OnYentryreferencevmClientSelectorChanged);
     this.disablespinMoneyDebt.ActiveChanged += new global::System.EventHandler (this.OnDisablespinMoneyDebtActiveChanged);
 }
コード例 #8
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.MovementDocumentDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.MovementDocumentDlg";
     // Container child Vodovoz.MovementDocumentDlg.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     this.vbox3.BorderWidth = ((uint)(6));
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.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.hbox4.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox4.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.hbox4.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox3.Add (this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tableCommon = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(4)), false);
     this.tableCommon.Name = "tableCommon";
     this.tableCommon.RowSpacing = ((uint)(6));
     this.tableCommon.ColumnSpacing = ((uint)(6));
     this.tableCommon.InheritedDataSource = false;
     this.tableCommon.InheritedBoundaryDataSource = false;
     this.tableCommon.InheritedDataSource = false;
     this.tableCommon.InheritedBoundaryDataSource = false;
     // Container child tableCommon.Gtk.Table+TableChild
     this.enumMovementType = new global::Gamma.Widgets.yEnumComboBox ();
     this.enumMovementType.Name = "enumMovementType";
     this.enumMovementType.ShowSpecialStateAll = false;
     this.enumMovementType.ShowSpecialStateNot = false;
     this.enumMovementType.UseShortTitle = false;
     this.enumMovementType.DefaultFirst = true;
     this.tableCommon.Add (this.enumMovementType);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.enumMovementType]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.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.textComment = new global::Gtk.DataBindings.DataTextView ();
     this.textComment.CanFocus = true;
     this.textComment.Name = "textComment";
     this.textComment.InheritedDataSource = true;
     this.textComment.Mappings = "Comment";
     this.textComment.InheritedBoundaryDataSource = false;
     this.textComment.InheritedDataSource = true;
     this.textComment.Mappings = "Comment";
     this.textComment.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow1.Add (this.textComment);
     this.tableCommon.Add (this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.GtkScrolledWindow1]));
     w8.TopAttach = ((uint)(3));
     w8.BottomAttach = ((uint)(4));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(4));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.hboxTransportation = new global::Gtk.HBox ();
     this.hboxTransportation.Name = "hboxTransportation";
     this.hboxTransportation.Spacing = 6;
     // Container child hboxTransportation.Gtk.Box+BoxChild
     this.ylabelTransportationStatus = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelTransportationStatus.Name = "ylabelTransportationStatus";
     this.ylabelTransportationStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1");
     this.hboxTransportation.Add (this.ylabelTransportationStatus);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxTransportation [this.ylabelTransportationStatus]));
     w9.Position = 0;
     // Container child hboxTransportation.Gtk.Box+BoxChild
     this.buttonDelivered = new global::Gtk.Button ();
     this.buttonDelivered.CanFocus = true;
     this.buttonDelivered.Name = "buttonDelivered";
     this.buttonDelivered.UseUnderline = true;
     this.buttonDelivered.Label = global::Mono.Unix.Catalog.GetString ("Доставлено");
     this.hboxTransportation.Add (this.buttonDelivered);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxTransportation [this.buttonDelivered]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     this.tableCommon.Add (this.hboxTransportation);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.hboxTransportation]));
     w11.TopAttach = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach = ((uint)(3));
     w11.RightAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.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.tableCommon.Add (this.label1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label1]));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственное лицо:");
     this.tableCommon.Add (this.label12);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label12]));
     w13.LeftAttach = ((uint)(2));
     w13.RightAttach = ((uint)(3));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.Yalign = 0F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:");
     this.tableCommon.Add (this.label13);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label13]));
     w14.TopAttach = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.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.tableCommon.Add (this.label3);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label3]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.labelTimeStamp = new global::Gtk.DataBindings.DataLabel ();
     this.labelTimeStamp.Name = "labelTimeStamp";
     this.labelTimeStamp.Xalign = 0F;
     this.labelTimeStamp.InheritedDataSource = true;
     this.labelTimeStamp.Mappings = "DateString";
     this.labelTimeStamp.InheritedBoundaryDataSource = false;
     this.labelTimeStamp.Important = false;
     this.labelTimeStamp.InheritedDataSource = true;
     this.labelTimeStamp.Mappings = "DateString";
     this.labelTimeStamp.InheritedBoundaryDataSource = false;
     this.tableCommon.Add (this.labelTimeStamp);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelTimeStamp]));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.labelTransportationTitle = new global::Gtk.Label ();
     this.labelTransportationTitle.Name = "labelTransportationTitle";
     this.labelTransportationTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Статус траспортировки:");
     this.tableCommon.Add (this.labelTransportationTitle);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelTransportationTitle]));
     w17.TopAttach = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.labelWagon = new global::Gtk.Label ();
     this.labelWagon.Name = "labelWagon";
     this.labelWagon.Xalign = 1F;
     this.labelWagon.LabelProp = global::Mono.Unix.Catalog.GetString ("Фура:");
     this.tableCommon.Add (this.labelWagon);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelWagon]));
     w18.TopAttach = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach = ((uint)(2));
     w18.RightAttach = ((uint)(3));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.referenceEmployee = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceEmployee.Events = ((global::Gdk.EventMask)(256));
     this.referenceEmployee.Name = "referenceEmployee";
     this.referenceEmployee.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceEmployee.DisplayFormatString = "{0}";
     this.referenceEmployee.InheritedDataSource = true;
     this.referenceEmployee.Mappings = "ResponsiblePerson";
     this.referenceEmployee.InheritedBoundaryDataSource = false;
     this.referenceEmployee.CursorPointsEveryType = false;
     this.tableCommon.Add (this.referenceEmployee);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.referenceEmployee]));
     w19.LeftAttach = ((uint)(3));
     w19.RightAttach = ((uint)(4));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.yentryrefWagon = new global::Gamma.Widgets.yEntryReference ();
     this.yentryrefWagon.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefWagon.Name = "yentryrefWagon";
     this.tableCommon.Add (this.yentryrefWagon);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.yentryrefWagon]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach = ((uint)(3));
     w20.RightAttach = ((uint)(4));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.tableCommon);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableCommon]));
     w21.Position = 1;
     w21.Expand = false;
     w21.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Отправитель");
     this.vbox2.Add (this.label11);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label11]));
     w22.Position = 0;
     w22.Expand = false;
     w22.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.tableSender = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
     this.tableSender.Name = "tableSender";
     this.tableSender.RowSpacing = ((uint)(6));
     this.tableSender.ColumnSpacing = ((uint)(6));
     this.tableSender.InheritedDataSource = false;
     this.tableSender.InheritedBoundaryDataSource = false;
     this.tableSender.InheritedDataSource = false;
     this.tableSender.InheritedBoundaryDataSource = false;
     // Container child tableSender.Gtk.Table+TableChild
     this.labelClientFrom = new global::Gtk.Label ();
     this.labelClientFrom.Name = "labelClientFrom";
     this.labelClientFrom.Xalign = 1F;
     this.labelClientFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:");
     this.tableSender.Add (this.labelClientFrom);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelClientFrom]));
     w23.TopAttach = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.labelPointFrom = new global::Gtk.Label ();
     this.labelPointFrom.Name = "labelPointFrom";
     this.labelPointFrom.Xalign = 1F;
     this.labelPointFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:");
     this.tableSender.Add (this.labelPointFrom);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelPointFrom]));
     w24.TopAttach = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.labelStockFrom = new global::Gtk.Label ();
     this.labelStockFrom.Name = "labelStockFrom";
     this.labelStockFrom.Xalign = 1F;
     this.labelStockFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:");
     this.tableSender.Add (this.labelStockFrom);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelStockFrom]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.referenceCounterpartyFrom = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.referenceCounterpartyFrom.Events = ((global::Gdk.EventMask)(256));
     this.referenceCounterpartyFrom.Name = "referenceCounterpartyFrom";
     this.tableSender.Add (this.referenceCounterpartyFrom);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceCounterpartyFrom]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.referenceDeliveryPointFrom = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDeliveryPointFrom.Events = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPointFrom.Name = "referenceDeliveryPointFrom";
     this.referenceDeliveryPointFrom.DisplayFields = new string[] {
         "CompiledAddress"
     };
     this.referenceDeliveryPointFrom.DisplayFormatString = "{0}";
     this.referenceDeliveryPointFrom.InheritedDataSource = true;
     this.referenceDeliveryPointFrom.Mappings = "FromDeliveryPoint";
     this.referenceDeliveryPointFrom.InheritedBoundaryDataSource = false;
     this.referenceDeliveryPointFrom.CursorPointsEveryType = false;
     this.tableSender.Add (this.referenceDeliveryPointFrom);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceDeliveryPointFrom]));
     w27.TopAttach = ((uint)(2));
     w27.BottomAttach = ((uint)(3));
     w27.LeftAttach = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.referenceWarehouseFrom = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceWarehouseFrom.Events = ((global::Gdk.EventMask)(256));
     this.referenceWarehouseFrom.Name = "referenceWarehouseFrom";
     this.referenceWarehouseFrom.DisplayFields = new string[] {
         "Name"
     };
     this.referenceWarehouseFrom.DisplayFormatString = "{0}";
     this.referenceWarehouseFrom.InheritedDataSource = true;
     this.referenceWarehouseFrom.Mappings = "FromWarehouse";
     this.referenceWarehouseFrom.InheritedBoundaryDataSource = false;
     this.referenceWarehouseFrom.CursorPointsEveryType = false;
     this.tableSender.Add (this.referenceWarehouseFrom);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceWarehouseFrom]));
     w28.LeftAttach = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.tableSender);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.tableSender]));
     w29.Position = 1;
     w29.Expand = false;
     w29.Fill = false;
     this.hbox3.Add (this.vbox2);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2]));
     w30.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vseparator1 = new global::Gtk.VSeparator ();
     this.vseparator1.Name = "vseparator1";
     this.hbox3.Add (this.vseparator1);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vseparator1]));
     w31.Position = 1;
     w31.Expand = false;
     w31.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Получатель");
     this.vbox4.Add (this.label10);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label10]));
     w32.Position = 0;
     w32.Expand = false;
     w32.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.tableReceiver = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
     this.tableReceiver.Name = "tableReceiver";
     this.tableReceiver.RowSpacing = ((uint)(6));
     this.tableReceiver.ColumnSpacing = ((uint)(6));
     this.tableReceiver.InheritedDataSource = false;
     this.tableReceiver.InheritedBoundaryDataSource = false;
     this.tableReceiver.InheritedDataSource = false;
     this.tableReceiver.InheritedBoundaryDataSource = false;
     // Container child tableReceiver.Gtk.Table+TableChild
     this.labelClientTo = new global::Gtk.Label ();
     this.labelClientTo.Name = "labelClientTo";
     this.labelClientTo.Xalign = 1F;
     this.labelClientTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:");
     this.tableReceiver.Add (this.labelClientTo);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelClientTo]));
     w33.TopAttach = ((uint)(1));
     w33.BottomAttach = ((uint)(2));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.labelPointTo = new global::Gtk.Label ();
     this.labelPointTo.Name = "labelPointTo";
     this.labelPointTo.Xalign = 1F;
     this.labelPointTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:");
     this.tableReceiver.Add (this.labelPointTo);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelPointTo]));
     w34.TopAttach = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.labelStockTo = new global::Gtk.Label ();
     this.labelStockTo.Name = "labelStockTo";
     this.labelStockTo.Xalign = 1F;
     this.labelStockTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:");
     this.tableReceiver.Add (this.labelStockTo);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelStockTo]));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.referenceCounterpartyTo = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.referenceCounterpartyTo.Events = ((global::Gdk.EventMask)(256));
     this.referenceCounterpartyTo.Name = "referenceCounterpartyTo";
     this.tableReceiver.Add (this.referenceCounterpartyTo);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceCounterpartyTo]));
     w36.TopAttach = ((uint)(1));
     w36.BottomAttach = ((uint)(2));
     w36.LeftAttach = ((uint)(1));
     w36.RightAttach = ((uint)(2));
     w36.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.referenceDeliveryPointTo = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDeliveryPointTo.Events = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPointTo.Name = "referenceDeliveryPointTo";
     this.referenceDeliveryPointTo.DisplayFields = new string[] {
         "CompiledAddress"
     };
     this.referenceDeliveryPointTo.DisplayFormatString = "{0}";
     this.referenceDeliveryPointTo.InheritedDataSource = true;
     this.referenceDeliveryPointTo.Mappings = "ToDeliveryPoint";
     this.referenceDeliveryPointTo.InheritedBoundaryDataSource = false;
     this.referenceDeliveryPointTo.CursorPointsEveryType = false;
     this.tableReceiver.Add (this.referenceDeliveryPointTo);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceDeliveryPointTo]));
     w37.TopAttach = ((uint)(2));
     w37.BottomAttach = ((uint)(3));
     w37.LeftAttach = ((uint)(1));
     w37.RightAttach = ((uint)(2));
     w37.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.referenceWarehouseTo = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceWarehouseTo.Events = ((global::Gdk.EventMask)(256));
     this.referenceWarehouseTo.Name = "referenceWarehouseTo";
     this.referenceWarehouseTo.DisplayFields = new string[] {
         "Name"
     };
     this.referenceWarehouseTo.DisplayFormatString = "{0}";
     this.referenceWarehouseTo.InheritedDataSource = true;
     this.referenceWarehouseTo.Mappings = "ToWarehouse";
     this.referenceWarehouseTo.InheritedBoundaryDataSource = false;
     this.referenceWarehouseTo.CursorPointsEveryType = false;
     this.tableReceiver.Add (this.referenceWarehouseTo);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceWarehouseTo]));
     w38.LeftAttach = ((uint)(1));
     w38.RightAttach = ((uint)(2));
     w38.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.tableReceiver);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableReceiver]));
     w39.Position = 1;
     w39.Expand = false;
     w39.Fill = false;
     this.hbox3.Add (this.vbox4);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4]));
     w40.Position = 2;
     this.vbox3.Add (this.hbox3);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
     w41.Position = 2;
     w41.Expand = false;
     w41.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.movementdocumentitemsview1 = new global::Vodovoz.MovementDocumentItemsView ();
     this.movementdocumentitemsview1.Events = ((global::Gdk.EventMask)(256));
     this.movementdocumentitemsview1.Name = "movementdocumentitemsview1";
     this.vbox3.Add (this.movementdocumentitemsview1);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.movementdocumentitemsview1]));
     w42.Position = 3;
     this.Add (this.vbox3);
     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.buttonDelivered.Clicked += new global::System.EventHandler (this.OnButtonDeliveredClicked);
     this.enumMovementType.Changed += new global::System.EventHandler (this.OnEnumMovementTypeChanged);
     this.referenceCounterpartyFrom.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyFromChanged);
     this.referenceCounterpartyTo.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyToChanged);
 }