/// <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.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.FixedMiniMapBehavior fixedMiniMapBehavior1 = new DevExpress.XtraMap.FixedMiniMapBehavior(); DevExpress.XtraMap.MiniMapImageTilesLayer miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.MiniMapVectorItemsLayer miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(45D, 18D); this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; bingMapDataProvider1.BingKey = "YOUR_BING_MAPS_KEY"; imageTilesLayer1.DataProvider = bingMapDataProvider1; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); miniMap1.Alignment = DevExpress.XtraMap.MiniMapAlignment.BottomRight; fixedMiniMapBehavior1.CenterPoint = new DevExpress.XtraMap.GeoPoint(45D, 18D); miniMap1.Behavior = fixedMiniMapBehavior1; bingMapDataProvider2.BingKey = "YOUR BING MAPS KEY"; miniMapImageTilesLayer1.DataProvider = bingMapDataProvider2; miniMapVectorItemsLayer1.Data = mapItemStorage1; miniMap1.Layers.Add(miniMapImageTilesLayer1); miniMap1.Layers.Add(miniMapVectorItemsLayer1); this.mapControl1.MiniMap = miniMap1; this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(645, 406); this.mapControl1.TabIndex = 0; this.mapControl1.ZoomLevel = 4D; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(645, 406); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).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() { DevExpress.XtraMap.ImageTilesLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageTilesLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.MapPolygon mapPolygon1 = new DevExpress.XtraMap.MapPolygon(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = openStreetMapDataProvider1; mapPolygon1.HighlightedFill = System.Drawing.Color.Red; mapPolygon1.Points.Add(new DevExpress.XtraMap.GeoPoint(0D, 0D)); mapPolygon1.Points.Add(new DevExpress.XtraMap.GeoPoint(90D, 0D)); mapPolygon1.Points.Add(new DevExpress.XtraMap.GeoPoint(0D, 180D)); mapItemStorage1.Items.Add(mapPolygon1); vectorItemsLayer1.Data = mapItemStorage1; this.mapControl1.Layers.Add(imageTilesLayer1); 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(946, 752); this.mapControl1.TabIndex = 0; this.mapControl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.mapControl1_MouseUp); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(946, 752); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).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() { DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.KeyColorColorizer keyColorColorizer1 = new DevExpress.XtraMap.KeyColorColorizer(); DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.map = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.map)).BeginInit(); this.SuspendLayout(); // // map // this.map.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = openStreetMapDataProvider1; keyColorColorizer1.ItemKeyProvider = argumentItemKeyProvider1; keyColorColorizer1.PredefinedColorSchema = DevExpress.XtraMap.PredefinedColorSchema.Palette; vectorItemsLayer1.Colorizer = keyColorColorizer1; vectorItemsLayer1.Data = mapItemStorage1; vectorItemsLayer1.Name = "VectorLayer"; this.map.Layers.Add(imageTilesLayer1); this.map.Layers.Add(vectorItemsLayer1); this.map.Location = new System.Drawing.Point(0, 0); this.map.Name = "map"; this.map.Size = new System.Drawing.Size(731, 468); this.map.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(731, 468); this.Controls.Add(this.map); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.map)).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() { DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.MapPushpin mapPushpin1 = new DevExpress.XtraMap.MapPushpin(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; vectorItemsLayer1.Name = "ShapefileLayer"; mapPushpin1.Text = "Drag me"; mapItemStorage1.Items.Add(mapPushpin1); vectorItemsLayer2.Data = mapItemStorage1; this.mapControl1.Layers.Add(vectorItemsLayer1); 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(761, 464); this.mapControl1.TabIndex = 0; this.mapControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.mapControl1_MouseDown); this.mapControl1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.mapControl1_MouseMove); this.mapControl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.mapControl1_MouseUp); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(761, 464); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).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() { DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.MapRectangle mapRectangle1 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle2 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle3 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle4 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle5 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle6 = new DevExpress.XtraMap.MapRectangle(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(60D, -100D); this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = openStreetMapDataProvider1; mapRectangle1.Fill = System.Drawing.Color.Red; mapRectangle1.Height = 300D; mapRectangle1.Location = new DevExpress.XtraMap.GeoPoint(55D, -120D); mapRectangle1.Width = 300D; mapRectangle2.Fill = System.Drawing.Color.Yellow; mapRectangle2.Height = 300D; mapRectangle2.Location = new DevExpress.XtraMap.GeoPoint(45D, -110D); mapRectangle2.Width = 300D; mapRectangle3.Fill = System.Drawing.Color.Lime; mapRectangle3.Height = 300D; mapRectangle3.Location = new DevExpress.XtraMap.GeoPoint(45D, -120D); mapRectangle3.Width = 300D; mapRectangle4.Fill = System.Drawing.Color.Blue; mapRectangle4.Height = 300D; mapRectangle4.Location = new DevExpress.XtraMap.GeoPoint(60D, -110D); mapRectangle4.Width = 300D; mapRectangle5.Fill = System.Drawing.Color.Fuchsia; mapRectangle5.Height = 300D; mapRectangle5.Location = new DevExpress.XtraMap.GeoPoint(60D, -120D); mapRectangle5.Width = 300D; mapRectangle6.Height = 300D; mapRectangle6.Location = new DevExpress.XtraMap.GeoPoint(55D, -110D); mapRectangle6.Width = 300D; mapItemStorage1.Items.Add(mapRectangle1); mapItemStorage1.Items.Add(mapRectangle2); mapItemStorage1.Items.Add(mapRectangle3); mapItemStorage1.Items.Add(mapRectangle4); mapItemStorage1.Items.Add(mapRectangle5); mapItemStorage1.Items.Add(mapRectangle6); vectorItemsLayer1.Data = mapItemStorage1; this.mapControl1.Layers.Add(imageTilesLayer1); 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(513, 351); this.mapControl1.TabIndex = 0; this.mapControl1.ZoomLevel = 2D; // // simpleButton1 // this.simpleButton1.Dock = System.Windows.Forms.DockStyle.Top; this.simpleButton1.Location = new System.Drawing.Point(0, 0); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(513, 23); this.simpleButton1.TabIndex = 1; this.simpleButton1.Text = "ExportToImage"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(513, 351); this.Controls.Add(this.simpleButton1); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).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.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.BubbleChartDataAdapter bubbleChartDataAdapter1 = new DevExpress.XtraMap.BubbleChartDataAdapter(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer3 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.bindingSource = new System.Windows.Forms.BindingSource(this.components); this.dataLayoutControl = new DevExpress.XtraDataLayout.DataLayoutControl(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.mapControlLCI = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControl)).BeginInit(); this.dataLayoutControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControlLCI)).BeginInit(); this.SuspendLayout(); this.dataLayoutControl.AllowCustomization = false; this.dataLayoutControl.Controls.Add(this.mapControl); this.dataLayoutControl.DataSource = this.bindingSource; this.dataLayoutControl.Dock = System.Windows.Forms.DockStyle.Fill; this.dataLayoutControl.Location = new System.Drawing.Point(0, 0); this.dataLayoutControl.Margin = new System.Windows.Forms.Padding(12); this.dataLayoutControl.Name = "dataLayoutControl"; this.dataLayoutControl.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(846, 113, 681, 723); this.dataLayoutControl.Root = this.layoutControlGroup1; this.dataLayoutControl.Size = new System.Drawing.Size(572, 342); this.dataLayoutControl.TabIndex = 1; this.dataLayoutControl.Text = "dataLayoutControl1"; this.mapControl.Cursor = System.Windows.Forms.Cursors.Default; vectorItemsLayer1.EnableHighlighting = false; vectorItemsLayer1.EnableSelection = false; vectorItemsLayer1.ItemStyle.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(219)))), ((int)(((byte)(219)))), ((int)(((byte)(219))))); vectorItemsLayer1.ItemStyle.Stroke = System.Drawing.Color.White; vectorItemsLayer1.ItemStyle.StrokeWidth = 0; vectorItemsLayer1.SelectedItemStyle.Fill = System.Drawing.Color.White; vectorItemsLayer1.SelectedItemStyle.StrokeWidth = 0; vectorItemsLayer1.ShapeTitlesPattern = ""; bubbleChartDataAdapter1.Mappings.Latitude = "Latitude"; bubbleChartDataAdapter1.Mappings.Longitude = "Longitude"; bubbleChartDataAdapter1.Mappings.Value = "Total"; bubbleChartDataAdapter1.MarkerType = DevExpress.XtraMap.MarkerType.Circle; vectorItemsLayer2.Data = bubbleChartDataAdapter1; vectorItemsLayer2.ItemStyle.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(113)))), ((int)(((byte)(0))))); vectorItemsLayer2.ItemStyle.Stroke = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(96)))), ((int)(((byte)(0))))); vectorItemsLayer2.ItemStyle.StrokeWidth = 1; vectorItemsLayer2.SelectedItemStyle.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(81)))), ((int)(((byte)(165))))); vectorItemsLayer2.SelectedItemStyle.StrokeWidth = 0; vectorItemsLayer2.ToolTipPattern = "City:%CI% Total:%CV%"; vectorItemsLayer3.Data = mapItemStorage1; this.mapControl.Layers.Add(vectorItemsLayer1); this.mapControl.Layers.Add(vectorItemsLayer2); this.mapControl.Layers.Add(vectorItemsLayer3); this.mapControl.Location = new System.Drawing.Point(2, 2); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(568, 338); this.mapControl.TabIndex = 18; this.mapControl.ToolTipController = this.toolTipController1; this.mapControl.ZoomLevel = 4D; this.mapControl.MapItemClick += new DevExpress.XtraMap.MapItemClickEventHandler(this.mapControl_MapItemClick); this.toolTipController1.BeforeShow += new DevExpress.Utils.ToolTipControllerBeforeShowEventHandler(this.toolTipController1_BeforeShow); this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.OptionsItemText.TextToControlDistance = 6; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(572, 342); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; this.layoutControlGroup2.AllowDrawBackground = false; this.layoutControlGroup2.CustomizationFormText = "autoGeneratedGroup0"; this.layoutControlGroup2.GroupBordersVisible = false; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.mapControlLCI }); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "autoGeneratedGroup0"; this.layoutControlGroup2.OptionsItemText.TextToControlDistance = 6; this.layoutControlGroup2.Size = new System.Drawing.Size(572, 342); this.layoutControlGroup2.Text = "autoGeneratedGroup0"; this.mapControlLCI.Control = this.mapControl; this.mapControlLCI.CustomizationFormText = "mapControlLCI"; this.mapControlLCI.Location = new System.Drawing.Point(0, 0); this.mapControlLCI.Name = "mapControlLCI"; this.mapControlLCI.Size = new System.Drawing.Size(572, 342); this.mapControlLCI.Text = "mapControlLCI"; this.mapControlLCI.TextSize = new System.Drawing.Size(0, 0); this.mapControlLCI.TextToControlDistance = 0; this.mapControlLCI.TextVisible = false; this.Controls.Add(this.dataLayoutControl); this.Margin = new System.Windows.Forms.Padding(6); this.Name = "OpportunitiesMapView"; this.Size = new System.Drawing.Size(572, 342); ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControl)).EndInit(); this.dataLayoutControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControlLCI)).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.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.ColorIndexColorizer colorIndexColorizer1 = new DevExpress.XtraMap.ColorIndexColorizer(); DevExpress.XtraMap.BubbleGroupToColorIndexProvider bubbleGroupToColorIndexProvider1 = new DevExpress.XtraMap.BubbleGroupToColorIndexProvider(); DevExpress.XtraMap.BubbleChartDataAdapter bubbleChartDataAdapter1 = new DevExpress.XtraMap.BubbleChartDataAdapter(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.MapCallout mapCallout1 = new DevExpress.XtraMap.MapCallout(); this.bindingSource = new System.Windows.Forms.BindingSource(this.components); 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.biPrint = new DevExpress.XtraBars.BarButtonItem(); this.biPrintPreview = new DevExpress.XtraBars.BarButtonItem(); this.barExportItem = new DevExpress.XtraBars.BarButtonItem(); this.biHigh = new DevExpress.XtraBars.BarCheckItem(); this.biMedium = new DevExpress.XtraBars.BarCheckItem(); this.biLow = new DevExpress.XtraBars.BarCheckItem(); this.biUnlikely = new DevExpress.XtraBars.BarCheckItem(); 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.moduleDataLayout = new DevExpress.XtraDataLayout.DataLayoutControl(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.ItemForMap = new DevExpress.XtraLayout.LayoutControlItem(); this.simpleSeparator1 = new DevExpress.XtraLayout.SimpleSeparator(); this.simpleSeparator2 = new DevExpress.XtraLayout.SimpleSeparator(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.moduleDataLayout)).BeginInit(); this.moduleDataLayout.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForMap)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator2)).BeginInit(); this.SuspendLayout(); // // bindingSource // this.bindingSource.DataSource = typeof(DevExpress.DevAV.ViewModels.Opportunities.MapItem); // // 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.biPrint, this.biPrintPreview, this.barExportItem, this.biHigh, this.biMedium, this.biLow, this.biUnlikely}); this.ribbonControl.Location = new System.Drawing.Point(0, 0); this.ribbonControl.MaxItemId = 20; this.ribbonControl.Name = "ribbonControl"; this.ribbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1}); this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; this.ribbonControl.Size = new System.Drawing.Size(1226, 121); // // 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"; // // 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"; // // biHigh // this.biHigh.Caption = "High"; this.biHigh.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537"); this.biHigh.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_hight_16; this.biHigh.Id = 16; this.biHigh.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_hight_32; this.biHigh.Name = "biHigh"; // // biMedium // this.biMedium.Caption = "Medium"; this.biMedium.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537"); this.biMedium.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_medium_16; this.biMedium.Id = 17; this.biMedium.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_medium_32; this.biMedium.Name = "biMedium"; // // biLow // this.biLow.Caption = "Low"; this.biLow.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537"); this.biLow.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_low_16; this.biLow.Id = 18; this.biLow.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_low_32; this.biLow.Name = "biLow"; // // biUnlikely // this.biUnlikely.Caption = "Unlikely"; this.biUnlikely.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537"); this.biUnlikely.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_unlike_16; this.biUnlikely.Id = 19; this.biUnlikely.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_unlike_32; this.biUnlikely.Name = "biUnlikely"; // // 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.biHigh); this.ribbonPageGroup4.ItemLinks.Add(this.biMedium); this.ribbonPageGroup4.ItemLinks.Add(this.biLow); this.ribbonPageGroup4.ItemLinks.Add(this.biUnlikely); this.ribbonPageGroup4.MergeOrder = 0; this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.ShowCaptionButton = false; this.ribbonPageGroup4.Text = "Opportunities"; // // 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"; // // moduleDataLayout // this.moduleDataLayout.AllowCustomizationMenu = false; this.moduleDataLayout.Controls.Add(this.mapControl); this.moduleDataLayout.DataSource = this.bindingSource; this.moduleDataLayout.Dock = System.Windows.Forms.DockStyle.Fill; this.moduleDataLayout.Location = new System.Drawing.Point(0, 121); this.moduleDataLayout.Name = "moduleDataLayout"; this.moduleDataLayout.Root = this.layoutControlGroup1; this.moduleDataLayout.Size = new System.Drawing.Size(1226, 641); this.moduleDataLayout.TabIndex = 2; this.moduleDataLayout.Text = "moduleDataLayout"; // // mapControl // this.mapControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.mapControl.Cursor = System.Windows.Forms.Cursors.Default; bingMapDataProvider1.Kind = DevExpress.XtraMap.BingMapKind.Road; imageTilesLayer1.DataProvider = bingMapDataProvider1; colorIndexColorizer1.ColorIndexProvider = bubbleGroupToColorIndexProvider1; vectorItemsLayer1.Colorizer = colorIndexColorizer1; bubbleChartDataAdapter1.BubbleItemDataMember = "City"; bubbleChartDataAdapter1.DataSource = this.bindingSource; bubbleChartDataAdapter1.Mappings.BubbleGroup = "Index"; bubbleChartDataAdapter1.Mappings.Latitude = "Latitude"; bubbleChartDataAdapter1.Mappings.Longitude = "Longitude"; bubbleChartDataAdapter1.Mappings.Value = "Value"; vectorItemsLayer1.Data = bubbleChartDataAdapter1; vectorItemsLayer1.ToolTipPattern = "City:%CI% Value:%CV%"; mapCallout1.AllowHtmlText = true; mapCallout1.Text = "Test"; mapItemStorage1.Items.Add(mapCallout1); vectorItemsLayer2.Data = mapItemStorage1; this.mapControl.Layers.Add(imageTilesLayer1); this.mapControl.Layers.Add(vectorItemsLayer1); this.mapControl.Layers.Add(vectorItemsLayer2); this.mapControl.Location = new System.Drawing.Point(0, 0); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(1222, 641); this.mapControl.TabIndex = 18; this.mapControl.ZoomLevel = 8D; // // 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.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, 641); 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 = "layoutControlItem1"; this.ItemForMap.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.ItemForMap.Size = new System.Drawing.Size(1222, 641); this.ItemForMap.Text = "map"; this.ItemForMap.TextSize = new System.Drawing.Size(0, 0); this.ItemForMap.TextToControlDistance = 0; this.ItemForMap.TextVisible = false; // // simpleSeparator1 // this.simpleSeparator1.AllowHotTrack = false; this.simpleSeparator1.CustomizationFormText = "simpleSeparator1"; this.simpleSeparator1.Location = new System.Drawing.Point(1224, 0); this.simpleSeparator1.Name = "simpleSeparator1"; this.simpleSeparator1.Size = new System.Drawing.Size(2, 641); this.simpleSeparator1.Text = "simpleSeparator1"; // // simpleSeparator2 // this.simpleSeparator2.AllowHotTrack = false; this.simpleSeparator2.CustomizationFormText = "simpleSeparator2"; this.simpleSeparator2.Location = new System.Drawing.Point(1222, 0); this.simpleSeparator2.Name = "simpleSeparator2"; this.simpleSeparator2.Size = new System.Drawing.Size(2, 641); this.simpleSeparator2.Text = "simpleSeparator2"; // // QuoteMapView // 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.Margin = new System.Windows.Forms.Padding(6); this.Name = "QuoteMapView"; this.Size = new System.Drawing.Size(1226, 762); ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.moduleDataLayout)).EndInit(); this.moduleDataLayout.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForMap)).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() { 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() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.ImageTilesLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.ColorIndexColorizer colorIndexColorizer1 = new DevExpress.XtraMap.ColorIndexColorizer(); DevExpress.XtraMap.BubbleGroupToColorIndexProvider bubbleGroupToColorIndexProvider1 = new DevExpress.XtraMap.BubbleGroupToColorIndexProvider(); DevExpress.XtraMap.BubbleChartDataAdapter bubbleChartDataAdapter1 = new DevExpress.XtraMap.BubbleChartDataAdapter(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.MapCallout mapCallout1 = new DevExpress.XtraMap.MapCallout(); this.bindingSource = new System.Windows.Forms.BindingSource(this.components); 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.biPrint = new DevExpress.XtraBars.BarButtonItem(); this.biPrintPreview = new DevExpress.XtraBars.BarButtonItem(); this.barExportItem = new DevExpress.XtraBars.BarButtonItem(); this.biHigh = new DevExpress.XtraBars.BarCheckItem(); this.biMedium = new DevExpress.XtraBars.BarCheckItem(); this.biLow = new DevExpress.XtraBars.BarCheckItem(); this.biUnlikely = new DevExpress.XtraBars.BarCheckItem(); 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.moduleDataLayout = new DevExpress.XtraDataLayout.DataLayoutControl(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.ItemForMap = new DevExpress.XtraLayout.LayoutControlItem(); this.simpleSeparator1 = new DevExpress.XtraLayout.SimpleSeparator(); this.simpleSeparator2 = new DevExpress.XtraLayout.SimpleSeparator(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.moduleDataLayout)).BeginInit(); this.moduleDataLayout.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForMap)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator2)).BeginInit(); this.SuspendLayout(); // // bindingSource // this.bindingSource.DataSource = typeof(DevExpress.DevAV.ViewModels.Opportunities.MapItem); // // 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.biPrint, this.biPrintPreview, this.barExportItem, this.biHigh, this.biMedium, this.biLow, this.biUnlikely }); this.ribbonControl.Location = new System.Drawing.Point(0, 0); this.ribbonControl.MaxItemId = 20; this.ribbonControl.Name = "ribbonControl"; this.ribbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1 }); this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; this.ribbonControl.Size = new System.Drawing.Size(1226, 121); // // 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"; // // 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"; // // biHigh // this.biHigh.Caption = "High"; this.biHigh.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537"); this.biHigh.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_hight_16; this.biHigh.Id = 16; this.biHigh.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_hight_32; this.biHigh.Name = "biHigh"; // // biMedium // this.biMedium.Caption = "Medium"; this.biMedium.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537"); this.biMedium.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_medium_16; this.biMedium.Id = 17; this.biMedium.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_medium_32; this.biMedium.Name = "biMedium"; // // biLow // this.biLow.Caption = "Low"; this.biLow.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537"); this.biLow.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_low_16; this.biLow.Id = 18; this.biLow.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_low_32; this.biLow.Name = "biLow"; // // biUnlikely // this.biUnlikely.Caption = "Unlikely"; this.biUnlikely.CategoryGuid = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537"); this.biUnlikely.Glyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_unlike_16; this.biUnlikely.Id = 19; this.biUnlikely.LargeGlyph = global::DevExpress.OutlookInspiredApp.Win.Properties.Resources.icon_opportunities_unlike_32; this.biUnlikely.Name = "biUnlikely"; // // 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.biHigh); this.ribbonPageGroup4.ItemLinks.Add(this.biMedium); this.ribbonPageGroup4.ItemLinks.Add(this.biLow); this.ribbonPageGroup4.ItemLinks.Add(this.biUnlikely); this.ribbonPageGroup4.MergeOrder = 0; this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.ShowCaptionButton = false; this.ribbonPageGroup4.Text = "Opportunities"; // // 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"; // // moduleDataLayout // this.moduleDataLayout.AllowCustomizationMenu = false; this.moduleDataLayout.Controls.Add(this.mapControl); this.moduleDataLayout.DataSource = this.bindingSource; this.moduleDataLayout.Dock = System.Windows.Forms.DockStyle.Fill; this.moduleDataLayout.Location = new System.Drawing.Point(0, 121); this.moduleDataLayout.Name = "moduleDataLayout"; this.moduleDataLayout.Root = this.layoutControlGroup1; this.moduleDataLayout.Size = new System.Drawing.Size(1226, 641); this.moduleDataLayout.TabIndex = 2; this.moduleDataLayout.Text = "moduleDataLayout"; // // mapControl // this.mapControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.mapControl.Cursor = System.Windows.Forms.Cursors.Default; bingMapDataProvider1.Kind = DevExpress.XtraMap.BingMapKind.Road; imageTilesLayer1.DataProvider = bingMapDataProvider1; colorIndexColorizer1.ColorIndexProvider = bubbleGroupToColorIndexProvider1; vectorItemsLayer1.Colorizer = colorIndexColorizer1; bubbleChartDataAdapter1.BubbleItemDataMember = "City"; bubbleChartDataAdapter1.DataSource = this.bindingSource; bubbleChartDataAdapter1.Mappings.BubbleGroup = "Index"; bubbleChartDataAdapter1.Mappings.Latitude = "Latitude"; bubbleChartDataAdapter1.Mappings.Longitude = "Longitude"; bubbleChartDataAdapter1.Mappings.Value = "Value"; vectorItemsLayer1.Data = bubbleChartDataAdapter1; vectorItemsLayer1.ToolTipPattern = "City:%CI% Value:%CV%"; mapCallout1.AllowHtmlText = true; mapCallout1.Text = "Test"; mapItemStorage1.Items.Add(mapCallout1); vectorItemsLayer2.Data = mapItemStorage1; this.mapControl.Layers.Add(imageTilesLayer1); this.mapControl.Layers.Add(vectorItemsLayer1); this.mapControl.Layers.Add(vectorItemsLayer2); this.mapControl.Location = new System.Drawing.Point(0, 0); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(1222, 641); this.mapControl.TabIndex = 18; this.mapControl.ZoomLevel = 8D; // // 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.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, 641); 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 = "layoutControlItem1"; this.ItemForMap.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.ItemForMap.Size = new System.Drawing.Size(1222, 641); this.ItemForMap.Text = "map"; this.ItemForMap.TextSize = new System.Drawing.Size(0, 0); this.ItemForMap.TextToControlDistance = 0; this.ItemForMap.TextVisible = false; // // simpleSeparator1 // this.simpleSeparator1.AllowHotTrack = false; this.simpleSeparator1.CustomizationFormText = "simpleSeparator1"; this.simpleSeparator1.Location = new System.Drawing.Point(1224, 0); this.simpleSeparator1.Name = "simpleSeparator1"; this.simpleSeparator1.Size = new System.Drawing.Size(2, 641); this.simpleSeparator1.Text = "simpleSeparator1"; // // simpleSeparator2 // this.simpleSeparator2.AllowHotTrack = false; this.simpleSeparator2.CustomizationFormText = "simpleSeparator2"; this.simpleSeparator2.Location = new System.Drawing.Point(1222, 0); this.simpleSeparator2.Name = "simpleSeparator2"; this.simpleSeparator2.Size = new System.Drawing.Size(2, 641); this.simpleSeparator2.Text = "simpleSeparator2"; // // QuoteMapView // 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.Margin = new System.Windows.Forms.Padding(6); this.Name = "QuoteMapView"; this.Size = new System.Drawing.Size(1226, 762); ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.moduleDataLayout)).EndInit(); this.moduleDataLayout.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForMap)).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() { 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.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage2 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer3 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage3 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.MapPushpin mapPushpin1 = new DevExpress.XtraMap.MapPushpin(); DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.FixedMiniMapBehavior fixedMiniMapBehavior1 = new DevExpress.XtraMap.FixedMiniMapBehavior(); DevExpress.XtraMap.MiniMapImageTilesLayer miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.MiniMapVectorItemsLayer miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage4 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MapView)); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.flyoutPanel1 = new DevExpress.Utils.FlyoutPanel(); this.flyoutPanelControl1 = new DevExpress.Utils.FlyoutPanelControl(); this.flyoutPanel2 = new DevExpress.Utils.FlyoutPanel(); this.flyoutPanelControl2 = new DevExpress.Utils.FlyoutPanelControl(); this.geoLocationControl1 = new GeoLocationControl(); this.popupViewer1 = new PopupViewer(); this.galleryGridControl = new DevExpress.XtraGrid.GridControl(); this.galleryView = new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerView(); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); this.standaloneBarDockControl1 = new DevExpress.XtraBars.StandaloneBarDockControl(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.bcVisibleInViewPort = new DevExpress.XtraBars.BarCheckItem(); this.bcNotGeotagged = new DevExpress.XtraBars.BarCheckItem(); this.bcAllItems = new DevExpress.XtraBars.BarCheckItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel1)).BeginInit(); this.flyoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl1)).BeginInit(); this.flyoutPanelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel2)).BeginInit(); this.flyoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl2)).BeginInit(); this.flyoutPanelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.galleryGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.galleryView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(47.5D, 2D); this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; bingMapDataProvider1.BingKey = "AmSNFwVzMvaqFlCYQx9RRUfcAwSQCzi_Vcesric6JFQuBO9wZFXEsqzili-INaUA"; bingMapDataProvider1.Kind = DevExpress.XtraMap.BingMapKind.Area; imageTilesLayer1.DataProvider = bingMapDataProvider1; imageTilesLayer1.Name = "TilesLayer"; informationLayer1.DataProvider = bingGeocodeDataProvider1; informationLayer1.Name = "InformationLayer"; informationLayer1.Visible = false; vectorItemsLayer1.Data = mapItemStorage1; vectorItemsLayer1.ItemStyle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); vectorItemsLayer1.Name = "ItemsLayer"; vectorItemsLayer2.Data = mapItemStorage2; vectorItemsLayer2.Name = "ItemsDetailLayer"; mapItemStorage3.Items.Add(mapPushpin1); vectorItemsLayer3.Data = mapItemStorage3; vectorItemsLayer3.Name = "PushpinLayer"; vectorItemsLayer3.Visible = false; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(informationLayer1); this.mapControl1.Layers.Add(vectorItemsLayer1); this.mapControl1.Layers.Add(vectorItemsLayer2); this.mapControl1.Layers.Add(vectorItemsLayer3); this.mapControl1.Location = new System.Drawing.Point(0, 0); miniMap1.Alignment = DevExpress.XtraMap.MiniMapAlignment.TopLeft; fixedMiniMapBehavior1.ZoomLevel = 0.5D; miniMap1.Behavior = fixedMiniMapBehavior1; miniMap1.Height = 256; miniMapImageTilesLayer1.DataProvider = bingMapDataProvider2; miniMapImageTilesLayer1.Name = "ImageTilesLayer"; miniMapVectorItemsLayer1.Data = mapItemStorage4; miniMapVectorItemsLayer1.ItemStyle.Fill = System.Drawing.Color.Red; miniMapVectorItemsLayer1.ItemStyle.Stroke = System.Drawing.Color.White; miniMapVectorItemsLayer1.ItemStyle.StrokeWidth = 2; miniMapVectorItemsLayer1.Name = "DataLayer"; miniMap1.Layers.Add(miniMapImageTilesLayer1); miniMap1.Layers.Add(miniMapVectorItemsLayer1); miniMap1.Width = 256; this.mapControl1.MiniMap = miniMap1; this.mapControl1.MinZoomLevel = 2D; this.mapControl1.Name = "mapControl1"; this.mapControl1.SelectionMode = DevExpress.XtraMap.ElementSelectionMode.Single; this.mapControl1.Size = new System.Drawing.Size(768, 634); this.mapControl1.TabIndex = 1; this.mapControl1.ZoomLevel = 3D; this.mapControl1.SelectionChanged += new DevExpress.XtraMap.MapSelectionChangedEventHandler(this.mapControl1_SelectionChanged); this.mapControl1.Click += new System.EventHandler(this.mapControl1_Click); this.mapControl1.DoubleClick += new System.EventHandler(this.mapControl1_DoubleClick); // // timer1 // this.timer1.Interval = 2000; // // splitContainerControl1 // this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2; this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; this.splitContainerControl1.Location = new System.Drawing.Point(0, 0); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.flyoutPanel1); this.splitContainerControl1.Panel1.Controls.Add(this.mapControl1); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.galleryGridControl); this.splitContainerControl1.Panel2.Controls.Add(this.standaloneBarDockControl1); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1230, 634); this.splitContainerControl1.SplitterPosition = 457; this.splitContainerControl1.TabIndex = 16; this.splitContainerControl1.Text = "splitContainerControl1"; // // flyoutPanel1 // this.flyoutPanel1.Controls.Add(this.flyoutPanelControl1); this.flyoutPanel1.Location = new System.Drawing.Point(36, 46); this.flyoutPanel1.Name = "flyoutPanel1"; this.flyoutPanel1.Size = new System.Drawing.Size(689, 519); this.flyoutPanel1.TabIndex = 2; // // flyoutPanelControl1 // this.flyoutPanelControl1.Controls.Add(this.flyoutPanel2); this.flyoutPanelControl1.Controls.Add(this.popupViewer1); this.flyoutPanelControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.flyoutPanelControl1.FlyoutPanel = this.flyoutPanel1; this.flyoutPanelControl1.Location = new System.Drawing.Point(0, 0); this.flyoutPanelControl1.Name = "flyoutPanelControl1"; this.flyoutPanelControl1.Size = new System.Drawing.Size(689, 519); this.flyoutPanelControl1.TabIndex = 0; // // flyoutPanel2 // this.flyoutPanel2.Controls.Add(this.flyoutPanelControl2); this.flyoutPanel2.Location = new System.Drawing.Point(22, 16); this.flyoutPanel2.Name = "flyoutPanel2"; this.flyoutPanel2.Size = new System.Drawing.Size(321, 212); this.flyoutPanel2.TabIndex = 3; // // flyoutPanelControl2 // this.flyoutPanelControl2.Controls.Add(this.geoLocationControl1); this.flyoutPanelControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.flyoutPanelControl2.FlyoutPanel = this.flyoutPanel2; this.flyoutPanelControl2.Location = new System.Drawing.Point(0, 0); this.flyoutPanelControl2.Name = "flyoutPanelControl2"; this.flyoutPanelControl2.Size = new System.Drawing.Size(321, 212); this.flyoutPanelControl2.TabIndex = 0; // // geoLocationControl1 // this.geoLocationControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.geoLocationControl1.File = null; this.geoLocationControl1.GeoPoint = null; this.geoLocationControl1.Location = new System.Drawing.Point(2, 2); this.geoLocationControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.geoLocationControl1.Name = "geoLocationControl1"; this.geoLocationControl1.Size = new System.Drawing.Size(317, 208); this.geoLocationControl1.TabIndex = 0; this.geoLocationControl1.CancelClick += new System.EventHandler(this.geoLocationControl1_CancelClick); this.geoLocationControl1.OkClick += new System.EventHandler(this.geoLocationControl1_OkClick); // // popupViewer1 // this.popupViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.popupViewer1.Files = null; this.popupViewer1.Location = new System.Drawing.Point(2, 2); this.popupViewer1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.popupViewer1.Name = "popupViewer1"; this.popupViewer1.Size = new System.Drawing.Size(685, 515); this.popupViewer1.TabIndex = 0; this.popupViewer1.CloseClick += new System.EventHandler(this.popupViewer1_CloseClick); // // galleryGridControl // this.galleryGridControl.Dock = System.Windows.Forms.DockStyle.Fill; this.galleryGridControl.Location = new System.Drawing.Point(0, 31); this.galleryGridControl.MainView = this.galleryView; this.galleryGridControl.Name = "galleryGridControl"; this.galleryGridControl.Size = new System.Drawing.Size(457, 603); this.galleryGridControl.TabIndex = 0; this.galleryGridControl.ToolTipController = this.toolTipController1; this.galleryGridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.galleryView }); // // galleryView // this.galleryView.ContextButtonOptions.TopPanelColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.galleryView.ContextButtonOptions.TopPanelPadding = new System.Windows.Forms.Padding(2); contextButton1.Alignment = DevExpress.Utils.ContextItemAlignment.TopFar; contextButton1.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True; contextButton1.AppearanceHover.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); contextButton1.AppearanceHover.ForeColor = System.Drawing.Color.White; contextButton1.AppearanceHover.Options.UseBackColor = true; contextButton1.AppearanceHover.Options.UseForeColor = true; contextButton1.AppearanceNormal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); contextButton1.AppearanceNormal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); contextButton1.AppearanceNormal.Options.UseBackColor = true; contextButton1.AppearanceNormal.Options.UseForeColor = true; contextButton1.Glyph = ((System.Drawing.Image)(resources.GetObject("contextButton1.Glyph"))); contextButton1.Id = new System.Guid("6e91aeed-9ae6-403f-bc67-28e3c343e593"); contextButton1.Name = "GeoEditingButton"; contextButton1.Visibility = DevExpress.Utils.ContextItemVisibility.Hidden; this.galleryView.ContextButtons.Add(contextButton1); this.galleryView.GridControl = this.galleryGridControl; this.galleryView.Name = "galleryView"; this.galleryView.OptionsImageLoad.AsyncLoad = true; this.galleryView.OptionsImageLoad.CacheThumbnails = false; this.galleryView.OptionsSelection.AllowMarqueeSelection = true; this.galleryView.OptionsSelection.ItemSelectionMode = DevExpress.XtraGrid.Views.WinExplorer.IconItemSelectionMode.Click; this.galleryView.OptionsSelection.MultiSelect = true; this.galleryView.OptionsView.ContentHorizontalAlignment = DevExpress.Utils.HorzAlignment.Center; this.galleryView.OptionsView.ImageLayoutMode = DevExpress.Utils.Drawing.ImageLayoutMode.ZoomOutside; this.galleryView.OptionsView.ItemHoverBordersShowMode = DevExpress.XtraGrid.WinExplorer.ItemHoverBordersShowMode.Always; this.galleryView.OptionsView.Style = DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewStyle.ExtraLarge; this.galleryView.OptionsViewStyles.ExtraLarge.HorizontalIndent = 5; this.galleryView.OptionsViewStyles.ExtraLarge.VerticalIndent = 5; this.galleryView.ItemClick += new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewItemClickEventHandler(this.galleryView_ItemClick); this.galleryView.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.galleryView_ContextButtonClick); this.galleryView.GetThumbnailImage += new DevExpress.Utils.ThumbnailImageEventHandler(this.galleryView_GetThumbnailImage); this.galleryView.CustomDrawItem += new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewCustomDrawItemEventHandler(this.galleryView_CustomDrawItem); this.galleryView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseDown); this.galleryView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseUp); this.galleryView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseMove); this.galleryView.DoubleClick += new System.EventHandler(this.galleryView_DoubleClick); // // standaloneBarDockControl1 // this.standaloneBarDockControl1.AutoSize = true; this.standaloneBarDockControl1.CausesValidation = false; this.standaloneBarDockControl1.Dock = System.Windows.Forms.DockStyle.Top; this.standaloneBarDockControl1.Location = new System.Drawing.Point(0, 0); this.standaloneBarDockControl1.Name = "standaloneBarDockControl1"; this.standaloneBarDockControl1.Size = new System.Drawing.Size(457, 31); this.standaloneBarDockControl1.Text = "standaloneBarDockControl1"; // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.DockControls.Add(this.standaloneBarDockControl1); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.bcVisibleInViewPort, this.bcNotGeotagged, this.bcAllItems }); this.barManager1.MaxItemId = 3; // // bar1 // this.bar1.BarName = "Custom 2"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Standalone; this.bar1.FloatLocation = new System.Drawing.Point(1117, 127); this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.bcVisibleInViewPort), new DevExpress.XtraBars.LinkPersistInfo(this.bcNotGeotagged), new DevExpress.XtraBars.LinkPersistInfo(this.bcAllItems) }); this.bar1.OptionsBar.DrawBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.StandaloneBarDockControl = this.standaloneBarDockControl1; this.bar1.Text = "Custom 2"; // // bcVisibleInViewPort // this.bcVisibleInViewPort.BindableChecked = true; this.bcVisibleInViewPort.Caption = "Visible In Viewport"; this.bcVisibleInViewPort.Checked = true; this.bcVisibleInViewPort.GroupIndex = 1; this.bcVisibleInViewPort.Id = 0; this.bcVisibleInViewPort.Name = "bcVisibleInViewPort"; this.bcVisibleInViewPort.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcVisibleInViewPort_CheckedChanged); // // bcNotGeotagged // this.bcNotGeotagged.Caption = "Not Geotagged"; this.bcNotGeotagged.GroupIndex = 1; this.bcNotGeotagged.Id = 1; this.bcNotGeotagged.Name = "bcNotGeotagged"; this.bcNotGeotagged.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcNotGeotagged_CheckedChanged); // // bcAllItems // this.bcAllItems.Caption = "All Photos"; this.bcAllItems.GroupIndex = 1; this.bcAllItems.Id = 2; this.bcAllItems.Name = "bcAllItems"; this.bcAllItems.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcAllItems_CheckedChanged); // // 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(1230, 0); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 634); this.barDockControlBottom.Size = new System.Drawing.Size(1230, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 0); this.barDockControlLeft.Size = new System.Drawing.Size(0, 634); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1230, 0); this.barDockControlRight.Size = new System.Drawing.Size(0, 634); // // MapView // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); this.Name = "MapView"; this.Size = new System.Drawing.Size(1230, 634); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel1)).EndInit(); this.flyoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl1)).EndInit(); this.flyoutPanelControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel2)).EndInit(); this.flyoutPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl2)).EndInit(); this.flyoutPanelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.galleryGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.galleryView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).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() { DevExpress.XtraMap.ImageTilesLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageTilesLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.SqlGeometryDataAdapter sqlGeometryDataAdapter1 = new DevExpress.XtraMap.SqlGeometryDataAdapter(); DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.DynamicMiniMapBehavior dynamicMiniMapBehavior1 = new DevExpress.XtraMap.DynamicMiniMapBehavior(); DevExpress.XtraMap.MiniMapImageTilesLayer miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.MiniMapVectorItemsLayer miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.mcMap = new DevExpress.XtraMap.MapControl(); this.itmMap = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LayoutControl)).BeginInit(); this.LayoutControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.LayoutGroup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ValidationProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RibbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mcMap)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.itmMap)).BeginInit(); this.SuspendLayout(); // // LayoutControl // this.LayoutControl.Controls.Add(this.mcMap); this.LayoutControl.OptionsFocus.AllowFocusControlOnActivatedTabPage = true; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.BackColor = System.Drawing.Color.LightGray; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.Font = new System.Drawing.Font("Tahoma", 10.25F); this.LayoutControl.OptionsPrint.AppearanceGroupCaption.Options.UseBackColor = true; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.Options.UseFont = true; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.Options.UseTextOptions = true; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.LayoutControl.OptionsPrint.AppearanceItemCaption.Options.UseTextOptions = true; this.LayoutControl.OptionsPrint.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.LayoutControl.OptionsPrint.AppearanceItemCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; // // LayoutGroup // this.LayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.itmMap }); // // RibbonControl // this.RibbonControl.ExpandCollapseItem.Id = 0; // // mcMap // imageTilesLayer1.DataProvider = openStreetMapDataProvider1; sqlGeometryDataAdapter1.ConnectionString = "Data Source=.;Initial Catalog=cds_pegasus;Persist Security Info=True;User ID=sa;P" + "assword=rabbit"; sqlGeometryDataAdapter1.SpatialDataMember = "geometry"; sqlGeometryDataAdapter1.SqlText = "SELECT [Id],[section],[description],[geometry],[geography] FROM [dbo].[RPT_MapLay" + "out]"; vectorItemsLayer1.Data = sqlGeometryDataAdapter1; this.mcMap.Layers.Add(imageTilesLayer1); this.mcMap.Layers.Add(vectorItemsLayer1); this.mcMap.Location = new System.Drawing.Point(12, 12); miniMap1.Behavior = dynamicMiniMapBehavior1; bingMapDataProvider1.BingKey = "YOUR BING MAPS KEY"; miniMapImageTilesLayer1.DataProvider = bingMapDataProvider1; miniMapVectorItemsLayer1.Data = mapItemStorage1; miniMap1.Layers.Add(miniMapImageTilesLayer1); miniMap1.Layers.Add(miniMapVectorItemsLayer1); this.mcMap.MiniMap = miniMap1; this.mcMap.Name = "mcMap"; this.mcMap.Size = new System.Drawing.Size(972, 553); this.mcMap.TabIndex = 4; // // itmMap // this.itmMap.Control = this.mcMap; this.itmMap.CustomizationFormText = "Map"; this.itmMap.Location = new System.Drawing.Point(0, 0); this.itmMap.Name = "itmMap"; this.itmMap.Size = new System.Drawing.Size(976, 557); this.itmMap.Text = "Map"; this.itmMap.TextSize = new System.Drawing.Size(0, 0); this.itmMap.TextVisible = false; // // MapForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1008, 729); this.Name = "MapForm"; ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LayoutControl)).EndInit(); this.LayoutControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.LayoutGroup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ValidationProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RibbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mcMap)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.itmMap)).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); }