protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.MainMap = new global::GMap.NET.GtkSharp.GMapControl(); this.MainMap.Name = "MainMap"; this.MainMap.MaxZoom = 0; this.MainMap.MinZoom = 0; this.MainMap.MouseWheelZoomEnabled = true; this.MainMap.ShowTileGridLines = false; this.MainMap.GrayScaleMode = false; this.MainMap.NegativeMode = false; this.MainMap.Bearing = 0F; this.MainMap.Zoom = 0; this.MainMap.RoutesEnabled = false; this.MainMap.PolygonsEnabled = false; this.MainMap.MarkersEnabled = false; this.MainMap.CanDragMap = true; this.hbox1.Add(this.MainMap); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.MainMap])); w1.Position = 0; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.RouteListsOnDayView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.RouteListsOnDayView"; // Container child Vodovoz.Views.Logistic.RouteListsOnDayView.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonFilter = new global::Gamma.GtkWidgets.yButton(); this.buttonFilter.CanFocus = true; this.buttonFilter.Name = "buttonFilter"; this.buttonFilter.UseUnderline = true; this.buttonFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтровать"); this.table1.Add(this.buttonFilter); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonFilter])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.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.hbox9.Add(this.yspeccomboboxCashSubdivision); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.yspeccomboboxCashSubdivision])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkShowCompleted = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowCompleted.CanFocus = true; this.checkShowCompleted.Name = "checkShowCompleted"; this.checkShowCompleted.Label = global::Mono.Unix.Catalog.GetString("Показывать уехавшие"); this.checkShowCompleted.DrawIndicator = true; this.checkShowCompleted.UseUnderline = true; this.hbox9.Add(this.checkShowCompleted); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkShowCompleted])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkShowOnlyDriverOrders = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowOnlyDriverOrders.CanFocus = true; this.checkShowOnlyDriverOrders.Name = "checkShowOnlyDriverOrders"; this.checkShowOnlyDriverOrders.Label = global::Mono.Unix.Catalog.GetString("Показать только районы водителя"); this.checkShowOnlyDriverOrders.DrawIndicator = true; this.checkShowOnlyDriverOrders.UseUnderline = true; this.hbox9.Add(this.checkShowOnlyDriverOrders); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkShowOnlyDriverOrders])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.table1.Add(this.hbox9); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox9])); 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.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 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.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Сдается в кассу:"); this.label7.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label7); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Мин. 19л. бут.:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label8); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(5)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.enumCmbDeliveryType = new global::Gamma.Widgets.yEnumComboBox(); this.enumCmbDeliveryType.Name = "enumCmbDeliveryType"; this.enumCmbDeliveryType.ShowSpecialStateAll = false; this.enumCmbDeliveryType.ShowSpecialStateNot = false; this.enumCmbDeliveryType.UseShortTitle = false; this.enumCmbDeliveryType.DefaultFirst = false; this.table2.Add(this.enumCmbDeliveryType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.enumCmbDeliveryType])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.ytreeviewAddressesTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewAddressesTypes.CanFocus = true; this.ytreeviewAddressesTypes.Name = "ytreeviewAddressesTypes"; this.ytreeviewAddressesTypes.HeadersVisible = false; this.hbox10.Add(this.ytreeviewAddressesTypes); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ytreeviewAddressesTypes])); w10.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.ytreeviewGeographicGroup = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewGeographicGroup.CanFocus = true; this.ytreeviewGeographicGroup.Name = "ytreeviewGeographicGroup"; this.hbox10.Add(this.ytreeviewGeographicGroup); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ytreeviewGeographicGroup])); w11.Position = 1; this.table2.Add(this.hbox10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.hbox10])); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(5)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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.label3.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label3); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.timeDrvShiftRngpicker = new global::QS.Widgets.GtkUI.TimeRangePicker(); this.timeDrvShiftRngpicker.Events = ((global::Gdk.EventMask)(256)); this.timeDrvShiftRngpicker.Name = "timeDrvShiftRngpicker"; this.timeDrvShiftRngpicker.TimeStart = new global::System.TimeSpan(0); this.table2.Add(this.timeDrvShiftRngpicker); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.timeDrvShiftRngpicker])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(0)); w14.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.timeRngPicker = new global::QS.Widgets.GtkUI.TimeRangePicker(); this.timeRngPicker.Events = ((global::Gdk.EventMask)(256)); this.timeRngPicker.Name = "timeRngPicker"; this.timeRngPicker.TimeStart = new global::System.TimeSpan(0); this.table2.Add(this.timeRngPicker); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.timeRngPicker])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(0)); w15.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.ydateForRoutes = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateForRoutes.Events = ((global::Gdk.EventMask)(256)); this.ydateForRoutes.Name = "ydateForRoutes"; this.ydateForRoutes.WithTime = false; this.ydateForRoutes.HideCalendarButton = false; this.ydateForRoutes.Date = new global::System.DateTime(0); this.ydateForRoutes.IsEditable = true; this.ydateForRoutes.AutoSeparation = true; this.table2.Add(this.ydateForRoutes); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.ydateForRoutes])); w16.XOptions = ((global::Gtk.AttachOptions)(0)); w16.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.ySpnMin19Btls = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.ySpnMin19Btls.WidthRequest = 100; this.ySpnMin19Btls.CanFocus = true; this.ySpnMin19Btls.Name = "ySpnMin19Btls"; this.ySpnMin19Btls.Adjustment.PageIncrement = 1D; this.ySpnMin19Btls.Adjustment.PageSize = 1D; this.ySpnMin19Btls.ClimbRate = 1D; this.ySpnMin19Btls.Numeric = true; this.ySpnMin19Btls.Value = 1D; this.ySpnMin19Btls.ValueAsDecimal = 0m; this.ySpnMin19Btls.ValueAsInt = 0; this.table2.Add(this.ySpnMin19Btls); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.ySpnMin19Btls])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(0)); this.table1.Add(this.table2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.table2])); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.textOrdersInfo = new global::Gtk.TextView(); this.textOrdersInfo.CanFocus = true; this.textOrdersInfo.Name = "textOrdersInfo"; this.textOrdersInfo.Editable = false; this.vbox6.Add(this.textOrdersInfo); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.textOrdersInfo])); w19.Position = 0; this.table1.Add(this.vbox6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox6])); 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 table1.Gtk.Table+TableChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.ytextWorkDriversInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextWorkDriversInfo.CanFocus = true; this.ytextWorkDriversInfo.Name = "ytextWorkDriversInfo"; this.ytextWorkDriversInfo.Editable = false; this.vbox7.Add(this.ytextWorkDriversInfo); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.ytextWorkDriversInfo])); w21.Position = 0; this.table1.Add(this.vbox7); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox7])); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(4)); w22.RightAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(0)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.ytextFullOrdersInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextFullOrdersInfo.CanFocus = true; this.ytextFullOrdersInfo.Name = "ytextFullOrdersInfo"; this.ytextFullOrdersInfo.Editable = false; this.vbox8.Add(this.ytextFullOrdersInfo); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ytextFullOrdersInfo])); w23.Position = 0; this.table1.Add(this.vbox8); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox8])); w24.BottomAttach = ((uint)(3)); w24.LeftAttach = ((uint)(5)); w24.RightAttach = ((uint)(6)); w24.XOptions = ((global::Gtk.AttachOptions)(0)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.table1])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hpaned3 = new global::Gtk.HPaned(); this.hpaned3.CanFocus = true; this.hpaned3.Name = "hpaned3"; this.hpaned3.Position = 548; // Container child hpaned3.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.btnSave.Image = w26; this.hbox8.Add(this.btnSave); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnSave])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.btnCancel.Image = w28; this.hbox8.Add(this.btnCancel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnCancel])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.progressOrders = new global::Gtk.ProgressBar(); this.progressOrders.Name = "progressOrders"; this.progressOrders.Ellipsize = ((global::Pango.EllipsizeMode)(1)); this.hbox8.Add(this.progressOrders); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.progressOrders])); w30.Position = 2; // Container child hbox8.Gtk.Box+BoxChild this.buttonWarnings = new global::Gamma.GtkWidgets.yButton(); this.buttonWarnings.TooltipMarkup = "Имеются перудупреждения. Нажмите что бы посмотреть."; this.buttonWarnings.CanFocus = true; this.buttonWarnings.Name = "buttonWarnings"; this.buttonWarnings.UseUnderline = true; this.buttonWarnings.Relief = ((global::Gtk.ReliefStyle)(2)); global::Gtk.Image w31 = new global::Gtk.Image(); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.buttonWarnings.Image = w31; this.hbox8.Add(this.buttonWarnings); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonWarnings])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonAutoCreate = new global::Gamma.GtkWidgets.yButton(); this.buttonAutoCreate.CanFocus = true; this.buttonAutoCreate.Name = "buttonAutoCreate"; this.buttonAutoCreate.UseUnderline = true; this.buttonAutoCreate.Label = global::Mono.Unix.Catalog.GetString("Создать маршруты"); this.hbox8.Add(this.buttonAutoCreate); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonAutoCreate])); w33.Position = 4; w33.Expand = false; w33.Fill = false; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxDrivers = new global::Gtk.VBox(); this.vboxDrivers.Name = "vboxDrivers"; this.vboxDrivers.Spacing = 6; // Container child vboxDrivers.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.ytreeviewOnDayDrivers = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayDrivers.CanFocus = true; this.ytreeviewOnDayDrivers.Name = "ytreeviewOnDayDrivers"; this.GtkScrolledWindow1.Add(this.ytreeviewOnDayDrivers); this.vboxDrivers.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vboxDrivers[this.GtkScrolledWindow1])); w36.Position = 0; // Container child vboxDrivers.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonAddDriver = new global::Gamma.GtkWidgets.yButton(); this.buttonAddDriver.CanFocus = true; this.buttonAddDriver.Name = "buttonAddDriver"; this.buttonAddDriver.UseUnderline = true; this.buttonAddDriver.Label = global::Mono.Unix.Catalog.GetString("Добавить водителя"); global::Gtk.Image w37 = new global::Gtk.Image(); w37.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddDriver.Image = w37; this.hbox7.Add(this.buttonAddDriver); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonAddDriver])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRemoveDriver = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveDriver.CanFocus = true; this.buttonRemoveDriver.Name = "buttonRemoveDriver"; this.buttonRemoveDriver.UseUnderline = true; this.buttonRemoveDriver.Label = global::Mono.Unix.Catalog.GetString("Снять водителя"); global::Gtk.Image w39 = new global::Gtk.Image(); w39.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveDriver.Image = w39; this.hbox7.Add(this.buttonRemoveDriver); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonRemoveDriver])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDriverSelectAuto = new global::Gamma.GtkWidgets.yButton(); this.buttonDriverSelectAuto.CanFocus = true; this.buttonDriverSelectAuto.Name = "buttonDriverSelectAuto"; this.buttonDriverSelectAuto.UseUnderline = true; this.buttonDriverSelectAuto.Label = global::Mono.Unix.Catalog.GetString("Выбрать авто"); global::Gtk.Image w41 = new global::Gtk.Image(); w41.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.car.png"); this.buttonDriverSelectAuto.Image = w41; this.hbox7.Add(this.buttonDriverSelectAuto); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonDriverSelectAuto])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.vboxDrivers.Add(this.hbox7); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxDrivers[this.hbox7])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.notebook1.Add(this.vboxDrivers); // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Водители"); this.label4.Angle = 270D; this.notebook1.SetTabLabel(this.vboxDrivers, this.label4); this.label4.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytreeviewOnDayForwarders = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayForwarders.CanFocus = true; this.ytreeviewOnDayForwarders.Name = "ytreeviewOnDayForwarders"; this.GtkScrolledWindow2.Add(this.ytreeviewOnDayForwarders); this.vbox4.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow2])); w46.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonAddForwarder = new global::Gamma.GtkWidgets.yButton(); this.buttonAddForwarder.CanFocus = true; this.buttonAddForwarder.Name = "buttonAddForwarder"; this.buttonAddForwarder.UseUnderline = true; this.buttonAddForwarder.Label = global::Mono.Unix.Catalog.GetString("Добавить экспедитора"); global::Gtk.Image w47 = new global::Gtk.Image(); w47.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddForwarder.Image = w47; this.hbox6.Add(this.buttonAddForwarder); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddForwarder])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveForwarder = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveForwarder.CanFocus = true; this.buttonRemoveForwarder.Name = "buttonRemoveForwarder"; this.buttonRemoveForwarder.UseUnderline = true; this.buttonRemoveForwarder.Label = global::Mono.Unix.Catalog.GetString("Снять экспедитора"); global::Gtk.Image w49 = new global::Gtk.Image(); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveForwarder.Image = w49; this.hbox6.Add(this.buttonRemoveForwarder); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveForwarder])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.vbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.notebook1.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w52 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); w52.Position = 1; // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Экспедиторы"); this.label5.Angle = 270D; this.notebook1.SetTabLabel(this.vbox4, this.label5); this.label5.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxRouteLists = new global::Gtk.VBox(); this.vboxRouteLists.Name = "vboxRouteLists"; this.vboxRouteLists.Spacing = 6; // Container child vboxRouteLists.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.ytreeRoutes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeRoutes.CanFocus = true; this.ytreeRoutes.Name = "ytreeRoutes"; this.GtkScrolledWindow.Add(this.ytreeRoutes); this.vboxRouteLists.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxRouteLists[this.GtkScrolledWindow])); w54.Position = 0; // Container child vboxRouteLists.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonOpen = new global::Gamma.GtkWidgets.yButton(); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); this.hbox5.Add(this.buttonOpen); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonOpen])); w55.Position = 0; w55.Expand = false; w55.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonRebuildRoute = new global::Gamma.GtkWidgets.yButton(); this.buttonRebuildRoute.CanFocus = true; this.buttonRebuildRoute.Name = "buttonRebuildRoute"; this.buttonRebuildRoute.UseUnderline = true; this.buttonRebuildRoute.Label = global::Mono.Unix.Catalog.GetString("Перестроить маршрут"); global::Gtk.Image w56 = new global::Gtk.Image(); w56.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.sort-ascending.png"); this.buttonRebuildRoute.Image = w56; this.hbox5.Add(this.buttonRebuildRoute); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRebuildRoute])); w57.Position = 1; w57.Expand = false; w57.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonRemoveAddress = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveAddress.CanFocus = true; this.buttonRemoveAddress.Name = "buttonRemoveAddress"; this.buttonRemoveAddress.UseUnderline = true; this.buttonRemoveAddress.Label = global::Mono.Unix.Catalog.GetString("Убрать адрес"); global::Gtk.Image w58 = new global::Gtk.Image(); w58.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveAddress.Image = w58; this.hbox5.Add(this.buttonRemoveAddress); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRemoveAddress])); w59.Position = 2; w59.Expand = false; w59.Fill = false; this.vboxRouteLists.Add(this.hbox5); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vboxRouteLists[this.hbox5])); w60.Position = 1; w60.Expand = false; w60.Fill = false; this.notebook1.Add(this.vboxRouteLists); global::Gtk.Notebook.NotebookChild w61 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxRouteLists])); w61.Position = 2; // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Маршруты"); this.label6.Angle = 270D; this.notebook1.SetTabLabel(this.vboxRouteLists, this.label6); this.label6.ShowAll(); this.vbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1])); w62.Position = 1; this.hpaned3.Add(this.vbox3); global::Gtk.Paned.PanedChild w63 = ((global::Gtk.Paned.PanedChild)(this.hpaned3[this.vbox3])); w63.Resize = false; // Container child hpaned3.Gtk.Paned+PanedChild 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.btnRefresh = new global::Gamma.GtkWidgets.yButton(); this.btnRefresh.TooltipMarkup = "Обновить"; this.btnRefresh.CanFocus = true; this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.UseUnderline = true; global::Gtk.Image w64 = new global::Gtk.Image(); w64.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.btnRefresh.Image = w64; this.hbox4.Add(this.btnRefresh); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnRefresh])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelSelected = new global::Gtk.Label(); this.labelSelected.Name = "labelSelected"; this.labelSelected.LabelProp = global::Mono.Unix.Catalog.GetString("Адресов\nне выбрано"); this.labelSelected.Justify = ((global::Gtk.Justification)(2)); this.hbox4.Add(this.labelSelected); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelSelected])); w66.Position = 1; w66.Expand = false; w66.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.menuAddToRL = new global::QSWidgetLib.MenuButton(); this.menuAddToRL.Sensitive = false; this.menuAddToRL.CanFocus = true; this.menuAddToRL.Name = "menuAddToRL"; this.menuAddToRL.UseUnderline = true; this.menuAddToRL.UseMarkup = false; this.menuAddToRL.LabelXAlign = 0F; this.menuAddToRL.Label = global::Mono.Unix.Catalog.GetString("В маршрутный лист"); global::Gtk.Image w67 = new global::Gtk.Image(); w67.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.menuAddToRL.Image = w67; this.hbox4.Add(this.menuAddToRL); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.menuAddToRL])); w68.Position = 2; w68.Expand = false; w68.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.checkShowDistricts = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowDistricts.CanFocus = true; this.checkShowDistricts.Name = "checkShowDistricts"; this.checkShowDistricts.Label = global::Mono.Unix.Catalog.GetString("Районы"); this.checkShowDistricts.DrawIndicator = true; this.checkShowDistricts.UseUnderline = true; this.hbox4.Add(this.checkShowDistricts); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.checkShowDistricts])); w69.Position = 3; w69.Expand = false; // Container child hbox4.Gtk.Box+BoxChild this.yspinMaxTime = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 1D); this.yspinMaxTime.TooltipMarkup = "Максимальное время оптимизаций, в секундах."; this.yspinMaxTime.CanFocus = true; this.yspinMaxTime.Name = "yspinMaxTime"; this.yspinMaxTime.Adjustment.PageIncrement = 10D; this.yspinMaxTime.ClimbRate = 1D; this.yspinMaxTime.Numeric = true; this.yspinMaxTime.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1)); this.yspinMaxTime.Value = 30D; this.yspinMaxTime.ValueAsDecimal = 0m; this.yspinMaxTime.ValueAsInt = 0; this.hbox4.Add(this.yspinMaxTime); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yspinMaxTime])); w70.Position = 4; w70.Expand = false; w70.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator2])); w71.Position = 5; w71.Expand = false; w71.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox4.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboMapType])); w72.Position = 6; w72.Expand = false; w72.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonMapHelp = new global::Gamma.GtkWidgets.yButton(); this.buttonMapHelp.TooltipMarkup = "Справка по работе с картой."; this.buttonMapHelp.CanFocus = true; this.buttonMapHelp.Name = "buttonMapHelp"; this.buttonMapHelp.UseUnderline = true; this.buttonMapHelp.Relief = ((global::Gtk.ReliefStyle)(1)); global::Gtk.Image w73 = new global::Gtk.Image(); w73.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.buttonMapHelp.Image = w73; this.hbox4.Add(this.buttonMapHelp); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonMapHelp])); w74.Position = 7; w74.Expand = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w75.Position = 0; w75.Expand = false; w75.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vbox2.Add(this.gmapWidget); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.gmapWidget])); w76.Position = 1; this.hpaned3.Add(this.vbox2); this.vbox5.Add(this.hpaned3); global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hpaned3])); w78.Position = 1; this.Add(this.vbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonWarnings.Hide(); this.Hide(); this.ySpnMin19Btls.WidgetEvent += new global::Gtk.WidgetEventHandler(this.OnFilterWidgetEvent); this.buttonAutoCreate.Clicked += new global::System.EventHandler(this.OnButtonAutoCreateClicked); this.buttonDriverSelectAuto.Clicked += new global::System.EventHandler(this.OnButtonDriverSelectAutoClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Sale.DeliveryPriceDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Sale.DeliveryPriceDlg"; // Container child Vodovoz.Dialogs.Sale.DeliveryPriceDlg.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(6)), ((uint)(2)), 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.entryBuilding = new global::QSOsm.HouseEntry(); this.entryBuilding.CanFocus = true; this.entryBuilding.Name = "entryBuilding"; this.entryBuilding.IsEditable = true; this.entryBuilding.WidthChars = 20; this.entryBuilding.MaxLength = 20; this.entryBuilding.InvisibleChar = '●'; this.datatable1.Add(this.entryBuilding); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entryBuilding])); 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 datatable1.Gtk.Table+TableChild this.entryCity = new global::QSOsm.CityEntry(); this.entryCity.CanFocus = true; this.entryCity.Name = "entryCity"; this.entryCity.IsEditable = true; this.entryCity.InvisibleChar = '●'; this.datatable1.Add(this.entryCity); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entryCity])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.entryStreet = new global::QSOsm.StreetEntry(); this.entryStreet.CanFocus = true; this.entryStreet.Name = "entryStreet"; this.entryStreet.IsEditable = true; this.entryStreet.InvisibleChar = '●'; this.entryStreet.CityId = 0; this.datatable1.Add(this.entryStreet); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entryStreet])); 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 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 global::Gtk.Viewport w4 = new global::Gtk.Viewport(); w4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.deliverypriceview = new global::Vodovoz.ViewWidgets.DeliveryPriceView(); this.deliverypriceview.Events = ((global::Gdk.EventMask)(256)); this.deliverypriceview.Name = "deliverypriceview"; w4.Add(this.deliverypriceview); this.GtkScrolledWindow.Add(w4); this.datatable1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1[this.GtkScrolledWindow])); w7.TopAttach = ((uint)(5)); w7.BottomAttach = ((uint)(6)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ylabelFoundOnOsm = new global::Gamma.GtkWidgets.yLabel(); this.ylabelFoundOnOsm.Name = "ylabelFoundOnOsm"; this.ylabelFoundOnOsm.LabelProp = global::Mono.Unix.Catalog.GetString("нет координат"); this.ylabelFoundOnOsm.UseMarkup = true; this.ylabelFoundOnOsm.Selectable = true; this.hbox7.Add(this.ylabelFoundOnOsm); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ylabelFoundOnOsm])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonInsertFromBuffer = new global::Gtk.Button(); this.buttonInsertFromBuffer.CanFocus = true; this.buttonInsertFromBuffer.Name = "buttonInsertFromBuffer"; this.buttonInsertFromBuffer.UseUnderline = true; this.buttonInsertFromBuffer.Label = global::Mono.Unix.Catalog.GetString("Вставить из буфера обмена"); this.hbox7.Add(this.buttonInsertFromBuffer); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonInsertFromBuffer])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.datatable1.Add(this.hbox7); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox7])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w11 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.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 w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label4])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.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 w13 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label5])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label6])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.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 w15 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.yspinBottles = new global::Gamma.GtkWidgets.ySpinButton(1D, 1000D, 1D); this.yspinBottles.CanFocus = true; this.yspinBottles.Name = "yspinBottles"; this.yspinBottles.Adjustment.PageIncrement = 10D; this.yspinBottles.ClimbRate = 1D; this.yspinBottles.Numeric = true; this.yspinBottles.Value = 1D; this.yspinBottles.ValueAsDecimal = 0m; this.yspinBottles.ValueAsInt = 0; this.datatable1.Add(this.yspinBottles); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.yspinBottles])); 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)); this.hbox1.Add(this.datatable1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.datatable1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.vbox3.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.yenumcomboMapType])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.MapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.MapWidget.Name = "MapWidget"; this.MapWidget.MaxZoom = 24; this.MapWidget.MinZoom = 0; this.MapWidget.MouseWheelZoomEnabled = true; this.MapWidget.ShowTileGridLines = false; this.MapWidget.GrayScaleMode = false; this.MapWidget.NegativeMode = false; this.MapWidget.HasFrame = true; this.MapWidget.Bearing = 0F; this.MapWidget.Zoom = 9D; this.MapWidget.RoutesEnabled = false; this.MapWidget.PolygonsEnabled = false; this.MapWidget.MarkersEnabled = true; this.MapWidget.CanDragMap = true; this.vbox3.Add(this.MapWidget); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.MapWidget])); w19.Position = 1; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w20.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yspinBottles.ValueChanged += new global::System.EventHandler(this.OnYspinBottlesValueChanged); this.buttonInsertFromBuffer.Clicked += new global::System.EventHandler(this.OnButtonInsertFromBufferClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Sale.GeographicGroupDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Sale.GeographicGroupDlg"; // Container child Vodovoz.Dialogs.Sale.GeographicGroupDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-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; // 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; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(3)); // Container child vbox3.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.lblCoordinatesOfBase = new global::Gtk.Label(); this.lblCoordinatesOfBase.Name = "lblCoordinatesOfBase"; this.lblCoordinatesOfBase.Xalign = 1F; this.lblCoordinatesOfBase.LabelProp = global::Mono.Unix.Catalog.GetString("Координаты базы:"); this.table2.Add(this.lblCoordinatesOfBase); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.lblCoordinatesOfBase])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.lblCoordinatesValue = new global::Gamma.GtkWidgets.yLabel(); this.lblCoordinatesValue.Name = "lblCoordinatesValue"; this.lblCoordinatesValue.LabelProp = global::Mono.Unix.Catalog.GetString("lblCoordinatesValue"); this.lblCoordinatesValue.UseMarkup = true; this.lblCoordinatesValue.Selectable = true; this.table2.Add(this.lblCoordinatesValue); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.lblCoordinatesValue])); 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)); // Container child table2.Gtk.Table+TableChild this.lblName = new global::Gtk.Label(); this.lblName.Name = "lblName"; this.lblName.Xalign = 1F; this.lblName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table2.Add(this.lblName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.lblName])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yEntryName = new global::Gamma.GtkWidgets.yEntry(); this.yEntryName.CanFocus = true; this.yEntryName.Name = "yEntryName"; this.yEntryName.IsEditable = true; this.yEntryName.InvisibleChar = '•'; this.table2.Add(this.yEntryName); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.yEntryName])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table2])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.comboMapProvider = new global::Gamma.Widgets.yEnumComboBox(); this.comboMapProvider.Name = "comboMapProvider"; this.comboMapProvider.ShowSpecialStateAll = false; this.comboMapProvider.ShowSpecialStateNot = false; this.comboMapProvider.UseShortTitle = false; this.comboMapProvider.DefaultFirst = false; this.hbox2.Add(this.comboMapProvider); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboMapProvider])); w11.Position = 0; w11.Expand = false; w11.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.gMapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gMapWidget.Name = "gMapWidget"; this.gMapWidget.MaxZoom = 0; this.gMapWidget.MinZoom = 0; this.gMapWidget.MouseWheelZoomEnabled = true; this.gMapWidget.ShowTileGridLines = false; this.gMapWidget.GrayScaleMode = false; this.gMapWidget.NegativeMode = false; this.gMapWidget.HasFrame = true; this.gMapWidget.Bearing = 0F; this.gMapWidget.Zoom = 15D; this.gMapWidget.RoutesEnabled = false; this.gMapWidget.PolygonsEnabled = true; this.gMapWidget.MarkersEnabled = true; this.gMapWidget.CanDragMap = true; this.vbox3.Add(this.gMapWidget); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.gMapWidget])); w13.Position = 2; this.vbox2.Add(this.vbox3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vbox3])); w14.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.RouteListTrackDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.RouteListTrackDlg"; // Container child Vodovoz.RouteListTrackDlg.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.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.yhbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.label1])); w1.Position = 0; // Container child yhbox1.Gtk.Box+BoxChild this.routelisttrackfilterview1 = new global::Vodovoz.Filters.GtkViews.RouteListTrackFilterView(new RouteListTrackFilterViewModel()); this.routelisttrackfilterview1.Events = ((global::Gdk.EventMask)(256)); this.routelisttrackfilterview1.Name = "routelisttrackfilterview1"; this.yhbox1.Add(this.routelisttrackfilterview1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.routelisttrackfilterview1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox2.Add(this.yhbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.yhbox1])); w3.Position = 0; w3.Expand = false; w3.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.yTreeViewDrivers = new global::QSOrmProject.RepresentationTreeView(); this.yTreeViewDrivers.WidthRequest = 500; this.yTreeViewDrivers.CanFocus = true; this.yTreeViewDrivers.Name = "yTreeViewDrivers"; this.GtkScrolledWindow.Add(this.yTreeViewDrivers); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w5.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonOpenKeeping = new global::Gtk.Button(); this.buttonOpenKeeping.CanFocus = true; this.buttonOpenKeeping.Name = "buttonOpenKeeping"; this.buttonOpenKeeping.UseUnderline = true; this.buttonOpenKeeping.Label = global::Mono.Unix.Catalog.GetString("Открыть ведение"); this.hbox2.Add(this.buttonOpenKeeping); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonOpenKeeping])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonChat = new global::Gtk.Button(); this.buttonChat.CanFocus = true; this.buttonChat.Name = "buttonChat"; this.buttonChat.UseUnderline = true; this.buttonChat.Label = global::Mono.Unix.Catalog.GetString("Открыть чат"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("chat-icon.png"); this.buttonChat.Image = w7; this.hbox2.Add(this.buttonChat); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonChat])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonSendMessage = new global::Gtk.Button(); this.buttonSendMessage.CanFocus = true; this.buttonSendMessage.Name = "buttonSendMessage"; this.buttonSendMessage.UseUnderline = true; this.buttonSendMessage.Label = global::Mono.Unix.Catalog.GetString("Отправить сообщение"); global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("document-send.png"); this.buttonSendMessage.Image = w9; this.hbox2.Add(this.buttonSendMessage); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSendMessage])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxRight = new global::Gtk.VBox(); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; // Container child vboxRight.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Список адресов"); this.vboxRight.Add(this.label2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.label2])); w13.Position = 0; w13.Expand = false; // Container child vboxRight.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.yTreeAddresses = new global::QSOrmProject.RepresentationTreeView(); this.yTreeAddresses.WidthRequest = 600; this.yTreeAddresses.HeightRequest = 150; this.yTreeAddresses.CanFocus = true; this.yTreeAddresses.Name = "yTreeAddresses"; this.GtkScrolledWindow1.Add(this.yTreeAddresses); this.vboxRight.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.GtkScrolledWindow1])); w15.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.toggleButtonHideAddresses = new global::Gtk.ToggleButton(); this.toggleButtonHideAddresses.TooltipMarkup = "Скрыть\\показать адреса."; this.toggleButtonHideAddresses.CanFocus = true; this.toggleButtonHideAddresses.Name = "toggleButtonHideAddresses"; this.toggleButtonHideAddresses.UseUnderline = true; this.toggleButtonHideAddresses.Label = global::Mono.Unix.Catalog.GetString("⇧⇩ Адреса МЛ"); this.hbox3.Add(this.toggleButtonHideAddresses); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.toggleButtonHideAddresses])); w16.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.ybuttonTrackPoints = new global::Gamma.GtkWidgets.yButton(); this.ybuttonTrackPoints.TooltipMarkup = "Координаты"; this.ybuttonTrackPoints.Name = "ybuttonTrackPoints"; this.ybuttonTrackPoints.UseUnderline = true; this.ybuttonTrackPoints.Label = "Координаты"; this.hbox3.Add(this.ybuttonTrackPoints); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ybuttonTrackPoints])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox3.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 w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w18; this.hbox3.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonRefresh])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCleanTrack = new global::Gtk.Button(); this.buttonCleanTrack.Sensitive = false; this.buttonCleanTrack.CanFocus = true; this.buttonCleanTrack.Name = "buttonCleanTrack"; this.buttonCleanTrack.UseUnderline = true; this.buttonCleanTrack.Label = global::Mono.Unix.Catalog.GetString("Убрать трек"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCleanTrack.Image = w20; this.hbox3.Add(this.buttonCleanTrack); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCleanTrack])); w21.Position = 3; w21.Expand = false; w21.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox3.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboMapType])); w22.Position = 4; w22.Expand = false; w22.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonMapInWindow = new global::Gtk.Button(); this.buttonMapInWindow.CanFocus = true; this.buttonMapInWindow.Name = "buttonMapInWindow"; this.buttonMapInWindow.UseUnderline = true; this.buttonMapInWindow.Label = global::Mono.Unix.Catalog.GetString("Карта в окне"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.window-new.png"); this.buttonMapInWindow.Image = w23; this.hbox3.Add(this.buttonMapInWindow); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonMapInWindow])); w24.Position = 5; w24.Expand = false; w24.Fill = false; this.vboxRight.Add(this.hbox3); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.hbox3])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vboxRight.Add(this.gmapWidget); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.gmapWidget])); w26.Position = 3; this.hbox1.Add(this.vboxRight); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxRight])); w27.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonChat.Hide(); this.buttonSendMessage.Hide(); this.label2.Hide(); this.GtkScrolledWindow1.Hide(); this.Hide(); this.yTreeViewDrivers.RowActivated += new global::Gtk.RowActivatedHandler(this.OnYTreeViewDriversRowActivated); this.buttonOpenKeeping.Clicked += new global::System.EventHandler(this.OnButtonOpenKeepingClicked); this.buttonChat.Clicked += new global::System.EventHandler(this.OnButtonChatClicked); this.buttonSendMessage.Clicked += new global::System.EventHandler(this.OnButtonSendMessageClicked); this.toggleButtonHideAddresses.Toggled += new global::System.EventHandler(this.OnToggleButtonHideAddressesToggled); this.ybuttonTrackPoints.Clicked += new global::System.EventHandler(this.OnButtonTrackPointsClicked); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); this.buttonCleanTrack.Clicked += new global::System.EventHandler(this.OnButtonCleanTrackClicked); this.yenumcomboMapType.ChangedByUser += new global::System.EventHandler(this.OnYenumcomboMapTypeChangedByUser); this.buttonMapInWindow.Clicked += new global::System.EventHandler(this.OnButtonMapInWindowClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.FinancialDistrictsSetView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.FinancialDistrictsSetView"; // Container child Vodovoz.Views.FinancialDistrictsSetView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.hbox4.Add(this.btnSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); this.hbox4.Add(this.btnCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator2])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.hbox4.Add(this.ylabelStatus); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabelStatus])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabelStatusString = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatusString.Name = "ylabelStatusString"; this.hbox4.Add(this.ylabelStatusString); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabelStatusString])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hbox4.Add(this.vseparator3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator3])); w6.Position = 5; w6.Expand = false; w6.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabelName = new global::Gamma.GtkWidgets.yLabel(); this.ylabelName.Name = "ylabelName"; this.ylabelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название версии:"); this.hbox4.Add(this.ylabelName); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabelName])); w7.Position = 6; w7.Expand = false; w7.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '•'; this.hbox4.Add(this.entryName); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.entryName])); w8.Position = 7; // Container child hbox4.Gtk.Box+BoxChild this.btnRemoveDistrict = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveDistrict.CanFocus = true; this.btnRemoveDistrict.Name = "btnRemoveDistrict"; this.btnRemoveDistrict.UseUnderline = true; this.btnRemoveDistrict.Label = global::Mono.Unix.Catalog.GetString("Удалить район"); this.hbox4.Add(this.btnRemoveDistrict); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnRemoveDistrict])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 10; w9.Expand = false; w9.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.btnAddDistrict = new global::Gamma.GtkWidgets.yButton(); this.btnAddDistrict.CanFocus = true; this.btnAddDistrict.Name = "btnAddDistrict"; this.btnAddDistrict.UseUnderline = true; this.btnAddDistrict.Label = global::Mono.Unix.Catalog.GetString("Добавить район"); this.hbox4.Add(this.btnAddDistrict); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnAddDistrict])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 11; w10.Expand = false; w10.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrollDistricts = new global::Gtk.ScrolledWindow(); this.scrollDistricts.Name = "scrollDistricts"; this.scrollDistricts.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrollDistricts.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollDistricts.Gtk.Container+ContainerChild this.ytreeDistricts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeDistricts.CanFocus = true; this.ytreeDistricts.Name = "ytreeDistricts"; this.scrollDistricts.Add(this.ytreeDistricts); this.vbox3.Add(this.scrollDistricts); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.scrollDistricts])); w13.Position = 1; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vbox4.Add(this.gmapWidget); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.gmapWidget])); w15.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.cmbMapType = new global::Gamma.Widgets.yEnumComboBox(); this.cmbMapType.Name = "cmbMapType"; this.cmbMapType.ShowSpecialStateAll = false; this.cmbMapType.ShowSpecialStateNot = false; this.cmbMapType.UseShortTitle = false; this.cmbMapType.DefaultFirst = true; this.hbox6.Add(this.cmbMapType); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.cmbMapType])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnCancelNewBorder = new global::Gamma.GtkWidgets.yButton(); this.btnCancelNewBorder.CanFocus = true; this.btnCancelNewBorder.Name = "btnCancelNewBorder"; this.btnCancelNewBorder.UseUnderline = true; this.btnCancelNewBorder.Label = global::Mono.Unix.Catalog.GetString("Отменить создание границы"); this.hbox6.Add(this.btnCancelNewBorder); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnCancelNewBorder])); w17.PackType = ((global::Gtk.PackType)(1)); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnConfirmNewBorder = new global::Gamma.GtkWidgets.yButton(); this.btnConfirmNewBorder.CanFocus = true; this.btnConfirmNewBorder.Name = "btnConfirmNewBorder"; this.btnConfirmNewBorder.UseUnderline = true; this.btnConfirmNewBorder.Label = global::Mono.Unix.Catalog.GetString("Подтвердить новую границу"); this.hbox6.Add(this.btnConfirmNewBorder); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnConfirmNewBorder])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.toggleNewBorderPreview = new global::Gamma.GtkWidgets.yToggleButton(); this.toggleNewBorderPreview.CanFocus = true; this.toggleNewBorderPreview.Name = "toggleNewBorderPreview"; this.toggleNewBorderPreview.UseUnderline = true; this.toggleNewBorderPreview.Label = global::Mono.Unix.Catalog.GetString("Предпросмотр границы"); global::Gtk.Image w19 = new global::Gtk.Image(); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Menu); this.toggleNewBorderPreview.Image = w19; this.hbox6.Add(this.toggleNewBorderPreview); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.toggleNewBorderPreview])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 4; w20.Expand = false; w20.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnRemoveBorder = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveBorder.CanFocus = true; this.btnRemoveBorder.Name = "btnRemoveBorder"; this.btnRemoveBorder.UseUnderline = true; this.btnRemoveBorder.Label = global::Mono.Unix.Catalog.GetString("Удалить границу"); this.hbox6.Add(this.btnRemoveBorder); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnRemoveBorder])); w21.PackType = ((global::Gtk.PackType)(1)); w21.Position = 5; w21.Expand = false; w21.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnAddBorder = new global::Gamma.GtkWidgets.yButton(); this.btnAddBorder.CanFocus = true; this.btnAddBorder.Name = "btnAddBorder"; this.btnAddBorder.UseUnderline = true; this.btnAddBorder.Label = global::Mono.Unix.Catalog.GetString("Создать границу"); this.hbox6.Add(this.btnAddBorder); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnAddBorder])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 6; w22.Expand = false; w22.Fill = false; this.vbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.hbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox4])); w24.Position = 1; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w25.Position = 0; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Dialogs.Logistic.TrackOnMapWnd this.Name = "Dialogs.Logistic.TrackOnMapWnd"; this.Title = global::Mono.Unix.Catalog.GetString("TrackOnMapWnd"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Dialogs.Logistic.TrackOnMapWnd.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.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Вид маркеров:"); this.vbox6.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.radioSmall = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Маленькие")); this.radioSmall.CanFocus = true; this.radioSmall.Name = "radioSmall"; this.radioSmall.DrawIndicator = true; this.radioSmall.UseUnderline = true; this.radioSmall.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox6.Add(this.radioSmall); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.radioSmall])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.radioNumbers = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Пронумерованные")); this.radioNumbers.CanFocus = true; this.radioNumbers.Name = "radioNumbers"; this.radioNumbers.DrawIndicator = true; this.radioNumbers.UseUnderline = true; this.radioNumbers.Group = this.radioSmall.Group; this.vbox6.Add(this.radioNumbers); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.radioNumbers])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.hbox1.Add(this.vbox6); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox6])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.labelDistance = new global::Gtk.Label(); this.labelDistance.Name = "labelDistance"; this.labelDistance.LabelProp = global::Mono.Unix.Catalog.GetString("Расстояние"); this.hbox1.Add(this.labelDistance); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelDistance])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 3; // Container child vbox2.Gtk.Box+BoxChild this.buttonRecalculateToBase = new global::Gtk.Button(); this.buttonRecalculateToBase.CanFocus = true; this.buttonRecalculateToBase.Name = "buttonRecalculateToBase"; this.buttonRecalculateToBase.UseUnderline = true; this.buttonRecalculateToBase.Label = global::Mono.Unix.Catalog.GetString("Пересчитать км до базы"); this.vbox2.Add(this.buttonRecalculateToBase); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonRecalculateToBase])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonFindGap = new global::Gtk.Button(); this.buttonFindGap.CanFocus = true; this.buttonFindGap.Name = "buttonFindGap"; this.buttonFindGap.UseUnderline = true; this.buttonFindGap.Label = global::Mono.Unix.Catalog.GetString("Найти и пересчитать разрывы"); this.vbox2.Add(this.buttonFindGap); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonFindGap])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonRecountMileage = new global::Gtk.Button(); this.buttonRecountMileage.CanFocus = true; this.buttonRecountMileage.Name = "buttonRecountMileage"; this.buttonRecountMileage.UseUnderline = true; this.buttonRecountMileage.Label = global::Mono.Unix.Catalog.GetString("Пересчитать километраж"); this.vbox2.Add(this.buttonRecountMileage); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonRecountMileage])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w9.Position = 4; w9.Expand = false; w9.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.labelCutTrack = new global::Gtk.Label(); this.labelCutTrack.Name = "labelCutTrack"; this.labelCutTrack.LabelProp = global::Mono.Unix.Catalog.GetString("Обработанный\nтрек:"); this.vbox7.Add(this.labelCutTrack); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.labelCutTrack])); w10.Position = 0; w10.Expand = false; w10.Fill = false; this.hbox1.Add(this.vbox7); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox7])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 6; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.buttonLastAddress = new global::Gtk.Button(); this.buttonLastAddress.CanFocus = true; this.buttonLastAddress.Name = "buttonLastAddress"; this.buttonLastAddress.UseUnderline = true; this.buttonLastAddress.Label = global::Mono.Unix.Catalog.GetString("Последний адрес"); this.vbox5.Add(this.buttonLastAddress); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.buttonLastAddress])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.buttonCutTrack = new global::Gtk.Button(); this.buttonCutTrack.CanFocus = true; this.buttonCutTrack.Name = "buttonCutTrack"; this.buttonCutTrack.UseUnderline = true; this.buttonCutTrack.Label = global::Mono.Unix.Catalog.GetString("Обрезать"); this.vbox5.Add(this.buttonCutTrack); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.buttonCutTrack])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox5])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 7; w14.Expand = false; w14.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.ydatepickerStart = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerStart.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerStart.Name = "ydatepickerStart"; this.ydatepickerStart.WithTime = true; this.ydatepickerStart.HideCalendarButton = false; this.ydatepickerStart.Date = new global::System.DateTime(0); this.ydatepickerStart.IsEditable = true; this.ydatepickerStart.AutoSeparation = false; this.vbox4.Add(this.ydatepickerStart); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.ydatepickerStart])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.ydatepickerEnd = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerEnd.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerEnd.Name = "ydatepickerEnd"; this.ydatepickerEnd.WithTime = true; this.ydatepickerEnd.HideCalendarButton = false; this.ydatepickerEnd.Date = new global::System.DateTime(0); this.ydatepickerEnd.IsEditable = true; this.ydatepickerEnd.AutoSeparation = false; this.vbox4.Add(this.ydatepickerEnd); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.ydatepickerEnd])); w16.Position = 1; w16.Expand = false; this.hbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox4])); w17.PackType = ((global::Gtk.PackType)(1)); w17.Position = 8; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("обрезать до"); this.vbox3.Add(this.label4); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label4])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Sensitive = false; this.label2.Name = "label2"; this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("обрезать после"); this.vbox3.Add(this.label5); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label5])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w21.PackType = ((global::Gtk.PackType)(1)); w21.Position = 9; w21.Expand = false; w21.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w22.Position = 0; w22.Expand = false; w22.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.comboMapProvider = new global::Gamma.Widgets.yEnumComboBox(); this.comboMapProvider.Name = "comboMapProvider"; this.comboMapProvider.ShowSpecialStateAll = false; this.comboMapProvider.ShowSpecialStateNot = false; this.comboMapProvider.UseShortTitle = false; this.comboMapProvider.DefaultFirst = false; this.hbox4.Add(this.comboMapProvider); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.comboMapProvider])); w23.Position = 0; w23.Expand = false; w23.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 0; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 0D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = false; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vbox1.Add(this.gmapWidget); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.gmapWidget])); w25.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.ylabelPoint = new global::Gamma.GtkWidgets.yLabel(); this.ylabelPoint.Name = "ylabelPoint"; this.statusbar1.Add(this.ylabelPoint); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.statusbar1[this.ylabelPoint])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w27.Position = 3; w27.Expand = false; w27.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1090; this.DefaultHeight = 300; this.label2.Hide(); this.Show(); this.radioSmall.Clicked += new global::System.EventHandler(this.OnRadioSmallClicked); this.radioNumbers.Clicked += new global::System.EventHandler(this.OnRadioNumbersClicked); this.buttonRecalculateToBase.Clicked += new global::System.EventHandler(this.OnButtonRecalculateToBaseClicked); this.buttonFindGap.Clicked += new global::System.EventHandler(this.OnButtonFindGapClicked); this.buttonRecountMileage.Clicked += new global::System.EventHandler(this.OnButtonRecountMileageClicked); this.buttonLastAddress.Clicked += new global::System.EventHandler(this.OnButtonLastAddressClicked); this.buttonCutTrack.Clicked += new global::System.EventHandler(this.OnButtonCutTrackClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.RouteListTrackDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.RouteListTrackDlg"; // Container child Vodovoz.RouteListTrackDlg.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Водители в пути"); this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w1.Position = 0; w1.Expand = false; w1.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.yTreeViewDrivers = new global::QSOrmProject.RepresentationTreeView (); this.yTreeViewDrivers.WidthRequest = 500; this.yTreeViewDrivers.CanFocus = true; this.yTreeViewDrivers.Name = "yTreeViewDrivers"; this.GtkScrolledWindow.Add (this.yTreeViewDrivers); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w3.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonChat = new global::Gtk.Button (); this.buttonChat.CanFocus = true; this.buttonChat.Name = "buttonChat"; this.buttonChat.UseUnderline = true; this.buttonChat.Label = global::Mono.Unix.Catalog.GetString ("Открыть чат"); global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("chat-icon.png"); this.buttonChat.Image = w4; this.hbox2.Add (this.buttonChat); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonChat])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxRight = new global::Gtk.VBox (); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; // Container child vboxRight.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Список адресов"); this.vboxRight.Add (this.label2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.label2])); w8.Position = 0; w8.Expand = false; // Container child vboxRight.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.yTreeAddresses = new global::QSOrmProject.RepresentationTreeView (); this.yTreeAddresses.WidthRequest = 600; this.yTreeAddresses.HeightRequest = 150; this.yTreeAddresses.CanFocus = true; this.yTreeAddresses.Name = "yTreeAddresses"; this.GtkScrolledWindow1.Add (this.yTreeAddresses); this.vboxRight.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.GtkScrolledWindow1])); w10.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.toggleButtonHideAddresses = new global::Gtk.ToggleButton (); this.toggleButtonHideAddresses.TooltipMarkup = "Скрыть\\показать адреса."; this.toggleButtonHideAddresses.CanFocus = true; this.toggleButtonHideAddresses.Name = "toggleButtonHideAddresses"; this.toggleButtonHideAddresses.UseUnderline = true; this.toggleButtonHideAddresses.Label = global::Mono.Unix.Catalog.GetString ("⇧⇩"); this.hbox3.Add (this.toggleButtonHideAddresses); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.toggleButtonHideAddresses])); w11.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.buttonCleanTrack = new global::Gtk.Button (); this.buttonCleanTrack.Sensitive = false; this.buttonCleanTrack.CanFocus = true; this.buttonCleanTrack.Name = "buttonCleanTrack"; this.buttonCleanTrack.UseUnderline = true; this.buttonCleanTrack.Label = global::Mono.Unix.Catalog.GetString ("Убрать трек"); global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCleanTrack.Image = w12; this.hbox3.Add (this.buttonCleanTrack); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonCleanTrack])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox (); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox3.Add (this.yenumcomboMapType); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yenumcomboMapType])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonMapInWindow = new global::Gtk.Button (); this.buttonMapInWindow.CanFocus = true; this.buttonMapInWindow.Name = "buttonMapInWindow"; this.buttonMapInWindow.UseUnderline = true; this.buttonMapInWindow.Label = global::Mono.Unix.Catalog.GetString ("Карта в окне"); global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Vodovoz.icons.buttons.window-new.png"); this.buttonMapInWindow.Image = w15; this.hbox3.Add (this.buttonMapInWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonMapInWindow])); w16.Position = 3; w16.Expand = false; w16.Fill = false; this.vboxRight.Add (this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.hbox3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl (); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = false; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vboxRight.Add (this.gmapWidget); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.gmapWidget])); w18.Position = 3; this.hbox1.Add (this.vboxRight); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vboxRight])); w19.Position = 1; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.yTreeViewDrivers.RowActivated += new global::Gtk.RowActivatedHandler (this.OnYTreeViewDriversRowActivated); this.buttonChat.Clicked += new global::System.EventHandler (this.OnButtonChatClicked); this.toggleButtonHideAddresses.Toggled += new global::System.EventHandler (this.OnToggleButtonHideAddressesToggled); this.buttonCleanTrack.Clicked += new global::System.EventHandler (this.OnButtonCleanTrackClicked); this.yenumcomboMapType.ChangedByUser += new global::System.EventHandler (this.OnYenumcomboMapTypeChangedByUser); this.buttonMapInWindow.Clicked += new global::System.EventHandler (this.OnButtonMapInWindowClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Logistic.LogisticAreasEditDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Logistic.LogisticAreasEditDlg"; // Container child Vodovoz.Dialogs.Logistic.LogisticAreasEditDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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.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.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w2.Position = 0; w2.Expand = false; w2.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.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.scrollDistricts = new global::Gtk.ScrolledWindow(); this.scrollDistricts.Name = "scrollDistricts"; this.scrollDistricts.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrollDistricts.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollDistricts.Gtk.Container+ContainerChild this.ytreeDistricts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeDistricts.CanFocus = true; this.ytreeDistricts.Name = "ytreeDistricts"; this.scrollDistricts.Add(this.ytreeDistricts); this.vbox2.Add(this.scrollDistricts); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrollDistricts])); w4.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonAddDistrict = new global::Gtk.Button(); this.buttonAddDistrict.CanFocus = true; this.buttonAddDistrict.Name = "buttonAddDistrict"; this.buttonAddDistrict.UseUnderline = true; this.buttonAddDistrict.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox2.Add(this.buttonAddDistrict); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonAddDistrict])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonDeleteDistrict = new global::Gtk.Button(); this.buttonDeleteDistrict.CanFocus = true; this.buttonDeleteDistrict.Name = "buttonDeleteDistrict"; this.buttonDeleteDistrict.UseUnderline = true; this.buttonDeleteDistrict.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox2.Add(this.buttonDeleteDistrict); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonDeleteDistrict])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox5.Add(this.vbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox2])); w8.Position = 0; this.hbox5.Add(this.vbox5); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox5])); w9.Position = 0; w9.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vbox4.Add(this.gmapWidget); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.gmapWidget])); w10.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonCreateBorder = new global::Gtk.Button(); this.buttonCreateBorder.CanFocus = true; this.buttonCreateBorder.Name = "buttonCreateBorder"; this.buttonCreateBorder.UseUnderline = true; this.buttonCreateBorder.Label = global::Mono.Unix.Catalog.GetString("Создать границу"); this.hbox6.Add(this.buttonCreateBorder); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonCreateBorder])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveBorder = new global::Gtk.Button(); this.buttonRemoveBorder.CanFocus = true; this.buttonRemoveBorder.Name = "buttonRemoveBorder"; this.buttonRemoveBorder.UseUnderline = true; this.buttonRemoveBorder.Label = global::Mono.Unix.Catalog.GetString("Удалить границу"); this.hbox6.Add(this.buttonRemoveBorder); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveBorder])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonAddVertex = new global::Gtk.Button(); this.buttonAddVertex.CanFocus = true; this.buttonAddVertex.Name = "buttonAddVertex"; this.buttonAddVertex.UseUnderline = true; this.buttonAddVertex.Label = global::Mono.Unix.Catalog.GetString("Добавить вершину"); this.hbox6.Add(this.buttonAddVertex); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddVertex])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonMoveVertex = new global::Gtk.Button(); this.buttonMoveVertex.CanFocus = true; this.buttonMoveVertex.Name = "buttonMoveVertex"; this.buttonMoveVertex.UseUnderline = true; this.buttonMoveVertex.Label = global::Mono.Unix.Catalog.GetString("Переместить вершину"); this.hbox6.Add(this.buttonMoveVertex); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonMoveVertex])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveVertex = new global::Gtk.Button(); this.buttonRemoveVertex.CanFocus = true; this.buttonRemoveVertex.Name = "buttonRemoveVertex"; this.buttonRemoveVertex.UseUnderline = true; this.buttonRemoveVertex.Label = global::Mono.Unix.Catalog.GetString("Удалить вершину"); this.hbox6.Add(this.buttonRemoveVertex); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveVertex])); w15.Position = 4; w15.Expand = false; w15.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox6.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yenumcomboMapType])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 5; w16.Expand = false; w16.Fill = false; this.vbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.hbox5.Add(this.vbox4); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox4])); w18.Position = 1; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w19.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonAddDistrict.Clicked += new global::System.EventHandler(this.OnButtonAddDistrictClicked); this.buttonDeleteDistrict.Clicked += new global::System.EventHandler(this.OnButtonDeleteDistrictClicked); this.gmapWidget.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnGmapWidgetButtonReleaseEvent); this.buttonCreateBorder.Clicked += new global::System.EventHandler(this.OnButtonCreateBorderClicked); this.buttonRemoveBorder.Clicked += new global::System.EventHandler(this.OnButtonRemoveBorderClicked); this.buttonAddVertex.Clicked += new global::System.EventHandler(this.OnButtonAddVertexClicked); this.buttonMoveVertex.Clicked += new global::System.EventHandler(this.OnButtonMoveVertexClicked); this.buttonRemoveVertex.Clicked += new global::System.EventHandler(this.OnButtonRemoveVertexClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.DistrictsSetView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.DistrictsSetView"; // Container child Vodovoz.Views.Logistic.DistrictsSetView.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.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.hbox4.Add(this.btnSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); this.hbox4.Add(this.btnCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator2])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.hbox4.Add(this.ylabelStatus); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabelStatus])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabelStatusString = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatusString.Name = "ylabelStatusString"; this.hbox4.Add(this.ylabelStatusString); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabelStatusString])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hbox4.Add(this.vseparator3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator3])); w6.Position = 5; w6.Expand = false; w6.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabelName = new global::Gamma.GtkWidgets.yLabel(); this.ylabelName.Name = "ylabelName"; this.ylabelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название версии:"); this.hbox4.Add(this.ylabelName); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabelName])); w7.Position = 6; w7.Expand = false; w7.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '•'; this.hbox4.Add(this.entryName); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.entryName])); w8.Position = 7; // Container child hbox4.Gtk.Box+BoxChild this.btnRemoveDistrict = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveDistrict.CanFocus = true; this.btnRemoveDistrict.Name = "btnRemoveDistrict"; this.btnRemoveDistrict.UseUnderline = true; this.btnRemoveDistrict.Label = global::Mono.Unix.Catalog.GetString("Удалить район"); this.hbox4.Add(this.btnRemoveDistrict); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnRemoveDistrict])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 10; w9.Expand = false; w9.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.btnAddDistrict = new global::Gamma.GtkWidgets.yButton(); this.btnAddDistrict.CanFocus = true; this.btnAddDistrict.Name = "btnAddDistrict"; this.btnAddDistrict.UseUnderline = true; this.btnAddDistrict.Label = global::Mono.Unix.Catalog.GetString("Добавить район"); this.hbox4.Add(this.btnAddDistrict); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnAddDistrict])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 11; w10.Expand = false; w10.Fill = false; this.vbox5.Add(this.hbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox4])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.scrollDistricts = new global::Gtk.ScrolledWindow(); this.scrollDistricts.Name = "scrollDistricts"; this.scrollDistricts.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrollDistricts.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollDistricts.Gtk.Container+ContainerChild this.ytreeDistricts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeDistricts.CanFocus = true; this.ytreeDistricts.Name = "ytreeDistricts"; this.scrollDistricts.Add(this.ytreeDistricts); this.vbox2.Add(this.scrollDistricts); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrollDistricts])); w13.Position = 0; // 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.ylabelName3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabelName3.Name = "ylabelName3"; this.ylabelName3.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.hbox10.Add(this.ylabelName3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ylabelName3])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.HeightRequest = 50; this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow2.Add(this.ytextComment); this.hbox10.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.GtkScrolledWindow2])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 1; this.vbox2.Add(this.hbox10); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox10])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.ylabelRules = new global::Gamma.GtkWidgets.yLabel(); this.ylabelRules.Name = "ylabelRules"; this.ylabelRules.Yalign = 1F; this.ylabelRules.LabelProp = global::Mono.Unix.Catalog.GetString("Условия"); this.ylabelRules.Justify = ((global::Gtk.Justification)(1)); this.vbox7.Add(this.ylabelRules); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.ylabelRules])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.ylabelRules1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabelRules1.Name = "ylabelRules1"; this.ylabelRules1.Yalign = 0F; this.ylabelRules1.LabelProp = global::Mono.Unix.Catalog.GetString("доставки:"); this.ylabelRules1.Justify = ((global::Gtk.Justification)(1)); this.vbox7.Add(this.ylabelRules1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.ylabelRules1])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.btnAddCommonRule = new global::Gamma.GtkWidgets.yButton(); this.btnAddCommonRule.CanFocus = true; this.btnAddCommonRule.Name = "btnAddCommonRule"; this.btnAddCommonRule.UseUnderline = true; this.btnAddCommonRule.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.vbox7.Add(this.btnAddCommonRule); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.btnAddCommonRule])); w20.Position = 2; w20.Expand = false; w20.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.btnRemoveCommonRule = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveCommonRule.CanFocus = true; this.btnRemoveCommonRule.Name = "btnRemoveCommonRule"; this.btnRemoveCommonRule.UseUnderline = true; this.btnRemoveCommonRule.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.vbox7.Add(this.btnRemoveCommonRule); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.btnRemoveCommonRule])); w21.Position = 3; w21.Expand = false; w21.Fill = false; this.hbox2.Add(this.vbox7); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox7])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindowRulePrices = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowRulePrices.HeightRequest = 150; this.GtkScrolledWindowRulePrices.Name = "GtkScrolledWindowRulePrices"; this.GtkScrolledWindowRulePrices.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowRulePrices.Gtk.Container+ContainerChild this.ytreeCommonRulePrices = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeCommonRulePrices.CanFocus = true; this.ytreeCommonRulePrices.Name = "ytreeCommonRulePrices"; this.ytreeCommonRulePrices.EnableSearch = false; this.GtkScrolledWindowRulePrices.Add(this.ytreeCommonRulePrices); this.hbox2.Add(this.GtkScrolledWindowRulePrices); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.GtkScrolledWindowRulePrices])); w24.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.WidthRequest = 150; this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.ylabelGeoGroup = new global::Gamma.GtkWidgets.yLabel(); this.ylabelGeoGroup.Name = "ylabelGeoGroup"; this.ylabelGeoGroup.LabelProp = global::Mono.Unix.Catalog.GetString("Часть города:"); this.vbox6.Add(this.ylabelGeoGroup); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.ylabelGeoGroup])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.cmbGeoGroup = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.cmbGeoGroup.Name = "cmbGeoGroup"; this.cmbGeoGroup.AddIfNotExist = false; this.cmbGeoGroup.DefaultFirst = false; this.cmbGeoGroup.ShowSpecialStateAll = false; this.cmbGeoGroup.ShowSpecialStateNot = false; this.vbox6.Add(this.cmbGeoGroup); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.cmbGeoGroup])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.ylabelWageType = new global::Gamma.GtkWidgets.yLabel(); this.ylabelWageType.Name = "ylabelWageType"; this.ylabelWageType.LabelProp = global::Mono.Unix.Catalog.GetString("Зарплатный тип:"); this.vbox6.Add(this.ylabelWageType); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.ylabelWageType])); w27.Position = 2; w27.Expand = false; w27.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.cmbWageDistrict = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.cmbWageDistrict.WidthRequest = 210; this.cmbWageDistrict.Name = "cmbWageDistrict"; this.cmbWageDistrict.AddIfNotExist = false; this.cmbWageDistrict.DefaultFirst = false; this.cmbWageDistrict.ShowSpecialStateAll = false; this.cmbWageDistrict.ShowSpecialStateNot = false; this.cmbWageDistrict.NameForSpecialStateNot = ""; this.vbox6.Add(this.cmbWageDistrict); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.cmbWageDistrict])); w28.Position = 3; w28.Expand = false; w28.Fill = false; this.hbox2.Add(this.vbox6); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox6])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w30.Position = 2; w30.Expand = false; this.vbox5.Add(this.vbox2); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox2])); w31.Position = 1; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vboxSchedules = new global::Gtk.VBox(); this.vboxSchedules.Name = "vboxSchedules"; this.vboxSchedules.Spacing = 6; // Container child vboxSchedules.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vboxButtons = new global::Gtk.VBox(); this.vboxButtons.Name = "vboxButtons"; this.vboxButtons.Spacing = 6; // Container child vboxButtons.Gtk.Box+BoxChild this.btnToday = new global::Gamma.GtkWidgets.yRadioButton(); this.btnToday.CanFocus = true; this.btnToday.Name = "btnToday"; this.btnToday.Label = global::Mono.Unix.Catalog.GetString("ДД"); this.btnToday.DrawIndicator = false; this.btnToday.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vboxButtons.Add(this.btnToday); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vboxButtons[this.btnToday])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child vboxButtons.Gtk.Box+BoxChild this.btnMonday = new global::Gamma.GtkWidgets.yRadioButton(); this.btnMonday.CanFocus = true; this.btnMonday.Name = "btnMonday"; this.btnMonday.Label = global::Mono.Unix.Catalog.GetString("ПН"); this.btnMonday.DrawIndicator = false; this.btnMonday.Group = this.btnToday.Group; this.vboxButtons.Add(this.btnMonday); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxButtons[this.btnMonday])); w33.Position = 1; w33.Expand = false; w33.Fill = false; // Container child vboxButtons.Gtk.Box+BoxChild this.btnTuesday = new global::Gamma.GtkWidgets.yRadioButton(); this.btnTuesday.CanFocus = true; this.btnTuesday.Name = "btnTuesday"; this.btnTuesday.Label = global::Mono.Unix.Catalog.GetString("ВТ"); this.btnTuesday.DrawIndicator = false; this.btnTuesday.Group = this.btnToday.Group; this.vboxButtons.Add(this.btnTuesday); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vboxButtons[this.btnTuesday])); w34.Position = 2; w34.Expand = false; w34.Fill = false; // Container child vboxButtons.Gtk.Box+BoxChild this.btnWednesday = new global::Gamma.GtkWidgets.yRadioButton(); this.btnWednesday.CanFocus = true; this.btnWednesday.Name = "btnWednesday"; this.btnWednesday.Label = global::Mono.Unix.Catalog.GetString("СР"); this.btnWednesday.DrawIndicator = false; this.btnWednesday.Group = this.btnToday.Group; this.vboxButtons.Add(this.btnWednesday); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vboxButtons[this.btnWednesday])); w35.Position = 3; w35.Expand = false; w35.Fill = false; // Container child vboxButtons.Gtk.Box+BoxChild this.btnThursday = new global::Gamma.GtkWidgets.yRadioButton(); this.btnThursday.CanFocus = true; this.btnThursday.Name = "btnThursday"; this.btnThursday.Label = global::Mono.Unix.Catalog.GetString("ЧТ"); this.btnThursday.DrawIndicator = false; this.btnThursday.Group = this.btnToday.Group; this.vboxButtons.Add(this.btnThursday); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vboxButtons[this.btnThursday])); w36.Position = 4; w36.Expand = false; w36.Fill = false; // Container child vboxButtons.Gtk.Box+BoxChild this.btnFriday = new global::Gamma.GtkWidgets.yRadioButton(); this.btnFriday.CanFocus = true; this.btnFriday.Name = "btnFriday"; this.btnFriday.Label = global::Mono.Unix.Catalog.GetString("ПТ"); this.btnFriday.DrawIndicator = false; this.btnFriday.Group = this.btnToday.Group; this.vboxButtons.Add(this.btnFriday); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxButtons[this.btnFriday])); w37.Position = 5; w37.Expand = false; w37.Fill = false; // Container child vboxButtons.Gtk.Box+BoxChild this.btnSaturday = new global::Gamma.GtkWidgets.yRadioButton(); this.btnSaturday.CanFocus = true; this.btnSaturday.Name = "btnSaturday"; this.btnSaturday.Label = global::Mono.Unix.Catalog.GetString("СБ"); this.btnSaturday.DrawIndicator = false; this.btnSaturday.Group = this.btnToday.Group; this.vboxButtons.Add(this.btnSaturday); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vboxButtons[this.btnSaturday])); w38.Position = 6; w38.Expand = false; w38.Fill = false; // Container child vboxButtons.Gtk.Box+BoxChild this.btnSunday = new global::Gamma.GtkWidgets.yRadioButton(); this.btnSunday.CanFocus = true; this.btnSunday.Name = "btnSunday"; this.btnSunday.Label = global::Mono.Unix.Catalog.GetString("ВС"); this.btnSunday.DrawIndicator = false; this.btnSunday.Group = this.btnToday.Group; this.vboxButtons.Add(this.btnSunday); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vboxButtons[this.btnSunday])); w39.Position = 7; w39.Expand = false; w39.Fill = false; this.hbox3.Add(this.vboxButtons); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vboxButtons])); w40.Position = 0; w40.Expand = false; // Container child hbox3.Gtk.Box+BoxChild this.vboxSchedules1 = new global::Gtk.VBox(); this.vboxSchedules1.Name = "vboxSchedules1"; this.vboxSchedules1.Spacing = 6; // Container child vboxSchedules1.Gtk.Box+BoxChild this.ylabel4 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel4.Name = "ylabel4"; this.ylabel4.LabelProp = global::Mono.Unix.Catalog.GetString("График доставки"); this.vboxSchedules1.Add(this.ylabel4); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vboxSchedules1[this.ylabel4])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child vboxSchedules1.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.ytreeScheduleRestrictions = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeScheduleRestrictions.CanFocus = true; this.ytreeScheduleRestrictions.Name = "ytreeScheduleRestrictions"; this.ytreeScheduleRestrictions.EnableSearch = false; this.GtkScrolledWindow.Add(this.ytreeScheduleRestrictions); this.vboxSchedules1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxSchedules1[this.GtkScrolledWindow])); w43.Position = 1; // Container child vboxSchedules1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.lblScheduleRestriction = new global::Gamma.GtkWidgets.yLabel(); this.lblScheduleRestriction.Name = "lblScheduleRestriction"; this.lblScheduleRestriction.LabelProp = global::Mono.Unix.Catalog.GetString("График:"); this.hbox8.Add(this.lblScheduleRestriction); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.lblScheduleRestriction])); w44.Position = 0; w44.Expand = false; w44.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnRemoveAcceptBefore = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveAcceptBefore.WidthRequest = 35; this.btnRemoveAcceptBefore.CanFocus = true; this.btnRemoveAcceptBefore.Name = "btnRemoveAcceptBefore"; this.btnRemoveAcceptBefore.UseUnderline = true; this.btnRemoveAcceptBefore.Label = global::Mono.Unix.Catalog.GetString("-"); this.hbox8.Add(this.btnRemoveAcceptBefore); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnRemoveAcceptBefore])); w45.PackType = ((global::Gtk.PackType)(1)); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnAddAcceptBefore = new global::Gamma.GtkWidgets.yButton(); this.btnAddAcceptBefore.WidthRequest = 35; this.btnAddAcceptBefore.CanFocus = true; this.btnAddAcceptBefore.Name = "btnAddAcceptBefore"; this.btnAddAcceptBefore.UseUnderline = true; this.btnAddAcceptBefore.Label = global::Mono.Unix.Catalog.GetString("+"); this.hbox8.Add(this.btnAddAcceptBefore); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnAddAcceptBefore])); w46.PackType = ((global::Gtk.PackType)(1)); w46.Position = 2; w46.Expand = false; w46.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.ylabelAcceptBefore = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAcceptBefore.Name = "ylabelAcceptBefore"; this.ylabelAcceptBefore.LabelProp = global::Mono.Unix.Catalog.GetString("Прием до:"); this.hbox8.Add(this.ylabelAcceptBefore); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.ylabelAcceptBefore])); w47.PackType = ((global::Gtk.PackType)(1)); w47.Position = 3; w47.Expand = false; w47.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox8.Add(this.vseparator1); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.vseparator1])); w48.PackType = ((global::Gtk.PackType)(1)); w48.Position = 4; w48.Expand = false; w48.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnRemoveSchedule = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveSchedule.WidthRequest = 35; this.btnRemoveSchedule.CanFocus = true; this.btnRemoveSchedule.Name = "btnRemoveSchedule"; this.btnRemoveSchedule.UseUnderline = true; this.btnRemoveSchedule.Label = global::Mono.Unix.Catalog.GetString("-"); this.hbox8.Add(this.btnRemoveSchedule); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnRemoveSchedule])); w49.PackType = ((global::Gtk.PackType)(1)); w49.Position = 5; w49.Expand = false; w49.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnAddSchedule = new global::Gamma.GtkWidgets.yButton(); this.btnAddSchedule.WidthRequest = 35; this.btnAddSchedule.CanFocus = true; this.btnAddSchedule.Name = "btnAddSchedule"; this.btnAddSchedule.UseUnderline = true; this.btnAddSchedule.Label = global::Mono.Unix.Catalog.GetString("+"); this.hbox8.Add(this.btnAddSchedule); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnAddSchedule])); w50.PackType = ((global::Gtk.PackType)(1)); w50.Position = 6; w50.Expand = false; w50.Fill = false; this.vboxSchedules1.Add(this.hbox8); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vboxSchedules1[this.hbox8])); w51.Position = 2; w51.Expand = false; w51.Fill = false; this.hbox3.Add(this.vboxSchedules1); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vboxSchedules1])); w52.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.vboxWeekDayRules = new global::Gtk.VBox(); this.vboxWeekDayRules.Name = "vboxWeekDayRules"; this.vboxWeekDayRules.Spacing = 6; // Container child vboxWeekDayRules.Gtk.Box+BoxChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Особые условия доставки"); this.vboxWeekDayRules.Add(this.ylabel3); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxWeekDayRules[this.ylabel3])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child vboxWeekDayRules.Gtk.Box+BoxChild this.GtkScrolledWindowWeekDayRules = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowWeekDayRules.WidthRequest = 500; this.GtkScrolledWindowWeekDayRules.Name = "GtkScrolledWindowWeekDayRules"; this.GtkScrolledWindowWeekDayRules.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowWeekDayRules.Gtk.Container+ContainerChild this.ytreeWeekDayRulePrices = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeWeekDayRulePrices.CanFocus = true; this.ytreeWeekDayRulePrices.Name = "ytreeWeekDayRulePrices"; this.ytreeWeekDayRulePrices.EnableSearch = false; this.GtkScrolledWindowWeekDayRules.Add(this.ytreeWeekDayRulePrices); this.vboxWeekDayRules.Add(this.GtkScrolledWindowWeekDayRules); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vboxWeekDayRules[this.GtkScrolledWindowWeekDayRules])); w55.Position = 1; // Container child vboxWeekDayRules.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.btnRemoveWeekDayRule = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveWeekDayRule.CanFocus = true; this.btnRemoveWeekDayRule.Name = "btnRemoveWeekDayRule"; this.btnRemoveWeekDayRule.UseUnderline = true; this.btnRemoveWeekDayRule.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox9.Add(this.btnRemoveWeekDayRule); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.btnRemoveWeekDayRule])); w56.PackType = ((global::Gtk.PackType)(1)); w56.Position = 1; w56.Expand = false; w56.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.btnAddWeekDayRule = new global::Gamma.GtkWidgets.yButton(); this.btnAddWeekDayRule.CanFocus = true; this.btnAddWeekDayRule.Name = "btnAddWeekDayRule"; this.btnAddWeekDayRule.UseUnderline = true; this.btnAddWeekDayRule.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox9.Add(this.btnAddWeekDayRule); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.btnAddWeekDayRule])); w57.PackType = ((global::Gtk.PackType)(1)); w57.Position = 2; w57.Expand = false; w57.Fill = false; this.vboxWeekDayRules.Add(this.hbox9); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vboxWeekDayRules[this.hbox9])); w58.Position = 2; w58.Expand = false; w58.Fill = false; this.hbox3.Add(this.vboxWeekDayRules); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vboxWeekDayRules])); w59.Position = 2; this.vboxSchedules.Add(this.hbox3); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vboxSchedules[this.hbox3])); w60.Position = 0; w60.Expand = false; w60.Fill = false; this.hbox1.Add(this.vboxSchedules); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxSchedules])); w61.Position = 0; this.vbox5.Add(this.hbox1); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox1])); w62.Position = 2; w62.Expand = false; w62.Fill = false; this.hbox5.Add(this.vbox5); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox5])); w63.Position = 0; w63.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vbox4.Add(this.gmapWidget); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.gmapWidget])); w64.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.cmbMapType = new global::Gamma.Widgets.yEnumComboBox(); this.cmbMapType.Name = "cmbMapType"; this.cmbMapType.ShowSpecialStateAll = false; this.cmbMapType.ShowSpecialStateNot = false; this.cmbMapType.UseShortTitle = false; this.cmbMapType.DefaultFirst = true; this.hbox6.Add(this.cmbMapType); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.cmbMapType])); w65.PackType = ((global::Gtk.PackType)(1)); w65.Position = 1; w65.Expand = false; w65.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnCancelNewBorder = new global::Gamma.GtkWidgets.yButton(); this.btnCancelNewBorder.CanFocus = true; this.btnCancelNewBorder.Name = "btnCancelNewBorder"; this.btnCancelNewBorder.UseUnderline = true; this.btnCancelNewBorder.Label = global::Mono.Unix.Catalog.GetString("Отменить создание границы"); this.hbox6.Add(this.btnCancelNewBorder); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnCancelNewBorder])); w66.PackType = ((global::Gtk.PackType)(1)); w66.Position = 2; w66.Expand = false; w66.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnConfirmNewBorder = new global::Gamma.GtkWidgets.yButton(); this.btnConfirmNewBorder.CanFocus = true; this.btnConfirmNewBorder.Name = "btnConfirmNewBorder"; this.btnConfirmNewBorder.UseUnderline = true; this.btnConfirmNewBorder.Label = global::Mono.Unix.Catalog.GetString("Подтвердить новую границу"); this.hbox6.Add(this.btnConfirmNewBorder); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnConfirmNewBorder])); w67.PackType = ((global::Gtk.PackType)(1)); w67.Position = 3; w67.Expand = false; w67.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.toggleNewBorderPreview = new global::Gamma.GtkWidgets.yToggleButton(); this.toggleNewBorderPreview.CanFocus = true; this.toggleNewBorderPreview.Name = "toggleNewBorderPreview"; this.toggleNewBorderPreview.UseUnderline = true; this.toggleNewBorderPreview.Label = global::Mono.Unix.Catalog.GetString("Предпросмотр границы"); global::Gtk.Image w68 = new global::Gtk.Image(); w68.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Menu); this.toggleNewBorderPreview.Image = w68; this.hbox6.Add(this.toggleNewBorderPreview); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.toggleNewBorderPreview])); w69.PackType = ((global::Gtk.PackType)(1)); w69.Position = 4; w69.Expand = false; w69.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnRemoveBorder = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveBorder.CanFocus = true; this.btnRemoveBorder.Name = "btnRemoveBorder"; this.btnRemoveBorder.UseUnderline = true; this.btnRemoveBorder.Label = global::Mono.Unix.Catalog.GetString("Удалить границу"); this.hbox6.Add(this.btnRemoveBorder); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnRemoveBorder])); w70.PackType = ((global::Gtk.PackType)(1)); w70.Position = 5; w70.Expand = false; w70.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnAddBorder = new global::Gamma.GtkWidgets.yButton(); this.btnAddBorder.CanFocus = true; this.btnAddBorder.Name = "btnAddBorder"; this.btnAddBorder.UseUnderline = true; this.btnAddBorder.Label = global::Mono.Unix.Catalog.GetString("Создать границу"); this.hbox6.Add(this.btnAddBorder); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnAddBorder])); w71.PackType = ((global::Gtk.PackType)(1)); w71.Position = 6; w71.Expand = false; w71.Fill = false; this.vbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); w72.Position = 1; w72.Expand = false; w72.Fill = false; this.hbox5.Add(this.vbox4); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox4])); w73.Position = 1; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w74.Position = 0; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }