/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.ImageLayer imageLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer1 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingRouteDataProvider bingRouteDataProvider1 = new DevExpress.XtraMap.BingRouteDataProvider(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.splashScreenManager = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::ZoomToFitOnRouteCalculated.WaitForm1), true, true); this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); this.SuspendLayout(); // // mapControl // this.mapControl.Dock = System.Windows.Forms.DockStyle.Fill; imageLayer1.DataProvider = openStreetMapDataProvider1; bingRouteDataProvider1.BingKey = "INSERT_YOUR_BING_KEY"; informationLayer1.DataProvider = bingRouteDataProvider1; informationLayer1.ItemStyle.Stroke = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(114)))), ((int)(((byte)(194))))); informationLayer1.ItemStyle.StrokeWidth = 4; this.mapControl.Layers.Add(imageLayer1); this.mapControl.Layers.Add(informationLayer1); this.mapControl.Location = new System.Drawing.Point(0, 0); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(570, 442); this.mapControl.TabIndex = 0; // // splashScreenManager // this.splashScreenManager.ClosingDelay = 500; // // defaultLookAndFeel // this.defaultLookAndFeel.LookAndFeel.SkinName = "Office 2016 Colorful"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(570, 442); this.Controls.Add(this.mapControl); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.ImageTilesLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer1 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingGeocodeDataProvider bingGeocodeDataProvider1 = new DevExpress.XtraMap.BingGeocodeDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer2 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingSearchDataProvider bingSearchDataProvider1 = new DevExpress.XtraMap.BingSearchDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer3 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingRouteDataProvider bingRouteDataProvider1 = new DevExpress.XtraMap.BingRouteDataProvider(); this.routePanel = new DevExpress.XtraEditors.PanelControl(); this.gridControl = new DevExpress.XtraGrid.GridControl(); this.bindingSourceRoute = new System.Windows.Forms.BindingSource(this.components); this.advBandedGridView1 = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView(); this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.colManeuver = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBand2 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.colDistance = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.colManeuverInstruction = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.biSave = new DevExpress.XtraBars.BarButtonItem(); this.biClose = new DevExpress.XtraBars.BarButtonItem(); this.biSaveAndClose = new DevExpress.XtraBars.BarButtonItem(); this.biDelete = new DevExpress.XtraBars.BarButtonItem(); this.biDriving = new DevExpress.XtraBars.BarCheckItem(); this.biWalking = new DevExpress.XtraBars.BarCheckItem(); this.biPrint = new DevExpress.XtraBars.BarButtonItem(); this.biPrintPreview = new DevExpress.XtraBars.BarButtonItem(); this.barExportItem = new DevExpress.XtraBars.BarButtonItem(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.routeResultLabel = new DevExpress.XtraEditors.LabelControl(); this.bindingSource = new System.Windows.Forms.BindingSource(this.components); this.moduleDataLayout = new DevExpress.XtraDataLayout.DataLayoutControl(); this.AddressLabelLine2 = new DevExpress.XtraEditors.LabelControl(); this.swapRouteButtons = new DevExpress.XtraBars.Docking2010.WindowsUIButtonPanel(); this.routeButtons = new DevExpress.XtraBars.Docking2010.WindowsUIButtonPanel(); this.editPointB = new DevExpress.XtraEditors.TextEdit(); this.editPointA = new DevExpress.XtraEditors.TextEdit(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.NameLabel = new DevExpress.XtraEditors.LabelControl(); this.AddressLabelLine1 = new DevExpress.XtraEditors.LabelControl(); this.LogoPictureEdit = new DevExpress.XtraEditors.PictureEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.ItemForMap = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.ItemForPointB = new DevExpress.XtraLayout.LayoutControlItem(); this.ItemForPointA = new DevExpress.XtraLayout.LayoutControlItem(); this.ItemForRoutePanel = new DevExpress.XtraLayout.LayoutControlItem(); this.ItemForRouteButtons = new DevExpress.XtraLayout.LayoutControlItem(); this.ItemForSwapButton = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.ItemForLogo = new DevExpress.XtraLayout.LayoutControlItem(); this.ItemForAddressLine1 = new DevExpress.XtraLayout.LayoutControlItem(); this.ItemForFullName = new DevExpress.XtraLayout.LayoutControlItem(); this.ItemForAddressLine2 = new DevExpress.XtraLayout.LayoutControlItem(); this.simpleSeparator1 = new DevExpress.XtraLayout.SimpleSeparator(); this.simpleSeparator2 = new DevExpress.XtraLayout.SimpleSeparator(); ((System.ComponentModel.ISupportInitialize)(this.routePanel)).BeginInit(); this.routePanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSourceRoute)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.advBandedGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.moduleDataLayout)).BeginInit(); this.moduleDataLayout.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.editPointB.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.editPointA.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LogoPictureEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForMap)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForPointB)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForPointA)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForRoutePanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForRouteButtons)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForSwapButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForLogo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForAddressLine1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForFullName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForAddressLine2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator2)).BeginInit(); this.SuspendLayout(); // // routePanel // this.routePanel.Controls.Add(this.gridControl); this.routePanel.Controls.Add(this.routeResultLabel); this.routePanel.Location = new System.Drawing.Point(870, 275); this.routePanel.Name = "routePanel"; this.routePanel.Size = new System.Drawing.Size(340, 335); this.routePanel.TabIndex = 32; // // gridControl // this.gridControl.DataSource = this.bindingSourceRoute; this.gridControl.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl.Location = new System.Drawing.Point(2, 38); this.gridControl.MainView = this.advBandedGridView1; this.gridControl.MenuManager = this.ribbonControl; this.gridControl.Name = "gridControl"; this.gridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemMemoEdit1}); this.gridControl.ShowOnlyPredefinedDetails = true; this.gridControl.Size = new System.Drawing.Size(336, 295); this.gridControl.TabIndex = 6; this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.advBandedGridView1}); // // bindingSourceRoute // this.bindingSourceRoute.DataSource = typeof(DevExpress.OutlookInspiredApp.Win.Presenters.RoutePoint); // // advBandedGridView1 // this.advBandedGridView1.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBand1, this.gridBand2}); this.advBandedGridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.advBandedGridView1.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] { this.colManeuver, this.colManeuverInstruction, this.colDistance}); this.advBandedGridView1.GridControl = this.gridControl; this.advBandedGridView1.Name = "advBandedGridView1"; this.advBandedGridView1.OptionsBehavior.Editable = false; this.advBandedGridView1.OptionsFind.AllowFindPanel = false; this.advBandedGridView1.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True; this.advBandedGridView1.OptionsView.ColumnAutoWidth = true; this.advBandedGridView1.OptionsView.ShowBands = false; this.advBandedGridView1.OptionsView.ShowColumnHeaders = false; this.advBandedGridView1.OptionsView.ShowGroupPanel = false; this.advBandedGridView1.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.False; this.advBandedGridView1.OptionsView.ShowIndicator = false; this.advBandedGridView1.OptionsView.ShowVerticalLines = DevExpress.Utils.DefaultBoolean.False; this.advBandedGridView1.RowHeight = 16; // // gridBand1 // this.gridBand1.Columns.Add(this.colManeuver); this.gridBand1.Name = "gridBand1"; this.gridBand1.OptionsBand.AllowSize = false; this.gridBand1.OptionsBand.FixedWidth = true; this.gridBand1.VisibleIndex = 0; this.gridBand1.Width = 64; // // colManeuver // this.colManeuver.FieldName = "Maneuver"; this.colManeuver.Name = "colManeuver"; this.colManeuver.OptionsColumn.AllowEdit = false; this.colManeuver.OptionsColumn.AllowFocus = false; this.colManeuver.RowCount = 4; this.colManeuver.Visible = true; this.colManeuver.Width = 64; // // gridBand2 // this.gridBand2.Columns.Add(this.colDistance); this.gridBand2.Columns.Add(this.colManeuverInstruction); this.gridBand2.Name = "gridBand2"; this.gridBand2.VisibleIndex = 1; this.gridBand2.Width = 254; // // colDistance // this.colDistance.AppearanceCell.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colDistance.AppearanceCell.Options.UseFont = true; this.colDistance.AppearanceCell.Options.UseTextOptions = true; this.colDistance.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colDistance.FieldName = "Distance"; this.colDistance.Name = "colDistance"; this.colDistance.OptionsColumn.AllowEdit = false; this.colDistance.OptionsColumn.AllowFocus = false; this.colDistance.Visible = true; this.colDistance.Width = 254; // // colManeuverInstruction // this.colManeuverInstruction.AppearanceCell.Font = new System.Drawing.Font("Segoe UI", 12F); this.colManeuverInstruction.AppearanceCell.Options.UseFont = true; this.colManeuverInstruction.AppearanceCell.Options.UseTextOptions = true; this.colManeuverInstruction.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.colManeuverInstruction.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.colManeuverInstruction.ColumnEdit = this.repositoryItemMemoEdit1; this.colManeuverInstruction.FieldName = "ManeuverInstruction"; this.colManeuverInstruction.Name = "colManeuverInstruction"; this.colManeuverInstruction.OptionsColumn.AllowEdit = false; this.colManeuverInstruction.OptionsColumn.AllowFocus = false; this.colManeuverInstruction.RowCount = 3; this.colManeuverInstruction.RowIndex = 1; this.colManeuverInstruction.Visible = true; this.colManeuverInstruction.Width = 254; // // repositoryItemMemoEdit1 // this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1"; // // ribbonControl // this.ribbonControl.ExpandCollapseItem.Id = 0; this.ribbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbonControl.ExpandCollapseItem, this.biSave, this.biClose, this.biSaveAndClose, this.biDelete, this.biDriving, this.biWalking, this.biPrint, this.biPrintPreview, this.barExportItem}); this.ribbonControl.Location = new System.Drawing.Point(0, 0); this.ribbonControl.MaxItemId = 12; this.ribbonControl.Name = "ribbonControl"; this.ribbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1}); this.ribbonControl.Size = new System.Drawing.Size(1226, 142); // // biSave // this.biSave.Caption = "Save"; this.biSave.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_save_16; this.biSave.Id = 1; this.biSave.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_save_32; this.biSave.Name = "biSave"; // // biClose // this.biClose.Caption = "Close"; this.biClose.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_close_16; this.biClose.Id = 2; this.biClose.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Escape); this.biClose.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_close_32; this.biClose.Name = "biClose"; // // biSaveAndClose // this.biSaveAndClose.Caption = "Save && Close"; this.biSaveAndClose.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_save_close_16; this.biSaveAndClose.Id = 3; this.biSaveAndClose.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_save_close_32; this.biSaveAndClose.Name = "biSaveAndClose"; // // biDelete // this.biDelete.Caption = "Delete"; this.biDelete.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_delete_16; this.biDelete.Id = 4; this.biDelete.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_delete_32; this.biDelete.Name = "biDelete"; // // biDriving // this.biDriving.Caption = "Driving"; this.biDriving.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_driving_16; this.biDriving.Id = 5; this.biDriving.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_driving_32; this.biDriving.Name = "biDriving"; // // biWalking // this.biWalking.Caption = "Walking"; this.biWalking.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_walking_16; this.biWalking.Id = 6; this.biWalking.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_walking_32; this.biWalking.Name = "biWalking"; // // biPrint // this.biPrint.Caption = "Print"; this.biPrint.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_print_16; this.biPrint.Id = 8; this.biPrint.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_print_32; this.biPrint.Name = "biPrint"; // // biPrintPreview // this.biPrintPreview.Caption = "Print Preview"; this.biPrintPreview.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_print_preview_16; this.biPrintPreview.Id = 9; this.biPrintPreview.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_print_preview_32; this.biPrintPreview.Name = "biPrintPreview"; // // barExportItem // this.barExportItem.Caption = "Export"; this.barExportItem.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_export_16; this.barExportItem.Id = 11; this.barExportItem.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_export_32; this.barExportItem.LargeImageIndex = 50; this.barExportItem.Name = "barExportItem"; // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup1, this.ribbonPageGroup2, this.ribbonPageGroup5, this.ribbonPageGroup4, this.ribbonPageGroup3}); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "HOME"; // // ribbonPageGroup1 // this.ribbonPageGroup1.AllowTextClipping = false; this.ribbonPageGroup1.ItemLinks.Add(this.biSave); this.ribbonPageGroup1.ItemLinks.Add(this.biSaveAndClose); this.ribbonPageGroup1.MergeOrder = 0; this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.ShowCaptionButton = false; // // ribbonPageGroup2 // this.ribbonPageGroup2.AllowTextClipping = false; this.ribbonPageGroup2.ItemLinks.Add(this.biDelete); this.ribbonPageGroup2.MergeOrder = 0; this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.ShowCaptionButton = false; this.ribbonPageGroup2.Text = "Delete"; // // ribbonPageGroup5 // this.ribbonPageGroup5.AllowTextClipping = false; this.ribbonPageGroup5.ItemLinks.Add(this.biPrintPreview); this.ribbonPageGroup5.ItemLinks.Add(this.biPrint); this.ribbonPageGroup5.ItemLinks.Add(this.barExportItem); this.ribbonPageGroup5.MergeOrder = 0; this.ribbonPageGroup5.Name = "ribbonPageGroup5"; this.ribbonPageGroup5.ShowCaptionButton = false; this.ribbonPageGroup5.Text = "Print and Export"; // // ribbonPageGroup4 // this.ribbonPageGroup4.AllowTextClipping = false; this.ribbonPageGroup4.ItemLinks.Add(this.biDriving); this.ribbonPageGroup4.ItemLinks.Add(this.biWalking); this.ribbonPageGroup4.MergeOrder = 0; this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.ShowCaptionButton = false; this.ribbonPageGroup4.Text = "Route Options"; // // ribbonPageGroup3 // this.ribbonPageGroup3.AllowTextClipping = false; this.ribbonPageGroup3.ItemLinks.Add(this.biClose); this.ribbonPageGroup3.MergeOrder = 0; this.ribbonPageGroup3.Name = "ribbonPageGroup3"; this.ribbonPageGroup3.ShowCaptionButton = false; this.ribbonPageGroup3.Text = "Close"; // // routeResultLabel // this.routeResultLabel.Appearance.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.routeResultLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Vertical; this.routeResultLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "RouteResult", true)); this.routeResultLabel.Dock = System.Windows.Forms.DockStyle.Top; this.routeResultLabel.Location = new System.Drawing.Point(2, 2); this.routeResultLabel.Name = "routeResultLabel"; this.routeResultLabel.Padding = new System.Windows.Forms.Padding(12, 12, 12, 24); this.routeResultLabel.Size = new System.Drawing.Size(336, 36); this.routeResultLabel.TabIndex = 29; // // bindingSource // this.bindingSource.DataSource = typeof(DevExpress.OutlookInspiredApp.Win.ViewModel.OrderMapViewModel); // // moduleDataLayout // this.moduleDataLayout.AllowCustomizationMenu = false; this.moduleDataLayout.Controls.Add(this.AddressLabelLine2); this.moduleDataLayout.Controls.Add(this.swapRouteButtons); this.moduleDataLayout.Controls.Add(this.routeButtons); this.moduleDataLayout.Controls.Add(this.routePanel); this.moduleDataLayout.Controls.Add(this.editPointB); this.moduleDataLayout.Controls.Add(this.editPointA); this.moduleDataLayout.Controls.Add(this.mapControl); this.moduleDataLayout.Controls.Add(this.NameLabel); this.moduleDataLayout.Controls.Add(this.AddressLabelLine1); this.moduleDataLayout.Controls.Add(this.LogoPictureEdit); this.moduleDataLayout.DataSource = this.bindingSource; this.moduleDataLayout.Dock = System.Windows.Forms.DockStyle.Fill; this.moduleDataLayout.Location = new System.Drawing.Point(0, 142); this.moduleDataLayout.Name = "moduleDataLayout"; this.moduleDataLayout.Root = this.layoutControlGroup1; this.moduleDataLayout.Size = new System.Drawing.Size(1226, 620); this.moduleDataLayout.TabIndex = 1; this.moduleDataLayout.Text = "moduleDataLayout"; // // AddressLabelLine2 // this.AddressLabelLine2.Appearance.Font = new System.Drawing.Font("Segoe UI", 11F); this.AddressLabelLine2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "AddressLine2", true)); this.AddressLabelLine2.Location = new System.Drawing.Point(957, 99); this.AddressLabelLine2.Name = "AddressLabelLine2"; this.AddressLabelLine2.Size = new System.Drawing.Size(253, 20); this.AddressLabelLine2.StyleController = this.moduleDataLayout; this.AddressLabelLine2.TabIndex = 33; // // swapRouteButtons // this.swapRouteButtons.AllowGlyphSkinning = false; this.swapRouteButtons.Buttons.AddRange(new DevExpress.XtraEditors.ButtonPanel.IBaseButton[] { new DevExpress.XtraBars.Docking2010.WindowsUIButton("Driving", global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_revert_direction_14, -1, DevExpress.XtraBars.Docking2010.ImageLocation.Default, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", false, -1, true, null, true, false, true, null, null, -1, false, false)}); this.swapRouteButtons.ContentAlignment = System.Drawing.ContentAlignment.MiddleRight; this.swapRouteButtons.Location = new System.Drawing.Point(870, 208); this.swapRouteButtons.Name = "swapRouteButtons"; this.swapRouteButtons.Size = new System.Drawing.Size(340, 25); this.swapRouteButtons.TabIndex = 31; this.swapRouteButtons.UseButtonBackgroundImages = false; // // routeButtons // this.routeButtons.AllowGlyphSkinning = false; this.routeButtons.Buttons.AddRange(new DevExpress.XtraEditors.ButtonPanel.IBaseButton[] { new DevExpress.XtraBars.Docking2010.WindowsUIButton("Walking", global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_walking_14, -1, DevExpress.XtraBars.Docking2010.ImageLocation.Default, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", false, -1, true, null, true, false, true, null, null, -1, false, false), new DevExpress.XtraBars.Docking2010.WindowsUIButton("Driving", global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_driving_14, -1, DevExpress.XtraBars.Docking2010.ImageLocation.Default, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", false, -1, true, null, true, false, true, null, null, -1, false, false)}); this.routeButtons.ContentAlignment = System.Drawing.ContentAlignment.MiddleRight; this.routeButtons.Location = new System.Drawing.Point(870, 153); this.routeButtons.Name = "routeButtons"; this.routeButtons.Size = new System.Drawing.Size(340, 23); this.routeButtons.TabIndex = 30; this.routeButtons.UseButtonBackgroundImages = false; // // editPointB // this.editPointB.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "PointBAddress", true)); this.editPointB.Location = new System.Drawing.Point(870, 233); this.editPointB.MinimumSize = new System.Drawing.Size(340, 0); this.editPointB.Name = "editPointB"; this.editPointB.Properties.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.editPointB.Properties.Appearance.Options.UseFont = true; this.editPointB.Size = new System.Drawing.Size(340, 28); this.editPointB.StyleController = this.moduleDataLayout; this.editPointB.TabIndex = 24; // // editPointA // this.editPointA.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "PointAAddress", true)); this.editPointA.Location = new System.Drawing.Point(870, 180); this.editPointA.Name = "editPointA"; this.editPointA.Properties.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.editPointA.Properties.Appearance.Options.UseFont = true; this.editPointA.Size = new System.Drawing.Size(340, 28); this.editPointA.StyleController = this.moduleDataLayout; this.editPointA.TabIndex = 21; // // mapControl // this.mapControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.mapControl.Cursor = System.Windows.Forms.Cursors.Default; imageTilesLayer1.DataProvider = bingMapDataProvider1; bingGeocodeDataProvider1.GenerateLayerItems = false; informationLayer1.DataProvider = bingGeocodeDataProvider1; bingSearchDataProvider1.GenerateLayerItems = false; bingSearchDataProvider1.ShowSearchPanel = false; informationLayer2.DataProvider = bingSearchDataProvider1; bingRouteDataProvider1.RouteOptions.DistanceUnit = DevExpress.XtraMap.DistanceMeasureUnit.Mile; informationLayer3.DataProvider = bingRouteDataProvider1; informationLayer3.HighlightedItemStyle.Stroke = System.Drawing.Color.Cyan; informationLayer3.HighlightedItemStyle.StrokeWidth = 3; informationLayer3.ItemStyle.Stroke = System.Drawing.Color.Cyan; informationLayer3.ItemStyle.StrokeWidth = 3; this.mapControl.Layers.Add(imageTilesLayer1); this.mapControl.Layers.Add(informationLayer1); this.mapControl.Layers.Add(informationLayer2); this.mapControl.Layers.Add(informationLayer3); this.mapControl.Location = new System.Drawing.Point(0, 0); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(819, 620); this.mapControl.TabIndex = 18; this.mapControl.ZoomLevel = 8D; // // NameLabel // this.NameLabel.Appearance.Font = new System.Drawing.Font("Segoe UI", 18F); this.NameLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "Name", true)); this.NameLabel.Location = new System.Drawing.Point(955, 8); this.NameLabel.Name = "NameLabel"; this.NameLabel.Size = new System.Drawing.Size(257, 32); this.NameLabel.StyleController = this.moduleDataLayout; this.NameLabel.TabIndex = 8; // // AddressLabelLine1 // this.AddressLabelLine1.Appearance.Font = new System.Drawing.Font("Segoe UI", 11F); this.AddressLabelLine1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "AddressLine1", true)); this.AddressLabelLine1.Location = new System.Drawing.Point(955, 77); this.AddressLabelLine1.Name = "AddressLabelLine1"; this.AddressLabelLine1.Size = new System.Drawing.Size(257, 20); this.AddressLabelLine1.StyleController = this.moduleDataLayout; this.AddressLabelLine1.TabIndex = 8; // // LogoPictureEdit // this.LogoPictureEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bindingSource, "Logo", true)); this.LogoPictureEdit.Location = new System.Drawing.Point(835, 8); this.LogoPictureEdit.MenuManager = this.ribbonControl; this.LogoPictureEdit.Name = "LogoPictureEdit"; this.LogoPictureEdit.Properties.ReadOnly = true; this.LogoPictureEdit.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom; this.LogoPictureEdit.Size = new System.Drawing.Size(108, 120); this.LogoPictureEdit.StyleController = this.moduleDataLayout; this.LogoPictureEdit.TabIndex = 17; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "Root"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.False; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.ItemForMap, this.layoutControlGroup3, this.layoutControlGroup4, this.simpleSeparator1, this.simpleSeparator2}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.OptionsItemText.TextToControlDistance = 6; this.layoutControlGroup1.Size = new System.Drawing.Size(1226, 620); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // ItemForMap // this.ItemForMap.Control = this.mapControl; this.ItemForMap.CustomizationFormText = "map"; this.ItemForMap.Location = new System.Drawing.Point(0, 0); this.ItemForMap.Name = "ItemForMap"; this.ItemForMap.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.ItemForMap.Size = new System.Drawing.Size(819, 620); this.ItemForMap.Text = "map"; this.ItemForMap.TextSize = new System.Drawing.Size(0, 0); this.ItemForMap.TextToControlDistance = 0; this.ItemForMap.TextVisible = false; // // layoutControlGroup3 // this.layoutControlGroup3.CustomizationFormText = "layoutControlGroup3"; this.layoutControlGroup3.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup3.GroupBordersVisible = false; this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.ItemForPointB, this.ItemForPointA, this.ItemForRoutePanel, this.ItemForRouteButtons, this.ItemForSwapButton}); this.layoutControlGroup3.Location = new System.Drawing.Point(821, 143); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(12, 12, 8, 8); this.layoutControlGroup3.Size = new System.Drawing.Size(405, 477); this.layoutControlGroup3.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 0); this.layoutControlGroup3.Text = "layoutControlGroup3"; this.layoutControlGroup3.TextVisible = false; // // ItemForPointB // this.ItemForPointB.Control = this.editPointB; this.ItemForPointB.ControlAlignment = System.Drawing.ContentAlignment.MiddleLeft; this.ItemForPointB.CustomizationFormText = "B"; this.ItemForPointB.Image = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_B_24; this.ItemForPointB.ImageToTextDistance = 0; this.ItemForPointB.Location = new System.Drawing.Point(0, 80); this.ItemForPointB.Name = "ItemForPointB"; this.ItemForPointB.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 2); this.ItemForPointB.Size = new System.Drawing.Size(377, 30); this.ItemForPointB.Text = " "; this.ItemForPointB.TextSize = new System.Drawing.Size(27, 24); // // ItemForPointA // this.ItemForPointA.Control = this.editPointA; this.ItemForPointA.ControlAlignment = System.Drawing.ContentAlignment.BottomLeft; this.ItemForPointA.CustomizationFormText = "A"; this.ItemForPointA.Image = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_A_24; this.ItemForPointA.ImageToTextDistance = 0; this.ItemForPointA.Location = new System.Drawing.Point(0, 25); this.ItemForPointA.Name = "ItemForPointA"; this.ItemForPointA.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 0); this.ItemForPointA.Size = new System.Drawing.Size(377, 30); this.ItemForPointA.Text = " "; this.ItemForPointA.TextSize = new System.Drawing.Size(27, 24); // // ItemForRoutePanel // this.ItemForRoutePanel.Control = this.routePanel; this.ItemForRoutePanel.CustomizationFormText = " "; this.ItemForRoutePanel.Location = new System.Drawing.Point(0, 110); this.ItemForRoutePanel.Name = "ItemForRoutePanel"; this.ItemForRoutePanel.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 12, 2); this.ItemForRoutePanel.Size = new System.Drawing.Size(377, 349); this.ItemForRoutePanel.Text = " "; this.ItemForRoutePanel.TextSize = new System.Drawing.Size(27, 13); // // ItemForRouteButtons // this.ItemForRouteButtons.Control = this.routeButtons; this.ItemForRouteButtons.CustomizationFormText = " "; this.ItemForRouteButtons.Location = new System.Drawing.Point(0, 0); this.ItemForRouteButtons.Name = "ItemForRouteButtons"; this.ItemForRouteButtons.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 2); this.ItemForRouteButtons.Size = new System.Drawing.Size(377, 25); this.ItemForRouteButtons.Text = " "; this.ItemForRouteButtons.TextSize = new System.Drawing.Size(27, 13); // // ItemForSwapButton // this.ItemForSwapButton.Control = this.swapRouteButtons; this.ItemForSwapButton.CustomizationFormText = " "; this.ItemForSwapButton.Location = new System.Drawing.Point(0, 55); this.ItemForSwapButton.Name = "ItemForSwapButton"; this.ItemForSwapButton.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 0); this.ItemForSwapButton.Size = new System.Drawing.Size(377, 25); this.ItemForSwapButton.Text = " "; this.ItemForSwapButton.TextSize = new System.Drawing.Size(27, 13); // // layoutControlGroup4 // this.layoutControlGroup4.CustomizationFormText = "layoutControlGroup4"; this.layoutControlGroup4.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup4.GroupBordersVisible = false; this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.emptySpaceItem2, this.ItemForLogo, this.ItemForAddressLine1, this.ItemForFullName, this.ItemForAddressLine2}); this.layoutControlGroup4.Location = new System.Drawing.Point(821, 0); this.layoutControlGroup4.Name = "layoutControlGroup4"; this.layoutControlGroup4.Padding = new DevExpress.XtraLayout.Utils.Padding(12, 12, 8, 8); this.layoutControlGroup4.Size = new System.Drawing.Size(405, 141); this.layoutControlGroup4.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 2); this.layoutControlGroup4.Text = "layoutControlGroup4"; this.layoutControlGroup4.TextVisible = false; // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2"; this.emptySpaceItem2.Location = new System.Drawing.Point(120, 113); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(257, 10); this.emptySpaceItem2.Text = "emptySpaceItem2"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // ItemForLogo // this.ItemForLogo.Control = this.LogoPictureEdit; this.ItemForLogo.CustomizationFormText = "Logo"; this.ItemForLogo.Location = new System.Drawing.Point(0, 0); this.ItemForLogo.MaxSize = new System.Drawing.Size(120, 120); this.ItemForLogo.MinSize = new System.Drawing.Size(120, 120); this.ItemForLogo.Name = "ItemForLogo"; this.ItemForLogo.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 12, 0, 0); this.ItemForLogo.Size = new System.Drawing.Size(120, 123); this.ItemForLogo.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.ItemForLogo.Text = "Logo"; this.ItemForLogo.TextSize = new System.Drawing.Size(0, 0); this.ItemForLogo.TextToControlDistance = 0; this.ItemForLogo.TextVisible = false; // // ItemForAddressLine1 // this.ItemForAddressLine1.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 11F); this.ItemForAddressLine1.AppearanceItemCaption.Options.UseFont = true; this.ItemForAddressLine1.Control = this.AddressLabelLine1; this.ItemForAddressLine1.CustomizationFormText = "Address"; this.ItemForAddressLine1.Location = new System.Drawing.Point(120, 32); this.ItemForAddressLine1.Name = "ItemForAddressLine1"; this.ItemForAddressLine1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 12, 0); this.ItemForAddressLine1.Size = new System.Drawing.Size(257, 57); this.ItemForAddressLine1.Text = "SHIPPING ADDRESS"; this.ItemForAddressLine1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.ItemForAddressLine1.TextLocation = DevExpress.Utils.Locations.Top; this.ItemForAddressLine1.TextSize = new System.Drawing.Size(133, 20); this.ItemForAddressLine1.TextToControlDistance = 5; // // ItemForFullName // this.ItemForFullName.Control = this.NameLabel; this.ItemForFullName.CustomizationFormText = "Full Name"; this.ItemForFullName.Location = new System.Drawing.Point(120, 0); this.ItemForFullName.Name = "ItemForFullName"; this.ItemForFullName.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.ItemForFullName.Size = new System.Drawing.Size(257, 32); this.ItemForFullName.Text = "Full Name"; this.ItemForFullName.TextSize = new System.Drawing.Size(0, 0); this.ItemForFullName.TextToControlDistance = 0; this.ItemForFullName.TextVisible = false; // // ItemForAddressLine2 // this.ItemForAddressLine2.Control = this.AddressLabelLine2; this.ItemForAddressLine2.CustomizationFormText = "Address"; this.ItemForAddressLine2.Location = new System.Drawing.Point(120, 89); this.ItemForAddressLine2.Name = "ItemForAddressLine2"; this.ItemForAddressLine2.Size = new System.Drawing.Size(257, 24); this.ItemForAddressLine2.Text = "Address"; this.ItemForAddressLine2.TextSize = new System.Drawing.Size(0, 0); this.ItemForAddressLine2.TextToControlDistance = 0; this.ItemForAddressLine2.TextVisible = false; // // simpleSeparator1 // this.simpleSeparator1.AllowHotTrack = false; this.simpleSeparator1.CustomizationFormText = "simpleSeparator1"; this.simpleSeparator1.Location = new System.Drawing.Point(821, 141); this.simpleSeparator1.Name = "simpleSeparator1"; this.simpleSeparator1.Size = new System.Drawing.Size(405, 2); this.simpleSeparator1.Text = "simpleSeparator1"; // // simpleSeparator2 // this.simpleSeparator2.AllowHotTrack = false; this.simpleSeparator2.CustomizationFormText = "simpleSeparator2"; this.simpleSeparator2.Location = new System.Drawing.Point(819, 0); this.simpleSeparator2.Name = "simpleSeparator2"; this.simpleSeparator2.Size = new System.Drawing.Size(2, 620); this.simpleSeparator2.Text = "simpleSeparator2"; // // OrderMapView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.moduleDataLayout); this.Controls.Add(this.ribbonControl); this.Name = "OrderMapView"; this.Size = new System.Drawing.Size(1226, 762); ((System.ComponentModel.ISupportInitialize)(this.routePanel)).EndInit(); this.routePanel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSourceRoute)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.advBandedGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.moduleDataLayout)).EndInit(); this.moduleDataLayout.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.editPointB.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.editPointA.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LogoPictureEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForMap)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForPointB)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForPointA)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForRoutePanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForRouteButtons)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForSwapButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForLogo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForAddressLine1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForFullName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForAddressLine2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator2)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerMapUC)); DevExpress.XtraMap.ImageTilesLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer1 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingSearchDataProvider bingSearchDataProvider1 = new DevExpress.XtraMap.BingSearchDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer2 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingRouteDataProvider bingRouteDataProvider1 = new DevExpress.XtraMap.BingRouteDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.ListSourceDataAdapter listSourceDataAdapter1 = new DevExpress.XtraMap.ListSourceDataAdapter(); DevExpress.XtraMap.MapItemVisiblePropertyMapping mapItemVisiblePropertyMapping1 = new DevExpress.XtraMap.MapItemVisiblePropertyMapping(); this.dsQry = new NICSQLTools.Data.dsQry(); this.mapRouteCustomerBindingSource = new System.Windows.Forms.BindingSource(); this.barManagerMain = new DevExpress.XtraBars.BarManager(); this.bar2 = new DevExpress.XtraBars.Bar(); this.beiRoute = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemSearchLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit(); this.LSMSRoute = new DevExpress.Data.Linq.LinqServerModeSource(); this.repositoryItemSearchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.beiCustomer = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemSearchLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit(); this.repositoryItemSearchLookUpEdit2View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colCustomer = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCustomerType = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubchannel = new DevExpress.XtraGrid.Columns.GridColumn(); this.colName1Ar = new DevExpress.XtraGrid.Columns.GridColumn(); this.colName3Ar = new DevExpress.XtraGrid.Columns.GridColumn(); this.bbiFind = new DevExpress.XtraBars.BarButtonItem(); this.bsiMapKind = new DevExpress.XtraBars.BarSubItem(); this.bbiMakKindRoad = new DevExpress.XtraBars.BarButtonItem(); this.bbiMakKindArea = new DevExpress.XtraBars.BarButtonItem(); this.bbiMakKindHybrid = new DevExpress.XtraBars.BarButtonItem(); this.bbiPrint = new DevExpress.XtraBars.BarButtonItem(); this.bar3 = new DevExpress.XtraBars.Bar(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.bbiExcelDynamicUpdate = new DevExpress.XtraBars.BarButtonItem(); this.mapControlMain = new DevExpress.XtraMap.MapControl(); this.LSMSCustomer = new DevExpress.Data.Linq.LinqServerModeSource(); this.mapRouteCustomerTableAdapter = new NICSQLTools.Data.dsQryTableAdapters.MapRouteCustomerTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.dsQry)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mapRouteCustomerBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSRoute)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit2View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControlMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSCustomer)).BeginInit(); this.SuspendLayout(); // // dsQry // this.dsQry.DataSetName = "dsQry"; this.dsQry.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // mapRouteCustomerBindingSource // this.mapRouteCustomerBindingSource.DataMember = "MapRouteCustomer"; this.mapRouteCustomerBindingSource.DataSource = this.dsQry; // // barManagerMain // this.barManagerMain.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar2, this.bar3}); this.barManagerMain.DockControls.Add(this.barDockControlTop); this.barManagerMain.DockControls.Add(this.barDockControlBottom); this.barManagerMain.DockControls.Add(this.barDockControlLeft); this.barManagerMain.DockControls.Add(this.barDockControlRight); this.barManagerMain.Form = this; this.barManagerMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.bbiPrint, this.bbiExcelDynamicUpdate, this.beiRoute, this.beiCustomer, this.bbiFind, this.bsiMapKind, this.bbiMakKindRoad, this.bbiMakKindArea, this.bbiMakKindHybrid}); this.barManagerMain.MainMenu = this.bar2; this.barManagerMain.MaxItemId = 15; this.barManagerMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemSearchLookUpEdit1, this.repositoryItemSearchLookUpEdit2}); this.barManagerMain.StatusBar = this.bar3; // // bar2 // this.bar2.BarName = "Main menu"; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Width, this.beiRoute, "", false, true, true, 208), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Width, this.beiCustomer, "", false, true, true, 200), new DevExpress.XtraBars.LinkPersistInfo(this.bbiFind), new DevExpress.XtraBars.LinkPersistInfo(this.bsiMapKind), new DevExpress.XtraBars.LinkPersistInfo(this.bbiPrint)}); this.bar2.OptionsBar.MultiLine = true; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Main menu"; // // beiRoute // this.beiRoute.Caption = "Route"; this.beiRoute.Edit = this.repositoryItemSearchLookUpEdit1; this.beiRoute.Id = 8; this.beiRoute.Name = "beiRoute"; this.beiRoute.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.beiRoute.EditValueChanged += new System.EventHandler(this.beiRoute_EditValueChanged); // // repositoryItemSearchLookUpEdit1 // this.repositoryItemSearchLookUpEdit1.AutoHeight = false; this.repositoryItemSearchLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemSearchLookUpEdit1.DataSource = this.LSMSRoute; this.repositoryItemSearchLookUpEdit1.DisplayMember = "Route_Name"; this.repositoryItemSearchLookUpEdit1.Name = "repositoryItemSearchLookUpEdit1"; this.repositoryItemSearchLookUpEdit1.NullText = ""; this.repositoryItemSearchLookUpEdit1.ValueMember = "Route_Number"; this.repositoryItemSearchLookUpEdit1.View = this.repositoryItemSearchLookUpEdit1View; // // LSMSRoute // this.LSMSRoute.ElementType = typeof(NICSQLTools.Data.Linq.vRouteDetail); this.LSMSRoute.KeyExpression = "[Route_Number]"; // // repositoryItemSearchLookUpEdit1View // this.repositoryItemSearchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn4, this.gridColumn5}); this.repositoryItemSearchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.repositoryItemSearchLookUpEdit1View.Name = "repositoryItemSearchLookUpEdit1View"; this.repositoryItemSearchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.repositoryItemSearchLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // gridColumn1 // this.gridColumn1.AppearanceCell.Options.UseTextOptions = true; this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.Caption = "Route Number"; this.gridColumn1.FieldName = "Route_Number"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.AppearanceCell.Options.UseTextOptions = true; this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.Caption = "Route Name"; this.gridColumn2.FieldName = "Route_Name"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // gridColumn3 // this.gridColumn3.AppearanceCell.Options.UseTextOptions = true; this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.Caption = "Brand Route"; this.gridColumn3.FieldName = "Brand_Route"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; // // gridColumn4 // this.gridColumn4.AppearanceCell.Options.UseTextOptions = true; this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.Caption = "Sales District 2"; this.gridColumn4.FieldName = "Sales_District_2"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 3; // // gridColumn5 // this.gridColumn5.AppearanceCell.Options.UseTextOptions = true; this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.Caption = "Supervisor"; this.gridColumn5.FieldName = "Supervisor"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 4; // // beiCustomer // this.beiCustomer.Caption = "Customer"; this.beiCustomer.Edit = this.repositoryItemSearchLookUpEdit2; this.beiCustomer.Id = 9; this.beiCustomer.Name = "beiCustomer"; this.beiCustomer.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.beiCustomer.EditValueChanged += new System.EventHandler(this.beiCustomer_EditValueChanged); // // repositoryItemSearchLookUpEdit2 // this.repositoryItemSearchLookUpEdit2.AutoHeight = false; this.repositoryItemSearchLookUpEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemSearchLookUpEdit2.DataSource = this.mapRouteCustomerBindingSource; this.repositoryItemSearchLookUpEdit2.DisplayMember = "Name 3 Ar"; this.repositoryItemSearchLookUpEdit2.Name = "repositoryItemSearchLookUpEdit2"; this.repositoryItemSearchLookUpEdit2.NullText = ""; this.repositoryItemSearchLookUpEdit2.ValueMember = "Customer"; this.repositoryItemSearchLookUpEdit2.View = this.repositoryItemSearchLookUpEdit2View; // // repositoryItemSearchLookUpEdit2View // this.repositoryItemSearchLookUpEdit2View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colCustomer, this.colCustomerType, this.colSubchannel, this.colName1Ar, this.colName3Ar}); this.repositoryItemSearchLookUpEdit2View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.repositoryItemSearchLookUpEdit2View.Name = "repositoryItemSearchLookUpEdit2View"; this.repositoryItemSearchLookUpEdit2View.OptionsSelection.EnableAppearanceFocusedCell = false; this.repositoryItemSearchLookUpEdit2View.OptionsView.ShowGroupPanel = false; // // colCustomer // this.colCustomer.AppearanceCell.Options.UseTextOptions = true; this.colCustomer.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colCustomer.AppearanceHeader.Options.UseTextOptions = true; this.colCustomer.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colCustomer.Caption = "Code"; this.colCustomer.FieldName = "Customer"; this.colCustomer.Name = "colCustomer"; this.colCustomer.Visible = true; this.colCustomer.VisibleIndex = 0; // // colCustomerType // this.colCustomerType.AppearanceCell.Options.UseTextOptions = true; this.colCustomerType.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colCustomerType.AppearanceHeader.Options.UseTextOptions = true; this.colCustomerType.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colCustomerType.Caption = "Customer Type"; this.colCustomerType.FieldName = "Customer Type"; this.colCustomerType.Name = "colCustomerType"; this.colCustomerType.Visible = true; this.colCustomerType.VisibleIndex = 1; // // colSubchannel // this.colSubchannel.AppearanceCell.Options.UseTextOptions = true; this.colSubchannel.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubchannel.AppearanceHeader.Options.UseTextOptions = true; this.colSubchannel.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubchannel.Caption = "Subchannel"; this.colSubchannel.FieldName = "Subchannel"; this.colSubchannel.Name = "colSubchannel"; this.colSubchannel.Visible = true; this.colSubchannel.VisibleIndex = 2; // // colName1Ar // this.colName1Ar.AppearanceCell.Options.UseTextOptions = true; this.colName1Ar.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colName1Ar.AppearanceHeader.Options.UseTextOptions = true; this.colName1Ar.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colName1Ar.Caption = "Name 1 Ar"; this.colName1Ar.FieldName = "Name 1 Ar"; this.colName1Ar.Name = "colName1Ar"; this.colName1Ar.Visible = true; this.colName1Ar.VisibleIndex = 3; // // colName3Ar // this.colName3Ar.AppearanceCell.Options.UseTextOptions = true; this.colName3Ar.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colName3Ar.AppearanceHeader.Options.UseTextOptions = true; this.colName3Ar.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colName3Ar.Caption = "Name 3 Ar"; this.colName3Ar.FieldName = "Name 3 Ar"; this.colName3Ar.Name = "colName3Ar"; this.colName3Ar.Visible = true; this.colName3Ar.VisibleIndex = 4; // // bbiFind // this.bbiFind.Caption = "Find"; this.bbiFind.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiFind.Glyph"))); this.bbiFind.Id = 10; this.bbiFind.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiFind.LargeGlyph"))); this.bbiFind.Name = "bbiFind"; this.bbiFind.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiFind.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiFind_ItemClick); // // bsiMapKind // this.bsiMapKind.Caption = "Map Kind"; this.bsiMapKind.Glyph = ((System.Drawing.Image)(resources.GetObject("bsiMapKind.Glyph"))); this.bsiMapKind.Id = 11; this.bsiMapKind.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bsiMapKind.LargeGlyph"))); this.bsiMapKind.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.bbiMakKindRoad), new DevExpress.XtraBars.LinkPersistInfo(this.bbiMakKindArea), new DevExpress.XtraBars.LinkPersistInfo(this.bbiMakKindHybrid)}); this.bsiMapKind.Name = "bsiMapKind"; this.bsiMapKind.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // bbiMakKindRoad // this.bbiMakKindRoad.Caption = "Roud"; this.bbiMakKindRoad.Id = 12; this.bbiMakKindRoad.Name = "bbiMakKindRoad"; this.bbiMakKindRoad.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiMakKindRoad_ItemClick); // // bbiMakKindArea // this.bbiMakKindArea.Caption = "Area"; this.bbiMakKindArea.Id = 13; this.bbiMakKindArea.Name = "bbiMakKindArea"; this.bbiMakKindArea.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiMakKindArea_ItemClick); // // bbiMakKindHybrid // this.bbiMakKindHybrid.Caption = "Hybrid"; this.bbiMakKindHybrid.Id = 14; this.bbiMakKindHybrid.Name = "bbiMakKindHybrid"; this.bbiMakKindHybrid.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiMakKindHybrid_ItemClick); // // bbiPrint // this.bbiPrint.Caption = "Print"; this.bbiPrint.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiPrint.Glyph"))); this.bbiPrint.Id = 4; this.bbiPrint.Name = "bbiPrint"; this.bbiPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiPrint.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiPrint_ItemClick); // // bar3 // this.bar3.BarName = "Status bar"; this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar3.DockCol = 0; this.bar3.DockRow = 0; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar3.OptionsBar.AllowQuickCustomization = false; this.bar3.OptionsBar.DrawDragBorder = false; this.bar3.OptionsBar.UseWholeRow = true; this.bar3.Text = "Status bar"; // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(800, 44); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 577); this.barDockControlBottom.Size = new System.Drawing.Size(800, 23); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 44); this.barDockControlLeft.Size = new System.Drawing.Size(0, 533); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(800, 44); this.barDockControlRight.Size = new System.Drawing.Size(0, 533); // // bbiExcelDynamicUpdate // this.bbiExcelDynamicUpdate.Caption = "Excel Dynamic Update"; this.bbiExcelDynamicUpdate.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiExcelDynamicUpdate.Glyph"))); this.bbiExcelDynamicUpdate.Id = 7; this.bbiExcelDynamicUpdate.Name = "bbiExcelDynamicUpdate"; this.bbiExcelDynamicUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // mapControlMain // this.mapControlMain.Dock = System.Windows.Forms.DockStyle.Fill; bingMapDataProvider1.BingKey = "AkVwp2-taePfVbizWMg4sw7euGQgm0V10-LPDl7SogRzhje2RsGfbp-YxDjK97_M"; bingMapDataProvider1.CacheOptions.DiskFolder = "MapDiskFolder"; bingMapDataProvider1.CacheOptions.MemoryLimit = 128; bingMapDataProvider1.Kind = DevExpress.XtraMap.BingMapKind.Road; bingMapDataProvider1.TileSource = null; imageTilesLayer1.DataProvider = bingMapDataProvider1; imageTilesLayer1.Name = "BingDataLayer"; bingSearchDataProvider1.BingKey = "AkVwp2-taePfVbizWMg4sw7euGQgm0V10-LPDl7SogRzhje2RsGfbp-YxDjK97_M"; informationLayer1.DataProvider = bingSearchDataProvider1; informationLayer1.Name = "SearchLayer"; bingRouteDataProvider1.BingKey = "AkVwp2-taePfVbizWMg4sw7euGQgm0V10-LPDl7SogRzhje2RsGfbp-YxDjK97_M"; informationLayer2.DataProvider = bingRouteDataProvider1; informationLayer2.Name = "RouteLayer"; listSourceDataAdapter1.DataMember = "MapRouteCustomer"; listSourceDataAdapter1.DataSource = this.dsQry; listSourceDataAdapter1.DefaultMapItemType = DevExpress.XtraMap.MapItemType.Callout; listSourceDataAdapter1.Mappings.Latitude = "Latitude"; listSourceDataAdapter1.Mappings.Longitude = "Longitude"; listSourceDataAdapter1.Mappings.Text = "Name 3 Ar"; listSourceDataAdapter1.Mappings.Type = "Customer Type"; mapItemVisiblePropertyMapping1.DefaultValue = true; mapItemVisiblePropertyMapping1.Member = "Subchannel"; listSourceDataAdapter1.PropertyMappings.Add(mapItemVisiblePropertyMapping1); vectorItemsLayer1.Data = listSourceDataAdapter1; vectorItemsLayer1.Name = "CustomerLayer"; this.mapControlMain.Layers.Add(imageTilesLayer1); this.mapControlMain.Layers.Add(informationLayer1); this.mapControlMain.Layers.Add(informationLayer2); this.mapControlMain.Layers.Add(vectorItemsLayer1); this.mapControlMain.Location = new System.Drawing.Point(0, 44); this.mapControlMain.Name = "mapControlMain"; this.mapControlMain.Size = new System.Drawing.Size(800, 533); this.mapControlMain.TabIndex = 4; // // LSMSCustomer // this.LSMSCustomer.ElementType = typeof(NICSQLTools.Data.Linq.vRouteDetail); this.LSMSCustomer.KeyExpression = "Route_Number"; // // mapRouteCustomerTableAdapter // this.mapRouteCustomerTableAdapter.ClearBeforeFill = true; // // CustomerMapUC // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.mapControlMain); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "CustomerMapUC"; this.Size = new System.Drawing.Size(800, 600); ((System.ComponentModel.ISupportInitialize)(this.dsQry)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mapRouteCustomerBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSRoute)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit2View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControlMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSCustomer)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraMap.ImageLayer imageTilesLayer2 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer2 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingRouteDataProvider bingRouteDataProvider2 = new DevExpress.XtraMap.BingRouteDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage2 = new DevExpress.XtraMap.MapItemStorage(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.listBox1 = new System.Windows.Forms.ListBox(); this.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // imageTilesLayer2.DataProvider = bingMapDataProvider2; informationLayer2.DataProvider = bingRouteDataProvider2; vectorItemsLayer2.Data = mapItemStorage2; this.mapControl1.Layers.Add(imageTilesLayer2); this.mapControl1.Layers.Add(informationLayer2); this.mapControl1.Layers.Add(vectorItemsLayer2); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(694, 565); this.mapControl1.TabIndex = 0; this.mapControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.mapControl1_MouseDown); // // listBox1 // this.listBox1.FormattingEnabled = true; this.listBox1.Location = new System.Drawing.Point(712, 0); this.listBox1.Name = "listBox1"; this.listBox1.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple; this.listBox1.Size = new System.Drawing.Size(286, 316); this.listBox1.TabIndex = 1; // // button1 // this.button1.Location = new System.Drawing.Point(712, 323); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(286, 24); this.button1.TabIndex = 2; this.button1.Text = "Calculate"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(712, 376); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(35, 13); this.label1.TabIndex = 3; this.label1.Text = "label1"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(712, 405); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(35, 13); this.label2.TabIndex = 4; this.label2.Text = "label2"; // // button2 // this.button2.Location = new System.Drawing.Point(896, 542); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(102, 23); this.button2.TabIndex = 5; this.button2.Text = "Clear"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1010, 577); this.Controls.Add(this.button2); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.button1); this.Controls.Add(this.listBox1); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer1 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingGeocodeDataProvider bingGeocodeDataProvider1 = new DevExpress.XtraMap.BingGeocodeDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer2 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingRouteDataProvider bingRouteDataProvider1 = new DevExpress.XtraMap.BingRouteDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer3 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingSearchDataProvider bingSearchDataProvider1 = new DevExpress.XtraMap.BingSearchDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.bClear = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = bingMapDataProvider1; bingGeocodeDataProvider1.GenerateLayerItems = false; informationLayer1.DataProvider = bingGeocodeDataProvider1; informationLayer1.Name = "GeocodeLayer"; bingRouteDataProvider1.GenerateLayerItems = false; informationLayer2.DataProvider = bingRouteDataProvider1; informationLayer2.Name = "RouteLayer"; bingSearchDataProvider1.GenerateLayerItems = false; informationLayer3.DataProvider = bingSearchDataProvider1; informationLayer3.Name = "SearchLayer"; vectorItemsLayer1.Data = mapItemStorage1; vectorItemsLayer1.EnableHighlighting = false; vectorItemsLayer1.EnableSelection = false; vectorItemsLayer1.Name = "ItemsLayer"; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(informationLayer1); this.mapControl1.Layers.Add(informationLayer2); this.mapControl1.Layers.Add(informationLayer3); this.mapControl1.Layers.Add(vectorItemsLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(811, 540); this.mapControl1.TabIndex = 0; this.mapControl1.MapItemClick += new DevExpress.XtraMap.MapItemClickEventHandler(this.mapControl1_MapItemClick); // // bClear // this.bClear.Location = new System.Drawing.Point(12, 12); this.bClear.Name = "bClear"; this.bClear.Size = new System.Drawing.Size(75, 23); this.bClear.TabIndex = 1; this.bClear.Text = "Clear"; this.bClear.UseVisualStyleBackColor = true; this.bClear.Click += new System.EventHandler(this.bClear_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(811, 540); this.Controls.Add(this.bClear); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); this.ResumeLayout(false); }