コード例 #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Reports.WagesOperationsReport
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Reports.WagesOperationsReport";
     // Container child Vodovoz.Reports.WagesOperationsReport.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.ylabel1           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel1.Name      = "ylabel1";
     this.ylabel1.Xalign    = 1F;
     this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:");
     this.hbox1.Add(this.ylabel1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabel1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.dateperiodpicker           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.dateperiodpicker.Events    = ((global::Gdk.EventMask)(256));
     this.dateperiodpicker.Name      = "dateperiodpicker";
     this.dateperiodpicker.StartDate = new global::System.DateTime(0);
     this.dateperiodpicker.EndDate   = new global::System.DateTime(0);
     this.hbox1.Add(this.dateperiodpicker);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.dateperiodpicker]));
     w2.Position = 1;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.ylabel2           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel2.Name      = "ylabel2";
     this.ylabel2.Xalign    = 1F;
     this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник");
     this.hbox2.Add(this.ylabel2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ylabel2]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.repEntryEmployee        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.repEntryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.repEntryEmployee.Name   = "repEntryEmployee";
     this.hbox2.Add(this.repEntryEmployee);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.repEntryEmployee]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.buttonCreateReport              = new global::Gtk.Button();
     this.buttonCreateReport.CanFocus     = true;
     this.buttonCreateReport.Name         = "buttonCreateReport";
     this.buttonCreateReport.UseUnderline = true;
     this.buttonCreateReport.Label        = global::Mono.Unix.Catalog.GetString("Сформировать отчет");
     this.vbox1.Add(this.buttonCreateReport);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateReport]));
     w7.PackType = ((global::Gtk.PackType)(1));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonCreateReport.Clicked += new global::System.EventHandler(this.OnButtonCreateReportClicked);
 }
コード例 #2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.TransferGoodsBetweenRLDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.TransferGoodsBetweenRLDlg";
     // Container child Vodovoz.TransferGoodsBetweenRLDlg.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.buttonTransfer              = new global::Gtk.Button();
     this.buttonTransfer.CanFocus     = true;
     this.buttonTransfer.Name         = "buttonTransfer";
     this.buttonTransfer.UseUnderline = true;
     this.buttonTransfer.Label        = global::Mono.Unix.Catalog.GetString("Перенести");
     this.table1.Add(this.buttonTransfer);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonTransfer]));
     w1.TopAttach    = ((uint)(4));
     w1.BottomAttach = ((uint)(5));
     w1.XOptions     = ((global::Gtk.AttachOptions)(4));
     w1.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.ytreeviewFrom          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewFrom.CanFocus = true;
     this.ytreeviewFrom.Name     = "ytreeviewFrom";
     this.GtkScrolledWindow.Add(this.ytreeviewFrom);
     this.table1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w3.TopAttach    = ((uint)(3));
     w3.BottomAttach = ((uint)(4));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.ytreeviewTo          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewTo.CanFocus = true;
     this.ytreeviewTo.Name     = "ytreeviewTo";
     this.GtkScrolledWindow1.Add(this.ytreeviewTo);
     this.table1.Add(this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1]));
     w5.TopAttach    = ((uint)(3));
     w5.BottomAttach = ((uint)(4));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.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("Сохранить");
     this.hbox3.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSave]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox3.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("Отменить");
     this.hbox3.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancel]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.table1.Add(this.hbox3);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3]));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCreateNewReceptionTicket              = new global::Gtk.Button();
     this.buttonCreateNewReceptionTicket.CanFocus     = true;
     this.buttonCreateNewReceptionTicket.Name         = "buttonCreateNewReceptionTicket";
     this.buttonCreateNewReceptionTicket.UseUnderline = true;
     this.buttonCreateNewReceptionTicket.Label        = global::Mono.Unix.Catalog.GetString("Создать талон разгрузки для принимающего МЛ");
     this.hbox4.Add(this.buttonCreateNewReceptionTicket);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCreateNewReceptionTicket]));
     w9.PackType = ((global::Gtk.PackType)(1));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     this.table1.Add(this.hbox4);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4]));
     w10.TopAttach    = ((uint)(4));
     w10.BottomAttach = ((uint)(5));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Откуда:");
     this.hbox5.Add(this.label1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label1]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.yentryreferenceRouteListFrom        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryreferenceRouteListFrom.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceRouteListFrom.Name   = "yentryreferenceRouteListFrom";
     this.hbox5.Add(this.yentryreferenceRouteListFrom);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.yentryreferenceRouteListFrom]));
     w12.Position = 1;
     this.table1.Add(this.hbox5);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox5]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Куда:");
     this.hbox6.Add(this.label2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label2]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yentryreferenceRouteListTo        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryreferenceRouteListTo.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceRouteListTo.Name   = "yentryreferenceRouteListTo";
     this.hbox6.Add(this.yentryreferenceRouteListTo);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yentryreferenceRouteListTo]));
     w15.Position = 1;
     this.table1.Add(this.hbox6);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6]));
     w16.TopAttach    = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylistcomboReceptionTicketFrom               = new global::Gamma.Widgets.yListComboBox();
     this.ylistcomboReceptionTicketFrom.Name          = "ylistcomboReceptionTicketFrom";
     this.ylistcomboReceptionTicketFrom.AddIfNotExist = false;
     this.ylistcomboReceptionTicketFrom.DefaultFirst  = false;
     this.table1.Add(this.ylistcomboReceptionTicketFrom);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.ylistcomboReceptionTicketFrom]));
     w17.TopAttach    = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylistcomboReceptionTicketTo               = new global::Gamma.Widgets.yListComboBox();
     this.ylistcomboReceptionTicketTo.Name          = "ylistcomboReceptionTicketTo";
     this.ylistcomboReceptionTicketTo.AddIfNotExist = false;
     this.ylistcomboReceptionTicketTo.DefaultFirst  = false;
     this.table1.Add(this.ylistcomboReceptionTicketTo);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ylistcomboReceptionTicketTo]));
     w18.TopAttach    = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonCreateNewReceptionTicket.Clicked += new global::System.EventHandler(this.OnButtonCreateNewReceptionTicketClicked);
     this.buttonSave.Clicked     += new global::System.EventHandler(this.OnButtonSaveClicked);
     this.buttonCancel.Clicked   += new global::System.EventHandler(this.OnButtonCancelClicked);
     this.buttonTransfer.Clicked += new global::System.EventHandler(this.OnButtonTransferClicked);
 }
コード例 #3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Dialogs.Goods.ProductGroupDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Dialogs.Goods.ProductGroupDlg";
     // Container child Vodovoz.Dialogs.Goods.ProductGroupDlg.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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.entryParent        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.entryParent.Events = ((global::Gdk.EventMask)(256));
     this.entryParent.Name   = "entryParent";
     this.table1.Add(this.entryParent);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entryParent]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions    = ((global::Gtk.AttachOptions)(4));
     w6.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     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)(2));
     w8.BottomAttach = ((uint)(3));
     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)(4));
     w9.BottomAttach = ((uint)(5));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelName           = new global::Gtk.Label();
     this.labelName.Name      = "labelName";
     this.labelName.Xalign    = 1F;
     this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:");
     this.table1.Add(this.labelName);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelName1           = new global::Gtk.Label();
     this.labelName1.Name      = "labelName1";
     this.labelName1.Xalign    = 1F;
     this.labelName1.LabelProp = global::Mono.Unix.Catalog.GetString("Код в интернет магазине:");
     this.table1.Add(this.labelName1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName1]));
     w11.TopAttach    = ((uint)(6));
     w11.BottomAttach = ((uint)(7));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycheckArchived               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckArchived.CanFocus      = true;
     this.ycheckArchived.Name          = "ycheckArchived";
     this.ycheckArchived.Label         = "";
     this.ycheckArchived.DrawIndicator = true;
     this.ycheckArchived.UseUnderline  = true;
     this.table1.Add(this.ycheckArchived);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckArchived]));
     w12.TopAttach    = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycheckExportToOnlineStore               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckExportToOnlineStore.CanFocus      = true;
     this.ycheckExportToOnlineStore.Name          = "ycheckExportToOnlineStore";
     this.ycheckExportToOnlineStore.Label         = global::Mono.Unix.Catalog.GetString("Выгрузка в Интернет магазин");
     this.ycheckExportToOnlineStore.DrawIndicator = true;
     this.ycheckExportToOnlineStore.UseUnderline  = true;
     this.table1.Add(this.ycheckExportToOnlineStore);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckExportToOnlineStore]));
     w14.TopAttach    = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryName               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryName.CanFocus      = true;
     this.yentryName.Name          = "yentryName";
     this.yentryName.IsEditable    = true;
     this.yentryName.MaxLength     = 100;
     this.yentryName.InvisibleChar = '•';
     this.table1.Add(this.yentryName);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName]));
     w15.TopAttach    = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryOnlineStoreGuid               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryOnlineStoreGuid.CanFocus      = true;
     this.yentryOnlineStoreGuid.Name          = "yentryOnlineStoreGuid";
     this.yentryOnlineStoreGuid.IsEditable    = false;
     this.yentryOnlineStoreGuid.WidthChars    = 36;
     this.yentryOnlineStoreGuid.MaxLength     = 36;
     this.yentryOnlineStoreGuid.InvisibleChar = '●';
     this.table1.Add(this.yentryOnlineStoreGuid);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryOnlineStoreGuid]));
     w16.TopAttach    = ((uint)(6));
     w16.BottomAttach = ((uint)(7));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylblOnlineStore        = new global::Gamma.GtkWidgets.yLabel();
     this.ylblOnlineStore.Name   = "ylblOnlineStore";
     this.ylblOnlineStore.Xalign = 0F;
     this.table1.Add(this.ylblOnlineStore);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.ylblOnlineStore]));
     w17.TopAttach    = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylblOnlineStoreStr           = new global::Gamma.GtkWidgets.yLabel();
     this.ylblOnlineStoreStr.Name      = "ylblOnlineStoreStr";
     this.ylblOnlineStoreStr.Xalign    = 1F;
     this.ylblOnlineStoreStr.LabelProp = global::Mono.Unix.Catalog.GetString("Интернет-магазин:");
     this.table1.Add(this.ylblOnlineStoreStr);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ylblOnlineStoreStr]));
     w18.TopAttach    = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.ylabel1           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel1.Name      = "ylabel1";
     this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Доступные характеристики:");
     this.vbox1.Add(this.ylabel1);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ylabel1]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.checklistCharacteristics      = new global::Gamma.Widgets.EnumCheckList();
     this.checklistCharacteristics.Name = "checklistCharacteristics";
     this.vbox1.Add(this.checklistCharacteristics);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.checklistCharacteristics]));
     w21.Position = 1;
     this.hbox1.Add(this.vbox1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w23.PackType = ((global::Gtk.PackType)(1));
     w23.Position = 1;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
コード例 #4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.CounterpartyFilter
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.CounterpartyFilter";
     // Container child Vodovoz.CounterpartyFilter.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.checkIncludeArhive               = new global::Gtk.CheckButton();
     this.checkIncludeArhive.CanFocus      = true;
     this.checkIncludeArhive.Name          = "checkIncludeArhive";
     this.checkIncludeArhive.Label         = global::Mono.Unix.Catalog.GetString("Включая архивных");
     this.checkIncludeArhive.DrawIndicator = true;
     this.checkIncludeArhive.UseUnderline  = true;
     this.table1.Add(this.checkIncludeArhive);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkIncludeArhive]));
     w1.TopAttach    = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.LeftAttach   = ((uint)(2));
     w1.RightAttach  = ((uint)(3));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.yenumCounterpartyType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumCounterpartyType.Name = "yenumCounterpartyType";
     this.yenumCounterpartyType.ShowSpecialStateAll = true;
     this.yenumCounterpartyType.ShowSpecialStateNot = false;
     this.yenumCounterpartyType.UseShortTitle       = false;
     this.yenumCounterpartyType.DefaultFirst        = false;
     this.hbox2.Add(this.yenumCounterpartyType);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.yenumCounterpartyType]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     this.table1.Add(this.hbox2);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2]));
     w3.LeftAttach  = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions    = ((global::Gtk.AttachOptions)(4));
     w3.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Показывать только:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.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 w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryTag        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryTag.Events = ((global::Gdk.EventMask)(256));
     this.yentryTag.Name   = "yentryTag";
     this.table1.Add(this.yentryTag);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryTag]));
     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));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.yentryTag.Changed += new global::System.EventHandler(this.OnYentryTagChanged);
     this.yenumCounterpartyType.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnyenumCounterpartyTypeItemSelected);
     this.checkIncludeArhive.Toggled             += new global::System.EventHandler(this.OnCheckIncludeArhiveToggled);
 }
コード例 #5
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ViewWidgets.UndeliveredOrderView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ViewWidgets.UndeliveredOrderView";
     // Container child Vodovoz.ViewWidgets.UndeliveredOrderView.Gtk.Container+ContainerChild
     this.mainBox         = new global::Gtk.VBox();
     this.mainBox.Name    = "mainBox";
     this.mainBox.Spacing = 6;
     // Container child mainBox.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.hbxInProcessAtDepartment         = new global::Gtk.HBox();
     this.hbxInProcessAtDepartment.Name    = "hbxInProcessAtDepartment";
     this.hbxInProcessAtDepartment.Spacing = 6;
     // Container child hbxInProcessAtDepartment.Gtk.Box+BoxChild
     this.lblInProcAtDep           = new global::Gtk.Label();
     this.lblInProcAtDep.Name      = "lblInProcAtDep";
     this.lblInProcAtDep.Xalign    = 1F;
     this.lblInProcAtDep.LabelProp = global::Mono.Unix.Catalog.GetString("В работе у отдела:");
     this.hbxInProcessAtDepartment.Add(this.lblInProcAtDep);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxInProcessAtDepartment[this.lblInProcAtDep]));
     w1.Position = 0;
     w1.Expand   = false;
     // Container child hbxInProcessAtDepartment.Gtk.Box+BoxChild
     this.yentInProcessAtDepartment        = new global::Gamma.Widgets.yEntryReference();
     this.yentInProcessAtDepartment.Events = ((global::Gdk.EventMask)(256));
     this.yentInProcessAtDepartment.Name   = "yentInProcessAtDepartment";
     this.hbxInProcessAtDepartment.Add(this.yentInProcessAtDepartment);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbxInProcessAtDepartment[this.yentInProcessAtDepartment]));
     w2.Position = 1;
     this.hbox4.Add(this.hbxInProcessAtDepartment);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbxInProcessAtDepartment]));
     w3.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.hbxStatus         = new global::Gtk.HBox();
     this.hbxStatus.Name    = "hbxStatus";
     this.hbxStatus.Spacing = 6;
     // Container child hbxStatus.Gtk.Box+BoxChild
     this.lblStatus           = new global::Gtk.Label();
     this.lblStatus.Name      = "lblStatus";
     this.lblStatus.Xalign    = 1F;
     this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус недовоза:");
     this.hbxStatus.Add(this.lblStatus);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbxStatus[this.lblStatus]));
     w4.Position = 0;
     w4.Expand   = false;
     // Container child hbxStatus.Gtk.Box+BoxChild
     this.yEnumCMBStatus      = new global::Gamma.Widgets.yEnumComboBox();
     this.yEnumCMBStatus.Name = "yEnumCMBStatus";
     this.yEnumCMBStatus.ShowSpecialStateAll = false;
     this.yEnumCMBStatus.ShowSpecialStateNot = false;
     this.yEnumCMBStatus.UseShortTitle       = false;
     this.yEnumCMBStatus.DefaultFirst        = false;
     this.hbxStatus.Add(this.yEnumCMBStatus);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbxStatus[this.yEnumCMBStatus]));
     w5.Position = 1;
     this.hbox4.Add(this.hbxStatus);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbxStatus]));
     w6.Position = 1;
     this.mainBox.Add(this.hbox4);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.hbox4]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child mainBox.Gtk.Box+BoxChild
     this.vbxWithControls         = new global::Gtk.VBox();
     this.vbxWithControls.Name    = "vbxWithControls";
     this.vbxWithControls.Spacing = 6;
     // Container child vbxWithControls.Gtk.Box+BoxChild
     this.hbxUndelivery         = new global::Gtk.HBox();
     this.hbxUndelivery.Name    = "hbxUndelivery";
     this.hbxUndelivery.Spacing = 6;
     // Container child hbxUndelivery.Gtk.Box+BoxChild
     this.lblUndeliveredOrder           = new global::Gtk.Label();
     this.lblUndeliveredOrder.Name      = "lblUndeliveredOrder";
     this.lblUndeliveredOrder.Xalign    = 1F;
     this.lblUndeliveredOrder.LabelProp = global::Mono.Unix.Catalog.GetString("Недовоз:");
     this.hbxUndelivery.Add(this.lblUndeliveredOrder);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbxUndelivery[this.lblUndeliveredOrder]));
     w8.Position = 0;
     w8.Expand   = false;
     // Container child hbxUndelivery.Gtk.Box+BoxChild
     this.yEForUndeliveredOrder        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yEForUndeliveredOrder.Events = ((global::Gdk.EventMask)(256));
     this.yEForUndeliveredOrder.Name   = "yEForUndeliveredOrder";
     this.hbxUndelivery.Add(this.yEForUndeliveredOrder);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbxUndelivery[this.yEForUndeliveredOrder]));
     w9.Position = 1;
     this.vbxWithControls.Add(this.hbxUndelivery);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.hbxUndelivery]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbxWithControls.Gtk.Box+BoxChild
     this.tblUndeliveryFields               = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.tblUndeliveryFields.Name          = "tblUndeliveryFields";
     this.tblUndeliveryFields.RowSpacing    = ((uint)(6));
     this.tblUndeliveryFields.ColumnSpacing = ((uint)(6));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.comboProblemSource                     = new global::QS.Widgets.GtkUI.SpecialListComboBox();
     this.comboProblemSource.Name                = "comboProblemSource";
     this.comboProblemSource.AddIfNotExist       = false;
     this.comboProblemSource.DefaultFirst        = false;
     this.comboProblemSource.ShowSpecialStateAll = false;
     this.comboProblemSource.ShowSpecialStateNot = false;
     this.tblUndeliveryFields.Add(this.comboProblemSource);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.comboProblemSource]));
     w11.TopAttach    = ((uint)(7));
     w11.BottomAttach = ((uint)(8));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.frame1             = new global::Gtk.Frame();
     this.frame1.Name        = "frame1";
     this.frame1.BorderWidth = ((uint)(3));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w12 = new global::Gtk.Viewport();
     w12.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.GtkAlignment6             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment6.Name        = "GtkAlignment6";
     this.GtkAlignment6.LeftPadding = ((uint)(12));
     // Container child GtkAlignment6.Gtk.Container+ContainerChild
     this.lblInfo            = new global::Gtk.Label();
     this.lblInfo.Name       = "lblInfo";
     this.lblInfo.Xalign     = 0F;
     this.lblInfo.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>?</b>");
     this.lblInfo.UseMarkup  = true;
     this.lblInfo.Selectable = true;
     this.GtkAlignment6.Add(this.lblInfo);
     w12.Add(this.GtkAlignment6);
     this.GtkScrolledWindow1.Add(w12);
     this.frame1.Add(this.GtkScrolledWindow1);
     this.lblInfoCaption           = new global::Gtk.Label();
     this.lblInfoCaption.Name      = "lblInfoCaption";
     this.lblInfoCaption.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Информация</b>");
     this.lblInfoCaption.UseMarkup = true;
     this.frame1.LabelWidget       = this.lblInfoCaption;
     this.tblUndeliveryFields.Add(this.frame1);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.frame1]));
     w17.BottomAttach = ((uint)(8));
     w17.LeftAttach   = ((uint)(2));
     w17.RightAttach  = ((uint)(3));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.guiltyInUndeliveryView        = new global::Vodovoz.ViewWidgets.GuiltyInUndeliveryView();
     this.guiltyInUndeliveryView.Events = ((global::Gdk.EventMask)(256));
     this.guiltyInUndeliveryView.Name   = "guiltyInUndeliveryView";
     this.tblUndeliveryFields.Add(this.guiltyInUndeliveryView);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.guiltyInUndeliveryView]));
     w18.LeftAttach  = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.hbxForNewOrder         = new global::Gtk.HBox();
     this.hbxForNewOrder.Name    = "hbxForNewOrder";
     this.hbxForNewOrder.Spacing = 6;
     // Container child hbxForNewOrder.Gtk.Box+BoxChild
     this.lblTransferDate           = new global::Gtk.Label();
     this.lblTransferDate.Name      = "lblTransferDate";
     this.lblTransferDate.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ не\nсоздан ");
     this.lblTransferDate.Justify   = ((global::Gtk.Justification)(2));
     this.hbxForNewOrder.Add(this.lblTransferDate);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.lblTransferDate]));
     w19.Position = 0;
     w19.Expand   = false;
     // Container child hbxForNewOrder.Gtk.Box+BoxChild
     this.btnChooseOrder              = new global::Gtk.Button();
     this.btnChooseOrder.CanFocus     = true;
     this.btnChooseOrder.Name         = "btnChooseOrder";
     this.btnChooseOrder.UseUnderline = true;
     this.btnChooseOrder.Label        = global::Mono.Unix.Catalog.GetString("Выбрать заказ");
     this.hbxForNewOrder.Add(this.btnChooseOrder);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.btnChooseOrder]));
     w20.Position = 1;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child hbxForNewOrder.Gtk.Box+BoxChild
     this.btnNewOrder              = new global::Gtk.Button();
     this.btnNewOrder.CanFocus     = true;
     this.btnNewOrder.Name         = "btnNewOrder";
     this.btnNewOrder.UseUnderline = true;
     this.btnNewOrder.Label        = global::Mono.Unix.Catalog.GetString("Создать заказ");
     this.hbxForNewOrder.Add(this.btnNewOrder);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.btnNewOrder]));
     w21.Position = 2;
     w21.Expand   = false;
     // Container child hbxForNewOrder.Gtk.Box+BoxChild
     this.yenumcomboboxTransferType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboboxTransferType.Name = "yenumcomboboxTransferType";
     this.yenumcomboboxTransferType.ShowSpecialStateAll = false;
     this.yenumcomboboxTransferType.ShowSpecialStateNot = false;
     this.yenumcomboboxTransferType.UseShortTitle       = false;
     this.yenumcomboboxTransferType.DefaultFirst        = false;
     this.hbxForNewOrder.Add(this.yenumcomboboxTransferType);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.yenumcomboboxTransferType]));
     w22.Position = 3;
     w22.Expand   = false;
     w22.Fill     = false;
     this.tblUndeliveryFields.Add(this.hbxForNewOrder);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.hbxForNewOrder]));
     w23.TopAttach    = ((uint)(4));
     w23.BottomAttach = ((uint)(5));
     w23.LeftAttach   = ((uint)(1));
     w23.RightAttach  = ((uint)(2));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.lblDispatcherCallTime           = new global::Gtk.Label();
     this.lblDispatcherCallTime.Name      = "lblDispatcherCallTime";
     this.lblDispatcherCallTime.Xalign    = 1F;
     this.lblDispatcherCallTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время звонка клиенту:");
     this.tblUndeliveryFields.Add(this.lblDispatcherCallTime);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDispatcherCallTime]));
     w24.TopAttach    = ((uint)(3));
     w24.BottomAttach = ((uint)(4));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.lblDriverCallPlace           = new global::Gtk.Label();
     this.lblDriverCallPlace.Name      = "lblDriverCallPlace";
     this.lblDriverCallPlace.Xalign    = 1F;
     this.lblDriverCallPlace.LabelProp = global::Mono.Unix.Catalog.GetString("Место звонка водителя:");
     this.tblUndeliveryFields.Add(this.lblDriverCallPlace);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDriverCallPlace]));
     w25.TopAttach    = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.lblDriverCallTime           = new global::Gtk.Label();
     this.lblDriverCallTime.Name      = "lblDriverCallTime";
     this.lblDriverCallTime.Xalign    = 1F;
     this.lblDriverCallTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время звонка водителя:");
     this.tblUndeliveryFields.Add(this.lblDriverCallTime);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDriverCallTime]));
     w26.TopAttach    = ((uint)(2));
     w26.BottomAttach = ((uint)(3));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.lblGuilty           = new global::Gtk.Label();
     this.lblGuilty.Name      = "lblGuilty";
     this.lblGuilty.Xalign    = 1F;
     this.lblGuilty.LabelProp = global::Mono.Unix.Catalog.GetString("Виновники:");
     this.tblUndeliveryFields.Add(this.lblGuilty);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblGuilty]));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.lblNewDeliverySchedule           = new global::Gtk.Label();
     this.lblNewDeliverySchedule.Name      = "lblNewDeliverySchedule";
     this.lblNewDeliverySchedule.Xalign    = 1F;
     this.lblNewDeliverySchedule.LabelProp = global::Mono.Unix.Catalog.GetString("Новый интервал переноса:");
     this.tblUndeliveryFields.Add(this.lblNewDeliverySchedule);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblNewDeliverySchedule]));
     w28.TopAttach    = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.lblRegisteredBy           = new global::Gtk.Label();
     this.lblRegisteredBy.Name      = "lblRegisteredBy";
     this.lblRegisteredBy.Xalign    = 1F;
     this.lblRegisteredBy.LabelProp = global::Mono.Unix.Catalog.GetString("Зарегистрировал:");
     this.tblUndeliveryFields.Add(this.lblRegisteredBy);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblRegisteredBy]));
     w29.TopAttach    = ((uint)(6));
     w29.BottomAttach = ((uint)(7));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.lblTransferDateCaption           = new global::Gtk.Label();
     this.lblTransferDateCaption.Name      = "lblTransferDateCaption";
     this.lblTransferDateCaption.Xalign    = 1F;
     this.lblTransferDateCaption.LabelProp = global::Mono.Unix.Catalog.GetString("Дата переноса:");
     this.tblUndeliveryFields.Add(this.lblTransferDateCaption);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblTransferDateCaption]));
     w30.TopAttach    = ((uint)(4));
     w30.BottomAttach = ((uint)(5));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.referenceNewDeliverySchedule        = new global::Gamma.Widgets.yEntryReference();
     this.referenceNewDeliverySchedule.Events = ((global::Gdk.EventMask)(256));
     this.referenceNewDeliverySchedule.Name   = "referenceNewDeliverySchedule";
     this.tblUndeliveryFields.Add(this.referenceNewDeliverySchedule);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.referenceNewDeliverySchedule]));
     w31.TopAttach    = ((uint)(5));
     w31.BottomAttach = ((uint)(6));
     w31.LeftAttach   = ((uint)(1));
     w31.RightAttach  = ((uint)(2));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.refRegisteredBy        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.refRegisteredBy.Events = ((global::Gdk.EventMask)(256));
     this.refRegisteredBy.Name   = "refRegisteredBy";
     this.tblUndeliveryFields.Add(this.refRegisteredBy);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.refRegisteredBy]));
     w32.TopAttach    = ((uint)(6));
     w32.BottomAttach = ((uint)(7));
     w32.LeftAttach   = ((uint)(1));
     w32.RightAttach  = ((uint)(2));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.yDateDispatcherCallTime                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.yDateDispatcherCallTime.Events             = ((global::Gdk.EventMask)(256));
     this.yDateDispatcherCallTime.Name               = "yDateDispatcherCallTime";
     this.yDateDispatcherCallTime.WithTime           = true;
     this.yDateDispatcherCallTime.HideCalendarButton = false;
     this.yDateDispatcherCallTime.Date               = new global::System.DateTime(0);
     this.yDateDispatcherCallTime.IsEditable         = true;
     this.yDateDispatcherCallTime.AutoSeparation     = true;
     this.tblUndeliveryFields.Add(this.yDateDispatcherCallTime);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yDateDispatcherCallTime]));
     w33.TopAttach    = ((uint)(3));
     w33.BottomAttach = ((uint)(4));
     w33.LeftAttach   = ((uint)(1));
     w33.RightAttach  = ((uint)(2));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.yDateDriverCallTime                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.yDateDriverCallTime.Events             = ((global::Gdk.EventMask)(256));
     this.yDateDriverCallTime.Name               = "yDateDriverCallTime";
     this.yDateDriverCallTime.WithTime           = true;
     this.yDateDriverCallTime.HideCalendarButton = false;
     this.yDateDriverCallTime.Date               = new global::System.DateTime(0);
     this.yDateDriverCallTime.IsEditable         = true;
     this.yDateDriverCallTime.AutoSeparation     = true;
     this.tblUndeliveryFields.Add(this.yDateDriverCallTime);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yDateDriverCallTime]));
     w34.TopAttach    = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     w34.LeftAttach   = ((uint)(1));
     w34.RightAttach  = ((uint)(2));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.yEnumCMBDriverCallPlace      = new global::Gamma.Widgets.yEnumComboBox();
     this.yEnumCMBDriverCallPlace.Name = "yEnumCMBDriverCallPlace";
     this.yEnumCMBDriverCallPlace.ShowSpecialStateAll = false;
     this.yEnumCMBDriverCallPlace.ShowSpecialStateNot = false;
     this.yEnumCMBDriverCallPlace.UseShortTitle       = false;
     this.yEnumCMBDriverCallPlace.DefaultFirst        = false;
     this.tblUndeliveryFields.Add(this.yEnumCMBDriverCallPlace);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yEnumCMBDriverCallPlace]));
     w35.TopAttach    = ((uint)(1));
     w35.BottomAttach = ((uint)(2));
     w35.LeftAttach   = ((uint)(1));
     w35.RightAttach  = ((uint)(2));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tblUndeliveryFields.Gtk.Table+TableChild
     this.ylabelProblemSource           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelProblemSource.Name      = "ylabelProblemSource";
     this.ylabelProblemSource.Xalign    = 1F;
     this.ylabelProblemSource.LabelProp = global::Mono.Unix.Catalog.GetString("Источник проблемы:");
     this.tblUndeliveryFields.Add(this.ylabelProblemSource);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.ylabelProblemSource]));
     w36.TopAttach    = ((uint)(7));
     w36.BottomAttach = ((uint)(8));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbxWithControls.Add(this.tblUndeliveryFields);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.tblUndeliveryFields]));
     w37.Position = 1;
     w37.Expand   = false;
     w37.Fill     = false;
     // Container child vbxWithControls.Gtk.Box+BoxChild
     this.vbxReasonAndFines         = new global::Gtk.VBox();
     this.vbxReasonAndFines.Name    = "vbxReasonAndFines";
     this.vbxReasonAndFines.Spacing = 6;
     // Container child vbxReasonAndFines.Gtk.Box+BoxChild
     this.frame2             = new global::Gtk.Frame();
     this.frame2.Name        = "frame2";
     this.frame2.BorderWidth = ((uint)(3));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment7             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment7.Name        = "GtkAlignment7";
     this.GtkAlignment7.LeftPadding = ((uint)(12));
     // Container child GtkAlignment7.Gtk.Container+ContainerChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.txtReason          = new global::Gamma.GtkWidgets.yTextView();
     this.txtReason.CanFocus = true;
     this.txtReason.Name     = "txtReason";
     this.txtReason.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow2.Add(this.txtReason);
     this.GtkAlignment7.Add(this.GtkScrolledWindow2);
     this.frame2.Add(this.GtkAlignment7);
     this.lblReason           = new global::Gtk.Label();
     this.lblReason.Name      = "lblReason";
     this.lblReason.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Что случилось?</b>");
     this.lblReason.UseMarkup = true;
     this.frame2.LabelWidget  = this.lblReason;
     this.vbxReasonAndFines.Add(this.frame2);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.frame2]));
     w41.Position = 0;
     // Container child vbxReasonAndFines.Gtk.Box+BoxChild
     this.frame3             = new global::Gtk.Frame();
     this.frame3.Name        = "frame3";
     this.frame3.BorderWidth = ((uint)(3));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment8             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment8.Name        = "GtkAlignment8";
     this.GtkAlignment8.LeftPadding = ((uint)(12));
     // Container child GtkAlignment8.Gtk.Container+ContainerChild
     this.GtkScrolledWindow3            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow3.Name       = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.yTreeFines          = new global::Gamma.GtkWidgets.yTreeView();
     this.yTreeFines.CanFocus = true;
     this.yTreeFines.Name     = "yTreeFines";
     this.GtkScrolledWindow3.Add(this.yTreeFines);
     this.GtkAlignment8.Add(this.GtkScrolledWindow3);
     this.frame3.Add(this.GtkAlignment8);
     this.lblFines           = new global::Gtk.Label();
     this.lblFines.Name      = "lblFines";
     this.lblFines.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Штрафы</b>");
     this.lblFines.UseMarkup = true;
     this.frame3.LabelWidget = this.lblFines;
     this.vbxReasonAndFines.Add(this.frame3);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.frame3]));
     w45.Position = 1;
     // Container child vbxReasonAndFines.Gtk.Box+BoxChild
     this.buttonAddFine              = new global::Gtk.Button();
     this.buttonAddFine.CanFocus     = true;
     this.buttonAddFine.Name         = "buttonAddFine";
     this.buttonAddFine.UseUnderline = true;
     this.buttonAddFine.Label        = global::Mono.Unix.Catalog.GetString("Добавить штраф");
     global::Gtk.Image w46 = new global::Gtk.Image();
     w46.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAddFine.Image = w46;
     this.vbxReasonAndFines.Add(this.buttonAddFine);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.buttonAddFine]));
     w47.PackType = ((global::Gtk.PackType)(1));
     w47.Position = 2;
     w47.Fill     = false;
     this.vbxWithControls.Add(this.vbxReasonAndFines);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.vbxReasonAndFines]));
     w48.Position = 2;
     this.mainBox.Add(this.vbxWithControls);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.vbxWithControls]));
     w49.Position = 1;
     this.Add(this.mainBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.yenumcomboboxTransferType.Hide();
     this.Hide();
     this.yEnumCMBDriverCallPlace.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYEnumCMBDriverCallPlaceEnumItemSelected);
     this.btnChooseOrder.Clicked += new global::System.EventHandler(this.OnBtnChooseOrderClicked);
     this.btnNewOrder.Clicked    += new global::System.EventHandler(this.OnBtnNewOrderClicked);
     this.buttonAddFine.Clicked  += new global::System.EventHandler(this.OnButtonAddFineClicked);
 }
コード例 #6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.RouteListKeepingDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.RouteListKeepingDlg";
     // Container child Vodovoz.RouteListKeepingDlg.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 6;
     this.vbox1.BorderWidth = ((uint)(6));
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.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.hbox7.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonSave]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox7.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.hbox7.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     this.hbox7.Add(this.hbox3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.hbox3]));
     w5.PackType = ((global::Gtk.PackType)(1));
     w5.Position = 2;
     this.vbox1.Add(this.hbox7);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox7]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox11         = new global::Gtk.HBox();
     this.hbox11.Name    = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(4)), ((uint)(5)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.datePickerDate                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.datePickerDate.Events             = ((global::Gdk.EventMask)(256));
     this.datePickerDate.Name               = "datePickerDate";
     this.datePickerDate.WithTime           = false;
     this.datePickerDate.HideCalendarButton = false;
     this.datePickerDate.Date               = new global::System.DateTime(0);
     this.datePickerDate.IsEditable         = false;
     this.datePickerDate.AutoSeparation     = false;
     this.table1.Add(this.datePickerDate);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.datePickerDate]));
     w7.LeftAttach  = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.XOptions    = ((global::Gtk.AttachOptions)(4));
     w7.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entityviewmodelentryCar                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityviewmodelentryCar.Events           = ((global::Gdk.EventMask)(256));
     this.entityviewmodelentryCar.Name             = "entityviewmodelentryCar";
     this.entityviewmodelentryCar.CanEditReference = true;
     this.table1.Add(this.entityviewmodelentryCar);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryCar]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach   = ((uint)(3));
     w8.RightAttach  = ((uint)(4));
     w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Логист:");
     this.table1.Add(this.label10);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label10]));
     w10.LeftAttach  = ((uint)(2));
     w10.RightAttach = ((uint)(3));
     w10.XOptions    = ((global::Gtk.AttachOptions)(4));
     w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.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 w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     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.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 w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach   = ((uint)(2));
     w13.RightAttach  = ((uint)(3));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Фактическое расстояние:");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
     w14.TopAttach    = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label9]));
     w15.TopAttach    = ((uint)(3));
     w15.BottomAttach = ((uint)(4));
     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.phoneDriver              = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone();
     this.phoneDriver.CanFocus     = true;
     this.phoneDriver.Name         = "phoneDriver";
     this.phoneDriver.UseUnderline = true;
     this.phoneDriver.UseMarkup    = false;
     this.phoneDriver.LabelXAlign  = 0F;
     this.table1.Add(this.phoneDriver);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.phoneDriver]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(4));
     w16.RightAttach  = ((uint)(5));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.phoneForwarder              = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone();
     this.phoneForwarder.CanFocus     = true;
     this.phoneForwarder.Name         = "phoneForwarder";
     this.phoneForwarder.UseUnderline = true;
     this.phoneForwarder.UseMarkup    = false;
     this.phoneForwarder.LabelXAlign  = 0F;
     this.table1.Add(this.phoneForwarder);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.phoneForwarder]));
     w17.TopAttach    = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.LeftAttach   = ((uint)(4));
     w17.RightAttach  = ((uint)(5));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.phoneLogistican              = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone();
     this.phoneLogistican.CanFocus     = true;
     this.phoneLogistican.Name         = "phoneLogistican";
     this.phoneLogistican.UseUnderline = true;
     this.phoneLogistican.UseMarkup    = false;
     this.phoneLogistican.LabelXAlign  = 0F;
     this.table1.Add(this.phoneLogistican);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.phoneLogistican]));
     w18.LeftAttach  = ((uint)(4));
     w18.RightAttach = ((uint)(5));
     w18.XOptions    = ((global::Gtk.AttachOptions)(4));
     w18.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceDriver        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceDriver.Events = ((global::Gdk.EventMask)(256));
     this.referenceDriver.Name   = "referenceDriver";
     this.table1.Add(this.referenceDriver);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDriver]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach   = ((uint)(3));
     w19.RightAttach  = ((uint)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceForwarder        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceForwarder.Events = ((global::Gdk.EventMask)(256));
     this.referenceForwarder.Name   = "referenceForwarder";
     this.table1.Add(this.referenceForwarder);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceForwarder]));
     w20.TopAttach    = ((uint)(3));
     w20.BottomAttach = ((uint)(4));
     w20.LeftAttach   = ((uint)(3));
     w20.RightAttach  = ((uint)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceLogistican        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceLogistican.Events = ((global::Gdk.EventMask)(256));
     this.referenceLogistican.Name   = "referenceLogistican";
     this.table1.Add(this.referenceLogistican);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceLogistican]));
     w21.LeftAttach  = ((uint)(3));
     w21.RightAttach = ((uint)(4));
     w21.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.speccomboShift                     = new global::Gamma.Widgets.ySpecComboBox();
     this.speccomboShift.Name                = "speccomboShift";
     this.speccomboShift.AddIfNotExist       = false;
     this.speccomboShift.DefaultFirst        = false;
     this.speccomboShift.ShowSpecialStateAll = false;
     this.speccomboShift.ShowSpecialStateNot = false;
     this.table1.Add(this.speccomboShift);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.speccomboShift]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(1));
     w22.RightAttach  = ((uint)(2));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yspinActualDistance          = new global::Gamma.GtkWidgets.ySpinButton(0D, 10000D, 1D);
     this.yspinActualDistance.CanFocus = true;
     this.yspinActualDistance.Name     = "yspinActualDistance";
     this.yspinActualDistance.Adjustment.PageIncrement = 10D;
     this.yspinActualDistance.ClimbRate      = 1D;
     this.yspinActualDistance.Numeric        = true;
     this.yspinActualDistance.ValueAsDecimal = 0m;
     this.yspinActualDistance.ValueAsInt     = 0;
     this.table1.Add(this.yspinActualDistance);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinActualDistance]));
     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));
     this.hbox11.Add(this.table1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.table1]));
     w24.Position = 0;
     // Container child hbox11.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonMadeCall              = new global::Gtk.Button();
     this.buttonMadeCall.CanFocus     = true;
     this.buttonMadeCall.Name         = "buttonMadeCall";
     this.buttonMadeCall.UseUnderline = true;
     this.buttonMadeCall.Label        = global::Mono.Unix.Catalog.GetString("Сделан звонок");
     this.hbox8.Add(this.buttonMadeCall);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonMadeCall]));
     w25.Position = 0;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonNewFine              = new global::Gtk.Button();
     this.buttonNewFine.CanFocus     = true;
     this.buttonNewFine.Name         = "buttonNewFine";
     this.buttonNewFine.UseUnderline = true;
     this.buttonNewFine.Label        = global::Mono.Unix.Catalog.GetString("Новый штраф");
     this.hbox8.Add(this.buttonNewFine);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonNewFine]));
     w26.Position = 1;
     w26.Expand   = false;
     w26.Fill     = false;
     this.table2.Add(this.hbox8);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2[this.hbox8]));
     w27.TopAttach    = ((uint)(3));
     w27.BottomAttach = ((uint)(4));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelBottleInfo            = new global::Gtk.Label();
     this.labelBottleInfo.Name       = "labelBottleInfo";
     this.labelBottleInfo.Xalign     = 1F;
     this.labelBottleInfo.Yalign     = 0F;
     this.labelBottleInfo.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>Всего 19л. бутылей в МЛ:</b>\\n");
     this.labelBottleInfo.UseMarkup  = true;
     this.labelBottleInfo.Justify    = ((global::Gtk.Justification)(1));
     this.labelBottleInfo.Selectable = true;
     this.table2.Add(this.labelBottleInfo);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2[this.labelBottleInfo]));
     w28.LeftAttach  = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.XOptions    = ((global::Gtk.AttachOptions)(4));
     w28.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.PhonesTable1               = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.PhonesTable1.Name          = "PhonesTable1";
     this.PhonesTable1.RowSpacing    = ((uint)(6));
     this.PhonesTable1.ColumnSpacing = ((uint)(6));
     this.vbox2.Add(this.PhonesTable1);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.PhonesTable1]));
     w29.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.PhonesTable2               = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.PhonesTable2.Name          = "PhonesTable2";
     this.PhonesTable2.RowSpacing    = ((uint)(6));
     this.PhonesTable2.ColumnSpacing = ((uint)(6));
     this.vbox2.Add(this.PhonesTable2);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.PhonesTable2]));
     w30.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ylabelLastTimeCall           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelLastTimeCall.Name      = "ylabelLastTimeCall";
     this.ylabelLastTimeCall.Xalign    = 0F;
     this.ylabelLastTimeCall.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1");
     this.vbox2.Add(this.ylabelLastTimeCall);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ylabelLastTimeCall]));
     w31.Position = 2;
     w31.Expand   = false;
     w31.Fill     = false;
     this.table2.Add(this.vbox2);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table2[this.vbox2]));
     w32.BottomAttach = ((uint)(3));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox11.Add(this.table2);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.table2]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     this.vbox1.Add(this.hbox11);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox11]));
     w34.Position = 1;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytreeviewAddresses          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewAddresses.CanFocus = true;
     this.ytreeviewAddresses.Name     = "ytreeviewAddresses";
     this.GtkScrolledWindow.Add(this.ytreeviewAddresses);
     this.hbox9.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.GtkScrolledWindow]));
     w36.Position = 0;
     this.vbox1.Add(this.hbox9);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox9]));
     w37.Position = 3;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox10         = new global::Gtk.HBox();
     this.hbox10.Name    = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonChangeDeliveryTime              = new global::Gtk.Button();
     this.buttonChangeDeliveryTime.CanFocus     = true;
     this.buttonChangeDeliveryTime.Name         = "buttonChangeDeliveryTime";
     this.buttonChangeDeliveryTime.UseUnderline = true;
     this.buttonChangeDeliveryTime.Label        = global::Mono.Unix.Catalog.GetString("Изменить время доставки");
     global::Gtk.Image w38 = new global::Gtk.Image();
     w38.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("document-open-recent.png");
     this.buttonChangeDeliveryTime.Image = w38;
     this.hbox10.Add(this.buttonChangeDeliveryTime);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.buttonChangeDeliveryTime]));
     w39.Position = 0;
     w39.Expand   = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonSetStatusComplete              = new global::Gtk.Button();
     this.buttonSetStatusComplete.CanFocus     = true;
     this.buttonSetStatusComplete.Name         = "buttonSetStatusComplete";
     this.buttonSetStatusComplete.UseUnderline = true;
     this.buttonSetStatusComplete.Label        = global::Mono.Unix.Catalog.GetString("Установить в статус \"Выполнено\"");
     this.hbox10.Add(this.buttonSetStatusComplete);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.buttonSetStatusComplete]));
     w40.Position = 1;
     w40.Expand   = false;
     w40.Fill     = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonRetriveEnRoute              = new global::Gtk.Button();
     this.buttonRetriveEnRoute.CanFocus     = true;
     this.buttonRetriveEnRoute.Name         = "buttonRetriveEnRoute";
     this.buttonRetriveEnRoute.UseUnderline = true;
     this.buttonRetriveEnRoute.Label        = global::Mono.Unix.Catalog.GetString("Вернуть статус \"В пути\"");
     this.hbox10.Add(this.buttonRetriveEnRoute);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.buttonRetriveEnRoute]));
     w41.Position = 2;
     w41.Expand   = false;
     w41.Fill     = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonRefresh              = new global::Gtk.Button();
     this.buttonRefresh.CanFocus     = true;
     this.buttonRefresh.Name         = "buttonRefresh";
     this.buttonRefresh.UseUnderline = true;
     this.buttonRefresh.Label        = global::Mono.Unix.Catalog.GetString("Обновить");
     global::Gtk.Image w42 = new global::Gtk.Image();
     w42.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu);
     this.buttonRefresh.Image = w42;
     this.hbox10.Add(this.buttonRefresh);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.buttonRefresh]));
     w43.PackType = ((global::Gtk.PackType)(1));
     w43.Position = 3;
     w43.Expand   = false;
     w43.Fill     = false;
     this.vbox1.Add(this.hbox10);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox10]));
     w44.Position = 4;
     w44.Expand   = false;
     w44.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonMadeCall.Clicked           += new global::System.EventHandler(this.OnButtonMadeCallClicked);
     this.buttonNewFine.Clicked            += new global::System.EventHandler(this.OnButtonNewFineClicked);
     this.buttonChangeDeliveryTime.Clicked += new global::System.EventHandler(this.OnButtonChangeDeliveryTimeClicked);
     this.buttonSetStatusComplete.Clicked  += new global::System.EventHandler(this.OnButtonSetStatusCompleteClicked);
     this.buttonRetriveEnRoute.Clicked     += new global::System.EventHandler(this.OnButtonRetriveEnRouteClicked);
     this.buttonRefresh.Clicked            += new global::System.EventHandler(this.OnButtonRefreshClicked);
 }
コード例 #7
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.Table(((uint)(4)), ((uint)(4)), false);
     this.tableWriteoff.Name          = "tableWriteoff";
     this.tableWriteoff.RowSpacing    = ((uint)(6));
     this.tableWriteoff.ColumnSpacing = ((uint)(6));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.comboType                     = new global::Gamma.Widgets.yEnumComboBox();
     this.comboType.CanFocus            = true;
     this.comboType.Name                = "comboType";
     this.comboType.ShowSpecialStateAll = false;
     this.comboType.ShowSpecialStateNot = false;
     this.comboType.UseShortTitle       = false;
     this.comboType.DefaultFirst        = 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::Gamma.GtkWidgets.yTextView();
     this.textComment.CanFocus = true;
     this.textComment.Name     = "textComment";
     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::Gamma.GtkWidgets.yLabel();
     this.labelTimeStamp.Name   = "labelTimeStamp";
     this.labelTimeStamp.Xalign = 0F;
     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::QS.Widgets.GtkUI.RepresentationEntry();
     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::Gamma.Widgets.yEntryReference();
     this.referenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPoint.Name   = "referenceDeliveryPoint";
     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.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.repEntryEmployee        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.repEntryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.repEntryEmployee.Name   = "repEntryEmployee";
     this.tableWriteoff.Add(this.repEntryEmployee);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.repEntryEmployee]));
     w21.LeftAttach  = ((uint)(3));
     w21.RightAttach = ((uint)(4));
     w21.XOptions    = ((global::Gtk.AttachOptions)(4));
     w21.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.ySpecCmbWarehouses                     = new global::Gamma.Widgets.ySpecComboBox();
     this.ySpecCmbWarehouses.Name                = "ySpecCmbWarehouses";
     this.ySpecCmbWarehouses.AddIfNotExist       = false;
     this.ySpecCmbWarehouses.DefaultFirst        = false;
     this.ySpecCmbWarehouses.ShowSpecialStateAll = false;
     this.ySpecCmbWarehouses.ShowSpecialStateNot = true;
     this.tableWriteoff.Add(this.ySpecCmbWarehouses);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ySpecCmbWarehouses]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(3));
     w22.RightAttach  = ((uint)(4));
     w22.XOptions     = ((global::Gtk.AttachOptions)(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.buttonPrint.Clicked           += new global::System.EventHandler(this.OnButtonPrintClicked);
     this.referenceCounterparty.Changed += new global::System.EventHandler(this.OnReferenceCounterpartyChanged);
 }
コード例 #8
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.JournalViewers.TasksView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.JournalViewers.TasksView";
     // Container child Vodovoz.JournalViewers.TasksView.Gtk.Container+ContainerChild
     this.vboxJournal         = new global::Gtk.VBox();
     this.vboxJournal.Name    = "vboxJournal";
     this.vboxJournal.Spacing = 6;
     // Container child vboxJournal.Gtk.Box+BoxChild
     this.hbxDlgControls         = new global::Gtk.HBox();
     this.hbxDlgControls.Name    = "hbxDlgControls";
     this.hbxDlgControls.Spacing = 6;
     // Container child hbxDlgControls.Gtk.Box+BoxChild
     this.buttonAdd              = new global::Gtk.Button();
     this.buttonAdd.CanFocus     = true;
     this.buttonAdd.Name         = "buttonAdd";
     this.buttonAdd.UseUnderline = true;
     this.buttonAdd.Label        = global::Mono.Unix.Catalog.GetString("Добавить");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAdd.Image = w1;
     this.hbxDlgControls.Add(this.buttonAdd);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonAdd]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbxDlgControls.Gtk.Box+BoxChild
     this.buttonEdit              = new global::Gtk.Button();
     this.buttonEdit.CanFocus     = true;
     this.buttonEdit.Name         = "buttonEdit";
     this.buttonEdit.UseUnderline = true;
     this.buttonEdit.Label        = global::Mono.Unix.Catalog.GetString("Изменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonEdit.Image = w3;
     this.hbxDlgControls.Add(this.buttonEdit);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonEdit]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbxDlgControls.Gtk.Box+BoxChild
     this.buttonDelete              = new global::Gtk.Button();
     this.buttonDelete.CanFocus     = true;
     this.buttonDelete.Name         = "buttonDelete";
     this.buttonDelete.UseUnderline = true;
     this.buttonDelete.Label        = global::Mono.Unix.Catalog.GetString("Удалить");
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu);
     this.buttonDelete.Image = w5;
     this.hbxDlgControls.Add(this.buttonDelete);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonDelete]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbxDlgControls.Gtk.Box+BoxChild
     this.radiobuttonEditSelected               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Изменить задачи"));
     this.radiobuttonEditSelected.CanFocus      = true;
     this.radiobuttonEditSelected.Name          = "radiobuttonEditSelected";
     this.radiobuttonEditSelected.DrawIndicator = false;
     this.radiobuttonEditSelected.UseUnderline  = true;
     this.radiobuttonEditSelected.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.hbxDlgControls.Add(this.radiobuttonEditSelected);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.radiobuttonEditSelected]));
     w7.PackType = ((global::Gtk.PackType)(1));
     w7.Position = 4;
     w7.Expand   = false;
     // Container child hbxDlgControls.Gtk.Box+BoxChild
     this.radiobuttonShowFilter               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Фильтр"));
     this.radiobuttonShowFilter.CanFocus      = true;
     this.radiobuttonShowFilter.Name          = "radiobuttonShowFilter";
     this.radiobuttonShowFilter.DrawIndicator = false;
     this.radiobuttonShowFilter.UseUnderline  = true;
     this.radiobuttonShowFilter.Group         = this.radiobuttonEditSelected.Group;
     this.hbxDlgControls.Add(this.radiobuttonShowFilter);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.radiobuttonShowFilter]));
     w8.PackType = ((global::Gtk.PackType)(1));
     w8.Position = 5;
     w8.Expand   = false;
     // Container child hbxDlgControls.Gtk.Box+BoxChild
     this.buttonRefresh              = new global::Gtk.Button();
     this.buttonRefresh.CanFocus     = true;
     this.buttonRefresh.Name         = "buttonRefresh";
     this.buttonRefresh.UseUnderline = true;
     this.buttonRefresh.Label        = global::Mono.Unix.Catalog.GetString("Обновить");
     global::Gtk.Image w9 = new global::Gtk.Image();
     w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu);
     this.buttonRefresh.Image = w9;
     this.hbxDlgControls.Add(this.buttonRefresh);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.buttonRefresh]));
     w10.PackType = ((global::Gtk.PackType)(1));
     w10.Position = 6;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbxDlgControls.Gtk.Box+BoxChild
     this.ycheckbuttonAutoUpdate               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckbuttonAutoUpdate.CanFocus      = true;
     this.ycheckbuttonAutoUpdate.Name          = "ycheckbuttonAutoUpdate";
     this.ycheckbuttonAutoUpdate.Label         = global::Mono.Unix.Catalog.GetString("Автообновление");
     this.ycheckbuttonAutoUpdate.Active        = true;
     this.ycheckbuttonAutoUpdate.DrawIndicator = true;
     this.ycheckbuttonAutoUpdate.UseUnderline  = true;
     this.hbxDlgControls.Add(this.ycheckbuttonAutoUpdate);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbxDlgControls[this.ycheckbuttonAutoUpdate]));
     w11.PackType = ((global::Gtk.PackType)(1));
     w11.Position = 7;
     w11.Expand   = false;
     w11.Fill     = false;
     this.vboxJournal.Add(this.hbxDlgControls);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hbxDlgControls]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vboxJournal.Gtk.Box+BoxChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vboxJournal.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hseparator1]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vboxJournal.Gtk.Box+BoxChild
     this.hboxEditSelected         = new global::Gtk.HBox();
     this.hboxEditSelected.Name    = "hboxEditSelected";
     this.hboxEditSelected.Spacing = 6;
     // Container child hboxEditSelected.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.buttonChandgeEployee              = new global::Gtk.Button();
     this.buttonChandgeEployee.CanFocus     = true;
     this.buttonChandgeEployee.Name         = "buttonChandgeEployee";
     this.buttonChandgeEployee.UseUnderline = true;
     this.buttonChandgeEployee.Label        = global::Mono.Unix.Catalog.GetString("Ответственный");
     this.hbox6.Add(this.buttonChandgeEployee);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonChandgeEployee]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     this.hboxEditSelected.Add(this.hbox6);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.hbox6]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hboxEditSelected.Gtk.Box+BoxChild
     this.taskStatusComboBox      = new global::Gamma.Widgets.yEnumComboBox();
     this.taskStatusComboBox.Name = "taskStatusComboBox";
     this.taskStatusComboBox.ShowSpecialStateAll = false;
     this.taskStatusComboBox.ShowSpecialStateNot = false;
     this.taskStatusComboBox.UseShortTitle       = false;
     this.taskStatusComboBox.DefaultFirst        = false;
     this.hboxEditSelected.Add(this.taskStatusComboBox);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.taskStatusComboBox]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child hboxEditSelected.Gtk.Box+BoxChild
     this.buttonCompleteSelected              = new global::Gtk.Button();
     this.buttonCompleteSelected.CanFocus     = true;
     this.buttonCompleteSelected.Name         = "buttonCompleteSelected";
     this.buttonCompleteSelected.UseUnderline = true;
     this.buttonCompleteSelected.Label        = global::Mono.Unix.Catalog.GetString("Задачи выполнены");
     global::Gtk.Image w17 = new global::Gtk.Image();
     w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonCompleteSelected.Image = w17;
     this.hboxEditSelected.Add(this.buttonCompleteSelected);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.buttonCompleteSelected]));
     w18.Position = 2;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hboxEditSelected.Gtk.Box+BoxChild
     this.datepickerDeadlineChange                = new global::QS.Widgets.GtkUI.DatePicker();
     this.datepickerDeadlineChange.Events         = ((global::Gdk.EventMask)(256));
     this.datepickerDeadlineChange.Name           = "datepickerDeadlineChange";
     this.datepickerDeadlineChange.WithTime       = true;
     this.datepickerDeadlineChange.Date           = new global::System.DateTime(0);
     this.datepickerDeadlineChange.IsEditable     = true;
     this.datepickerDeadlineChange.AutoSeparation = false;
     this.hboxEditSelected.Add(this.datepickerDeadlineChange);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.datepickerDeadlineChange]));
     w19.Position = 3;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child hboxEditSelected.Gtk.Box+BoxChild
     this.representationentryEmployee        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.representationentryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.representationentryEmployee.Name   = "representationentryEmployee";
     this.hboxEditSelected.Add(this.representationentryEmployee);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hboxEditSelected[this.representationentryEmployee]));
     w20.Position = 4;
     this.vboxJournal.Add(this.hboxEditSelected);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hboxEditSelected]));
     w21.Position = 2;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child vboxJournal.Gtk.Box+BoxChild
     this.hboxTasksFilter         = new global::Gtk.HBox();
     this.hboxTasksFilter.Name    = "hboxTasksFilter";
     this.hboxTasksFilter.Spacing = 6;
     this.vboxJournal.Add(this.hboxTasksFilter);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hboxTasksFilter]));
     w22.Position = 3;
     w22.Expand   = false;
     // Container child vboxJournal.Gtk.Box+BoxChild
     this.hseparator2      = new global::Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.vboxJournal.Add(this.hseparator2);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.hseparator2]));
     w23.Position = 4;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child vboxJournal.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox10         = new global::Gtk.HBox();
     this.hbox10.Name    = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.searchentity        = new global::QSWidgetLib.SearchEntity();
     this.searchentity.Events = ((global::Gdk.EventMask)(256));
     this.searchentity.Name   = "searchentity";
     this.hbox10.Add(this.searchentity);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.searchentity]));
     w24.Position = 0;
     this.vbox2.Add(this.hbox10);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox10]));
     w25.Position = 0;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.representationtreeviewTask          = new global::QSOrmProject.RepresentationTreeView();
     this.representationtreeviewTask.CanFocus = true;
     this.representationtreeviewTask.Name     = "representationtreeviewTask";
     this.GtkScrolledWindow.Add(this.representationtreeviewTask);
     this.vbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
     w27.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hboxStatistics         = new global::Gtk.HBox();
     this.hboxStatistics.Name    = "hboxStatistics";
     this.hboxStatistics.Spacing = 6;
     this.vbox2.Add(this.hboxStatistics);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxStatistics]));
     w28.Position = 2;
     w28.Expand   = false;
     this.vboxJournal.Add(this.vbox2);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vboxJournal[this.vbox2]));
     w29.Position = 5;
     this.Add(this.vboxJournal);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.representationentryEmployee.Hide();
     this.hboxEditSelected.Hide();
     this.Hide();
     this.buttonAdd.Clicked                             += new global::System.EventHandler(this.OnAddTaskButtonClicked);
     this.buttonEdit.Clicked                            += new global::System.EventHandler(this.OnButtonEditClicked);
     this.buttonDelete.Clicked                          += new global::System.EventHandler(this.OnButtonDeleteClicked);
     this.ycheckbuttonAutoUpdate.Toggled                += new global::System.EventHandler(this.OnYcheckbuttonAutoUpdateToggled);
     this.buttonRefresh.Clicked                         += new global::System.EventHandler(this.OnButtonRefreshClicked);
     this.radiobuttonShowFilter.Toggled                 += new global::System.EventHandler(this.OnRadiobuttonShowFilterToggled);
     this.radiobuttonShowFilter.Clicked                 += new global::System.EventHandler(this.OnRadiobuttonShowFilterClicked);
     this.radiobuttonEditSelected.Toggled               += new global::System.EventHandler(this.OnRadiobuttonEditSelectedToggled);
     this.radiobuttonEditSelected.Clicked               += new global::System.EventHandler(this.OnRadiobuttonEditSelectedClicked);
     this.buttonChandgeEployee.Clicked                  += new global::System.EventHandler(this.OnAssignedEmployeeButtonClicked);
     this.taskStatusComboBox.EnumItemSelected           += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnTaskstateButtonEnumItemClicked);
     this.buttonCompleteSelected.Clicked                += new global::System.EventHandler(this.OnCompleteTaskButtonClicked);
     this.datepickerDeadlineChange.DateChangedByUser    += new global::System.EventHandler(this.OnDatepickerDeadlineChangeDateChangedByUser);
     this.representationentryEmployee.ChangedByUser     += new global::System.EventHandler(this.OnRepresentationentryEmployeeChangedByUser);
     this.searchentity.TextChanged                      += new global::System.EventHandler(this.OnSearchentityTextChanged);
     this.representationtreeviewTask.RowActivated       += new global::Gtk.RowActivatedHandler(this.OnRepresentationtreeviewTaskRowActivated);
     this.representationtreeviewTask.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnRepresentationtreeviewTaskButtonReleaseEvent);
 }
コード例 #9
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.AdvanceReportDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.AdvanceReportDlg";
     // Container child Vodovoz.AdvanceReportDlg.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gtk.Button();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox2.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox2.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hboxSubdivision         = new global::Gtk.HBox();
     this.hboxSubdivision.Name    = "hboxSubdivision";
     this.hboxSubdivision.Spacing = 6;
     // Container child hboxSubdivision.Gtk.Box+BoxChild
     this.accessfilteredsubdivisionselectorwidget        = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget();
     this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256));
     this.accessfilteredsubdivisionselectorwidget.Name   = "accessfilteredsubdivisionselectorwidget";
     this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false;
     this.hboxSubdivision.Add(this.accessfilteredsubdivisionselectorwidget);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxSubdivision[this.accessfilteredsubdivisionselectorwidget]));
     w5.PackType = ((global::Gtk.PackType)(1));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.hbox2.Add(this.hboxSubdivision);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxSubdivision]));
     w6.Position = 2;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(5)), ((uint)(6)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.comboExpense                     = new global::Gamma.Widgets.ySpecComboBox();
     this.comboExpense.Name                = "comboExpense";
     this.comboExpense.AddIfNotExist       = false;
     this.comboExpense.DefaultFirst        = false;
     this.comboExpense.ShowSpecialStateAll = false;
     this.comboExpense.ShowSpecialStateNot = true;
     this.table1.Add(this.comboExpense);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense]));
     w8.LeftAttach  = ((uint)(1));
     w8.RightAttach = ((uint)(4));
     w8.XOptions    = ((global::Gtk.AttachOptions)(4));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yspinMoney          = new global::Gamma.GtkWidgets.ySpinButton(0D, 2147483647D, 100D);
     this.yspinMoney.CanFocus = true;
     this.yspinMoney.Name     = "yspinMoney";
     this.yspinMoney.Adjustment.PageIncrement = 1000D;
     this.yspinMoney.ClimbRate      = 1D;
     this.yspinMoney.Digits         = ((uint)(2));
     this.yspinMoney.Numeric        = true;
     this.yspinMoney.ValueAsDecimal = 0m;
     this.yspinMoney.ValueAsInt     = 0;
     this.hbox6.Add(this.yspinMoney);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.currencylabel1           = new global::QSProjectsLib.CurrencyLabel();
     this.currencylabel1.Name      = "currencylabel1";
     this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1");
     this.hbox6.Add(this.currencylabel1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.table1.Add(this.hbox6);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6]));
     w11.TopAttach    = ((uint)(4));
     w11.BottomAttach = ((uint)(5));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hboxDebt         = new global::Gtk.HBox();
     this.hboxDebt.Name    = "hboxDebt";
     this.hboxDebt.Spacing = 6;
     // Container child hboxDebt.Gtk.Box+BoxChild
     this.labelCurrentDebt      = new global::Gtk.Label();
     this.labelCurrentDebt.Name = "labelCurrentDebt";
     this.hboxDebt.Add(this.labelCurrentDebt);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxDebt[this.labelCurrentDebt]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     this.table1.Add(this.hboxDebt);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxDebt]));
     w13.TopAttach    = ((uint)(3));
     w13.BottomAttach = ((uint)(4));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w14.TopAttach    = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.LeftAttach   = ((uint)(4));
     w14.RightAttach  = ((uint)(5));
     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)(4));
     w15.RightAttach = ((uint)(5));
     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)(3));
     w16.BottomAttach = ((uint)(4));
     w16.LeftAttach   = ((uint)(2));
     w16.RightAttach  = ((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.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)(4));
     w18.BottomAttach = ((uint)(5));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.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 w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label7]));
     w19.TopAttach    = ((uint)(1));
     w19.BottomAttach = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelChangeSum           = new global::Gtk.Label();
     this.labelChangeSum.Name      = "labelChangeSum";
     this.labelChangeSum.LabelProp = global::Mono.Unix.Catalog.GetString("--//--");
     this.labelChangeSum.UseMarkup = true;
     this.table1.Add(this.labelChangeSum);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeSum]));
     w20.TopAttach    = ((uint)(4));
     w20.BottomAttach = ((uint)(5));
     w20.LeftAttach   = ((uint)(3));
     w20.RightAttach  = ((uint)(4));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelChangeType           = new global::Gtk.Label();
     this.labelChangeType.Name      = "labelChangeType";
     this.labelChangeType.Xalign    = 1F;
     this.labelChangeType.LabelProp = global::Mono.Unix.Catalog.GetString("--//--");
     this.table1.Add(this.labelChangeType);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeType]));
     w21.TopAttach    = ((uint)(4));
     w21.BottomAttach = ((uint)(5));
     w21.LeftAttach   = ((uint)(2));
     w21.RightAttach  = ((uint)(3));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelClosingSum           = new global::Gtk.Label();
     this.labelClosingSum.Name      = "labelClosingSum";
     this.labelClosingSum.LabelProp = global::Mono.Unix.Catalog.GetString("--//--");
     this.table1.Add(this.labelClosingSum);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClosingSum]));
     w22.TopAttach    = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     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.labelDebtTitle           = new global::Gtk.Label();
     this.labelDebtTitle.Name      = "labelDebtTitle";
     this.labelDebtTitle.Xalign    = 1F;
     this.labelDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Текущий долг:");
     this.table1.Add(this.labelDebtTitle);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDebtTitle]));
     w23.TopAttach    = ((uint)(3));
     w23.BottomAttach = ((uint)(4));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.specialListCmbOrganisation                     = new global::QS.Widgets.GtkUI.SpecialListComboBox();
     this.specialListCmbOrganisation.Name                = "specialListCmbOrganisation";
     this.specialListCmbOrganisation.AddIfNotExist       = false;
     this.specialListCmbOrganisation.DefaultFirst        = false;
     this.specialListCmbOrganisation.ShowSpecialStateAll = false;
     this.specialListCmbOrganisation.ShowSpecialStateNot = false;
     this.table1.Add(this.specialListCmbOrganisation);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisation]));
     w24.TopAttach    = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.LeftAttach   = ((uint)(1));
     w24.RightAttach  = ((uint)(2));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydateDocument                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.ydateDocument.Events             = ((global::Gdk.EventMask)(256));
     this.ydateDocument.Name               = "ydateDocument";
     this.ydateDocument.WithTime           = false;
     this.ydateDocument.HideCalendarButton = false;
     this.ydateDocument.Date               = new global::System.DateTime(0);
     this.ydateDocument.IsEditable         = true;
     this.ydateDocument.AutoSeparation     = true;
     this.table1.Add(this.ydateDocument);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument]));
     w25.TopAttach    = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.LeftAttach   = ((uint)(5));
     w25.RightAttach  = ((uint)(6));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryCasher           = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryCasher.Sensitive = false;
     this.yentryCasher.Events    = ((global::Gdk.EventMask)(256));
     this.yentryCasher.Name      = "yentryCasher";
     this.table1.Add(this.yentryCasher);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher]));
     w26.LeftAttach  = ((uint)(5));
     w26.RightAttach = ((uint)(6));
     w26.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryEmployee        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.yentryEmployee.Name   = "yentryEmployee";
     this.table1.Add(this.yentryEmployee);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmployee]));
     w27.TopAttach    = ((uint)(1));
     w27.BottomAttach = ((uint)(2));
     w27.LeftAttach   = ((uint)(1));
     w27.RightAttach  = ((uint)(2));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylabel1           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel1.Name      = "ylabel1";
     this.ylabel1.Xalign    = 1F;
     this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:");
     this.table1.Add(this.ylabel1);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1]));
     w28.TopAttach    = ((uint)(2));
     w28.BottomAttach = ((uint)(3));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
     w29.Position = 1;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.labelCreating           = new global::Gtk.Label();
     this.labelCreating.Name      = "labelCreating";
     this.labelCreating.Xpad      = 9;
     this.labelCreating.Xalign    = 0F;
     this.labelCreating.LabelProp = global::Mono.Unix.Catalog.GetString("Рачет не производился");
     this.vbox1.Add(this.labelCreating);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelCreating]));
     w30.Position = 2;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.labelTableTitle           = new global::Gtk.Label();
     this.labelTableTitle.Name      = "labelTableTitle";
     this.labelTableTitle.Xalign    = 0F;
     this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:");
     this.vbox1.Add(this.labelTableTitle);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelTableTitle]));
     w31.Position = 3;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.ytreeviewDebts          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewDebts.CanFocus = true;
     this.ytreeviewDebts.Name     = "ytreeviewDebts";
     this.GtkScrolledWindow1.Add(this.ytreeviewDebts);
     this.vbox1.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1]));
     w33.Position = 4;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:");
     this.vbox1.Add(this.label6);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6]));
     w34.Position = 5;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytextviewDescription          = new global::Gamma.GtkWidgets.yTextView();
     this.ytextviewDescription.CanFocus = true;
     this.ytextviewDescription.Name     = "ytextviewDescription";
     this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3));
     this.GtkScrolledWindow.Add(this.ytextviewDescription);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w36.Position = 6;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.yentryEmployee.Changed  += new global::System.EventHandler(this.OnYentryEmployeeChanged);
     this.yspinMoney.ValueChanged += new global::System.EventHandler(this.OnYspinMoneyValueChanged);
     this.comboExpense.Changed    += new global::System.EventHandler(this.OnComboExpenseChanged);
 }
コード例 #10
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Filters.GtkViews.CounterpartyFilterView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Filters.GtkViews.CounterpartyFilterView";
     // Container child Vodovoz.Filters.GtkViews.CounterpartyFilterView.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(8)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.checkIncludeArhive               = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkIncludeArhive.CanFocus      = true;
     this.checkIncludeArhive.Name          = "checkIncludeArhive";
     this.checkIncludeArhive.Label         = global::Mono.Unix.Catalog.GetString("Включая архивных");
     this.checkIncludeArhive.DrawIndicator = true;
     this.checkIncludeArhive.UseUnderline  = true;
     this.table1.Add(this.checkIncludeArhive);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkIncludeArhive]));
     w1.LeftAttach  = ((uint)(3));
     w1.RightAttach = ((uint)(4));
     w1.XOptions    = ((global::Gtk.AttachOptions)(4));
     w1.YOptions    = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.frame2            = new global::Gtk.Frame();
     this.frame2.Name       = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment51             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment51.Name        = "GtkAlignment51";
     this.GtkAlignment51.LeftPadding = ((uint)(12));
     // Container child GtkAlignment51.Gtk.Container+ContainerChild
     this.GtkScrolledWindow15 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow15.WidthRequest = 220;
     this.GtkScrolledWindow15.Name         = "GtkScrolledWindow15";
     this.GtkScrolledWindow15.ShadowType   = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow15.Gtk.Container+ContainerChild
     this.ytreeviewSalesChannels                = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewSalesChannels.CanFocus       = true;
     this.ytreeviewSalesChannels.Name           = "ytreeviewSalesChannels";
     this.ytreeviewSalesChannels.HeadersVisible = false;
     this.GtkScrolledWindow15.Add(this.ytreeviewSalesChannels);
     this.GtkAlignment51.Add(this.GtkScrolledWindow15);
     this.frame2.Add(this.GtkAlignment51);
     this.GtkLabel72           = new global::Gtk.Label();
     this.GtkLabel72.Name      = "GtkLabel72";
     this.GtkLabel72.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Канал сбыта</b>");
     this.GtkLabel72.UseMarkup = true;
     this.frame2.LabelWidget   = this.GtkLabel72;
     this.table1.Add(this.frame2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.frame2]));
     w5.BottomAttach = ((uint)(2));
     w5.LeftAttach   = ((uint)(7));
     w5.RightAttach  = ((uint)(8));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Показывать только:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(0));
     // 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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w7.LeftAttach  = ((uint)(5));
     w7.RightAttach = ((uint)(6));
     w7.XOptions    = ((global::Gtk.AttachOptions)(4));
     w7.YOptions    = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.table1.Add(this.vseparator1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.vseparator1]));
     w8.LeftAttach  = ((uint)(2));
     w8.RightAttach = ((uint)(3));
     w8.XOptions    = ((global::Gtk.AttachOptions)(4));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vseparator2      = new global::Gtk.VSeparator();
     this.vseparator2.Name = "vseparator2";
     this.table1.Add(this.vseparator2);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.vseparator2]));
     w9.LeftAttach  = ((uint)(4));
     w9.RightAttach = ((uint)(5));
     w9.XOptions    = ((global::Gtk.AttachOptions)(4));
     w9.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryTag        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryTag.Events = ((global::Gdk.EventMask)(256));
     this.yentryTag.Name   = "yentryTag";
     this.table1.Add(this.yentryTag);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryTag]));
     w10.LeftAttach  = ((uint)(6));
     w10.RightAttach = ((uint)(7));
     w10.YOptions    = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.yenumCounterpartyType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumCounterpartyType.Name = "yenumCounterpartyType";
     this.yenumCounterpartyType.ShowSpecialStateAll = true;
     this.yenumCounterpartyType.ShowSpecialStateNot = false;
     this.yenumCounterpartyType.UseShortTitle       = false;
     this.yenumCounterpartyType.DefaultFirst        = false;
     this.table1.Add(this.yenumCounterpartyType);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumCounterpartyType]));
     w11.LeftAttach  = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions    = ((global::Gtk.AttachOptions)(4));
     w11.YOptions    = ((global::Gtk.AttachOptions)(0));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
コード例 #11
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.FuelDocumentView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.FuelDocumentView";
     // Container child Vodovoz.FuelDocumentView.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gamma.GtkWidgets.yButton();
     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.hbox8.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonSave]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox8.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.hbox8.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox1.Add(this.hbox8);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table3               = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.entityviewmodelentryCar                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityviewmodelentryCar.Sensitive        = false;
     this.entityviewmodelentryCar.Events           = ((global::Gdk.EventMask)(256));
     this.entityviewmodelentryCar.Name             = "entityviewmodelentryCar";
     this.entityviewmodelentryCar.CanEditReference = true;
     this.table3.Add(this.entityviewmodelentryCar);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3[this.entityviewmodelentryCar]));
     w6.TopAttach    = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.spinFuelPrice = new global::Gamma.GtkWidgets.ySpinButton(0D, 200D, 0.01D);
     this.spinFuelPrice.WidthRequest             = 100;
     this.spinFuelPrice.Sensitive                = false;
     this.spinFuelPrice.CanFocus                 = true;
     this.spinFuelPrice.Name                     = "spinFuelPrice";
     this.spinFuelPrice.Adjustment.PageIncrement = 0.01D;
     this.spinFuelPrice.ClimbRate                = 1D;
     this.spinFuelPrice.Digits                   = ((uint)(2));
     this.spinFuelPrice.Numeric                  = true;
     this.spinFuelPrice.ValueAsDecimal           = 0m;
     this.spinFuelPrice.ValueAsInt               = 0;
     this.hbox3.Add(this.spinFuelPrice);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinFuelPrice]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     this.table3.Add(this.hbox3);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox3]));
     w8.TopAttach    = ((uint)(6));
     w8.BottomAttach = ((uint)(7));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.yenumcomboboxPaymentType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboboxPaymentType.Name = "yenumcomboboxPaymentType";
     this.yenumcomboboxPaymentType.ShowSpecialStateAll = false;
     this.yenumcomboboxPaymentType.ShowSpecialStateNot = false;
     this.yenumcomboboxPaymentType.UseShortTitle       = false;
     this.yenumcomboboxPaymentType.DefaultFirst        = false;
     this.hbox4.Add(this.yenumcomboboxPaymentType);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboboxPaymentType]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.disablespinMoney        = new global::QSOrmProject.DisableSpinButton();
     this.disablespinMoney.Events = ((global::Gdk.EventMask)(256));
     this.disablespinMoney.Name   = "disablespinMoney";
     this.disablespinMoney.Active = false;
     this.disablespinMoney.Upper  = 100000D;
     this.disablespinMoney.Lower  = 0D;
     this.disablespinMoney.Digits = ((uint)(2));
     this.hbox4.Add(this.disablespinMoney);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.disablespinMoney]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSetRemain              = new global::Gamma.GtkWidgets.yButton();
     this.buttonSetRemain.CanFocus     = true;
     this.buttonSetRemain.Name         = "buttonSetRemain";
     this.buttonSetRemain.UseUnderline = true;
     this.buttonSetRemain.Label        = global::Mono.Unix.Catalog.GetString("Весь остаток");
     this.hbox4.Add(this.buttonSetRemain);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSetRemain]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     this.table3.Add(this.hbox4);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox4]));
     w12.TopAttach    = ((uint)(7));
     w12.BottomAttach = ((uint)(8));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     this.table3.Add(this.hbox5);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox5]));
     w13.TopAttach    = ((uint)(6));
     w13.BottomAttach = ((uint)(7));
     w13.LeftAttach   = ((uint)(2));
     w13.RightAttach  = ((uint)(3));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yspinFuelTicketLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 10D);
     this.yspinFuelTicketLiters.WidthRequest             = 90;
     this.yspinFuelTicketLiters.CanFocus                 = true;
     this.yspinFuelTicketLiters.Name                     = "yspinFuelTicketLiters";
     this.yspinFuelTicketLiters.Adjustment.PageIncrement = 20D;
     this.yspinFuelTicketLiters.ClimbRate                = 1D;
     this.yspinFuelTicketLiters.Numeric                  = true;
     this.yspinFuelTicketLiters.ValueAsDecimal           = 0m;
     this.yspinFuelTicketLiters.ValueAsInt               = 0;
     this.hbox6.Add(this.yspinFuelTicketLiters);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinFuelTicketLiters]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yspeccomboboxSubdivision                     = new global::Gamma.Widgets.ySpecComboBox();
     this.yspeccomboboxSubdivision.Name                = "yspeccomboboxSubdivision";
     this.yspeccomboboxSubdivision.AddIfNotExist       = false;
     this.yspeccomboboxSubdivision.DefaultFirst        = false;
     this.yspeccomboboxSubdivision.ShowSpecialStateAll = false;
     this.yspeccomboboxSubdivision.ShowSpecialStateNot = false;
     this.hbox6.Add(this.yspeccomboboxSubdivision);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspeccomboboxSubdivision]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.table3.Add(this.hbox6);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox6]));
     w16.TopAttach    = ((uint)(4));
     w16.BottomAttach = ((uint)(5));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.labelExpenseInfo           = new global::Gamma.GtkWidgets.yLabel();
     this.labelExpenseInfo.Name      = "labelExpenseInfo";
     this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1");
     this.hbox7.Add(this.labelExpenseInfo);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.labelExpenseInfo]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.buttonOpenExpense              = new global::Gamma.GtkWidgets.yButton();
     this.buttonOpenExpense.CanFocus     = true;
     this.buttonOpenExpense.Name         = "buttonOpenExpense";
     this.buttonOpenExpense.UseUnderline = true;
     this.buttonOpenExpense.Label        = global::Mono.Unix.Catalog.GetString("Открыть расходный ордер");
     this.hbox7.Add(this.buttonOpenExpense);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpenExpense]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     this.table3.Add(this.hbox7);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox7]));
     w19.TopAttach    = ((uint)(8));
     w19.BottomAttach = ((uint)(9));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add(this.label1);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.label1]));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add(this.label2);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label2]));
     w21.TopAttach    = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add(this.label3);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label3]));
     w22.TopAttach    = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add(this.label4);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label4]));
     w23.TopAttach    = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add(this.label5);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3[this.label5]));
     w24.TopAttach    = ((uint)(7));
     w24.BottomAttach = ((uint)(8));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add(this.label6);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3[this.label6]));
     w25.TopAttach    = ((uint)(4));
     w25.BottomAttach = ((uint)(5));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add(this.label7);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3[this.label7]));
     w26.TopAttach    = ((uint)(6));
     w26.BottomAttach = ((uint)(7));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.labelAvalilableFuel           = new global::Gamma.GtkWidgets.yLabel();
     this.labelAvalilableFuel.Name      = "labelAvalilableFuel";
     this.labelAvalilableFuel.Xalign    = 0F;
     this.labelAvalilableFuel.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.table3.Add(this.labelAvalilableFuel);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table3[this.labelAvalilableFuel]));
     w27.TopAttach    = ((uint)(5));
     w27.BottomAttach = ((uint)(6));
     w27.LeftAttach   = ((uint)(1));
     w27.RightAttach  = ((uint)(2));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.labelResultInfo           = new global::Gamma.GtkWidgets.yLabel();
     this.labelResultInfo.Name      = "labelResultInfo";
     this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString("Итог");
     this.table3.Add(this.labelResultInfo);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3[this.labelResultInfo]));
     w28.TopAttach    = ((uint)(7));
     w28.BottomAttach = ((uint)(8));
     w28.LeftAttach   = ((uint)(2));
     w28.RightAttach  = ((uint)(3));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ydatepicker                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.ydatepicker.Events             = ((global::Gdk.EventMask)(256));
     this.ydatepicker.Name               = "ydatepicker";
     this.ydatepicker.WithTime           = false;
     this.ydatepicker.HideCalendarButton = false;
     this.ydatepicker.Date               = new global::System.DateTime(0);
     this.ydatepicker.IsEditable         = true;
     this.ydatepicker.AutoSeparation     = false;
     this.table3.Add(this.ydatepicker);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3[this.ydatepicker]));
     w29.LeftAttach  = ((uint)(1));
     w29.RightAttach = ((uint)(2));
     w29.XOptions    = ((global::Gtk.AttachOptions)(4));
     w29.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.yentrydriver           = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentrydriver.Sensitive = false;
     this.yentrydriver.Events    = ((global::Gdk.EventMask)(256));
     this.yentrydriver.Name      = "yentrydriver";
     this.table3.Add(this.yentrydriver);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3[this.yentrydriver]));
     w30.TopAttach    = ((uint)(1));
     w30.BottomAttach = ((uint)(2));
     w30.LeftAttach   = ((uint)(1));
     w30.RightAttach  = ((uint)(2));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.yentryfuel           = new global::Gamma.Widgets.yEntryReference();
     this.yentryfuel.Sensitive = false;
     this.yentryfuel.Events    = ((global::Gdk.EventMask)(256));
     this.yentryfuel.Name      = "yentryfuel";
     this.table3.Add(this.yentryfuel);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3[this.yentryfuel]));
     w31.TopAttach    = ((uint)(3));
     w31.BottomAttach = ((uint)(4));
     w31.LeftAttach   = ((uint)(1));
     w31.RightAttach  = ((uint)(2));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ytextviewFuelInfo          = new global::Gamma.GtkWidgets.yTextView();
     this.ytextviewFuelInfo.CanFocus = true;
     this.ytextviewFuelInfo.Name     = "ytextviewFuelInfo";
     this.ytextviewFuelInfo.Editable = false;
     this.table3.Add(this.ytextviewFuelInfo);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3[this.ytextviewFuelInfo]));
     w32.BottomAttach = ((uint)(4));
     w32.LeftAttach   = ((uint)(2));
     w32.RightAttach  = ((uint)(3));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table3);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table3]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonSave.Clicked            += new global::System.EventHandler(this.OnButtonSaveClicked);
     this.buttonCancel.Clicked          += new global::System.EventHandler(this.OnButtonCancelClicked);
     this.buttonOpenExpense.Clicked     += new global::System.EventHandler(this.OnButtonOpenExpenseClicked);
     this.disablespinMoney.ValueChanged += new global::System.EventHandler(this.OnDisablespinMoneyValueChanged);
     this.buttonSetRemain.Clicked       += new global::System.EventHandler(this.OnButtonSetRemainClicked);
 }
コード例 #12
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Reports.RevisionBottlesAndDeposits
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Reports.RevisionBottlesAndDeposits";
     // Container child Vodovoz.Reports.RevisionBottlesAndDeposits.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::QS.Widgets.GtkUI.DateRangePicker();
     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.entityViewModelEntryCounterparty                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityViewModelEntryCounterparty.Events           = ((global::Gdk.EventMask)(256));
     this.entityViewModelEntryCounterparty.Name             = "entityViewModelEntryCounterparty";
     this.entityViewModelEntryCounterparty.CanEditReference = true;
     this.table1.Add(this.entityViewModelEntryCounterparty);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entityViewModelEntryCounterparty]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.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 w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.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 w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w6.TopAttach    = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceDeliveryPoint           = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceDeliveryPoint.Sensitive = false;
     this.referenceDeliveryPoint.Events    = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPoint.Name      = "referenceDeliveryPoint";
     this.table1.Add(this.referenceDeliveryPoint);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDeliveryPoint]));
     w7.TopAttach    = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.dateperiodpicker1.Hide();
     this.label1.Hide();
     this.Hide();
     this.entityViewModelEntryCounterparty.Changed += new global::System.EventHandler(this.OnEntryCounterpartyChanged);
     this.dateperiodpicker1.PeriodChanged          += new global::System.EventHandler(this.OnDateperiodpicker1PeriodChanged);
     this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked);
 }
コード例 #13
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.CashDocumentsFilter
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.CashDocumentsFilter";
     // Container child Vodovoz.CashDocumentsFilter.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.accessfilteredsubdivisionselectorwidget        = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget();
     this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256));
     this.accessfilteredsubdivisionselectorwidget.Name   = "accessfilteredsubdivisionselectorwidget";
     this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false;
     this.table1.Add(this.accessfilteredsubdivisionselectorwidget);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.accessfilteredsubdivisionselectorwidget]));
     w1.TopAttach    = ((uint)(3));
     w1.BottomAttach = ((uint)(4));
     w1.RightAttach  = ((uint)(4));
     w1.XOptions     = ((global::Gtk.AttachOptions)(4));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateperiodDocs           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.dateperiodDocs.Events    = ((global::Gdk.EventMask)(256));
     this.dateperiodDocs.Name      = "dateperiodDocs";
     this.dateperiodDocs.StartDate = new global::System.DateTime(0);
     this.dateperiodDocs.EndDate   = new global::System.DateTime(0);
     this.table1.Add(this.dateperiodDocs);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodDocs]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     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.entityVMEntryCashExpenseCategory                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityVMEntryCashExpenseCategory.Events           = ((global::Gdk.EventMask)(256));
     this.entityVMEntryCashExpenseCategory.Name             = "entityVMEntryCashExpenseCategory";
     this.entityVMEntryCashExpenseCategory.CanEditReference = false;
     this.table1.Add(this.entityVMEntryCashExpenseCategory);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryCashExpenseCategory]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach   = ((uint)(3));
     w3.RightAttach  = ((uint)(4));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entityVMEntryCashIncomeCategory                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityVMEntryCashIncomeCategory.Events           = ((global::Gdk.EventMask)(256));
     this.entityVMEntryCashIncomeCategory.Name             = "entityVMEntryCashIncomeCategory";
     this.entityVMEntryCashIncomeCategory.CanEditReference = false;
     this.table1.Add(this.entityVMEntryCashIncomeCategory);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryCashIncomeCategory]));
     w4.LeftAttach  = ((uint)(3));
     w4.RightAttach = ((uint)(4));
     w4.XOptions    = ((global::Gtk.AttachOptions)(4));
     w4.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryEmployee        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.entryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.entryEmployee.Name   = "entryEmployee";
     this.table1.Add(this.entryEmployee);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmployee]));
     w5.TopAttach    = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.enumcomboDocumentType      = new global::Gamma.Widgets.yEnumComboBox();
     this.enumcomboDocumentType.Name = "enumcomboDocumentType";
     this.enumcomboDocumentType.ShowSpecialStateAll = true;
     this.enumcomboDocumentType.ShowSpecialStateNot = false;
     this.enumcomboDocumentType.UseShortTitle       = false;
     this.enumcomboDocumentType.DefaultFirst        = false;
     this.table1.Add(this.enumcomboDocumentType);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboDocumentType]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     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.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.LeftAttach  = ((uint)(2));
     w8.RightAttach = ((uint)(3));
     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)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach   = ((uint)(2));
     w9.RightAttach  = ((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.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     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)(2));
     w11.BottomAttach = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.enumcomboDocumentType.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboDocumentTypeEnumItemSelected);
     this.entryEmployee.Changed += new global::System.EventHandler(this.OnEntryEmployeeChanged);
     this.entityVMEntryCashIncomeCategory.Changed  += new global::System.EventHandler(this.OnEntityVMEntryCashIncomeCategoryChanged);
     this.entityVMEntryCashExpenseCategory.Changed += new global::System.EventHandler(this.OnEntityVMEntryCashExpenseCategoryChanged);
     this.dateperiodDocs.PeriodChanged             += new global::System.EventHandler(this.OnDateperiodDocsPeriodChanged);
 }
コード例 #14
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Filters.GtkViews.ComplaintFilterView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Filters.GtkViews.ComplaintFilterView";
     // Container child Vodovoz.Filters.GtkViews.ComplaintFilterView.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.table4               = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false);
     this.table4.Name          = "table4";
     this.table4.RowSpacing    = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.entryCounterparty                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entryCounterparty.Events           = ((global::Gdk.EventMask)(256));
     this.entryCounterparty.Name             = "entryCounterparty";
     this.entryCounterparty.CanEditReference = false;
     this.table4.Add(this.entryCounterparty);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table4[this.entryCounterparty]));
     w1.TopAttach    = ((uint)(2));
     w1.BottomAttach = ((uint)(3));
     w1.LeftAttach   = ((uint)(1));
     w1.RightAttach  = ((uint)(2));
     w1.XOptions     = ((global::Gtk.AttachOptions)(4));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.entryreferencevmEmployee        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.entryreferencevmEmployee.Events = ((global::Gdk.EventMask)(256));
     this.entryreferencevmEmployee.Name   = "entryreferencevmEmployee";
     this.table4.Add(this.entryreferencevmEmployee);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table4[this.entryreferencevmEmployee]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.XOptions     = ((global::Gtk.AttachOptions)(4));
     w2.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Дата");
     this.hbox3.Add(this.label5);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label5]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.yenumcomboboxDateType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboboxDateType.Name = "yenumcomboboxDateType";
     this.yenumcomboboxDateType.ShowSpecialStateAll = false;
     this.yenumcomboboxDateType.ShowSpecialStateNot = false;
     this.yenumcomboboxDateType.UseShortTitle       = false;
     this.yenumcomboboxDateType.DefaultFirst        = false;
     this.hbox3.Add(this.yenumcomboboxDateType);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxDateType]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.daterangepicker           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.daterangepicker.Events    = ((global::Gdk.EventMask)(256));
     this.daterangepicker.Name      = "daterangepicker";
     this.daterangepicker.StartDate = new global::System.DateTime(0);
     this.daterangepicker.EndDate   = new global::System.DateTime(0);
     this.hbox3.Add(this.daterangepicker);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.daterangepicker]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.table4.Add(this.hbox3);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table4[this.hbox3]));
     w6.TopAttach    = ((uint)(3));
     w6.BottomAttach = ((uint)(4));
     w6.RightAttach  = ((uint)(3));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.ybuttonMyComplaint              = new global::Gamma.GtkWidgets.yButton();
     this.ybuttonMyComplaint.CanFocus     = true;
     this.ybuttonMyComplaint.Name         = "ybuttonMyComplaint";
     this.ybuttonMyComplaint.UseUnderline = true;
     this.ybuttonMyComplaint.Label        = global::Mono.Unix.Catalog.GetString("Мои рекламации");
     this.hbox5.Add(this.ybuttonMyComplaint);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ybuttonMyComplaint]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     this.table4.Add(this.hbox5);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table4[this.hbox5]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach   = ((uint)(2));
     w8.RightAttach  = ((uint)(3));
     w8.XPadding     = ((uint)(3));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Автор рекламации");
     this.table4.Add(this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table4[this.label3]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("В работе у");
     this.table4.Add(this.label4);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4[this.label4]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент");
     this.table4.Add(this.label6);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4[this.label6]));
     w11.TopAttach    = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.yentryreferenceSubdivision        = new global::Gamma.Widgets.yEntryReference();
     this.yentryreferenceSubdivision.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceSubdivision.Name   = "yentryreferenceSubdivision";
     this.table4.Add(this.yentryreferenceSubdivision);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table4[this.yentryreferenceSubdivision]));
     w12.LeftAttach  = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions    = ((global::Gtk.AttachOptions)(4));
     w12.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add(this.table4);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table4]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator3      = new global::Gtk.VSeparator();
     this.vseparator3.Name = "vseparator3";
     this.hbox1.Add(this.vseparator3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator3]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.frmGuilty            = new global::Gtk.Frame();
     this.frmGuilty.Name       = "frmGuilty";
     this.frmGuilty.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frmGuilty.Gtk.Container+ContainerChild
     this.GtkAlignment6             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment6.Name        = "GtkAlignment6";
     this.GtkAlignment6.LeftPadding = ((uint)(12));
     // Container child GtkAlignment6.Gtk.Container+ContainerChild
     this.guiltyItemView        = new global::Vodovoz.Views.Complaints.GuiltyItemView();
     this.guiltyItemView.Events = ((global::Gdk.EventMask)(256));
     this.guiltyItemView.Name   = "guiltyItemView";
     this.GtkAlignment6.Add(this.guiltyItemView);
     this.frmGuilty.Add(this.GtkAlignment6);
     this.GtkLabel10            = new global::Gtk.Label();
     this.GtkLabel10.Name       = "GtkLabel10";
     this.GtkLabel10.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>Виновный:</b>");
     this.GtkLabel10.UseMarkup  = true;
     this.frmGuilty.LabelWidget = this.GtkLabel10;
     this.hbox1.Add(this.frmGuilty);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.frmGuilty]));
     w17.Position = 2;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator2      = new global::Gtk.VSeparator();
     this.vseparator2.Name = "vseparator2";
     this.hbox1.Add(this.vseparator2);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator2]));
     w18.Position = 3;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.cmbComplaintKind                     = new global::QS.Widgets.GtkUI.SpecialListComboBox();
     this.cmbComplaintKind.Name                = "cmbComplaintKind";
     this.cmbComplaintKind.AddIfNotExist       = false;
     this.cmbComplaintKind.DefaultFirst        = false;
     this.cmbComplaintKind.ShowSpecialStateAll = true;
     this.cmbComplaintKind.ShowSpecialStateNot = false;
     this.table1.Add(this.cmbComplaintKind);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.cmbComplaintKind]));
     w19.TopAttach    = ((uint)(3));
     w19.BottomAttach = ((uint)(4));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.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 w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.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 w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w21.TopAttach    = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblComplaintKind           = new global::Gtk.Label();
     this.lblComplaintKind.Name      = "lblComplaintKind";
     this.lblComplaintKind.Xalign    = 1F;
     this.lblComplaintKind.LabelProp = global::Mono.Unix.Catalog.GetString("Вид:");
     this.table1.Add(this.lblComplaintKind);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.lblComplaintKind]));
     w22.TopAttach    = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblComplaintObject           = new global::Gtk.Label();
     this.lblComplaintObject.Name      = "lblComplaintObject";
     this.lblComplaintObject.Xalign    = 1F;
     this.lblComplaintObject.LabelProp = global::Mono.Unix.Catalog.GetString("Объект рекламаций:");
     this.table1.Add(this.lblComplaintObject);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.lblComplaintObject]));
     w23.TopAttach    = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yenumcomboboxCurrentSubdivisionStatus      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboboxCurrentSubdivisionStatus.Name = "yenumcomboboxCurrentSubdivisionStatus";
     this.yenumcomboboxCurrentSubdivisionStatus.ShowSpecialStateAll = true;
     this.yenumcomboboxCurrentSubdivisionStatus.ShowSpecialStateNot = false;
     this.yenumcomboboxCurrentSubdivisionStatus.UseShortTitle       = false;
     this.yenumcomboboxCurrentSubdivisionStatus.DefaultFirst        = false;
     this.table1.Add(this.yenumcomboboxCurrentSubdivisionStatus);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxCurrentSubdivisionStatus]));
     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.yenumcomboboxStatus      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboboxStatus.Name = "yenumcomboboxStatus";
     this.yenumcomboboxStatus.ShowSpecialStateAll = true;
     this.yenumcomboboxStatus.ShowSpecialStateNot = false;
     this.yenumcomboboxStatus.UseShortTitle       = false;
     this.yenumcomboboxStatus.DefaultFirst        = false;
     this.table1.Add(this.yenumcomboboxStatus);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxStatus]));
     w25.TopAttach    = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.LeftAttach   = ((uint)(1));
     w25.RightAttach  = ((uint)(2));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yenumcomboboxType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboboxType.Name = "yenumcomboboxType";
     this.yenumcomboboxType.ShowSpecialStateAll = true;
     this.yenumcomboboxType.ShowSpecialStateNot = false;
     this.yenumcomboboxType.UseShortTitle       = false;
     this.yenumcomboboxType.DefaultFirst        = false;
     this.table1.Add(this.yenumcomboboxType);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxType]));
     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.ylabelEmployeeSubdivisionStatus           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelEmployeeSubdivisionStatus.Name      = "ylabelEmployeeSubdivisionStatus";
     this.ylabelEmployeeSubdivisionStatus.Xalign    = 1F;
     this.ylabelEmployeeSubdivisionStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус в отделе %отдел%:");
     this.table1.Add(this.ylabelEmployeeSubdivisionStatus);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelEmployeeSubdivisionStatus]));
     w27.LeftAttach  = ((uint)(2));
     w27.RightAttach = ((uint)(3));
     w27.XOptions    = ((global::Gtk.AttachOptions)(4));
     w27.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yspeccomboboxComplaintObject                     = new global::Gamma.Widgets.ySpecComboBox();
     this.yspeccomboboxComplaintObject.Name                = "yspeccomboboxComplaintObject";
     this.yspeccomboboxComplaintObject.AddIfNotExist       = false;
     this.yspeccomboboxComplaintObject.DefaultFirst        = false;
     this.yspeccomboboxComplaintObject.ShowSpecialStateAll = false;
     this.yspeccomboboxComplaintObject.ShowSpecialStateNot = false;
     this.table1.Add(this.yspeccomboboxComplaintObject);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.yspeccomboboxComplaintObject]));
     w28.TopAttach    = ((uint)(2));
     w28.BottomAttach = ((uint)(3));
     w28.LeftAttach   = ((uint)(1));
     w28.RightAttach  = ((uint)(2));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1]));
     w29.Position = 4;
     w29.Expand   = false;
     w29.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox1.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1]));
     w31.Position = 1;
     w31.Expand   = false;
     w31.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
コード例 #15
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ServiceDialogs.RecalculateDriverWageDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ServiceDialogs.RecalculateDriverWageDlg";
     // Container child Vodovoz.ServiceDialogs.RecalculateDriverWageDlg.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.ylabel1           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel1.Name      = "ylabel1";
     this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель");
     this.hbox1.Add(this.ylabel1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabel1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entryDriver        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.entryDriver.Events = ((global::Gdk.EventMask)(256));
     this.entryDriver.Name   = "entryDriver";
     this.hbox1.Add(this.entryDriver);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryDriver]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.ylabel2           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel2.Name      = "ylabel2";
     this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Дата МЛ с:");
     this.hbox4.Add(this.ylabel2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabel2]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.datePickerFrom                = new global::Gamma.Widgets.yDatePicker();
     this.datePickerFrom.Events         = ((global::Gdk.EventMask)(256));
     this.datePickerFrom.Name           = "datePickerFrom";
     this.datePickerFrom.WithTime       = false;
     this.datePickerFrom.Date           = new global::System.DateTime(0);
     this.datePickerFrom.IsEditable     = false;
     this.datePickerFrom.AutoSeparation = false;
     this.hbox4.Add(this.datePickerFrom);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.datePickerFrom]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.ylabel3           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel3.Name      = "ylabel3";
     this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Дата МЛ с:");
     this.hbox4.Add(this.ylabel3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabel3]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.datePickerTo                = new global::Gamma.Widgets.yDatePicker();
     this.datePickerTo.Events         = ((global::Gdk.EventMask)(256));
     this.datePickerTo.Name           = "datePickerTo";
     this.datePickerTo.WithTime       = false;
     this.datePickerTo.Date           = new global::System.DateTime(0);
     this.datePickerTo.IsEditable     = false;
     this.datePickerTo.AutoSeparation = false;
     this.hbox4.Add(this.datePickerTo);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.datePickerTo]));
     w7.Position = 3;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vbox1.Add(this.hbox4);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonRecalculate              = new global::Gamma.GtkWidgets.yButton();
     this.buttonRecalculate.CanFocus     = true;
     this.buttonRecalculate.Name         = "buttonRecalculate";
     this.buttonRecalculate.UseUnderline = true;
     this.buttonRecalculate.Label        = global::Mono.Unix.Catalog.GetString("Пересчитать ЗП водителей");
     this.hbox5.Add(this.buttonRecalculate);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRecalculate]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonRecalculateForwarder              = new global::Gamma.GtkWidgets.yButton();
     this.buttonRecalculateForwarder.CanFocus     = true;
     this.buttonRecalculateForwarder.Name         = "buttonRecalculateForwarder";
     this.buttonRecalculateForwarder.UseUnderline = true;
     this.buttonRecalculateForwarder.Label        = global::Mono.Unix.Catalog.GetString("Пересчитать ЗП экспедиторов");
     this.hbox5.Add(this.buttonRecalculateForwarder);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRecalculateForwarder]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
コード例 #16
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.SubdivisionDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.SubdivisionDlg";
     // Container child Vodovoz.SubdivisionDlg.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(7)), ((uint)(3)), false);
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.frmWarehoses            = new global::Gtk.Frame();
     this.frmWarehoses.Name       = "frmWarehoses";
     this.frmWarehoses.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frmWarehoses.Gtk.Container+ContainerChild
     this.GtkAlignment4             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.lblWarehouses            = new global::Gtk.Label();
     this.lblWarehouses.Name       = "lblWarehouses";
     this.lblWarehouses.Xalign     = 0F;
     this.lblWarehouses.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>?</b>");
     this.lblWarehouses.UseMarkup  = true;
     this.lblWarehouses.Selectable = true;
     this.GtkAlignment4.Add(this.lblWarehouses);
     this.frmWarehoses.Add(this.GtkAlignment4);
     this.GtkLabel8                = new global::Gtk.Label();
     this.GtkLabel8.Name           = "GtkLabel8";
     this.GtkLabel8.LabelProp      = global::Mono.Unix.Catalog.GetString("<b>Склады отдела:</b>");
     this.GtkLabel8.UseMarkup      = true;
     this.frmWarehoses.LabelWidget = this.GtkLabel8;
     this.table1.Add(this.frmWarehoses);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.frmWarehoses]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(6));
     w3.LeftAttach   = ((uint)(2));
     w3.RightAttach  = ((uint)(3));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 3;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.subdivisionentitypermissionwidget        = new global::Vodovoz.Core.Permissions.SubdivisionEntityPermissionWidget();
     this.subdivisionentitypermissionwidget.Events = ((global::Gdk.EventMask)(256));
     this.subdivisionentitypermissionwidget.Name   = "subdivisionentitypermissionwidget";
     this.notebook1.Add(this.subdivisionentitypermissionwidget);
     // Notebook tab
     this.labelPermissions           = new global::Gtk.Label();
     this.labelPermissions.Name      = "labelPermissions";
     this.labelPermissions.LabelProp = global::Mono.Unix.Catalog.GetString("Права доступа");
     this.notebook1.SetTabLabel(this.subdivisionentitypermissionwidget, this.labelPermissions);
     this.labelPermissions.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.repTreeChildSubdivisions          = new global::QSOrmProject.RepresentationTreeView();
     this.repTreeChildSubdivisions.CanFocus = true;
     this.repTreeChildSubdivisions.Name     = "repTreeChildSubdivisions";
     this.GtkScrolledWindow2.Add(this.repTreeChildSubdivisions);
     this.notebook1.Add(this.GtkScrolledWindow2);
     global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow2]));
     w6.Position = 1;
     // Notebook tab
     this.labelChildSubdivizions           = new global::Gtk.Label();
     this.labelChildSubdivizions.Name      = "labelChildSubdivizions";
     this.labelChildSubdivizions.LabelProp = global::Mono.Unix.Catalog.GetString("Дочерние подразделения");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow2, this.labelChildSubdivizions);
     this.labelChildSubdivizions.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxDocuments         = new global::Gtk.VBox();
     this.vboxDocuments.Name    = "vboxDocuments";
     this.vboxDocuments.Spacing = 6;
     // Container child vboxDocuments.Gtk.Box+BoxChild
     this.GtkScrolledWindow4            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow4.Name       = "GtkScrolledWindow4";
     this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
     this.ytreeviewDocuments          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewDocuments.CanFocus = true;
     this.ytreeviewDocuments.Name     = "ytreeviewDocuments";
     this.GtkScrolledWindow4.Add(this.ytreeviewDocuments);
     this.vboxDocuments.Add(this.GtkScrolledWindow4);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.GtkScrolledWindow4]));
     w8.Position = 0;
     // Container child vboxDocuments.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonAddDocument              = new global::Gamma.GtkWidgets.yButton();
     this.buttonAddDocument.CanFocus     = true;
     this.buttonAddDocument.Name         = "buttonAddDocument";
     this.buttonAddDocument.UseUnderline = true;
     this.buttonAddDocument.Label        = global::Mono.Unix.Catalog.GetString("Добавить");
     this.hbox5.Add(this.buttonAddDocument);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddDocument]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonDeleteDocument              = new global::Gamma.GtkWidgets.yButton();
     this.buttonDeleteDocument.CanFocus     = true;
     this.buttonDeleteDocument.Name         = "buttonDeleteDocument";
     this.buttonDeleteDocument.UseUnderline = true;
     this.buttonDeleteDocument.Label        = global::Mono.Unix.Catalog.GetString("Удалить");
     this.hbox5.Add(this.buttonDeleteDocument);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonDeleteDocument]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vboxDocuments.Add(this.hbox5);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.hbox5]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     this.notebook1.Add(this.vboxDocuments);
     global::Gtk.Notebook.NotebookChild w12 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxDocuments]));
     w12.Position = 2;
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Документы");
     this.notebook1.SetTabLabel(this.vboxDocuments, this.label3);
     this.label3.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxPresetPermissions         = new global::Gtk.VBox();
     this.vboxPresetPermissions.Name    = "vboxPresetPermissions";
     this.vboxPresetPermissions.Spacing = 6;
     this.notebook1.Add(this.vboxPresetPermissions);
     global::Gtk.Notebook.NotebookChild w13 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxPresetPermissions]));
     w13.Position = 3;
     // Notebook tab
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Предустановленные права");
     this.notebook1.SetTabLabel(this.vboxPresetPermissions, this.label4);
     this.label4.ShowAll();
     this.hbox3.Add(this.notebook1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.notebook1]));
     w14.Position = 0;
     this.table1.Add(this.hbox3);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3]));
     w15.TopAttach    = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.RightAttach  = ((uint)(3));
     // Container child table1.Gtk.Table+TableChild
     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 w16 = new global::Gtk.Image();
     w16.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w16;
     this.hbox4.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.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 w18 = new global::Gtk.Image();
     w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w18;
     this.hbox4.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     this.table1.Add(this.hbox4);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4]));
     w20.RightAttach = ((uint)(3));
     w20.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hboxtype         = new global::Gtk.HBox();
     this.hboxtype.Name    = "hboxtype";
     this.hboxtype.Spacing = 6;
     // Container child hboxtype.Gtk.Box+BoxChild
     this.ylabelType           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelType.Name      = "ylabelType";
     this.ylabelType.Xalign    = 1F;
     this.ylabelType.LabelProp = global::Mono.Unix.Catalog.GetString(" Тип:");
     this.hboxtype.Add(this.ylabelType);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.ylabelType]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child hboxtype.Gtk.Box+BoxChild
     this.yenumcomboType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboType.Name = "yenumcomboType";
     this.yenumcomboType.ShowSpecialStateAll = false;
     this.yenumcomboType.ShowSpecialStateNot = false;
     this.yenumcomboType.UseShortTitle       = false;
     this.yenumcomboType.DefaultFirst        = false;
     this.hboxtype.Add(this.yenumcomboType);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.yenumcomboType]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     this.table1.Add(this.hboxtype);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxtype]));
     w23.TopAttach    = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.LeftAttach   = ((uint)(2));
     w23.RightAttach  = ((uint)(3));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.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 w24 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w24.TopAttach    = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.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 w25 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w25.TopAttach    = ((uint)(3));
     w25.BottomAttach = ((uint)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelShortName           = new global::Gtk.Label();
     this.labelShortName.Name      = "labelShortName";
     this.labelShortName.Xalign    = 1F;
     this.labelShortName.LabelProp = global::Mono.Unix.Catalog.GetString("Сокращенное наименование:");
     this.table1.Add(this.labelShortName);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShortName]));
     w26.TopAttach    = ((uint)(2));
     w26.BottomAttach = ((uint)(3));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblGeographicGroup           = new global::Gtk.Label();
     this.lblGeographicGroup.Name      = "lblGeographicGroup";
     this.lblGeographicGroup.Xalign    = 1F;
     this.lblGeographicGroup.LabelProp = global::Mono.Unix.Catalog.GetString("Местоположение подразделения:");
     this.table1.Add(this.lblGeographicGroup);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGeographicGroup]));
     w27.TopAttach    = ((uint)(5));
     w27.BottomAttach = ((uint)(6));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblParent           = new global::Gtk.Label();
     this.lblParent.Name      = "lblParent";
     this.lblParent.Xalign    = 1F;
     this.lblParent.LabelProp = global::Mono.Unix.Catalog.GetString("Вышестоящее подразделение:");
     this.table1.Add(this.lblParent);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.lblParent]));
     w28.TopAttach    = ((uint)(4));
     w28.BottomAttach = ((uint)(5));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryName               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryName.CanFocus      = true;
     this.yentryName.Name          = "yentryName";
     this.yentryName.IsEditable    = true;
     this.yentryName.InvisibleChar = '●';
     this.table1.Add(this.yentryName);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName]));
     w29.TopAttach    = ((uint)(1));
     w29.BottomAttach = ((uint)(2));
     w29.LeftAttach   = ((uint)(1));
     w29.RightAttach  = ((uint)(2));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryreferenceChief        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryreferenceChief.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceChief.Name   = "yentryreferenceChief";
     this.table1.Add(this.yentryreferenceChief);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryreferenceChief]));
     w30.TopAttach    = ((uint)(3));
     w30.BottomAttach = ((uint)(4));
     w30.LeftAttach   = ((uint)(1));
     w30.RightAttach  = ((uint)(2));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryrefParentSubdivision        = new global::Gamma.Widgets.yEntryReference();
     this.yentryrefParentSubdivision.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefParentSubdivision.Name   = "yentryrefParentSubdivision";
     this.table1.Add(this.yentryrefParentSubdivision);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefParentSubdivision]));
     w31.TopAttach    = ((uint)(4));
     w31.BottomAttach = ((uint)(5));
     w31.LeftAttach   = ((uint)(1));
     w31.RightAttach  = ((uint)(2));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryShortName               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryShortName.CanFocus      = true;
     this.yentryShortName.Name          = "yentryShortName";
     this.yentryShortName.IsEditable    = true;
     this.yentryShortName.MaxLength     = 20;
     this.yentryShortName.InvisibleChar = '●';
     this.table1.Add(this.yentryShortName);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryShortName]));
     w32.TopAttach    = ((uint)(2));
     w32.BottomAttach = ((uint)(3));
     w32.LeftAttach   = ((uint)(1));
     w32.RightAttach  = ((uint)(2));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ySpecCmbGeographicGroup                     = new global::Gamma.Widgets.ySpecComboBox();
     this.ySpecCmbGeographicGroup.Name                = "ySpecCmbGeographicGroup";
     this.ySpecCmbGeographicGroup.AddIfNotExist       = false;
     this.ySpecCmbGeographicGroup.DefaultFirst        = false;
     this.ySpecCmbGeographicGroup.ShowSpecialStateAll = false;
     this.ySpecCmbGeographicGroup.ShowSpecialStateNot = true;
     this.table1.Add(this.ySpecCmbGeographicGroup);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup]));
     w33.TopAttach    = ((uint)(5));
     w33.BottomAttach = ((uint)(6));
     w33.LeftAttach   = ((uint)(1));
     w33.RightAttach  = ((uint)(2));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonAddDocument.Clicked    += new global::System.EventHandler(this.OnButtonAddDocumentClicked);
     this.buttonDeleteDocument.Clicked += new global::System.EventHandler(this.OnButtonDeleteDocumentClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ReportsParameters.Store.DefectiveItemsReport
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ReportsParameters.Store.DefectiveItemsReport";
     // Container child Vodovoz.ReportsParameters.Store.DefectiveItemsReport.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.datePeriod           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.datePeriod.Events    = ((global::Gdk.EventMask)(256));
     this.datePeriod.Name      = "datePeriod";
     this.datePeriod.StartDate = new global::System.DateTime(0);
     this.datePeriod.EndDate   = new global::System.DateTime(0);
     this.table1.Add(this.datePeriod);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.datePeriod]));
     w2.LeftAttach  = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     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.Xalign    = 1F;
     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.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 w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w5.TopAttach    = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yEntryRefDriver        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yEntryRefDriver.Events = ((global::Gdk.EventMask)(256));
     this.yEntryRefDriver.Name   = "yEntryRefDriver";
     this.table1.Add(this.yEntryRefDriver);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.yEntryRefDriver]));
     w6.TopAttach    = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yEnumCmbSource      = new global::Gamma.Widgets.yEnumComboBox();
     this.yEnumCmbSource.Name = "yEnumCmbSource";
     this.yEnumCmbSource.ShowSpecialStateAll = true;
     this.yEnumCmbSource.ShowSpecialStateNot = false;
     this.yEnumCmbSource.UseShortTitle       = false;
     this.yEnumCmbSource.DefaultFirst        = false;
     this.table1.Add(this.yEnumCmbSource);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.yEnumCmbSource]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.datePeriod.PeriodChanged += new global::System.EventHandler(this.OnDatePeriodPeriodChanged);
     this.buttonRun.Clicked        += new global::System.EventHandler(this.OnButtonRunClicked);
 }
コード例 #18
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ClientBalanceFilter
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ClientBalanceFilter";
     // Container child Vodovoz.ClientBalanceFilter.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(4)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.checkIncludeSold               = new global::Gtk.CheckButton();
     this.checkIncludeSold.CanFocus      = true;
     this.checkIncludeSold.Name          = "checkIncludeSold";
     this.checkIncludeSold.Label         = global::Mono.Unix.Catalog.GetString("Включая проданное");
     this.checkIncludeSold.DrawIndicator = true;
     this.checkIncludeSold.UseUnderline  = true;
     this.table1.Add(this.checkIncludeSold);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkIncludeSold]));
     w1.TopAttach    = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.LeftAttach   = ((uint)(1));
     w1.RightAttach  = ((uint)(2));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryClient                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entryClient.Events           = ((global::Gdk.EventMask)(256));
     this.entryClient.Name             = "entryClient";
     this.entryClient.CanEditReference = false;
     this.table1.Add(this.entryClient);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryClient]));
     w2.LeftAttach  = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryreferenceNomenclature        = new global::QSOrmProject.EntryReference();
     this.entryreferenceNomenclature.Events = ((global::Gdk.EventMask)(256));
     this.entryreferenceNomenclature.Name   = "entryreferenceNomenclature";
     this.table1.Add(this.entryreferenceNomenclature);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entryreferenceNomenclature]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach   = ((uint)(3));
     w3.RightAttach  = ((uint)(4));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryreferencePoint           = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.entryreferencePoint.Sensitive = false;
     this.entryreferencePoint.Events    = ((global::Gdk.EventMask)(256));
     this.entryreferencePoint.Name      = "entryreferencePoint";
     this.table1.Add(this.entryreferencePoint);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entryreferencePoint]));
     w4.LeftAttach  = ((uint)(3));
     w4.RightAttach = ((uint)(4));
     w4.XOptions    = ((global::Gtk.AttachOptions)(4));
     w4.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w6.LeftAttach  = ((uint)(2));
     w6.RightAttach = ((uint)(3));
     w6.XOptions    = ((global::Gtk.AttachOptions)(4));
     w6.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(2));
     w7.RightAttach  = ((uint)(3));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.entryreferencePoint.Changed += new global::System.EventHandler(this.OnEntryreferencePointChanged);
     this.entryreferenceNomenclature.ChangedByUser += new global::System.EventHandler(this.OnEntryreferenceNomenclatureChangedByUser);
     this.entryClient.Changed      += new global::System.EventHandler(this.OnEntryClientChanged);
     this.checkIncludeSold.Toggled += new global::System.EventHandler(this.OnCheckIncludeSoldToggled);
 }
コード例 #19
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Reports.EmployeesFines
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Reports.EmployeesFines";
     // Container child Vodovoz.Reports.EmployeesFines.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(9)), ((uint)(2)), false);
     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)(8));
     w1.BottomAttach = ((uint)(9));
     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::QS.Widgets.GtkUI.DateRangePicker();
     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.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.labelCategory           = new global::Gtk.Label();
     this.labelCategory.Name      = "labelCategory";
     this.labelCategory.Xalign    = 1F;
     this.labelCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Категория");
     this.table1.Add(this.labelCategory);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCategory]));
     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.radioCatAll               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Все"));
     this.radioCatAll.CanFocus      = true;
     this.radioCatAll.Name          = "radioCatAll";
     this.radioCatAll.DrawIndicator = true;
     this.radioCatAll.UseUnderline  = true;
     this.radioCatAll.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.table1.Add(this.radioCatAll);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.radioCatAll]));
     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));
     // Container child table1.Gtk.Table+TableChild
     this.radioCatDriver               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Водители"));
     this.radioCatDriver.CanFocus      = true;
     this.radioCatDriver.Name          = "radioCatDriver";
     this.radioCatDriver.DrawIndicator = true;
     this.radioCatDriver.UseUnderline  = true;
     this.radioCatDriver.Group         = this.radioCatAll.Group;
     this.table1.Add(this.radioCatDriver);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.radioCatDriver]));
     w6.TopAttach    = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radioCatForwarder               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Экспедиторы"));
     this.radioCatForwarder.CanFocus      = true;
     this.radioCatForwarder.Name          = "radioCatForwarder";
     this.radioCatForwarder.DrawIndicator = true;
     this.radioCatForwarder.UseUnderline  = true;
     this.radioCatForwarder.Group         = this.radioCatAll.Group;
     this.table1.Add(this.radioCatForwarder);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.radioCatForwarder]));
     w7.TopAttach    = ((uint)(3));
     w7.BottomAttach = ((uint)(4));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radioCatOffice               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Офисные работники"));
     this.radioCatOffice.CanFocus      = true;
     this.radioCatOffice.Name          = "radioCatOffice";
     this.radioCatOffice.DrawIndicator = true;
     this.radioCatOffice.UseUnderline  = true;
     this.radioCatOffice.Group         = this.radioCatAll.Group;
     this.table1.Add(this.radioCatOffice);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.radioCatOffice]));
     w8.TopAttach    = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryDriver        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryDriver.Events = ((global::Gdk.EventMask)(256));
     this.yentryDriver.Name   = "yentryDriver";
     this.table1.Add(this.yentryDriver);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryDriver]));
     w9.TopAttach    = ((uint)(5));
     w9.BottomAttach = ((uint)(6));
     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.ylabel2           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel2.Name      = "ylabel2";
     this.ylabel2.Xalign    = 1F;
     this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник");
     this.table1.Add(this.ylabel2);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2]));
     w10.TopAttach    = ((uint)(5));
     w10.BottomAttach = ((uint)(6));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.yentryDriver.Changed            += new global::System.EventHandler(this.OnYentryDriverChanged);
     this.radioCatOffice.Toggled          += new global::System.EventHandler(this.OnRadioCatAllToggled);
     this.radioCatForwarder.Toggled       += new global::System.EventHandler(this.OnRadioCatAllToggled);
     this.radioCatDriver.Toggled          += new global::System.EventHandler(this.OnRadioCatAllToggled);
     this.radioCatAll.Toggled             += new global::System.EventHandler(this.OnRadioCatAllToggled);
     this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler(this.OnDateperiodpicker1PeriodChanged);
     this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked);
 }
コード例 #20
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Reports.FuelReport
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Reports.FuelReport";
     // Container child Vodovoz.Reports.FuelReport.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.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.dateperiodpicker           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.dateperiodpicker.Events    = ((global::Gdk.EventMask)(256));
     this.dateperiodpicker.Name      = "dateperiodpicker";
     this.dateperiodpicker.StartDate = new global::System.DateTime(0);
     this.dateperiodpicker.EndDate   = new global::System.DateTime(0);
     this.hbox1.Add(this.dateperiodpicker);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.dateperiodpicker]));
     w2.Position = 1;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.radioDriver               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Баланс по водителям"));
     this.radioDriver.CanFocus      = true;
     this.radioDriver.Name          = "radioDriver";
     this.radioDriver.DrawIndicator = true;
     this.radioDriver.UseUnderline  = true;
     this.radioDriver.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.vbox2.Add(this.radioDriver);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioDriver]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.radioCar               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Баланс по автомобилям"));
     this.radioCar.CanFocus      = true;
     this.radioCar.Name          = "radioCar";
     this.radioCar.DrawIndicator = true;
     this.radioCar.UseUnderline  = true;
     this.radioCar.Group         = this.radioDriver.Group;
     this.vbox2.Add(this.radioCar);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioCar]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.radioSumm               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Суммарный отчет по топливу"));
     this.radioSumm.CanFocus      = true;
     this.radioSumm.Name          = "radioSumm";
     this.radioSumm.DrawIndicator = true;
     this.radioSumm.UseUnderline  = true;
     this.radioSumm.Group         = this.radioDriver.Group;
     this.vbox2.Add(this.radioSumm);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioSumm]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     this.hbox5.Add(this.vbox2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox2]));
     w7.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.yCheckButtonDatailedSummary               = new global::Gamma.GtkWidgets.yCheckButton();
     this.yCheckButtonDatailedSummary.CanFocus      = true;
     this.yCheckButtonDatailedSummary.Name          = "yCheckButtonDatailedSummary";
     this.yCheckButtonDatailedSummary.Label         = global::Mono.Unix.Catalog.GetString("Детализированный");
     this.yCheckButtonDatailedSummary.DrawIndicator = true;
     this.yCheckButtonDatailedSummary.UseUnderline  = true;
     this.vbox3.Add(this.yCheckButtonDatailedSummary);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.yCheckButtonDatailedSummary]));
     w8.PackType = ((global::Gtk.PackType)(1));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     this.hbox5.Add(this.vbox3);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox3]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hboxDriver         = new global::Gtk.HBox();
     this.hboxDriver.Name    = "hboxDriver";
     this.hboxDriver.Spacing = 6;
     // Container child hboxDriver.Gtk.Box+BoxChild
     this.labelDriver           = new global::Gtk.Label();
     this.labelDriver.Name      = "labelDriver";
     this.labelDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:");
     this.hboxDriver.Add(this.labelDriver);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxDriver[this.labelDriver]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hboxDriver.Gtk.Box+BoxChild
     this.yentryreferenceDriver        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryreferenceDriver.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceDriver.Name   = "yentryreferenceDriver";
     this.hboxDriver.Add(this.yentryreferenceDriver);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxDriver[this.yentryreferenceDriver]));
     w12.Position = 1;
     this.vbox1.Add(this.hboxDriver);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxDriver]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hboxCar         = new global::Gtk.HBox();
     this.hboxCar.Name    = "hboxCar";
     this.hboxCar.Spacing = 6;
     // Container child hboxCar.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:");
     this.hboxCar.Add(this.label2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxCar[this.label2]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hboxCar.Gtk.Box+BoxChild
     this.entityviewmodelentryCar                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityviewmodelentryCar.Events           = ((global::Gdk.EventMask)(256));
     this.entityviewmodelentryCar.Name             = "entityviewmodelentryCar";
     this.entityviewmodelentryCar.CanEditReference = true;
     this.hboxCar.Add(this.entityviewmodelentryCar);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxCar[this.entityviewmodelentryCar]));
     w15.Position = 1;
     this.vbox1.Add(this.hboxCar);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxCar]));
     w16.Position = 3;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hboxAuthor         = new global::Gtk.HBox();
     this.hboxAuthor.Name    = "hboxAuthor";
     this.hboxAuthor.Spacing = 6;
     // Container child hboxAuthor.Gtk.Box+BoxChild
     this.labelAuthor           = new global::Gtk.Label();
     this.labelAuthor.Name      = "labelAuthor";
     this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:");
     this.hboxAuthor.Add(this.labelAuthor);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.labelAuthor]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hboxAuthor.Gtk.Box+BoxChild
     this.yentryAuthor        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryAuthor.Events = ((global::Gdk.EventMask)(256));
     this.yentryAuthor.Name   = "yentryAuthor";
     this.hboxAuthor.Add(this.yentryAuthor);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.yentryAuthor]));
     w18.Position = 1;
     this.vbox1.Add(this.hboxAuthor);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxAuthor]));
     w19.Position = 4;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.buttonCreateReport              = new global::Gtk.Button();
     this.buttonCreateReport.CanFocus     = true;
     this.buttonCreateReport.Name         = "buttonCreateReport";
     this.buttonCreateReport.UseUnderline = true;
     this.buttonCreateReport.Label        = global::Mono.Unix.Catalog.GetString("Сформировать отчет");
     this.vbox1.Add(this.buttonCreateReport);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateReport]));
     w20.Position = 6;
     w20.Expand   = false;
     w20.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.yCheckButtonDatailedSummary.Hide();
     this.hboxCar.Hide();
     this.hboxAuthor.Hide();
     this.Hide();
     this.radioDriver.Toggled        += new global::System.EventHandler(this.OnRadioDriverToggled);
     this.radioCar.Toggled           += new global::System.EventHandler(this.OnRadioCarToggled);
     this.radioSumm.Toggled          += new global::System.EventHandler(this.OnRadioSummToggled);
     this.buttonCreateReport.Clicked += new global::System.EventHandler(this.OnButtonCreateReportClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.JournalFilters.QueryFilterViews.CashIncomeFilterView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.JournalFilters.QueryFilterViews.CashIncomeFilterView";
     // Container child Vodovoz.JournalFilters.QueryFilterViews.CashIncomeFilterView.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(4)), false);
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.entryExpenseCategory        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.entryExpenseCategory.Events = ((global::Gdk.EventMask)(256));
     this.entryExpenseCategory.Name   = "entryExpenseCategory";
     this.table1.Add(this.entryExpenseCategory);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entryExpenseCategory]));
     w1.TopAttach    = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.LeftAttach   = ((uint)(3));
     w1.RightAttach  = ((uint)(4));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryIncomeCategory        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.entryIncomeCategory.Events = ((global::Gdk.EventMask)(256));
     this.entryIncomeCategory.Name   = "entryIncomeCategory";
     this.table1.Add(this.entryIncomeCategory);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryIncomeCategory]));
     w2.LeftAttach  = ((uint)(3));
     w2.RightAttach = ((uint)(4));
     w2.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.evmeEmployee                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.evmeEmployee.Events           = ((global::Gdk.EventMask)(256));
     this.evmeEmployee.Name             = "evmeEmployee";
     this.evmeEmployee.CanEditReference = true;
     this.table1.Add(this.evmeEmployee);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeEmployee]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     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.Xalign    = 1F;
     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.LeftAttach  = ((uint)(2));
     w4.RightAttach = ((uint)(3));
     w4.XOptions    = ((global::Gtk.AttachOptions)(4));
     w4.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 w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.LeftAttach   = ((uint)(2));
     w5.RightAttach  = ((uint)(3));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydateperiodPicker           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.ydateperiodPicker.Events    = ((global::Gdk.EventMask)(256));
     this.ydateperiodPicker.Name      = "ydateperiodPicker";
     this.ydateperiodPicker.StartDate = new global::System.DateTime(0);
     this.ydateperiodPicker.EndDate   = new global::System.DateTime(0);
     this.table1.Add(this.ydateperiodPicker);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateperiodPicker]));
     w8.LeftAttach  = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
コード例 #22
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.JournalFilters.UndeliveredOrdersFilter
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.JournalFilters.UndeliveredOrdersFilter";
     // Container child Vodovoz.JournalFilters.UndeliveredOrdersFilter.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(5)), ((uint)(6)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.AuthorSubdivisionEntityviewmodelentry                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.AuthorSubdivisionEntityviewmodelentry.Events           = ((global::Gdk.EventMask)(256));
     this.AuthorSubdivisionEntityviewmodelentry.Name             = "AuthorSubdivisionEntityviewmodelentry";
     this.AuthorSubdivisionEntityviewmodelentry.CanEditReference = false;
     this.table1.Add(this.AuthorSubdivisionEntityviewmodelentry);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.AuthorSubdivisionEntityviewmodelentry]));
     w1.TopAttach    = ((uint)(4));
     w1.BottomAttach = ((uint)(5));
     w1.LeftAttach   = ((uint)(3));
     w1.RightAttach  = ((uint)(4));
     w1.XOptions     = ((global::Gtk.AttachOptions)(4));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.chkProblematicCases               = new global::Gamma.GtkWidgets.yCheckButton();
     this.chkProblematicCases.CanFocus      = true;
     this.chkProblematicCases.Name          = "chkProblematicCases";
     this.chkProblematicCases.Label         = global::Mono.Unix.Catalog.GetString("Только проблемные случаи");
     this.chkProblematicCases.DrawIndicator = true;
     this.chkProblematicCases.UseUnderline  = true;
     this.table1.Add(this.chkProblematicCases);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.chkProblematicCases]));
     w2.TopAttach    = ((uint)(4));
     w2.BottomAttach = ((uint)(5));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateperiodNewOrderDate           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.dateperiodNewOrderDate.Events    = ((global::Gdk.EventMask)(256));
     this.dateperiodNewOrderDate.Name      = "dateperiodNewOrderDate";
     this.dateperiodNewOrderDate.StartDate = new global::System.DateTime(0);
     this.dateperiodNewOrderDate.EndDate   = new global::System.DateTime(0);
     this.table1.Add(this.dateperiodNewOrderDate);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodNewOrderDate]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach   = ((uint)(3));
     w3.RightAttach  = ((uint)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateperiodOldOrderDate           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.dateperiodOldOrderDate.Events    = ((global::Gdk.EventMask)(256));
     this.dateperiodOldOrderDate.Name      = "dateperiodOldOrderDate";
     this.dateperiodOldOrderDate.StartDate = new global::System.DateTime(0);
     this.dateperiodOldOrderDate.EndDate   = new global::System.DateTime(0);
     this.table1.Add(this.dateperiodOldOrderDate);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodOldOrderDate]));
     w4.TopAttach    = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach   = ((uint)(3));
     w4.RightAttach  = ((uint)(4));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entityVMEntryDeliveryPoint                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityVMEntryDeliveryPoint.Events           = ((global::Gdk.EventMask)(256));
     this.entityVMEntryDeliveryPoint.Name             = "entityVMEntryDeliveryPoint";
     this.entityVMEntryDeliveryPoint.CanEditReference = true;
     this.table1.Add(this.entityVMEntryDeliveryPoint);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryDeliveryPoint]));
     w5.TopAttach    = ((uint)(3));
     w5.BottomAttach = ((uint)(4));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.enumCMBUndeliveryStatus      = new global::Gamma.Widgets.yEnumComboBox();
     this.enumCMBUndeliveryStatus.Name = "enumCMBUndeliveryStatus";
     this.enumCMBUndeliveryStatus.ShowSpecialStateAll = true;
     this.enumCMBUndeliveryStatus.ShowSpecialStateNot = false;
     this.enumCMBUndeliveryStatus.UseShortTitle       = false;
     this.enumCMBUndeliveryStatus.DefaultFirst        = false;
     this.table1.Add(this.enumCMBUndeliveryStatus);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.enumCMBUndeliveryStatus]));
     w6.LeftAttach  = ((uint)(5));
     w6.RightAttach = ((uint)(6));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblActionAuthorSubdivision           = new global::Gtk.Label();
     this.lblActionAuthorSubdivision.Name      = "lblActionAuthorSubdivision";
     this.lblActionAuthorSubdivision.Xalign    = 1F;
     this.lblActionAuthorSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение автора:");
     this.table1.Add(this.lblActionAuthorSubdivision);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.lblActionAuthorSubdivision]));
     w7.TopAttach    = ((uint)(4));
     w7.BottomAttach = ((uint)(5));
     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.lblActionWithInvoice           = new global::Gtk.Label();
     this.lblActionWithInvoice.Name      = "lblActionWithInvoice";
     this.lblActionWithInvoice.Xalign    = 1F;
     this.lblActionWithInvoice.LabelProp = global::Mono.Unix.Catalog.GetString("Действие с накладной:");
     this.table1.Add(this.lblActionWithInvoice);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.lblActionWithInvoice]));
     w8.TopAttach    = ((uint)(3));
     w8.BottomAttach = ((uint)(4));
     w8.LeftAttach   = ((uint)(2));
     w8.RightAttach  = ((uint)(3));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblClient           = new global::Gtk.Label();
     this.lblClient.Name      = "lblClient";
     this.lblClient.Xalign    = 1F;
     this.lblClient.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:");
     this.table1.Add(this.lblClient);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.lblClient]));
     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.lblDeliveryPoint           = new global::Gtk.Label();
     this.lblDeliveryPoint.Name      = "lblDeliveryPoint";
     this.lblDeliveryPoint.Xalign    = 1F;
     this.lblDeliveryPoint.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес:");
     this.table1.Add(this.lblDeliveryPoint);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDeliveryPoint]));
     w10.TopAttach    = ((uint)(3));
     w10.BottomAttach = ((uint)(4));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblDriver           = new global::Gtk.Label();
     this.lblDriver.Name      = "lblDriver";
     this.lblDriver.Xalign    = 1F;
     this.lblDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:");
     this.table1.Add(this.lblDriver);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDriver]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblGuilty           = new global::Gtk.Label();
     this.lblGuilty.Name      = "lblGuilty";
     this.lblGuilty.Xalign    = 1F;
     this.lblGuilty.LabelProp = global::Mono.Unix.Catalog.GetString("Виновник:");
     this.table1.Add(this.lblGuilty);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGuilty]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach   = ((uint)(4));
     w12.RightAttach  = ((uint)(5));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblGuiltyDep           = new global::Gtk.Label();
     this.lblGuiltyDep.Name      = "lblGuiltyDep";
     this.lblGuiltyDep.Xalign    = 1F;
     this.lblGuiltyDep.LabelProp = global::Mono.Unix.Catalog.GetString("Отдел:");
     this.table1.Add(this.lblGuiltyDep);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGuiltyDep]));
     w13.TopAttach    = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(4));
     w13.RightAttach  = ((uint)(5));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblInProcessAt           = new global::Gtk.Label();
     this.lblInProcessAt.Name      = "lblInProcessAt";
     this.lblInProcessAt.Xalign    = 1F;
     this.lblInProcessAt.LabelProp = global::Mono.Unix.Catalog.GetString("В работе у отд.:");
     this.table1.Add(this.lblInProcessAt);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.lblInProcessAt]));
     w14.TopAttach    = ((uint)(4));
     w14.BottomAttach = ((uint)(5));
     w14.LeftAttach   = ((uint)(4));
     w14.RightAttach  = ((uint)(5));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblNewOrderDate           = new global::Gtk.Label();
     this.lblNewOrderDate.Name      = "lblNewOrderDate";
     this.lblNewOrderDate.Xalign    = 1F;
     this.lblNewOrderDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата переноса:");
     this.table1.Add(this.lblNewOrderDate);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.lblNewOrderDate]));
     w15.TopAttach    = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     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.lblOldOrder           = new global::Gtk.Label();
     this.lblOldOrder.Name      = "lblOldOrder";
     this.lblOldOrder.Xalign    = 1F;
     this.lblOldOrder.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ:");
     this.table1.Add(this.lblOldOrder);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.lblOldOrder]));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblOldOrderAuthor           = new global::Gtk.Label();
     this.lblOldOrderAuthor.Name      = "lblOldOrderAuthor";
     this.lblOldOrderAuthor.Xalign    = 1F;
     this.lblOldOrderAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор заказа:");
     this.table1.Add(this.lblOldOrderAuthor);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.lblOldOrderAuthor]));
     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.lblOldOrderDate           = new global::Gtk.Label();
     this.lblOldOrderDate.Name      = "lblOldOrderDate";
     this.lblOldOrderDate.Xalign    = 1F;
     this.lblOldOrderDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:");
     this.table1.Add(this.lblOldOrderDate);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.lblOldOrderDate]));
     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 table1.Gtk.Table+TableChild
     this.lblUndeliveryAuthor           = new global::Gtk.Label();
     this.lblUndeliveryAuthor.Name      = "lblUndeliveryAuthor";
     this.lblUndeliveryAuthor.Xalign    = 1F;
     this.lblUndeliveryAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор недовоза:");
     this.table1.Add(this.lblUndeliveryAuthor);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.lblUndeliveryAuthor]));
     w19.TopAttach    = ((uint)(3));
     w19.BottomAttach = ((uint)(4));
     w19.LeftAttach   = ((uint)(4));
     w19.RightAttach  = ((uint)(5));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblUndeliveryStatus           = new global::Gtk.Label();
     this.lblUndeliveryStatus.Name      = "lblUndeliveryStatus";
     this.lblUndeliveryStatus.Xalign    = 1F;
     this.lblUndeliveryStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус недовоза:");
     this.table1.Add(this.lblUndeliveryStatus);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.lblUndeliveryStatus]));
     w20.LeftAttach  = ((uint)(4));
     w20.RightAttach = ((uint)(5));
     w20.XOptions    = ((global::Gtk.AttachOptions)(4));
     w20.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.refClient        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.refClient.Events = ((global::Gdk.EventMask)(256));
     this.refClient.Name   = "refClient";
     this.table1.Add(this.refClient);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.refClient]));
     w21.TopAttach    = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.refDriver        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.refDriver.Events = ((global::Gdk.EventMask)(256));
     this.refDriver.Name   = "refDriver";
     this.table1.Add(this.refDriver);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.refDriver]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(1));
     w22.RightAttach  = ((uint)(2));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.refOldOrder        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.refOldOrder.Events = ((global::Gdk.EventMask)(256));
     this.refOldOrder.Name   = "refOldOrder";
     this.table1.Add(this.refOldOrder);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.refOldOrder]));
     w23.LeftAttach  = ((uint)(1));
     w23.RightAttach = ((uint)(2));
     w23.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.refOldOrderAuthor        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.refOldOrderAuthor.Events = ((global::Gdk.EventMask)(256));
     this.refOldOrderAuthor.Name   = "refOldOrderAuthor";
     this.table1.Add(this.refOldOrderAuthor);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.refOldOrderAuthor]));
     w24.LeftAttach  = ((uint)(3));
     w24.RightAttach = ((uint)(4));
     w24.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.refUndeliveryAuthor        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.refUndeliveryAuthor.Events = ((global::Gdk.EventMask)(256));
     this.refUndeliveryAuthor.Name   = "refUndeliveryAuthor";
     this.table1.Add(this.refUndeliveryAuthor);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.refUndeliveryAuthor]));
     w25.TopAttach    = ((uint)(3));
     w25.BottomAttach = ((uint)(4));
     w25.LeftAttach   = ((uint)(5));
     w25.RightAttach  = ((uint)(6));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yEnumCMBActionWithInvoice      = new global::Gamma.Widgets.yEnumComboBox();
     this.yEnumCMBActionWithInvoice.Name = "yEnumCMBActionWithInvoice";
     this.yEnumCMBActionWithInvoice.ShowSpecialStateAll = true;
     this.yEnumCMBActionWithInvoice.ShowSpecialStateNot = false;
     this.yEnumCMBActionWithInvoice.UseShortTitle       = false;
     this.yEnumCMBActionWithInvoice.DefaultFirst        = false;
     this.table1.Add(this.yEnumCMBActionWithInvoice);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yEnumCMBActionWithInvoice]));
     w26.TopAttach    = ((uint)(3));
     w26.BottomAttach = ((uint)(4));
     w26.LeftAttach   = ((uint)(3));
     w26.RightAttach  = ((uint)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yEnumCMBGuilty      = new global::Gamma.Widgets.yEnumComboBox();
     this.yEnumCMBGuilty.Name = "yEnumCMBGuilty";
     this.yEnumCMBGuilty.ShowSpecialStateAll = true;
     this.yEnumCMBGuilty.ShowSpecialStateNot = false;
     this.yEnumCMBGuilty.UseShortTitle       = false;
     this.yEnumCMBGuilty.DefaultFirst        = false;
     this.table1.Add(this.yEnumCMBGuilty);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.yEnumCMBGuilty]));
     w27.TopAttach    = ((uint)(1));
     w27.BottomAttach = ((uint)(2));
     w27.LeftAttach   = ((uint)(5));
     w27.RightAttach  = ((uint)(6));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ySpecCMBGuiltyDep                     = new global::Gamma.Widgets.ySpecComboBox();
     this.ySpecCMBGuiltyDep.Name                = "ySpecCMBGuiltyDep";
     this.ySpecCMBGuiltyDep.AddIfNotExist       = false;
     this.ySpecCMBGuiltyDep.DefaultFirst        = false;
     this.ySpecCMBGuiltyDep.ShowSpecialStateAll = true;
     this.ySpecCMBGuiltyDep.ShowSpecialStateNot = false;
     this.table1.Add(this.ySpecCMBGuiltyDep);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCMBGuiltyDep]));
     w28.TopAttach    = ((uint)(2));
     w28.BottomAttach = ((uint)(3));
     w28.LeftAttach   = ((uint)(5));
     w28.RightAttach  = ((uint)(6));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ySpecCMBinProcessAt                     = new global::Gamma.Widgets.ySpecComboBox();
     this.ySpecCMBinProcessAt.Name                = "ySpecCMBinProcessAt";
     this.ySpecCMBinProcessAt.AddIfNotExist       = false;
     this.ySpecCMBinProcessAt.DefaultFirst        = false;
     this.ySpecCMBinProcessAt.ShowSpecialStateAll = true;
     this.ySpecCMBinProcessAt.ShowSpecialStateNot = false;
     this.table1.Add(this.ySpecCMBinProcessAt);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCMBinProcessAt]));
     w29.TopAttach    = ((uint)(4));
     w29.BottomAttach = ((uint)(5));
     w29.LeftAttach   = ((uint)(5));
     w29.RightAttach  = ((uint)(6));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.ySpecCMBinProcessAt.ItemSelected           += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYSpecCMBinProcessAtItemSelected);
     this.ySpecCMBGuiltyDep.ItemSelected             += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYSpecCMBGuiltyDepItemSelected);
     this.yEnumCMBGuilty.EnumItemSelected            += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYEnumCMBGuiltyEnumItemSelected);
     this.yEnumCMBActionWithInvoice.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYEnumCMBActionWithInvoiceEnumItemSelected);
     this.refUndeliveryAuthor.Changed += new global::System.EventHandler(this.OnRefUndeliveryAuthorChanged);
     this.refOldOrderAuthor.Changed   += new global::System.EventHandler(this.OnRefOldOrderAuthorChanged);
     this.refOldOrder.Changed         += new global::System.EventHandler(this.OnRefOldOrderChanged);
     this.refDriver.Changed           += new global::System.EventHandler(this.OnRefDriverChanged);
     this.refClient.Changed           += new global::System.EventHandler(this.OnRefClientChanged);
     this.enumCMBUndeliveryStatus.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumCMBUndeliveryStatusEnumItemSelected);
     this.entityVMEntryDeliveryPoint.Changed       += new global::System.EventHandler(this.OnEntityVMEntryDeliveryPointChanged);
     this.dateperiodOldOrderDate.PeriodChanged     += new global::System.EventHandler(this.OnDateperiodOldOrderDatePeriodChanged);
     this.dateperiodNewOrderDate.PeriodChanged     += new global::System.EventHandler(this.OnDateperiodNewOrderDatePeriodChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ReportsParameters.PlanImplementationReport
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ReportsParameters.PlanImplementationReport";
     // Container child Vodovoz.ReportsParameters.PlanImplementationReport.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Тип даты:");
     this.label2.Justify   = ((global::Gtk.Justification)(1));
     this.hbox5.Add(this.label2);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label2]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.comboTypeOfDate      = new global::Gamma.Widgets.yEnumComboBox();
     this.comboTypeOfDate.Name = "comboTypeOfDate";
     this.comboTypeOfDate.ShowSpecialStateAll = false;
     this.comboTypeOfDate.ShowSpecialStateNot = false;
     this.comboTypeOfDate.UseShortTitle       = false;
     this.comboTypeOfDate.DefaultFirst        = false;
     this.hbox5.Add(this.comboTypeOfDate);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.comboTypeOfDate]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // 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.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.dateperiodpicker           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.dateperiodpicker.Events    = ((global::Gdk.EventMask)(256));
     this.dateperiodpicker.Name      = "dateperiodpicker";
     this.dateperiodpicker.StartDate = new global::System.DateTime(0);
     this.dateperiodpicker.EndDate   = new global::System.DateTime(0);
     this.hbox1.Add(this.dateperiodpicker);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.dateperiodpicker]));
     w5.Position = 1;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w6.Position = 1;
     w6.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.lblPlanType           = new global::Gtk.Label();
     this.lblPlanType.Name      = "lblPlanType";
     this.lblPlanType.Xalign    = 1F;
     this.lblPlanType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип плана:");
     this.hbox4.Add(this.lblPlanType);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.lblPlanType]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.lstCmbPlanType                     = new global::QS.Widgets.GtkUI.SpecialListComboBox();
     this.lstCmbPlanType.Name                = "lstCmbPlanType";
     this.lstCmbPlanType.AddIfNotExist       = false;
     this.lstCmbPlanType.DefaultFirst        = false;
     this.lstCmbPlanType.ShowSpecialStateAll = false;
     this.lstCmbPlanType.ShowSpecialStateNot = false;
     this.hbox4.Add(this.lstCmbPlanType);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.lstCmbPlanType]));
     w8.Position = 1;
     this.vbox1.Add(this.hbox4);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hboxDriver         = new global::Gtk.HBox();
     this.hboxDriver.Name    = "hboxDriver";
     this.hboxDriver.Spacing = 6;
     // Container child hboxDriver.Gtk.Box+BoxChild
     this.lblEmployee           = new global::Gtk.Label();
     this.lblEmployee.Name      = "lblEmployee";
     this.lblEmployee.Xalign    = 1F;
     this.lblEmployee.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:");
     this.hboxDriver.Add(this.lblEmployee);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxDriver[this.lblEmployee]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hboxDriver.Gtk.Box+BoxChild
     this.yEntRefEmployee        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yEntRefEmployee.Events = ((global::Gdk.EventMask)(256));
     this.yEntRefEmployee.Name   = "yEntRefEmployee";
     this.hboxDriver.Add(this.yEntRefEmployee);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxDriver[this.yEntRefEmployee]));
     w11.Position = 1;
     this.vbox1.Add(this.hboxDriver);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxDriver]));
     w12.Position = 3;
     w12.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.lblEmployeePlan      = new global::Gamma.GtkWidgets.yLabel();
     this.lblEmployeePlan.Name = "lblEmployeePlan";
     this.vbox1.Add(this.lblEmployeePlan);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.lblEmployeePlan]));
     w13.Position = 4;
     w13.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.buttonCreateReport              = new global::Gtk.Button();
     this.buttonCreateReport.CanFocus     = true;
     this.buttonCreateReport.Name         = "buttonCreateReport";
     this.buttonCreateReport.UseUnderline = true;
     this.buttonCreateReport.Label        = global::Mono.Unix.Catalog.GetString("Сформировать отчет");
     this.vbox1.Add(this.buttonCreateReport);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateReport]));
     w14.PackType = ((global::Gtk.PackType)(1));
     w14.Position = 5;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonCreateReport.Clicked += new global::System.EventHandler(this.OnButtonCreateReportClicked);
 }
コード例 #24
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.FineDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.FineDlg";
     // Container child Vodovoz.FineDlg.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.btnCancel              = new global::Gtk.Button();
     this.btnCancel.CanFocus     = true;
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.UseUnderline = true;
     this.btnCancel.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.btnCancel.Image = w3;
     this.hbox5.Add(this.btnCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.btnCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox4.Add(this.hbox5);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.tableWriteoff               = new global::Gtk.Table(((uint)(4)), ((uint)(6)), false);
     this.tableWriteoff.Name          = "tableWriteoff";
     this.tableWriteoff.RowSpacing    = ((uint)(6));
     this.tableWriteoff.ColumnSpacing = ((uint)(6));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.btnShowUndelivery              = new global::Gtk.Button();
     this.btnShowUndelivery.CanFocus     = true;
     this.btnShowUndelivery.Name         = "btnShowUndelivery";
     this.btnShowUndelivery.UseUnderline = true;
     this.btnShowUndelivery.Label        = global::Mono.Unix.Catalog.GetString("Перейти в недовоз");
     this.tableWriteoff.Add(this.btnShowUndelivery);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.btnShowUndelivery]));
     w6.TopAttach    = ((uint)(3));
     w6.BottomAttach = ((uint)(4));
     w6.LeftAttach   = ((uint)(4));
     w6.RightAttach  = ((uint)(5));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.enumFineType      = new global::Gamma.Widgets.yEnumComboBox();
     this.enumFineType.Name = "enumFineType";
     this.enumFineType.ShowSpecialStateAll = false;
     this.enumFineType.ShowSpecialStateNot = false;
     this.enumFineType.UseShortTitle       = false;
     this.enumFineType.DefaultFirst        = false;
     this.hbox3.Add(this.enumFineType);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.enumFineType]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.labelOverspending           = new global::Gtk.Label();
     this.labelOverspending.Name      = "labelOverspending";
     this.labelOverspending.LabelProp = global::Mono.Unix.Catalog.GetString("Перерасход (л.):");
     this.hbox3.Add(this.labelOverspending);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelOverspending]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.yspinLiters          = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D);
     this.yspinLiters.CanFocus = true;
     this.yspinLiters.Name     = "yspinLiters";
     this.yspinLiters.Adjustment.PageIncrement = 10D;
     this.yspinLiters.ClimbRate      = 1D;
     this.yspinLiters.Digits         = ((uint)(2));
     this.yspinLiters.Numeric        = true;
     this.yspinLiters.ValueAsDecimal = 0m;
     this.yspinLiters.ValueAsInt     = 0;
     this.hbox3.Add(this.yspinLiters);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yspinLiters]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.labelRequestRouteList           = new global::Gtk.Label();
     this.labelRequestRouteList.Name      = "labelRequestRouteList";
     this.labelRequestRouteList.LabelProp = global::Mono.Unix.Catalog.GetString("<span color=\"red\">Необходимо выбрать маршрутный лист</span>");
     this.labelRequestRouteList.UseMarkup = true;
     this.hbox3.Add(this.labelRequestRouteList);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelRequestRouteList]));
     w10.Position = 3;
     w10.Expand   = false;
     w10.Fill     = false;
     this.tableWriteoff.Add(this.hbox3);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox3]));
     w11.LeftAttach  = ((uint)(1));
     w11.RightAttach = ((uint)(4));
     w11.XOptions    = ((global::Gtk.AttachOptions)(4));
     w11.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.yentryFineReasonString               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryFineReasonString.CanFocus      = true;
     this.yentryFineReasonString.Name          = "yentryFineReasonString";
     this.yentryFineReasonString.IsEditable    = true;
     this.yentryFineReasonString.InvisibleChar = '●';
     this.hbox4.Add(this.yentryFineReasonString);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yentryFineReasonString]));
     w12.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonGetReasonFromTemplate              = new global::Gtk.Button();
     this.buttonGetReasonFromTemplate.CanFocus     = true;
     this.buttonGetReasonFromTemplate.Name         = "buttonGetReasonFromTemplate";
     this.buttonGetReasonFromTemplate.UseUnderline = true;
     this.buttonGetReasonFromTemplate.Label        = global::Mono.Unix.Catalog.GetString("Заполнить из шаблона");
     this.hbox4.Add(this.buttonGetReasonFromTemplate);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonGetReasonFromTemplate]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.tableWriteoff.Add(this.hbox4);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox4]));
     w14.TopAttach    = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(4));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yspinMoney          = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D);
     this.yspinMoney.CanFocus = true;
     this.yspinMoney.Name     = "yspinMoney";
     this.yspinMoney.Adjustment.PageIncrement = 100D;
     this.yspinMoney.ClimbRate      = 1D;
     this.yspinMoney.Digits         = ((uint)(2));
     this.yspinMoney.Numeric        = true;
     this.yspinMoney.ValueAsDecimal = 0m;
     this.yspinMoney.ValueAsInt     = 0;
     this.hbox6.Add(this.yspinMoney);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.currencylabel1           = new global::QSProjectsLib.CurrencyLabel();
     this.currencylabel1.Name      = "currencylabel1";
     this.currencylabel1.LabelProp = "currencylabel1";
     this.hbox6.Add(this.currencylabel1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.buttonDivideAtAll              = new global::Gtk.Button();
     this.buttonDivideAtAll.CanFocus     = true;
     this.buttonDivideAtAll.Name         = "buttonDivideAtAll";
     this.buttonDivideAtAll.UseUnderline = true;
     this.buttonDivideAtAll.Label        = global::Mono.Unix.Catalog.GetString("Разбить на всех");
     this.hbox6.Add(this.buttonDivideAtAll);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonDivideAtAll]));
     w17.Position = 2;
     w17.Expand   = false;
     w17.Fill     = false;
     this.tableWriteoff.Add(this.hbox6);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox6]));
     w18.TopAttach    = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.LeftAttach   = ((uint)(3));
     w18.RightAttach  = ((uint)(4));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.ylabelDate           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelDate.Name      = "ylabelDate";
     this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1");
     this.hbox7.Add(this.ylabelDate);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ylabelDate]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.ydatepicker                = new global::Gamma.Widgets.yDatePicker();
     this.ydatepicker.Events         = ((global::Gdk.EventMask)(256));
     this.ydatepicker.Name           = "ydatepicker";
     this.ydatepicker.WithTime       = false;
     this.ydatepicker.Date           = new global::System.DateTime(0);
     this.ydatepicker.IsEditable     = false;
     this.ydatepicker.AutoSeparation = false;
     this.hbox7.Add(this.ydatepicker);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ydatepicker]));
     w20.Position = 1;
     this.tableWriteoff.Add(this.hbox7);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox7]));
     w21.TopAttach    = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.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 w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1]));
     w22.TopAttach    = ((uint)(2));
     w22.BottomAttach = ((uint)(3));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Причина штрафа:");
     this.tableWriteoff.Add(this.label3);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label3]));
     w23.TopAttach    = ((uint)(3));
     w23.BottomAttach = ((uint)(4));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.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 w24 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4]));
     w24.TopAttach    = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.LeftAttach   = ((uint)(2));
     w24.RightAttach  = ((uint)(3));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.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.LabelProp = global::Mono.Unix.Catalog.GetString("№ МЛ");
     this.tableWriteoff.Add(this.label5);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5]));
     w25.TopAttach    = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.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 w26 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label6]));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.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 w27 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label7]));
     w27.LeftAttach  = ((uint)(4));
     w27.RightAttach = ((uint)(5));
     w27.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.yentryreferenceRouteList        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryreferenceRouteList.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceRouteList.Name   = "yentryreferenceRouteList";
     this.tableWriteoff.Add(this.yentryreferenceRouteList);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryreferenceRouteList]));
     w28.TopAttach    = ((uint)(1));
     w28.BottomAttach = ((uint)(2));
     w28.LeftAttach   = ((uint)(1));
     w28.RightAttach  = ((uint)(4));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.ylabelAuthor           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelAuthor.Name      = "ylabelAuthor";
     this.ylabelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("author");
     this.tableWriteoff.Add(this.ylabelAuthor);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ylabelAuthor]));
     w29.LeftAttach  = ((uint)(5));
     w29.RightAttach = ((uint)(6));
     w29.XOptions    = ((global::Gtk.AttachOptions)(4));
     w29.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add(this.tableWriteoff);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableWriteoff]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.fineitemsview1                    = new global::Vodovoz.FineItemsView();
     this.fineitemsview1.Events             = ((global::Gdk.EventMask)(256));
     this.fineitemsview1.Name               = "fineitemsview1";
     this.fineitemsview1.IsFuelOverspending = false;
     this.vbox4.Add(this.fineitemsview1);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.fineitemsview1]));
     w31.Position = 2;
     this.Add(this.vbox4);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.btnShowUndelivery.Hide();
     this.Hide();
     this.yentryreferenceRouteList.ChangedByUser += new global::System.EventHandler(this.OnYentryreferenceRouteListChangedByUser);
     this.buttonDivideAtAll.Clicked           += new global::System.EventHandler(this.OnButtonDivideAtAllClicked);
     this.buttonGetReasonFromTemplate.Clicked += new global::System.EventHandler(this.OnButtonGetReasonFromTemplateClicked);
     this.enumFineType.ChangedByUser          += new global::System.EventHandler(this.OnEnumFineTypeChangedByUser);
     this.yspinLiters.ValueChanged            += new global::System.EventHandler(this.OnYspinLitersValueChanged);
     this.btnShowUndelivery.Clicked           += new global::System.EventHandler(this.OnBtnShowUndeliveryClicked);
 }
コード例 #25
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.RouteListCreateDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.RouteListCreateDlg";
     // Container child Vodovoz.RouteListCreateDlg.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 6;
     this.vbox1.BorderWidth = ((uint)(6));
     // Container child vbox1.Gtk.Box+BoxChild
     this.dataRouteList               = new global::Gtk.Table(((uint)(6)), ((uint)(7)), false);
     this.dataRouteList.Name          = "dataRouteList";
     this.dataRouteList.RowSpacing    = ((uint)(6));
     this.dataRouteList.ColumnSpacing = ((uint)(6));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.datepickerDate                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.datepickerDate.Events             = ((global::Gdk.EventMask)(256));
     this.datepickerDate.Name               = "datepickerDate";
     this.datepickerDate.WithTime           = false;
     this.datepickerDate.HideCalendarButton = false;
     this.datepickerDate.Date               = new global::System.DateTime(0);
     this.datepickerDate.IsEditable         = true;
     this.datepickerDate.AutoSeparation     = true;
     this.dataRouteList.Add(this.datepickerDate);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.datepickerDate]));
     w1.TopAttach    = ((uint)(3));
     w1.BottomAttach = ((uint)(4));
     w1.LeftAttach   = ((uint)(1));
     w1.RightAttach  = ((uint)(2));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.entityviewmodelentryCar                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityviewmodelentryCar.Events           = ((global::Gdk.EventMask)(256));
     this.entityviewmodelentryCar.Name             = "entityviewmodelentryCar";
     this.entityviewmodelentryCar.CanEditReference = true;
     this.dataRouteList.Add(this.entityviewmodelentryCar);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.entityviewmodelentryCar]));
     w2.TopAttach    = ((uint)(2));
     w2.BottomAttach = ((uint)(3));
     w2.LeftAttach   = ((uint)(5));
     w2.RightAttach  = ((uint)(6));
     w2.XOptions     = ((global::Gtk.AttachOptions)(4));
     w2.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.ggToStringWidget        = new global::Vodovoz.ViewWidgets.GeographicGroupsToStringWidget();
     this.ggToStringWidget.Events = ((global::Gdk.EventMask)(256));
     this.ggToStringWidget.Name   = "ggToStringWidget";
     this.dataRouteList.Add(this.ggToStringWidget);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.ggToStringWidget]));
     w3.TopAttach    = ((uint)(4));
     w3.BottomAttach = ((uint)(5));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.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 w4 = new global::Gtk.Image();
     w4.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w4;
     this.hbox7.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonSave]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox7.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 w6 = new global::Gtk.Image();
     w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w6;
     this.hbox7.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonCancel]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.dataRouteList.Add(this.hbox7);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.hbox7]));
     w8.RightAttach = ((uint)(2));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.hboxCash         = new global::Gtk.HBox();
     this.hboxCash.Name    = "hboxCash";
     this.hboxCash.Spacing = 6;
     // Container child hboxCash.Gtk.Box+BoxChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Сдается в кассу:");
     this.hboxCash.Add(this.label7);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxCash[this.label7]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hboxCash.Gtk.Box+BoxChild
     this.yspeccomboboxCashSubdivision                     = new global::Gamma.Widgets.ySpecComboBox();
     this.yspeccomboboxCashSubdivision.Name                = "yspeccomboboxCashSubdivision";
     this.yspeccomboboxCashSubdivision.AddIfNotExist       = false;
     this.yspeccomboboxCashSubdivision.DefaultFirst        = false;
     this.yspeccomboboxCashSubdivision.ShowSpecialStateAll = false;
     this.yspeccomboboxCashSubdivision.ShowSpecialStateNot = false;
     this.hboxCash.Add(this.yspeccomboboxCashSubdivision);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxCash[this.yspeccomboboxCashSubdivision]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.dataRouteList.Add(this.hboxCash);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.hboxCash]));
     w11.LeftAttach  = ((uint)(2));
     w11.RightAttach = ((uint)(4));
     w11.XOptions    = ((global::Gtk.AttachOptions)(4));
     w11.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.hseparator2      = new global::Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.dataRouteList.Add(this.hseparator2);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.hseparator2]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.RightAttach  = ((uint)(6));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.hseparator3      = new global::Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.dataRouteList.Add(this.hseparator3);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.hseparator3]));
     w13.TopAttach    = ((uint)(5));
     w13.BottomAttach = ((uint)(6));
     w13.RightAttach  = ((uint)(6));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.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.dataRouteList.Add(this.label1);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label1]));
     w14.TopAttach    = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.LeftAttach   = ((uint)(2));
     w14.RightAttach  = ((uint)(3));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.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.dataRouteList.Add(this.label10);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label10]));
     w15.LeftAttach  = ((uint)(4));
     w15.RightAttach = ((uint)(5));
     w15.XOptions    = ((global::Gtk.AttachOptions)(4));
     w15.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.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.dataRouteList.Add(this.label2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label2]));
     w16.TopAttach    = ((uint)(3));
     w16.BottomAttach = ((uint)(4));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.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.dataRouteList.Add(this.label3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label3]));
     w17.TopAttach    = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.LeftAttach   = ((uint)(4));
     w17.RightAttach  = ((uint)(5));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.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.dataRouteList.Add(this.label4);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label4]));
     w18.TopAttach    = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.LeftAttach   = ((uint)(4));
     w18.RightAttach  = ((uint)(5));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.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.dataRouteList.Add(this.label5);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label5]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.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.dataRouteList.Add(this.label9);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label9]));
     w20.TopAttach    = ((uint)(4));
     w20.BottomAttach = ((uint)(5));
     w20.LeftAttach   = ((uint)(4));
     w20.RightAttach  = ((uint)(5));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.labelStatus           = new global::Gamma.GtkWidgets.yLabel();
     this.labelStatus.Name      = "labelStatus";
     this.labelStatus.Xalign    = 0F;
     this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("--");
     this.dataRouteList.Add(this.labelStatus);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.labelStatus]));
     w21.TopAttach    = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(4));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.phoneDriver              = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone();
     this.phoneDriver.CanFocus     = true;
     this.phoneDriver.Name         = "phoneDriver";
     this.phoneDriver.UseUnderline = true;
     this.phoneDriver.UseMarkup    = false;
     this.phoneDriver.LabelXAlign  = 0F;
     this.dataRouteList.Add(this.phoneDriver);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.phoneDriver]));
     w22.TopAttach    = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.LeftAttach   = ((uint)(6));
     w22.RightAttach  = ((uint)(7));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.phoneForwarder              = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone();
     this.phoneForwarder.CanFocus     = true;
     this.phoneForwarder.Name         = "phoneForwarder";
     this.phoneForwarder.UseUnderline = true;
     this.phoneForwarder.UseMarkup    = false;
     this.phoneForwarder.LabelXAlign  = 0F;
     this.dataRouteList.Add(this.phoneForwarder);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.phoneForwarder]));
     w23.TopAttach    = ((uint)(4));
     w23.BottomAttach = ((uint)(5));
     w23.LeftAttach   = ((uint)(6));
     w23.RightAttach  = ((uint)(7));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.phoneLogistican              = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone();
     this.phoneLogistican.CanFocus     = true;
     this.phoneLogistican.Name         = "phoneLogistican";
     this.phoneLogistican.UseUnderline = true;
     this.phoneLogistican.UseMarkup    = false;
     this.phoneLogistican.LabelXAlign  = 0F;
     this.dataRouteList.Add(this.phoneLogistican);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.phoneLogistican]));
     w24.LeftAttach  = ((uint)(6));
     w24.RightAttach = ((uint)(7));
     w24.XOptions    = ((global::Gtk.AttachOptions)(4));
     w24.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.referenceDriver        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceDriver.Events = ((global::Gdk.EventMask)(256));
     this.referenceDriver.Name   = "referenceDriver";
     this.dataRouteList.Add(this.referenceDriver);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.referenceDriver]));
     w25.TopAttach    = ((uint)(3));
     w25.BottomAttach = ((uint)(4));
     w25.LeftAttach   = ((uint)(5));
     w25.RightAttach  = ((uint)(6));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.referenceForwarder        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceForwarder.Events = ((global::Gdk.EventMask)(256));
     this.referenceForwarder.Name   = "referenceForwarder";
     this.dataRouteList.Add(this.referenceForwarder);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.referenceForwarder]));
     w26.TopAttach    = ((uint)(4));
     w26.BottomAttach = ((uint)(5));
     w26.LeftAttach   = ((uint)(5));
     w26.RightAttach  = ((uint)(6));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.referenceLogistican        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceLogistican.Events = ((global::Gdk.EventMask)(256));
     this.referenceLogistican.Name   = "referenceLogistican";
     this.dataRouteList.Add(this.referenceLogistican);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.referenceLogistican]));
     w27.LeftAttach  = ((uint)(5));
     w27.RightAttach = ((uint)(6));
     w27.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child dataRouteList.Gtk.Table+TableChild
     this.speccomboShift                     = new global::Gamma.Widgets.ySpecComboBox();
     this.speccomboShift.Name                = "speccomboShift";
     this.speccomboShift.AddIfNotExist       = false;
     this.speccomboShift.DefaultFirst        = false;
     this.speccomboShift.ShowSpecialStateAll = false;
     this.speccomboShift.ShowSpecialStateNot = true;
     this.dataRouteList.Add(this.speccomboShift);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.speccomboShift]));
     w28.TopAttach    = ((uint)(3));
     w28.BottomAttach = ((uint)(4));
     w28.LeftAttach   = ((uint)(3));
     w28.RightAttach  = ((uint)(4));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.dataRouteList);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.dataRouteList]));
     w29.Position = 0;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.createroutelistitemsview1 = new global::Vodovoz.RouteListCreateItemsView();
     this.createroutelistitemsview1.HeightRequest        = 150;
     this.createroutelistitemsview1.Events               = ((global::Gdk.EventMask)(256));
     this.createroutelistitemsview1.Name                 = "createroutelistitemsview1";
     this.createroutelistitemsview1.DisableColumnsUpdate = false;
     this.vbox1.Add(this.createroutelistitemsview1);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.createroutelistitemsview1]));
     w30.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.enumPrint              = new global::QS.Widgets.EnumMenuButton();
     this.enumPrint.CanFocus     = true;
     this.enumPrint.Name         = "enumPrint";
     this.enumPrint.UseUnderline = true;
     this.enumPrint.UseMarkup    = false;
     this.enumPrint.LabelXAlign  = 0F;
     this.enumPrint.Label        = global::Mono.Unix.Catalog.GetString("Распечатать");
     global::Gtk.Image w31 = new global::Gtk.Image();
     w31.Pixbuf           = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu);
     this.enumPrint.Image = w31;
     this.hbox9.Add(this.enumPrint);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.enumPrint]));
     w32.PackType = ((global::Gtk.PackType)(1));
     w32.Position = 1;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonAccept              = new global::Gtk.Button();
     this.buttonAccept.CanFocus     = true;
     this.buttonAccept.Name         = "buttonAccept";
     this.buttonAccept.UseUnderline = true;
     this.buttonAccept.Label        = global::Mono.Unix.Catalog.GetString("Подтвердить");
     global::Gtk.Image w33 = new global::Gtk.Image();
     w33.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu);
     this.buttonAccept.Image = w33;
     this.hbox9.Add(this.buttonAccept);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonAccept]));
     w34.PackType = ((global::Gtk.PackType)(1));
     w34.Position = 2;
     w34.Expand   = false;
     w34.Fill     = false;
     this.vbox1.Add(this.hbox9);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox9]));
     w35.Position = 2;
     w35.Expand   = false;
     w35.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonAccept.Clicked += new global::System.EventHandler(this.OnButtonAcceptClicked);
 }
コード例 #26
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ReportsParameters.Bottles.FirstSecondClientReport
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ReportsParameters.Bottles.FirstSecondClientReport";
     // Container child Vodovoz.ReportsParameters.Bottles.FirstSecondClientReport.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.daterangepicker           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.daterangepicker.Events    = ((global::Gdk.EventMask)(256));
     this.daterangepicker.Name      = "daterangepicker";
     this.daterangepicker.StartDate = new global::System.DateTime(0);
     this.daterangepicker.EndDate   = new global::System.DateTime(0);
     this.table1.Add(this.daterangepicker);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.daterangepicker]));
     w1.LeftAttach  = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.XOptions    = ((global::Gtk.AttachOptions)(4));
     w1.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.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.label2.Wrap      = true;
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycheckbutton1               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckbutton1.CanFocus      = true;
     this.ycheckbutton1.Name          = "ycheckbutton1";
     this.ycheckbutton1.Label         = global::Mono.Unix.Catalog.GetString("Оставить только \nклиентов с одним заказом");
     this.ycheckbutton1.DrawIndicator = true;
     this.ycheckbutton1.UseUnderline  = true;
     this.table1.Add(this.ycheckbutton1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckbutton1]));
     w4.TopAttach    = ((uint)(2));
     w4.BottomAttach = ((uint)(3));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.XOptions     = ((global::Gtk.AttachOptions)(4));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yCpecCmbDiscountReason                     = new global::Gamma.Widgets.ySpecComboBox();
     this.yCpecCmbDiscountReason.Name                = "yCpecCmbDiscountReason";
     this.yCpecCmbDiscountReason.AddIfNotExist       = false;
     this.yCpecCmbDiscountReason.DefaultFirst        = false;
     this.yCpecCmbDiscountReason.ShowSpecialStateAll = true;
     this.yCpecCmbDiscountReason.ShowSpecialStateNot = false;
     this.table1.Add(this.yCpecCmbDiscountReason);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.yCpecCmbDiscountReason]));
     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.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Автор заказа:");
     this.hbox3.Add(this.label3);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label3]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.yentryEmployer        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryEmployer.Events = ((global::Gdk.EventMask)(256));
     this.yentryEmployer.Name   = "yentryEmployer";
     this.hbox3.Add(this.yentryEmployer);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yentryEmployer]));
     w8.Position = 1;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.buttonCreateReport              = new global::Gtk.Button();
     this.buttonCreateReport.CanFocus     = true;
     this.buttonCreateReport.Name         = "buttonCreateReport";
     this.buttonCreateReport.UseUnderline = true;
     this.buttonCreateReport.Label        = global::Mono.Unix.Catalog.GetString("Сформировать отчет");
     this.vbox1.Add(this.buttonCreateReport);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateReport]));
     w10.Position = 3;
     w10.Expand   = false;
     w10.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonCreateReport.Clicked += new global::System.EventHandler(this.OnButtonCreateReportClicked);
 }
コード例 #27
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ServiceClaimDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ServiceClaimDlg";
     // Container child Vodovoz.ServiceClaimDlg.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 6;
     this.vbox1.BorderWidth = ((uint)(6));
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gtk.Button();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox1.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox1.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.menuActions              = new global::QSWidgetLib.MenuButton();
     this.menuActions.CanFocus     = true;
     this.menuActions.Name         = "menuActions";
     this.menuActions.UseUnderline = true;
     this.menuActions.UseMarkup    = false;
     this.menuActions.LabelXAlign  = 0F;
     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;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.hbox1.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1]));
     w7.Position = 3;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.toggleInfo               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Информация"));
     this.toggleInfo.CanFocus      = true;
     this.toggleInfo.Name          = "toggleInfo";
     this.toggleInfo.DrawIndicator = false;
     this.toggleInfo.UseUnderline  = true;
     this.toggleInfo.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.hbox1.Add(this.toggleInfo);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toggleInfo]));
     w8.Position = 4;
     // Container child hbox1.Gtk.Box+BoxChild
     this.toggleServicesAndWorks               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Запчасти и работы"));
     this.toggleServicesAndWorks.CanFocus      = true;
     this.toggleServicesAndWorks.Name          = "toggleServicesAndWorks";
     this.toggleServicesAndWorks.DrawIndicator = false;
     this.toggleServicesAndWorks.UseUnderline  = true;
     this.toggleServicesAndWorks.Group         = this.toggleInfo.Group;
     this.hbox1.Add(this.toggleServicesAndWorks);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toggleServicesAndWorks]));
     w9.Position = 5;
     // Container child hbox1.Gtk.Box+BoxChild
     this.toggleHistory               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("История"));
     this.toggleHistory.CanFocus      = true;
     this.toggleHistory.Name          = "toggleHistory";
     this.toggleHistory.DrawIndicator = false;
     this.toggleHistory.UseUnderline  = true;
     this.toggleHistory.Group         = this.toggleInfo.Group;
     this.hbox1.Add(this.toggleHistory);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toggleHistory]));
     w10.Position = 6;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox1.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.datatable1               = new global::Gtk.Table(((uint)(9)), ((uint)(4)), false);
     this.datatable1.Name          = "datatable1";
     this.datatable1.RowSpacing    = ((uint)(6));
     this.datatable1.ColumnSpacing = ((uint)(6));
     this.datatable1.BorderWidth   = ((uint)(6));
     // Container child datatable1.Gtk.Table+TableChild
     this.checkRepeated               = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkRepeated.CanFocus      = true;
     this.checkRepeated.Name          = "checkRepeated";
     this.checkRepeated.Label         = global::Mono.Unix.Catalog.GetString("Повторный ремонт");
     this.checkRepeated.DrawIndicator = true;
     this.checkRepeated.UseUnderline  = true;
     this.datatable1.Add(this.checkRepeated);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.checkRepeated]));
     w12.TopAttach    = ((uint)(6));
     w12.BottomAttach = ((uint)(7));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataNumber        = new global::Gamma.GtkWidgets.yLabel();
     this.dataNumber.Name   = "dataNumber";
     this.dataNumber.Xalign = 0F;
     this.datatable1.Add(this.dataNumber);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataNumber]));
     w13.LeftAttach  = ((uint)(1));
     w13.RightAttach = ((uint)(4));
     w13.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.datePickUpDate                = new global::QS.Widgets.GtkUI.DatePicker();
     this.datePickUpDate.Events         = ((global::Gdk.EventMask)(256));
     this.datePickUpDate.Name           = "datePickUpDate";
     this.datePickUpDate.WithTime       = false;
     this.datePickUpDate.Date           = new global::System.DateTime(0);
     this.datePickUpDate.IsEditable     = true;
     this.datePickUpDate.AutoSeparation = true;
     this.datatable1.Add(this.datePickUpDate);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1[this.datePickUpDate]));
     w14.TopAttach    = ((uint)(5));
     w14.BottomAttach = ((uint)(6));
     w14.LeftAttach   = ((uint)(3));
     w14.RightAttach  = ((uint)(4));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.enumcomboWithSerial      = new global::Gamma.Widgets.yEnumComboBox();
     this.enumcomboWithSerial.Name = "enumcomboWithSerial";
     this.enumcomboWithSerial.ShowSpecialStateAll = false;
     this.enumcomboWithSerial.ShowSpecialStateNot = false;
     this.enumcomboWithSerial.UseShortTitle       = false;
     this.enumcomboWithSerial.DefaultFirst        = true;
     this.datatable1.Add(this.enumcomboWithSerial);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1[this.enumcomboWithSerial]));
     w15.TopAttach    = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.enumPaymentType      = new global::Gamma.Widgets.yEnumComboBox();
     this.enumPaymentType.Name = "enumPaymentType";
     this.enumPaymentType.ShowSpecialStateAll = false;
     this.enumPaymentType.ShowSpecialStateNot = false;
     this.enumPaymentType.UseShortTitle       = false;
     this.enumPaymentType.DefaultFirst        = true;
     this.datatable1.Add(this.enumPaymentType);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.enumPaymentType]));
     w16.TopAttach    = ((uint)(4));
     w16.BottomAttach = ((uint)(5));
     w16.LeftAttach   = ((uint)(3));
     w16.RightAttach  = ((uint)(4));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.enumStatus      = new global::Gamma.Widgets.yEnumComboBox();
     this.enumStatus.Name = "enumStatus";
     this.enumStatus.ShowSpecialStateAll = false;
     this.enumStatus.ShowSpecialStateNot = false;
     this.enumStatus.UseShortTitle       = false;
     this.enumStatus.DefaultFirst        = false;
     this.datatable1.Add(this.enumStatus);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1[this.enumStatus]));
     w17.TopAttach    = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach   = ((uint)(3));
     w17.RightAttach  = ((uint)(4));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.enumType      = new global::Gamma.Widgets.yEnumComboBox();
     this.enumType.Name = "enumType";
     this.enumType.ShowSpecialStateAll = false;
     this.enumType.ShowSpecialStateNot = false;
     this.enumType.UseShortTitle       = false;
     this.enumType.DefaultFirst        = false;
     this.datatable1.Add(this.enumType);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1[this.enumType]));
     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)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textReason          = new global::Gamma.GtkWidgets.yTextView();
     this.textReason.CanFocus = true;
     this.textReason.Name     = "textReason";
     this.GtkScrolledWindow.Add(this.textReason);
     this.datatable1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1[this.GtkScrolledWindow]));
     w20.TopAttach    = ((uint)(8));
     w20.BottomAttach = ((uint)(9));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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.textKit          = new global::Gamma.GtkWidgets.yTextView();
     this.textKit.CanFocus = true;
     this.textKit.Name     = "textKit";
     this.GtkScrolledWindow1.Add(this.textKit);
     this.datatable1.Add(this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1[this.GtkScrolledWindow1]));
     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 datatable1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:");
     this.datatable1.Add(this.label1);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1]));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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.datatable1.Add(this.label10);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label10]));
     w24.TopAttach    = ((uint)(8));
     w24.BottomAttach = ((uint)(9));
     w24.LeftAttach   = ((uint)(2));
     w24.RightAttach  = ((uint)(3));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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("Забираем по:");
     this.datatable1.Add(this.label19);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label19]));
     w25.TopAttach    = ((uint)(4));
     w25.BottomAttach = ((uint)(5));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:");
     this.datatable1.Add(this.label2);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label2]));
     w26.TopAttach    = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach   = ((uint)(2));
     w26.RightAttach  = ((uint)(3));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатура:");
     this.datatable1.Add(this.label3);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label3]));
     w27.TopAttach    = ((uint)(5));
     w27.BottomAttach = ((uint)(6));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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.datatable1.Add(this.label4);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label4]));
     w28.TopAttach    = ((uint)(6));
     w28.BottomAttach = ((uint)(7));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:");
     this.datatable1.Add(this.label5);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label5]));
     w29.TopAttach    = ((uint)(2));
     w29.BottomAttach = ((uint)(3));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Тип заявки:");
     this.datatable1.Add(this.label6);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label6]));
     w30.TopAttach    = ((uint)(1));
     w30.BottomAttach = ((uint)(2));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Форма оплаты:");
     this.datatable1.Add(this.label7);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7]));
     w31.TopAttach    = ((uint)(4));
     w31.BottomAttach = ((uint)(5));
     w31.LeftAttach   = ((uint)(2));
     w31.RightAttach  = ((uint)(3));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Дата поступления:");
     this.datatable1.Add(this.label8);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label8]));
     w32.TopAttach    = ((uint)(5));
     w32.BottomAttach = ((uint)(6));
     w32.LeftAttach   = ((uint)(2));
     w32.RightAttach  = ((uint)(3));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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.datatable1.Add(this.label9);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label9]));
     w33.TopAttach    = ((uint)(8));
     w33.BottomAttach = ((uint)(9));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.labelDeliveryPoint           = new global::Gtk.Label();
     this.labelDeliveryPoint.Name      = "labelDeliveryPoint";
     this.labelDeliveryPoint.Xalign    = 1F;
     this.labelDeliveryPoint.LabelProp = global::Mono.Unix.Catalog.GetString("Точка доставки:");
     this.datatable1.Add(this.labelDeliveryPoint);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.datatable1[this.labelDeliveryPoint]));
     w34.TopAttach    = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     w34.LeftAttach   = ((uint)(2));
     w34.RightAttach  = ((uint)(3));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.labelReplacement           = new global::Gtk.Label();
     this.labelReplacement.Name      = "labelReplacement";
     this.labelReplacement.Xalign    = 1F;
     this.labelReplacement.LabelProp = global::Mono.Unix.Catalog.GetString("Дежурный кулер:");
     this.datatable1.Add(this.labelReplacement);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatable1[this.labelReplacement]));
     w35.TopAttach    = ((uint)(7));
     w35.BottomAttach = ((uint)(8));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceCounterparty        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.referenceCounterparty.Name   = "referenceCounterparty";
     this.datatable1.Add(this.referenceCounterparty);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceCounterparty]));
     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 datatable1.Gtk.Table+TableChild
     this.referenceDeliveryPoint        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPoint.Name   = "referenceDeliveryPoint";
     this.datatable1.Add(this.referenceDeliveryPoint);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceDeliveryPoint]));
     w37.TopAttach    = ((uint)(2));
     w37.BottomAttach = ((uint)(3));
     w37.LeftAttach   = ((uint)(3));
     w37.RightAttach  = ((uint)(4));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceEquipment           = new global::Gamma.Widgets.yEntryReference();
     this.referenceEquipment.Sensitive = false;
     this.referenceEquipment.Events    = ((global::Gdk.EventMask)(256));
     this.referenceEquipment.Name      = "referenceEquipment";
     this.datatable1.Add(this.referenceEquipment);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceEquipment]));
     w38.TopAttach    = ((uint)(6));
     w38.BottomAttach = ((uint)(7));
     w38.LeftAttach   = ((uint)(1));
     w38.RightAttach  = ((uint)(2));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceNomenclature           = new global::Gamma.Widgets.yEntryReference();
     this.referenceNomenclature.Sensitive = false;
     this.referenceNomenclature.Events    = ((global::Gdk.EventMask)(256));
     this.referenceNomenclature.Name      = "referenceNomenclature";
     this.datatable1.Add(this.referenceNomenclature);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceNomenclature]));
     w39.TopAttach    = ((uint)(5));
     w39.BottomAttach = ((uint)(6));
     w39.LeftAttach   = ((uint)(1));
     w39.RightAttach  = ((uint)(2));
     w39.XOptions     = ((global::Gtk.AttachOptions)(4));
     w39.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.yentryEquipmentReplacement        = new global::Gamma.Widgets.yEntryReference();
     this.yentryEquipmentReplacement.Events = ((global::Gdk.EventMask)(256));
     this.yentryEquipmentReplacement.Name   = "yentryEquipmentReplacement";
     this.datatable1.Add(this.yentryEquipmentReplacement);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.datatable1[this.yentryEquipmentReplacement]));
     w40.TopAttach    = ((uint)(7));
     w40.BottomAttach = ((uint)(8));
     w40.LeftAttach   = ((uint)(1));
     w40.RightAttach  = ((uint)(2));
     w40.XOptions     = ((global::Gtk.AttachOptions)(4));
     w40.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.ylabelEquipmentInfo           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelEquipmentInfo.Name      = "ylabelEquipmentInfo";
     this.ylabelEquipmentInfo.Xalign    = 0F;
     this.ylabelEquipmentInfo.LabelProp = global::Mono.Unix.Catalog.GetString("Не информации по оборудованию.");
     this.datatable1.Add(this.ylabelEquipmentInfo);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.datatable1[this.ylabelEquipmentInfo]));
     w41.TopAttach    = ((uint)(3));
     w41.BottomAttach = ((uint)(4));
     w41.LeftAttach   = ((uint)(1));
     w41.RightAttach  = ((uint)(4));
     w41.XOptions     = ((global::Gtk.AttachOptions)(4));
     w41.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.notebook1.Add(this.datatable1);
     // Notebook tab
     this.label15           = new global::Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Информация");
     this.notebook1.SetTabLabel(this.datatable1, this.label15);
     this.label15.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox2             = new global::Gtk.VBox();
     this.vbox2.Name        = "vbox2";
     this.vbox2.Spacing     = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.datatable2               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.datatable2.Name          = "datatable2";
     this.datatable2.RowSpacing    = ((uint)(6));
     this.datatable2.ColumnSpacing = ((uint)(6));
     // Container child datatable2.Gtk.Table+TableChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.textDiagnosticsResult          = new global::Gamma.GtkWidgets.yTextView();
     this.textDiagnosticsResult.CanFocus = true;
     this.textDiagnosticsResult.Name     = "textDiagnosticsResult";
     this.GtkScrolledWindow2.Add(this.textDiagnosticsResult);
     this.datatable2.Add(this.GtkScrolledWindow2);
     global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.datatable2[this.GtkScrolledWindow2]));
     w44.TopAttach    = ((uint)(1));
     w44.BottomAttach = ((uint)(2));
     w44.LeftAttach   = ((uint)(1));
     w44.RightAttach  = ((uint)(2));
     w44.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("Результат диагностики:");
     this.datatable2.Add(this.label11);
     global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label11]));
     w45.TopAttach    = ((uint)(1));
     w45.BottomAttach = ((uint)(2));
     w45.XOptions     = ((global::Gtk.AttachOptions)(4));
     w45.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.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.datatable2.Add(this.label14);
     global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label14]));
     w46.XOptions = ((global::Gtk.AttachOptions)(4));
     w46.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.referenceEngineer        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.referenceEngineer.Events = ((global::Gdk.EventMask)(256));
     this.referenceEngineer.Name   = "referenceEngineer";
     this.datatable2.Add(this.referenceEngineer);
     global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.datatable2[this.referenceEngineer]));
     w47.LeftAttach  = ((uint)(1));
     w47.RightAttach = ((uint)(2));
     w47.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add(this.datatable2);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.datatable2]));
     w48.Position = 0;
     w48.Expand   = false;
     w48.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow4            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow4.Name       = "GtkScrolledWindow4";
     this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
     this.treePartsAndServices          = new global::Gamma.GtkWidgets.yTreeView();
     this.treePartsAndServices.CanFocus = true;
     this.treePartsAndServices.Name     = "treePartsAndServices";
     this.GtkScrolledWindow4.Add(this.treePartsAndServices);
     this.vbox2.Add(this.GtkScrolledWindow4);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow4]));
     w50.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonAddService              = new global::Gtk.Button();
     this.buttonAddService.CanFocus     = true;
     this.buttonAddService.Name         = "buttonAddService";
     this.buttonAddService.UseUnderline = true;
     this.buttonAddService.Label        = global::Mono.Unix.Catalog.GetString("Добавить услугу");
     global::Gtk.Image w51 = new global::Gtk.Image();
     w51.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAddService.Image = w51;
     this.hbox9.Add(this.buttonAddService);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonAddService]));
     w52.Position = 0;
     w52.Expand   = false;
     w52.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonAddPart              = new global::Gtk.Button();
     this.buttonAddPart.CanFocus     = true;
     this.buttonAddPart.Name         = "buttonAddPart";
     this.buttonAddPart.UseUnderline = true;
     this.buttonAddPart.Label        = global::Mono.Unix.Catalog.GetString("Добавить запчасть");
     global::Gtk.Image w53 = new global::Gtk.Image();
     w53.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAddPart.Image = w53;
     this.hbox9.Add(this.buttonAddPart);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonAddPart]));
     w54.Position = 1;
     w54.Expand   = false;
     w54.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonDelete              = new global::Gtk.Button();
     this.buttonDelete.CanFocus     = true;
     this.buttonDelete.Name         = "buttonDelete";
     this.buttonDelete.UseUnderline = true;
     this.buttonDelete.Label        = global::Mono.Unix.Catalog.GetString("Удалить");
     global::Gtk.Image w55 = new global::Gtk.Image();
     w55.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.buttonDelete.Image = w55;
     this.hbox9.Add(this.buttonDelete);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonDelete]));
     w56.Position = 2;
     w56.Expand   = false;
     w56.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.Xalign    = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Итого:");
     this.hbox9.Add(this.label13);
     global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label13]));
     w57.Position = 3;
     // Container child hbox9.Gtk.Box+BoxChild
     this.labelTotalPrice           = new global::Gamma.GtkWidgets.yLabel();
     this.labelTotalPrice.Name      = "labelTotalPrice";
     this.labelTotalPrice.Xalign    = 1F;
     this.labelTotalPrice.LabelProp = global::Mono.Unix.Catalog.GetString("Цена");
     this.hbox9.Add(this.labelTotalPrice);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.labelTotalPrice]));
     w58.Position = 4;
     w58.Expand   = false;
     this.vbox2.Add(this.hbox9);
     global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox9]));
     w59.Position = 2;
     w59.Expand   = false;
     w59.Fill     = false;
     this.notebook1.Add(this.vbox2);
     global::Gtk.Notebook.NotebookChild w60 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox2]));
     w60.Position = 1;
     // Notebook tab
     this.label16           = new global::Gtk.Label();
     this.label16.Name      = "label16";
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Запчасти и работы");
     this.notebook1.SetTabLabel(this.vbox2, this.label16);
     this.label16.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     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.GtkScrolledWindow5            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow5.Name       = "GtkScrolledWindow5";
     this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild
     this.treeHistory          = new global::Gamma.GtkWidgets.yTreeView();
     this.treeHistory.CanFocus = true;
     this.treeHistory.Name     = "treeHistory";
     this.GtkScrolledWindow5.Add(this.treeHistory);
     this.vbox3.Add(this.GtkScrolledWindow5);
     global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow5]));
     w62.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.datatable3               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.datatable3.Name          = "datatable3";
     this.datatable3.RowSpacing    = ((uint)(6));
     this.datatable3.ColumnSpacing = ((uint)(6));
     // Container child datatable3.Gtk.Table+TableChild
     this.enumStatusEditable      = new global::QSOrmProject.EnumListComboBox();
     this.enumStatusEditable.Name = "enumStatusEditable";
     this.datatable3.Add(this.enumStatusEditable);
     global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.datatable3[this.enumStatusEditable]));
     w63.LeftAttach  = ((uint)(1));
     w63.RightAttach = ((uint)(2));
     w63.XOptions    = ((global::Gtk.AttachOptions)(4));
     w63.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.GtkScrolledWindow3            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow3.Name       = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.textComment          = new global::Gamma.GtkWidgets.yTextView();
     this.textComment.CanFocus = true;
     this.textComment.Name     = "textComment";
     this.GtkScrolledWindow3.Add(this.textComment);
     this.datatable3.Add(this.GtkScrolledWindow3);
     global::Gtk.Table.TableChild w65 = ((global::Gtk.Table.TableChild)(this.datatable3[this.GtkScrolledWindow3]));
     w65.TopAttach    = ((uint)(1));
     w65.BottomAttach = ((uint)(2));
     w65.LeftAttach   = ((uint)(1));
     w65.RightAttach  = ((uint)(2));
     w65.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.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.datatable3.Add(this.label12);
     global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label12]));
     w66.TopAttach    = ((uint)(1));
     w66.BottomAttach = ((uint)(2));
     w66.XOptions     = ((global::Gtk.AttachOptions)(4));
     w66.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.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.datatable3.Add(this.label18);
     global::Gtk.Table.TableChild w67 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label18]));
     w67.XOptions = ((global::Gtk.AttachOptions)(4));
     w67.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add(this.datatable3);
     global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.datatable3]));
     w68.Position = 1;
     w68.Expand   = false;
     w68.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox10         = new global::Gtk.HBox();
     this.hbox10.Name    = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonAdd              = new global::Gtk.Button();
     this.buttonAdd.CanFocus     = true;
     this.buttonAdd.Name         = "buttonAdd";
     this.buttonAdd.UseUnderline = true;
     this.buttonAdd.Label        = global::Mono.Unix.Catalog.GetString("Добавить изменение");
     global::Gtk.Image w69 = new global::Gtk.Image();
     w69.Pixbuf           = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAdd.Image = w69;
     this.hbox10.Add(this.buttonAdd);
     global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.buttonAdd]));
     w70.Position = 0;
     w70.Expand   = false;
     w70.Fill     = false;
     this.vbox3.Add(this.hbox10);
     global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox10]));
     w71.Position = 2;
     w71.Expand   = false;
     w71.Fill     = false;
     this.notebook1.Add(this.vbox3);
     global::Gtk.Notebook.NotebookChild w72 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox3]));
     w72.Position = 2;
     // Notebook tab
     this.label17           = new global::Gtk.Label();
     this.label17.Name      = "label17";
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("История");
     this.notebook1.SetTabLabel(this.vbox3, this.label17);
     this.label17.ShowAll();
     this.vbox1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
     w73.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.toggleInfo.Toggled                   += new global::System.EventHandler(this.OnToggleInfoToggled);
     this.toggleServicesAndWorks.Toggled       += new global::System.EventHandler(this.OnToggleServicesAndWorksToggled);
     this.toggleHistory.Toggled                += new global::System.EventHandler(this.OnToggleHistoryToggled);
     this.referenceNomenclature.Changed        += new global::System.EventHandler(this.OnReferenceNomenclatureChanged);
     this.referenceEquipment.Changed           += new global::System.EventHandler(this.OnReferenceEquipmentChanged);
     this.referenceDeliveryPoint.Changed       += new global::System.EventHandler(this.OnReferenceDeliveryPointChanged);
     this.referenceCounterparty.Changed        += new global::System.EventHandler(this.OnReferenceCounterpartyChanged);
     this.enumcomboWithSerial.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboWithSerialEnumItemSelected);
     this.buttonAddService.Clicked             += new global::System.EventHandler(this.OnButtonAddServiceClicked);
     this.buttonAddPart.Clicked                += new global::System.EventHandler(this.OnButtonAddPartClicked);
     this.buttonDelete.Clicked                 += new global::System.EventHandler(this.OnButtonDeleteClicked);
     this.buttonAdd.Clicked += new global::System.EventHandler(this.OnButtonAddClicked);
 }
コード例 #28
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Dialogs.Employees.PremiumDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Dialogs.Employees.PremiumDlg";
     // Container child Vodovoz.Dialogs.Employees.PremiumDlg.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.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;
     this.vbox3.Add(this.hbox5);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tablePremium               = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false);
     this.tablePremium.Name          = "tablePremium";
     this.tablePremium.RowSpacing    = ((uint)(6));
     this.tablePremium.ColumnSpacing = ((uint)(6));
     // Container child tablePremium.Gtk.Table+TableChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.yspinMoney          = new global::Gamma.GtkWidgets.ySpinButton(0, 100000, 1);
     this.yspinMoney.CanFocus = true;
     this.yspinMoney.Name     = "yspinMoney";
     this.yspinMoney.Adjustment.PageIncrement = 100;
     this.yspinMoney.ClimbRate      = 1;
     this.yspinMoney.Digits         = ((uint)(2));
     this.yspinMoney.Numeric        = true;
     this.yspinMoney.ValueAsDecimal = 0m;
     this.yspinMoney.ValueAsInt     = 0;
     this.hbox2.Add(this.yspinMoney);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.yspinMoney]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.currencylabel1           = new global::QSProjectsLib.CurrencyLabel();
     this.currencylabel1.Name      = "currencylabel1";
     this.currencylabel1.LabelProp = "currencylabel1";
     this.hbox2.Add(this.currencylabel1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.currencylabel1]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonDivideAtAll              = new global::Gtk.Button();
     this.buttonDivideAtAll.CanFocus     = true;
     this.buttonDivideAtAll.Name         = "buttonDivideAtAll";
     this.buttonDivideAtAll.UseUnderline = true;
     this.buttonDivideAtAll.Label        = global::Mono.Unix.Catalog.GetString("Разбить на всех");
     this.hbox2.Add(this.buttonDivideAtAll);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonDivideAtAll]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     this.tablePremium.Add(this.hbox2);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.hbox2]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach   = ((uint)(3));
     w9.RightAttach  = ((uint)(4));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tablePremium.Gtk.Table+TableChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.yentryPremiumReasonString               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryPremiumReasonString.CanFocus      = true;
     this.yentryPremiumReasonString.Name          = "yentryPremiumReasonString";
     this.yentryPremiumReasonString.IsEditable    = true;
     this.yentryPremiumReasonString.InvisibleChar = '●';
     this.hbox4.Add(this.yentryPremiumReasonString);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yentryPremiumReasonString]));
     w10.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonGetReasonFromTemplate              = new global::Gtk.Button();
     this.buttonGetReasonFromTemplate.CanFocus     = true;
     this.buttonGetReasonFromTemplate.Name         = "buttonGetReasonFromTemplate";
     this.buttonGetReasonFromTemplate.UseUnderline = true;
     this.buttonGetReasonFromTemplate.Label        = global::Mono.Unix.Catalog.GetString("Заполнить из шаблона");
     this.hbox4.Add(this.buttonGetReasonFromTemplate);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonGetReasonFromTemplate]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     this.tablePremium.Add(this.hbox4);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.hbox4]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(4));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tablePremium.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.tablePremium.Add(this.label1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label1]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tablePremium.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.tablePremium.Add(this.label3);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label3]));
     w14.TopAttach    = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tablePremium.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.tablePremium.Add(this.label4);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label4]));
     w15.TopAttach    = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach   = ((uint)(2));
     w15.RightAttach  = ((uint)(3));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tablePremium.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.tablePremium.Add(this.label7);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label7]));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tablePremium.Gtk.Table+TableChild
     this.yentryAuthor           = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryAuthor.Sensitive = false;
     this.yentryAuthor.Events    = ((global::Gdk.EventMask)(256));
     this.yentryAuthor.Name      = "yentryAuthor";
     this.tablePremium.Add(this.yentryAuthor);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.yentryAuthor]));
     w17.LeftAttach  = ((uint)(1));
     w17.RightAttach = ((uint)(4));
     w17.XOptions    = ((global::Gtk.AttachOptions)(4));
     w17.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tablePremium.Gtk.Table+TableChild
     this.ylabelDate           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelDate.Name      = "ylabelDate";
     this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1");
     this.tablePremium.Add(this.ylabelDate);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.ylabelDate]));
     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)(4));
     this.vbox3.Add(this.tablePremium);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tablePremium]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Премированные сотрудники:");
     this.vbox3.Add(this.label2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label2]));
     w20.Position = 2;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytreeviewItems          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewItems.CanFocus = true;
     this.ytreeviewItems.Name     = "ytreeviewItems";
     this.GtkScrolledWindow.Add(this.ytreeviewItems);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
     w22.Position = 3;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonAdd              = new global::Gtk.Button();
     this.buttonAdd.CanFocus     = true;
     this.buttonAdd.Name         = "buttonAdd";
     this.buttonAdd.UseUnderline = true;
     this.buttonAdd.Label        = global::Mono.Unix.Catalog.GetString("Добавить");
     global::Gtk.Image w23 = new global::Gtk.Image();
     w23.Pixbuf           = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAdd.Image = w23;
     this.hbox1.Add(this.buttonAdd);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAdd]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonRemove              = new global::Gtk.Button();
     this.buttonRemove.CanFocus     = true;
     this.buttonRemove.Name         = "buttonRemove";
     this.buttonRemove.UseUnderline = true;
     this.buttonRemove.Label        = global::Mono.Unix.Catalog.GetString("Удалить");
     global::Gtk.Image w25 = new global::Gtk.Image();
     w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.buttonRemove.Image = w25;
     this.hbox1.Add(this.buttonRemove);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonRemove]));
     w26.Position = 1;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.labelTotal      = new global::Gtk.Label();
     this.labelTotal.Name = "labelTotal";
     this.hbox1.Add(this.labelTotal);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelTotal]));
     w27.PackType = ((global::Gtk.PackType)(1));
     w27.Position = 2;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
     w28.Position = 4;
     w28.Expand   = false;
     w28.Fill     = false;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonGetReasonFromTemplate.Clicked += new global::System.EventHandler(this.OnButtonGetReasonFromTemplateClicked);
     this.buttonDivideAtAll.Clicked           += new global::System.EventHandler(this.OnButtonDivideAtAllClicked);
     this.buttonAdd.Clicked    += new global::System.EventHandler(this.OnButtonAddClicked);
     this.buttonRemove.Clicked += new global::System.EventHandler(this.OnButtonRemoveClicked);
 }