コード例 #1
0
 /// <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()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraMap.ColorListLegend         colorListLegend1         = new DevExpress.XtraMap.ColorListLegend();
     DevExpress.XtraMap.SizeLegend              sizeLegend1              = new DevExpress.XtraMap.SizeLegend();
     DevExpress.XtraMap.KeyColorColorizer       keyColorColorizer1       = new DevExpress.XtraMap.KeyColorColorizer();
     DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider();
     DevExpress.XtraMap.ColorizerKeyItem        colorizerKeyItem1        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem        colorizerKeyItem2        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem        colorizerKeyItem3        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.MeasureRules            measureRules1            = new DevExpress.XtraMap.MeasureRules();
     DevExpress.XtraMap.LinearRangeDistribution linearRangeDistribution1 = new DevExpress.XtraMap.LinearRangeDistribution();
     this.mapControl1          = new DevExpress.XtraMap.MapControl();
     this.defaultLookAndFeel1  = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
     this.toolTipController1   = new DevExpress.Utils.ToolTipController(this.components);
     this.bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider();
     this.imageLayer1          = new DevExpress.XtraMap.ImageLayer();
     this.vectorItemsLayer1    = new DevExpress.XtraMap.VectorItemsLayer();
     this.pieChartDataAdapter1 = new DevExpress.XtraMap.PieChartDataAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit();
     this.SuspendLayout();
     //
     // mapControl1
     //
     this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.mapControl1.Layers.Add(this.imageLayer1);
     this.mapControl1.Layers.Add(this.vectorItemsLayer1);
     colorListLegend1.Header = "Medal Class";
     colorListLegend1.Layer  = this.vectorItemsLayer1;
     sizeLegend1.Alignment   = DevExpress.XtraMap.LegendAlignment.TopRight;
     sizeLegend1.Header      = "Medal Count";
     sizeLegend1.Layer       = this.vectorItemsLayer1;
     this.mapControl1.Legends.Add(colorListLegend1);
     this.mapControl1.Legends.Add(sizeLegend1);
     this.mapControl1.Location          = new System.Drawing.Point(0, 0);
     this.mapControl1.Name              = "mapControl1";
     this.mapControl1.Size              = new System.Drawing.Size(775, 454);
     this.mapControl1.TabIndex          = 0;
     this.mapControl1.ToolTipController = this.toolTipController1;
     //
     // defaultLookAndFeel1
     //
     this.defaultLookAndFeel1.LookAndFeel.SkinName = "Office 2016 Colorful";
     //
     // toolTipController1
     //
     this.toolTipController1.AllowHtmlText = true;
     this.bingMapDataProvider1.BingKey     = "YOUR BING MAPS KEY";
     this.imageLayer1.DataProvider         = this.bingMapDataProvider1;
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(98))))));
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(181)))), ((int)(((byte)(188))))));
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(152)))), ((int)(((byte)(118))))));
     keyColorColorizer1.ItemKeyProvider = argumentItemKeyProvider1;
     colorizerKeyItem1.Key  = 1;
     colorizerKeyItem1.Name = "Gold";
     colorizerKeyItem2.Key  = 2;
     colorizerKeyItem2.Name = "Silver";
     colorizerKeyItem3.Key  = 3;
     colorizerKeyItem3.Name = "Bronze";
     keyColorColorizer1.Keys.Add(colorizerKeyItem1);
     keyColorColorizer1.Keys.Add(colorizerKeyItem2);
     keyColorColorizer1.Keys.Add(colorizerKeyItem3);
     this.vectorItemsLayer1.Colorizer              = keyColorColorizer1;
     this.vectorItemsLayer1.Data                   = this.pieChartDataAdapter1;
     this.vectorItemsLayer1.ToolTipPattern         = "<b>%A%</b>\r\nGold: %V0%\r\nSilver: %V1%\r\nBronze: %V2%\r\nTotal: %V%";
     this.vectorItemsLayer1.DataLoaded            += new DevExpress.XtraMap.DataLoadedEventHandler(this.OnDataLoaded);
     this.pieChartDataAdapter1.ItemMaxSize         = 60;
     this.pieChartDataAdapter1.ItemMinSize         = 20;
     this.pieChartDataAdapter1.Mappings.Latitude   = "CapitalLat";
     this.pieChartDataAdapter1.Mappings.Longitude  = "CapitalLon";
     this.pieChartDataAdapter1.Mappings.PieSegment = "MedalClass";
     this.pieChartDataAdapter1.Mappings.Value      = "Quantity";
     measureRules1.RangeDistribution               = linearRangeDistribution1;
     measureRules1.RangeStops.Add(1D);
     measureRules1.RangeStops.Add(10D);
     measureRules1.RangeStops.Add(20D);
     measureRules1.RangeStops.Add(30D);
     measureRules1.RangeStops.Add(40D);
     this.pieChartDataAdapter1.MeasureRules      = measureRules1;
     this.pieChartDataAdapter1.PieItemDataMember = "Name";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(775, 454);
     this.Controls.Add(this.mapControl1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <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();
     keyColorColorizer = new DevExpress.DevAV.Modules.Colorizer();
     DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider();
     DevExpress.XtraCharts.XYDiagram            xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
     this.imageTilesLayer1     = new DevExpress.XtraMap.ImageLayer();
     this.bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider();
     this.vectorItemsLayer1    = new DevExpress.XtraMap.VectorItemsLayer();
     this.pieChartDataAdapter1 = new DevExpress.XtraMap.PieChartDataAdapter();
     this.bindingSourceMapItem = new System.Windows.Forms.BindingSource(this.components);
     this.chartPanel           = new DevExpress.XtraEditors.PanelControl();
     this.periodButtons        = new DevExpress.XtraBars.Docking2010.WindowsUIButtonPanel();
     this.chart = new DevExpress.XtraCharts.ChartControl();
     this.bindingSourceChart  = new System.Windows.Forms.BindingSource(this.components);
     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.biLifetime          = new DevExpress.XtraBars.BarCheckItem();
     this.biThisYear          = new DevExpress.XtraBars.BarCheckItem();
     this.biThisMonth         = 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.moduleDataLayout    = new DevExpress.XtraDataLayout.DataLayoutControl();
     this.mapControl          = new DevExpress.XtraMap.MapControl();
     this.NameLabel           = new DevExpress.XtraEditors.LabelControl();
     this.DescriptionLabel    = new DevExpress.XtraEditors.LabelControl();
     this.ImagePictureEdit    = new DevExpress.XtraEditors.PictureEdit();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.ItemForMap          = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.ItemForChartPanel   = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.ItemForImage        = new DevExpress.XtraLayout.LayoutControlItem();
     this.ItemForAddressLine1 = new DevExpress.XtraLayout.LayoutControlItem();
     this.ItemForFullName     = new DevExpress.XtraLayout.LayoutControlItem();
     this.simpleSeparator1    = new DevExpress.XtraLayout.SimpleSeparator();
     this.simpleSeparator2    = new DevExpress.XtraLayout.SimpleSeparator();
     ((System.ComponentModel.ISupportInitialize)(this.mvvmContext)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSourceMapItem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartPanel)).BeginInit();
     this.chartPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSourceChart)).BeginInit();
     ((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.ImagePictureEdit.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForMap)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForChartPanel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForImage)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForAddressLine1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForFullName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator2)).BeginInit();
     this.SuspendLayout();
     //
     // imageTilesLayer1
     //
     this.imageTilesLayer1.DataProvider = this.bingMapDataProvider1;
     //
     // bingMapDataProvider1
     //
     this.bingMapDataProvider1.Kind = DevExpress.XtraMap.BingMapKind.Road;
     //
     // vectorItemsLayer1
     //
     keyColorColorizer.ItemKeyProvider     = argumentItemKeyProvider1;
     this.vectorItemsLayer1.Colorizer      = keyColorColorizer;
     this.vectorItemsLayer1.Data           = this.pieChartDataAdapter1;
     this.vectorItemsLayer1.ToolTipPattern = "City:%A% Total:%V%";
     //
     // pieChartDataAdapter1
     //
     this.pieChartDataAdapter1.DataSource          = this.bindingSourceMapItem;
     this.pieChartDataAdapter1.ItemMaxSize         = 60;
     this.pieChartDataAdapter1.ItemMinSize         = 20;
     this.pieChartDataAdapter1.Mappings.Latitude   = "Latitude";
     this.pieChartDataAdapter1.Mappings.Longitude  = "Longitude";
     this.pieChartDataAdapter1.Mappings.PieSegment = "CustomerName";
     this.pieChartDataAdapter1.Mappings.Value      = "Total";
     this.pieChartDataAdapter1.PieItemDataMember   = "City";
     //
     // bindingSourceMapItem
     //
     this.bindingSourceMapItem.DataSource = typeof(DevExpress.DevAV.MapItem);
     //
     // chartPanel
     //
     this.chartPanel.Controls.Add(this.periodButtons);
     this.chartPanel.Controls.Add(this.chart);
     this.chartPanel.Location = new System.Drawing.Point(736, 150);
     this.chartPanel.Name     = "chartPanel";
     this.chartPanel.Size     = new System.Drawing.Size(476, 484);
     this.chartPanel.TabIndex = 32;
     //
     // periodButtons
     //
     this.periodButtons.Buttons.AddRange(new DevExpress.XtraEditors.ButtonPanel.IBaseButton[] {
         new DevExpress.XtraBars.Docking2010.WindowsUIButton("This Month", DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton),
         new DevExpress.XtraBars.Docking2010.WindowsUIButton("YTD", DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton),
         new DevExpress.XtraBars.Docking2010.WindowsUIButton("Lifetime", DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton)
     });
     this.periodButtons.ContentAlignment          = System.Drawing.ContentAlignment.BottomRight;
     this.periodButtons.Dock                      = System.Windows.Forms.DockStyle.Top;
     this.periodButtons.Location                  = new System.Drawing.Point(2, 2);
     this.periodButtons.Name                      = "periodButtons";
     this.periodButtons.Padding                   = new System.Windows.Forms.Padding(0, 0, 44, 0);
     this.periodButtons.Size                      = new System.Drawing.Size(472, 32);
     this.periodButtons.TabIndex                  = 31;
     this.periodButtons.UseButtonBackgroundImages = false;
     //
     // chart
     //
     this.chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False;
     this.chart.DataBindings             = null;
     this.chart.DataSource                       = this.bindingSourceChart;
     xyDiagram1.AxisX.Label.Visible              = false;
     xyDiagram1.AxisX.Tickmarks.MinorVisible     = false;
     xyDiagram1.AxisX.Tickmarks.Visible          = false;
     xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram1.AxisY.Label.ResolveOverlappingOptions.AllowRotate  = false;
     xyDiagram1.AxisY.Label.ResolveOverlappingOptions.AllowStagger = false;
     xyDiagram1.AxisY.Label.TextPattern          = "{V:$##,#0}";
     xyDiagram1.AxisY.Tickmarks.MinorVisible     = false;
     xyDiagram1.AxisY.VisibleInPanesSerializable = "-1";
     xyDiagram1.Rotated           = true;
     this.chart.Diagram           = xyDiagram1;
     this.chart.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.chart.Legend.Name       = "Default Legend";
     this.chart.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False;
     this.chart.Location          = new System.Drawing.Point(2, 2);
     this.chart.Name              = "chart";
     this.chart.Padding.Bottom    = 40;
     this.chart.Padding.Left      = 40;
     this.chart.Padding.Right     = 40;
     this.chart.Padding.Top       = 48;
     this.chart.PaletteName       = "Office 2013";
     series1.ArgumentDataMember   = "CustomerName";
     series1.ColorDataMember      = "CustomerName";
     series1.Name = "Customers";
     series1.QualitativeSummaryOptions.SummaryFunction = "SUM([Total])";
     this.chart.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
         series1
     };
     this.chart.Size     = new System.Drawing.Size(472, 480);
     this.chart.TabIndex = 34;
     //
     // bindingSourceChart
     //
     this.bindingSourceChart.DataSource = typeof(DevExpress.DevAV.MapItem);
     //
     // bindingSource
     //
     this.bindingSource.DataSource = typeof(DevExpress.DevAV.ViewModels.ProductMapViewModel);
     //
     // 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.biLifetime,
         this.biThisYear,
         this.biThisMonth,
         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.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
     this.ribbonControl.Size = new System.Drawing.Size(1226, 120);
     //
     // biSave
     //
     this.biSave.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biSave.Caption            = "Save";
     this.biSave.Id = 1;
     this.biSave.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biSave.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Save.svg";
     this.biSave.Name = "biSave";
     //
     // biClose
     //
     this.biClose.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biClose.Caption            = "Close";
     this.biClose.Id = 2;
     this.biClose.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biClose.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Close.svg";
     this.biClose.ItemShortcut          = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Escape);
     this.biClose.Name = "biClose";
     //
     // biSaveAndClose
     //
     this.biSaveAndClose.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biSaveAndClose.Caption            = "Save && Close";
     this.biSaveAndClose.Id = 3;
     this.biSaveAndClose.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biSaveAndClose.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.SaveAndClose.svg";
     this.biSaveAndClose.Name = "biSaveAndClose";
     //
     // biDelete
     //
     this.biDelete.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biDelete.Caption            = "Delete";
     this.biDelete.Id = 4;
     this.biDelete.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biDelete.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Delete.svg";
     this.biDelete.Name = "biDelete";
     //
     // biLifetime
     //
     this.biLifetime.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biLifetime.Caption            = "Lifetime";
     this.biLifetime.Id = 5;
     this.biLifetime.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biLifetime.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.SalesPeriodLifetime.svg";
     this.biLifetime.Name = "biLifetime";
     //
     // biThisYear
     //
     this.biThisYear.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biThisYear.Caption            = "This Year";
     this.biThisYear.Id = 6;
     this.biThisYear.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biThisYear.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.SalesPeriodYear.svg";
     this.biThisYear.Name = "biThisYear";
     //
     // biThisMonth
     //
     this.biThisMonth.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biThisMonth.Caption            = "This Month";
     this.biThisMonth.Id = 7;
     this.biThisMonth.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biThisMonth.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.SalesPeriodMonth.svg";
     this.biThisMonth.Name = "biThisMonth";
     //
     // biPrint
     //
     this.biPrint.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biPrint.Caption            = "Print";
     this.biPrint.Id = 8;
     this.biPrint.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biPrint.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Print.svg";
     this.biPrint.Name = "biPrint";
     //
     // biPrintPreview
     //
     this.biPrintPreview.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biPrintPreview.Caption            = "Print Preview";
     this.biPrintPreview.Id = 9;
     this.biPrintPreview.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biPrintPreview.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.PrintPreview.svg";
     this.biPrintPreview.Name = "biPrintPreview";
     //
     // barExportItem
     //
     this.barExportItem.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.barExportItem.Caption            = "Export";
     this.barExportItem.Id = 11;
     this.barExportItem.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.barExportItem.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Export.svg";
     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.biThisMonth);
     this.ribbonPageGroup4.ItemLinks.Add(this.biThisYear);
     this.ribbonPageGroup4.ItemLinks.Add(this.biLifetime);
     this.ribbonPageGroup4.MergeOrder        = 0;
     this.ribbonPageGroup4.Name              = "ribbonPageGroup4";
     this.ribbonPageGroup4.ShowCaptionButton = false;
     this.ribbonPageGroup4.Text              = "Sales Period";
     //
     // 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.AllowCustomization = false;
     this.moduleDataLayout.Controls.Add(this.chartPanel);
     this.moduleDataLayout.Controls.Add(this.mapControl);
     this.moduleDataLayout.Controls.Add(this.NameLabel);
     this.moduleDataLayout.Controls.Add(this.DescriptionLabel);
     this.moduleDataLayout.Controls.Add(this.ImagePictureEdit);
     this.moduleDataLayout.DataSource = this.bindingSource;
     this.moduleDataLayout.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.moduleDataLayout.Location   = new System.Drawing.Point(0, 120);
     this.moduleDataLayout.Name       = "moduleDataLayout";
     this.moduleDataLayout.Root       = this.layoutControlGroup1;
     this.moduleDataLayout.Size       = new System.Drawing.Size(1226, 642);
     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;
     this.mapControl.Layers.Add(this.imageTilesLayer1);
     this.mapControl.Layers.Add(this.vectorItemsLayer1);
     this.mapControl.Location  = new System.Drawing.Point(0, 0);
     this.mapControl.Name      = "mapControl";
     this.mapControl.Size      = new System.Drawing.Size(720, 642);
     this.mapControl.TabIndex  = 18;
     this.mapControl.ZoomLevel = 8D;
     //
     // NameLabel
     //
     this.NameLabel.Appearance.Font            = new System.Drawing.Font("Segoe UI", 18F);
     this.NameLabel.Appearance.Options.UseFont = true;
     this.NameLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "Name", true));
     this.NameLabel.Location        = new System.Drawing.Point(856, 8);
     this.NameLabel.Name            = "NameLabel";
     this.NameLabel.Size            = new System.Drawing.Size(356, 32);
     this.NameLabel.StyleController = this.moduleDataLayout;
     this.NameLabel.TabIndex        = 8;
     //
     // DescriptionLabel
     //
     this.DescriptionLabel.Appearance.Font                   = new System.Drawing.Font("Segoe UI", 11F);
     this.DescriptionLabel.Appearance.Options.UseFont        = true;
     this.DescriptionLabel.Appearance.Options.UseTextOptions = true;
     this.DescriptionLabel.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
     this.DescriptionLabel.Appearance.TextOptions.Trimming   = DevExpress.Utils.Trimming.EllipsisCharacter;
     this.DescriptionLabel.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.DescriptionLabel.Appearance.TextOptions.WordWrap   = DevExpress.Utils.WordWrap.Wrap;
     this.DescriptionLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Vertical;
     this.DescriptionLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSource, "Description", true));
     this.DescriptionLabel.Location        = new System.Drawing.Point(856, 40);
     this.DescriptionLabel.Name            = "DescriptionLabel";
     this.DescriptionLabel.Size            = new System.Drawing.Size(356, 88);
     this.DescriptionLabel.StyleController = this.moduleDataLayout;
     this.DescriptionLabel.TabIndex        = 8;
     //
     // ImagePictureEdit
     //
     this.ImagePictureEdit.Cursor = System.Windows.Forms.Cursors.Default;
     this.ImagePictureEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bindingSource, "Image", true));
     this.ImagePictureEdit.Location            = new System.Drawing.Point(736, 8);
     this.ImagePictureEdit.MenuManager         = this.ribbonControl;
     this.ImagePictureEdit.Name                = "ImagePictureEdit";
     this.ImagePictureEdit.Properties.ReadOnly = true;
     this.ImagePictureEdit.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
     this.ImagePictureEdit.Properties.ZoomAccelerationFactor = 1D;
     this.ImagePictureEdit.Size            = new System.Drawing.Size(108, 120);
     this.ImagePictureEdit.StyleController = this.moduleDataLayout;
     this.ImagePictureEdit.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, 642);
     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(720, 642);
     this.ItemForMap.Text        = "map";
     this.ItemForMap.TextSize    = new System.Drawing.Size(0, 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.ItemForChartPanel
     });
     this.layoutControlGroup3.Location    = new System.Drawing.Point(722, 140);
     this.layoutControlGroup3.Name        = "layoutControlGroup3";
     this.layoutControlGroup3.Padding     = new DevExpress.XtraLayout.Utils.Padding(12, 12, 8, 8);
     this.layoutControlGroup3.Size        = new System.Drawing.Size(504, 502);
     this.layoutControlGroup3.Spacing     = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 0);
     this.layoutControlGroup3.TextVisible = false;
     //
     // ItemForChartPanel
     //
     this.ItemForChartPanel.Control = this.chartPanel;
     this.ItemForChartPanel.CustomizationFormText = "layoutControlItem2";
     this.ItemForChartPanel.Location    = new System.Drawing.Point(0, 0);
     this.ItemForChartPanel.Name        = "ItemForChartPanel";
     this.ItemForChartPanel.Padding     = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.ItemForChartPanel.Size        = new System.Drawing.Size(476, 484);
     this.ItemForChartPanel.TextSize    = new System.Drawing.Size(0, 0);
     this.ItemForChartPanel.TextVisible = false;
     //
     // 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.ItemForImage,
         this.ItemForAddressLine1,
         this.ItemForFullName
     });
     this.layoutControlGroup4.Location    = new System.Drawing.Point(722, 0);
     this.layoutControlGroup4.Name        = "layoutControlGroup4";
     this.layoutControlGroup4.Padding     = new DevExpress.XtraLayout.Utils.Padding(12, 12, 8, 8);
     this.layoutControlGroup4.Size        = new System.Drawing.Size(504, 138);
     this.layoutControlGroup4.Spacing     = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 2);
     this.layoutControlGroup4.TextVisible = false;
     //
     // ItemForImage
     //
     this.ItemForImage.Control = this.ImagePictureEdit;
     this.ItemForImage.CustomizationFormText = "Image";
     this.ItemForImage.Location            = new System.Drawing.Point(0, 0);
     this.ItemForImage.MaxSize             = new System.Drawing.Size(120, 120);
     this.ItemForImage.MinSize             = new System.Drawing.Size(120, 120);
     this.ItemForImage.Name                = "ItemForImage";
     this.ItemForImage.Padding             = new DevExpress.XtraLayout.Utils.Padding(0, 12, 0, 0);
     this.ItemForImage.Size                = new System.Drawing.Size(120, 120);
     this.ItemForImage.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.ItemForImage.Text                = "Image";
     this.ItemForImage.TextSize            = new System.Drawing.Size(0, 0);
     this.ItemForImage.TextVisible         = false;
     //
     // ItemForAddressLine1
     //
     this.ItemForAddressLine1.Control = this.DescriptionLabel;
     this.ItemForAddressLine1.CustomizationFormText = "Address";
     this.ItemForAddressLine1.Location            = new System.Drawing.Point(120, 32);
     this.ItemForAddressLine1.MaxSize             = new System.Drawing.Size(356, 88);
     this.ItemForAddressLine1.MinSize             = new System.Drawing.Size(356, 88);
     this.ItemForAddressLine1.Name                = "ItemForAddressLine1";
     this.ItemForAddressLine1.Padding             = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.ItemForAddressLine1.Size                = new System.Drawing.Size(356, 88);
     this.ItemForAddressLine1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.ItemForAddressLine1.Text                = "Address";
     this.ItemForAddressLine1.TextSize            = new System.Drawing.Size(0, 0);
     this.ItemForAddressLine1.TextVisible         = false;
     //
     // 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(356, 32);
     this.ItemForFullName.Text        = "Full Name";
     this.ItemForFullName.TextSize    = new System.Drawing.Size(0, 0);
     this.ItemForFullName.TextVisible = false;
     //
     // simpleSeparator1
     //
     this.simpleSeparator1.AllowHotTrack         = false;
     this.simpleSeparator1.CustomizationFormText = "simpleSeparator1";
     this.simpleSeparator1.Location = new System.Drawing.Point(722, 138);
     this.simpleSeparator1.Name     = "simpleSeparator1";
     this.simpleSeparator1.Size     = new System.Drawing.Size(504, 2);
     //
     // simpleSeparator2
     //
     this.simpleSeparator2.AllowHotTrack         = false;
     this.simpleSeparator2.CustomizationFormText = "simpleSeparator2";
     this.simpleSeparator2.Location = new System.Drawing.Point(720, 0);
     this.simpleSeparator2.Name     = "simpleSeparator2";
     this.simpleSeparator2.Size     = new System.Drawing.Size(2, 642);
     //
     // ProductMapView
     //
     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   = "ProductMapView";
     this.Size   = new System.Drawing.Size(1226, 762);
     ((System.ComponentModel.ISupportInitialize)(this.mvvmContext)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSourceMapItem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartPanel)).EndInit();
     this.chartPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSourceChart)).EndInit();
     ((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.ImagePictureEdit.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForMap)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForChartPanel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForImage)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForAddressLine1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ItemForFullName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraMap.KeyColorColorizer           keyColorColorizer1       = new DevExpress.XtraMap.KeyColorColorizer();
     DevExpress.XtraMap.ArgumentItemKeyProvider     argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider();
     DevExpress.XtraMap.ColorizerKeyItem            colorizerKeyItem1        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem            colorizerKeyItem2        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem            colorizerKeyItem3        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem            colorizerKeyItem4        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem            colorizerKeyItem5        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.MapItemAttributeMapping     mapItemAttributeMapping1 = new DevExpress.XtraMap.MapItemAttributeMapping();
     DevExpress.XtraMap.MeasureRules                measureRules1            = new DevExpress.XtraMap.MeasureRules();
     DevExpress.XtraMap.LinearRangeDistribution     linearRangeDistribution1 = new DevExpress.XtraMap.LinearRangeDistribution();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     DevExpress.XtraMap.ColorListLegend             colorListLegend1 = new DevExpress.XtraMap.ColorListLegend();
     DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap();
     DevExpress.XtraMap.DynamicMiniMapBehavior dynamicMiniMapBehavior1 = new DevExpress.XtraMap.DynamicMiniMapBehavior();
     this.vectorItemsLayer2          = new DevExpress.XtraMap.VectorItemsLayer();
     this.pieChartDataAdapter1       = new DevExpress.XtraMap.PieChartDataAdapter();
     this.miniMapImageTilesLayer1    = new DevExpress.XtraMap.MiniMapImageTilesLayer();
     this.openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider();
     this.ribbonControl1             = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.chkMiniMap            = new DevExpress.XtraBars.BarCheckItem();
     this.chkShowNavPanel       = new DevExpress.XtraBars.BarCheckItem();
     this.chkNavigation         = new DevExpress.XtraBars.BarCheckItem();
     this.bbiZoomIn             = new DevExpress.XtraBars.BarButtonItem();
     this.bbiZoomOut            = new DevExpress.XtraBars.BarButtonItem();
     this.bbiInitialView        = new DevExpress.XtraBars.BarButtonItem();
     this.barCheckItem1         = new DevExpress.XtraBars.BarCheckItem();
     this.ribbonPage1           = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup2      = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup1      = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.mapControl1           = new DevExpress.XtraMap.MapControl();
     this.vectorItemsLayer1     = new DevExpress.XtraMap.VectorItemsLayer();
     this.shapefileDataAdapter1 = new DevExpress.XtraMap.ShapefileDataAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit();
     this.SuspendLayout();
     //
     // vectorItemsLayer2
     //
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(93)))), ((int)(((byte)(106))))));
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(65)))), ((int)(((byte)(124)))), ((int)(((byte)(217))))));
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(221)))), ((int)(((byte)(116))))));
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(103)))), ((int)(((byte)(191)))), ((int)(((byte)(88))))));
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(104)))), ((int)(((byte)(195))))));
     keyColorColorizer1.ItemKeyProvider = argumentItemKeyProvider1;
     colorizerKeyItem1.Key  = "Gases";
     colorizerKeyItem1.Name = "Gases";
     colorizerKeyItem2.Key  = "Nuclear";
     colorizerKeyItem2.Name = "Nuclear";
     colorizerKeyItem3.Key  = "Petroleum Products";
     colorizerKeyItem3.Name = "Petroleum Products";
     colorizerKeyItem4.Key  = "Renewables";
     colorizerKeyItem4.Name = "Renewables";
     colorizerKeyItem5.Key  = "Solid Fuels";
     colorizerKeyItem5.Name = "Solid Fuels";
     keyColorColorizer1.Keys.Add(colorizerKeyItem1);
     keyColorColorizer1.Keys.Add(colorizerKeyItem2);
     keyColorColorizer1.Keys.Add(colorizerKeyItem3);
     keyColorColorizer1.Keys.Add(colorizerKeyItem4);
     keyColorColorizer1.Keys.Add(colorizerKeyItem5);
     this.vectorItemsLayer2.Colorizer      = keyColorColorizer1;
     this.vectorItemsLayer2.Data           = this.pieChartDataAdapter1;
     this.vectorItemsLayer2.Name           = "ChartLayer";
     this.vectorItemsLayer2.ToolTipPattern = "{Country}\n\n%A0%: %V0:n2%\n%A1%: %V1:n2%\n%A2%: %V2:n2%\n%A3%: %V3:n2%\n%A4%: %V4:n2%";
     //
     // pieChartDataAdapter1
     //
     mapItemAttributeMapping1.Member    = "Country";
     mapItemAttributeMapping1.Name      = "Country";
     mapItemAttributeMapping1.ValueType = DevExpress.XtraMap.FieldValueType.String;
     this.pieChartDataAdapter1.AttributeMappings.Add(mapItemAttributeMapping1);
     this.pieChartDataAdapter1.ItemMaxSize          = 25;
     this.pieChartDataAdapter1.Mappings.PieSegment  = "EnergyType";
     this.pieChartDataAdapter1.Mappings.Value       = "Production";
     this.pieChartDataAdapter1.Mappings.XCoordinate = "Longitude";
     this.pieChartDataAdapter1.Mappings.YCoordinate = "Latitude";
     measureRules1.RangeDistribution = linearRangeDistribution1;
     measureRules1.RangeStops.Add(1D);
     measureRules1.RangeStops.Add(10D);
     measureRules1.RangeStops.Add(25D);
     measureRules1.RangeStops.Add(50D);
     measureRules1.RangeStops.Add(100D);
     measureRules1.RangeStops.Add(150D);
     this.pieChartDataAdapter1.MeasureRules      = measureRules1;
     this.pieChartDataAdapter1.PieItemDataMember = "Country";
     //
     // miniMapImageTilesLayer1
     //
     this.miniMapImageTilesLayer1.DataProvider = this.openStreetMapDataProvider1;
     //
     // ribbonControl1
     //
     this.ribbonControl1.ExpandCollapseItem.Id = 0;
     this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.ribbonControl1.ExpandCollapseItem,
         this.chkMiniMap,
         this.chkShowNavPanel,
         this.chkNavigation,
         this.bbiZoomIn,
         this.bbiZoomOut,
         this.bbiInitialView,
         this.barCheckItem1
     });
     this.ribbonControl1.Location  = new System.Drawing.Point(0, 0);
     this.ribbonControl1.MaxItemId = 7;
     this.ribbonControl1.Name      = "ribbonControl1";
     this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
         this.ribbonPage1
     });
     this.ribbonControl1.Size = new System.Drawing.Size(1101, 143);
     //
     // chkMiniMap
     //
     this.chkMiniMap.Caption         = "Show Minimap";
     this.chkMiniMap.Glyph           = ((System.Drawing.Image)(resources.GetObject("chkMiniMap.Glyph")));
     this.chkMiniMap.Id              = 1;
     this.chkMiniMap.LargeGlyph      = ((System.Drawing.Image)(resources.GetObject("chkMiniMap.LargeGlyph")));
     this.chkMiniMap.Name            = "chkMiniMap";
     this.chkMiniMap.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowMiniMap_CheckedChanged);
     //
     // chkShowNavPanel
     //
     this.chkShowNavPanel.BindableChecked = true;
     this.chkShowNavPanel.Caption         = "Show Navigation Panel";
     this.chkShowNavPanel.Checked         = true;
     this.chkShowNavPanel.Glyph           = ((System.Drawing.Image)(resources.GetObject("chkShowNavPanel.Glyph")));
     this.chkShowNavPanel.Id              = 2;
     this.chkShowNavPanel.LargeGlyph      = ((System.Drawing.Image)(resources.GetObject("chkShowNavPanel.LargeGlyph")));
     this.chkShowNavPanel.Name            = "chkShowNavPanel";
     this.chkShowNavPanel.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowNavPanel_CheckedChanged);
     //
     // chkNavigation
     //
     this.chkNavigation.Caption         = "Lock Navigation";
     this.chkNavigation.Glyph           = ((System.Drawing.Image)(resources.GetObject("chkNavigation.Glyph")));
     this.chkNavigation.Id              = 3;
     this.chkNavigation.LargeGlyph      = ((System.Drawing.Image)(resources.GetObject("chkNavigation.LargeGlyph")));
     this.chkNavigation.Name            = "chkNavigation";
     this.chkNavigation.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkLockNavigation_CheckedChanged);
     //
     // bbiZoomIn
     //
     this.bbiZoomIn.Caption    = "Zoom In";
     this.bbiZoomIn.Glyph      = ((System.Drawing.Image)(resources.GetObject("bbiZoomIn.Glyph")));
     this.bbiZoomIn.Id         = 4;
     this.bbiZoomIn.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiZoomIn.LargeGlyph")));
     this.bbiZoomIn.Name       = "bbiZoomIn";
     this.bbiZoomIn.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiZoomIn_ItemClick);
     //
     // bbiZoomOut
     //
     this.bbiZoomOut.Caption    = "Zoom Out";
     this.bbiZoomOut.Glyph      = ((System.Drawing.Image)(resources.GetObject("bbiZoomOut.Glyph")));
     this.bbiZoomOut.Id         = 5;
     this.bbiZoomOut.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiZoomOut.LargeGlyph")));
     this.bbiZoomOut.Name       = "bbiZoomOut";
     this.bbiZoomOut.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiZoomOut_ItemClick);
     //
     // bbiInitialView
     //
     this.bbiInitialView.Caption    = "Initial View";
     this.bbiInitialView.Glyph      = ((System.Drawing.Image)(resources.GetObject("bbiInitialView.Glyph")));
     this.bbiInitialView.Id         = 6;
     this.bbiInitialView.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiInitialView.LargeGlyph")));
     this.bbiInitialView.Name       = "bbiInitialView";
     this.bbiInitialView.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiInitialView_ItemClick);
     //
     // barCheckItem1
     //
     this.barCheckItem1.BindableChecked = true;
     this.barCheckItem1.Caption         = "Legend";
     this.barCheckItem1.Checked         = true;
     this.barCheckItem1.Glyph           = ((System.Drawing.Image)(resources.GetObject("barCheckItem1.Glyph")));
     this.barCheckItem1.Id              = 6;
     this.barCheckItem1.LargeGlyph      = ((System.Drawing.Image)(resources.GetObject("barCheckItem1.LargeGlyph")));
     this.barCheckItem1.Name            = "barCheckItem1";
     this.barCheckItem1.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.barCheckItem1_CheckedChanged);
     //
     // ribbonPage1
     //
     this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
         this.ribbonPageGroup2,
         this.ribbonPageGroup1
     });
     this.ribbonPage1.Name = "ribbonPage1";
     this.ribbonPage1.Text = "Options";
     //
     // ribbonPageGroup2
     //
     this.ribbonPageGroup2.ItemLinks.Add(this.bbiInitialView);
     this.ribbonPageGroup2.ItemLinks.Add(this.chkShowNavPanel);
     this.ribbonPageGroup2.ItemLinks.Add(this.chkNavigation);
     this.ribbonPageGroup2.ItemLinks.Add(this.chkMiniMap);
     this.ribbonPageGroup2.ItemLinks.Add(this.bbiZoomIn);
     this.ribbonPageGroup2.ItemLinks.Add(this.bbiZoomOut);
     this.ribbonPageGroup2.Name = "ribbonPageGroup2";
     this.ribbonPageGroup2.Text = "View";
     //
     // ribbonPageGroup1
     //
     this.ribbonPageGroup1.ItemLinks.Add(this.barCheckItem1);
     this.ribbonPageGroup1.Name = "ribbonPageGroup1";
     //
     // mapControl1
     //
     this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(50D, -7D);
     this.mapControl1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.mapControl1.Layers.Add(this.vectorItemsLayer1);
     this.mapControl1.Layers.Add(this.vectorItemsLayer2);
     colorListLegend1.Header = "Europe energy production";
     colorListLegend1.Layer  = this.vectorItemsLayer2;
     this.mapControl1.Legends.Add(colorListLegend1);
     this.mapControl1.Location = new System.Drawing.Point(0, 143);
     miniMap1.Alignment        = DevExpress.XtraMap.MiniMapAlignment.BottomRight;
     miniMap1.Behavior         = dynamicMiniMapBehavior1;
     miniMap1.Layers.Add(this.miniMapImageTilesLayer1);
     miniMap1.Visible           = false;
     this.mapControl1.MiniMap   = miniMap1;
     this.mapControl1.Name      = "mapControl1";
     this.mapControl1.Size      = new System.Drawing.Size(1101, 580);
     this.mapControl1.TabIndex  = 0;
     this.mapControl1.ZoomLevel = 3D;
     //
     // vectorItemsLayer1
     //
     this.vectorItemsLayer1.Data = this.shapefileDataAdapter1;
     this.vectorItemsLayer1.EnableHighlighting = false;
     this.vectorItemsLayer1.EnableSelection    = false;
     this.vectorItemsLayer1.Name = "ShapeLayer";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1101, 723);
     this.Controls.Add(this.mapControl1);
     this.Controls.Add(this.ribbonControl1);
     this.Name   = "Form1";
     this.Ribbon = this.ribbonControl1;
     this.Text   = "Map project";
     ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraMap.KeyColorColorizer       keyColorColorizer1       = new DevExpress.XtraMap.KeyColorColorizer();
     DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider();
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.dgvPortList          = new DevExpress.XtraGrid.GridControl();
     this.gridPort             = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.panel1               = new System.Windows.Forms.Panel();
     this.txtName              = new System.Windows.Forms.TextBox();
     this.cbbNational          = new System.Windows.Forms.ComboBox();
     this.cbbOceanOfPort       = new System.Windows.Forms.ComboBox();
     this.txtLongiude          = new System.Windows.Forms.TextBox();
     this.txtLat               = new System.Windows.Forms.TextBox();
     this.label5               = new System.Windows.Forms.Label();
     this.label4               = new System.Windows.Forms.Label();
     this.label3               = new System.Windows.Forms.Label();
     this.label2               = new System.Windows.Forms.Label();
     this.label1               = new System.Windows.Forms.Label();
     this.panel2               = new System.Windows.Forms.Panel();
     this.btnCancel            = new DevExpress.XtraEditors.SimpleButton();
     this.btnUpdate            = new DevExpress.XtraEditors.SimpleButton();
     this.btnAdd               = new DevExpress.XtraEditors.SimpleButton();
     this.panel3               = new System.Windows.Forms.Panel();
     this.map                  = new DevExpress.XtraMap.MapControl();
     this.imageTilesLayer1     = new DevExpress.XtraMap.ImageLayer();
     this.bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider();
     this.vectorItemsLayer1    = new DevExpress.XtraMap.VectorItemsLayer();
     this.mapItemStorage1      = new DevExpress.XtraMap.MapItemStorage();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvPortList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridPort)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.map)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.dgvPortList);
     this.groupBox1.Location = new System.Drawing.Point(0, 3);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(510, 444);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "List Port";
     //
     // dgvPortList
     //
     this.dgvPortList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.dgvPortList.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvPortList.Location = new System.Drawing.Point(3, 16);
     this.dgvPortList.MainView = this.gridPort;
     this.dgvPortList.Name     = "dgvPortList";
     this.dgvPortList.Size     = new System.Drawing.Size(504, 425);
     this.dgvPortList.TabIndex = 1;
     this.dgvPortList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridPort
     });
     //
     // gridPort
     //
     this.gridPort.GridControl = this.dgvPortList;
     this.gridPort.Name        = "gridPort";
     this.gridPort.OptionsFind.AlwaysVisible  = true;
     this.gridPort.OptionsView.ShowGroupPanel = false;
     this.gridPort.FocusedRowChanged         += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridPort_FocusedRowChanged);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.txtName);
     this.panel1.Controls.Add(this.cbbNational);
     this.panel1.Controls.Add(this.cbbOceanOfPort);
     this.panel1.Controls.Add(this.txtLongiude);
     this.panel1.Controls.Add(this.txtLat);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(519, 14);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(644, 140);
     this.panel1.TabIndex = 2;
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(168, 3);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(227, 20);
     this.txtName.TabIndex = 1;
     //
     // cbbNational
     //
     this.cbbNational.FormattingEnabled = true;
     this.cbbNational.Location          = new System.Drawing.Point(424, 48);
     this.cbbNational.Name     = "cbbNational";
     this.cbbNational.Size     = new System.Drawing.Size(121, 21);
     this.cbbNational.TabIndex = 3;
     //
     // cbbOceanOfPort
     //
     this.cbbOceanOfPort.FormattingEnabled = true;
     this.cbbOceanOfPort.Items.AddRange(new object[] {
         "Arctic Ocean",
         "Atlantic Ocean",
         "Indian Ocean",
         "Pacific Ocean",
         "Southern Ocean"
     });
     this.cbbOceanOfPort.Location = new System.Drawing.Point(424, 94);
     this.cbbOceanOfPort.Name     = "cbbOceanOfPort";
     this.cbbOceanOfPort.Size     = new System.Drawing.Size(121, 21);
     this.cbbOceanOfPort.TabIndex = 5;
     //
     // txtLongiude
     //
     this.txtLongiude.Location = new System.Drawing.Point(128, 94);
     this.txtLongiude.Name     = "txtLongiude";
     this.txtLongiude.Size     = new System.Drawing.Size(100, 20);
     this.txtLongiude.TabIndex = 4;
     //
     // txtLat
     //
     this.txtLat.Location = new System.Drawing.Point(128, 50);
     this.txtLat.Name     = "txtLat";
     this.txtLat.Size     = new System.Drawing.Size(100, 20);
     this.txtLat.TabIndex = 2;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(356, 50);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(52, 15);
     this.label5.TabIndex = 4;
     this.label5.Text     = "National";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(24, 50);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(47, 15);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Latiude";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(24, 100);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(58, 15);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Longiude";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(367, 100);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(41, 15);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Ocean";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(23, 5);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(96, 19);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Name Of Port";
     //
     // panel2
     //
     this.panel2.BackColor   = System.Drawing.Color.White;
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.btnCancel);
     this.panel2.Controls.Add(this.btnUpdate);
     this.panel2.Controls.Add(this.btnAdd);
     this.panel2.Location = new System.Drawing.Point(26, 453);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(453, 42);
     this.panel2.TabIndex = 3;
     //
     // btnCancel
     //
     this.btnCancel.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCancel.Appearance.Options.UseFont = true;
     this.btnCancel.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnCancel.ImageUri.Uri = "Close";
     this.btnCancel.Location     = new System.Drawing.Point(302, 3);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(119, 31);
     this.btnCancel.TabIndex     = 4;
     this.btnCancel.Text         = "Cancel";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // btnUpdate
     //
     this.btnUpdate.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnUpdate.Appearance.Options.UseFont = true;
     this.btnUpdate.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnUpdate.ImageUri.Uri = "Customization";
     this.btnUpdate.Location     = new System.Drawing.Point(151, 3);
     this.btnUpdate.Name         = "btnUpdate";
     this.btnUpdate.Size         = new System.Drawing.Size(119, 31);
     this.btnUpdate.TabIndex     = 3;
     this.btnUpdate.Text         = "Update";
     this.btnUpdate.Click       += new System.EventHandler(this.btnUpdate_Click);
     //
     // btnAdd
     //
     this.btnAdd.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAdd.Appearance.Options.UseFont = true;
     this.btnAdd.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnAdd.ImageUri.Uri = "Add";
     this.btnAdd.Location     = new System.Drawing.Point(3, 3);
     this.btnAdd.Name         = "btnAdd";
     this.btnAdd.Size         = new System.Drawing.Size(119, 31);
     this.btnAdd.TabIndex     = 2;
     this.btnAdd.Text         = "Add";
     this.btnAdd.Click       += new System.EventHandler(this.btnAdd_Click);
     //
     // panel3
     //
     this.panel3.Controls.Add(this.map);
     this.panel3.Location = new System.Drawing.Point(516, 160);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(737, 391);
     this.panel3.TabIndex = 4;
     //
     // map
     //
     this.map.CenterPoint = new DevExpress.XtraMap.GeoPoint(15.8D, 106.5D);
     this.map.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.map.Layers.Add(this.imageTilesLayer1);
     this.map.Layers.Add(this.vectorItemsLayer1);
     this.map.Location  = new System.Drawing.Point(0, 0);
     this.map.Name      = "map";
     this.map.Size      = new System.Drawing.Size(737, 391);
     this.map.TabIndex  = 5;
     this.map.ZoomLevel = 3D;
     this.imageTilesLayer1.DataProvider       = this.bingMapDataProvider1;
     this.bingMapDataProvider1.BingKey        = "AlZpmZgk5S20pbDFbqlIvgb43FQnFr8gGdvTtGCTy4C8tg6xqbd09Qw93a-APF8V";
     keyColorColorizer1.ItemKeyProvider       = argumentItemKeyProvider1;
     keyColorColorizer1.PredefinedColorSchema = DevExpress.XtraMap.PredefinedColorSchema.Palette;
     this.vectorItemsLayer1.Colorizer         = keyColorColorizer1;
     this.vectorItemsLayer1.Data = this.mapItemStorage1;
     this.vectorItemsLayer1.Name = "VectorLayer";
     //
     // FrmPortManagement
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.groupBox1);
     this.Name  = "FrmPortManagement";
     this.Size  = new System.Drawing.Size(1253, 551);
     this.Load += new System.EventHandler(this.FrmPortManagement_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvPortList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridPort)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.map)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraMap.KeyColorColorizer       keyColorColorizer1       = new DevExpress.XtraMap.KeyColorColorizer();
     DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider();
     this.panel2               = new System.Windows.Forms.Panel();
     this.gridPort             = new DevExpress.XtraGrid.GridControl();
     this.gridListPort         = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.panel3               = new System.Windows.Forms.Panel();
     this.map                  = new DevExpress.XtraMap.MapControl();
     this.imageTilesLayer1     = new DevExpress.XtraMap.ImageLayer();
     this.bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider();
     this.vectorItemsLayer1    = new DevExpress.XtraMap.VectorItemsLayer();
     this.mapItemStorage1      = new DevExpress.XtraMap.MapItemStorage();
     this.panel4               = new System.Windows.Forms.Panel();
     this.btnCancel            = new DevExpress.XtraEditors.SimpleButton();
     this.btnUpdate            = new DevExpress.XtraEditors.SimpleButton();
     this.btnAdd               = new DevExpress.XtraEditors.SimpleButton();
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.panel6               = new System.Windows.Forms.Panel();
     this.panel5               = new System.Windows.Forms.Panel();
     this.gridNational         = new DevExpress.XtraGrid.GridControl();
     this.gridListNational     = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.panel1               = new System.Windows.Forms.Panel();
     this.imgAnh               = new System.Windows.Forms.PictureBox();
     this.txtNameOfNational    = new System.Windows.Forms.TextBox();
     this.label1               = new System.Windows.Forms.Label();
     this.gridView1            = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.label2               = new System.Windows.Forms.Label();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridPort)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListPort)).BeginInit();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.map)).BeginInit();
     this.panel4.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.panel6.SuspendLayout();
     this.panel5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridNational)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListNational)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.imgAnh)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // panel2
     //
     this.panel2.Controls.Add(this.gridPort);
     this.panel2.Location = new System.Drawing.Point(324, 183);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(394, 310);
     this.panel2.TabIndex = 2;
     //
     // gridPort
     //
     this.gridPort.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridPort.Location = new System.Drawing.Point(0, 0);
     this.gridPort.MainView = this.gridListPort;
     this.gridPort.Name     = "gridPort";
     this.gridPort.Size     = new System.Drawing.Size(394, 310);
     this.gridPort.TabIndex = 5;
     this.gridPort.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridListPort
     });
     //
     // gridListPort
     //
     this.gridListPort.GridControl = this.gridPort;
     this.gridListPort.Name        = "gridListPort";
     this.gridListPort.OptionsView.ShowGroupPanel = false;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.map);
     this.panel3.Location = new System.Drawing.Point(724, 123);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(590, 444);
     this.panel3.TabIndex = 3;
     //
     // map
     //
     this.map.CenterPoint = new DevExpress.XtraMap.GeoPoint(15.8D, 106.5D);
     this.map.ForeColor   = System.Drawing.Color.Red;
     this.map.Layers.Add(this.imageTilesLayer1);
     this.map.Layers.Add(this.vectorItemsLayer1);
     this.map.Location = new System.Drawing.Point(0, 0);
     this.map.Name     = "map";
     this.map.NavigationPanelOptions.Visible = false;
     this.map.Size      = new System.Drawing.Size(590, 444);
     this.map.TabIndex  = 4;
     this.map.ZoomLevel = 3D;
     this.imageTilesLayer1.DataProvider       = this.bingMapDataProvider1;
     this.bingMapDataProvider1.BingKey        = "AlZpmZgk5S20pbDFbqlIvgb43FQnFr8gGdvTtGCTy4C8tg6xqbd09Qw93a-APF8V";
     keyColorColorizer1.ItemKeyProvider       = argumentItemKeyProvider1;
     keyColorColorizer1.PredefinedColorSchema = DevExpress.XtraMap.PredefinedColorSchema.Palette;
     this.vectorItemsLayer1.Colorizer         = keyColorColorizer1;
     this.vectorItemsLayer1.Data = this.mapItemStorage1;
     this.vectorItemsLayer1.Name = "VectorLayer";
     //
     // panel4
     //
     this.panel4.BackColor   = System.Drawing.Color.White;
     this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel4.Controls.Add(this.btnCancel);
     this.panel4.Controls.Add(this.btnUpdate);
     this.panel4.Controls.Add(this.btnAdd);
     this.panel4.Location = new System.Drawing.Point(4, 13);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(315, 41);
     this.panel4.TabIndex = 5;
     //
     // btnCancel
     //
     this.btnCancel.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCancel.Appearance.Options.UseFont = true;
     this.btnCancel.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnCancel.ImageUri.Uri = "Close";
     this.btnCancel.Location     = new System.Drawing.Point(220, 3);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(85, 31);
     this.btnCancel.TabIndex     = 4;
     this.btnCancel.Text         = "Cancel";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // btnUpdate
     //
     this.btnUpdate.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnUpdate.Appearance.Options.UseFont = true;
     this.btnUpdate.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnUpdate.ImageUri.Uri = "Customization";
     this.btnUpdate.Location     = new System.Drawing.Point(112, 3);
     this.btnUpdate.Name         = "btnUpdate";
     this.btnUpdate.Size         = new System.Drawing.Size(88, 31);
     this.btnUpdate.TabIndex     = 3;
     this.btnUpdate.Text         = "Update";
     this.btnUpdate.Click       += new System.EventHandler(this.btnUpdate_Click);
     //
     // btnAdd
     //
     this.btnAdd.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAdd.Appearance.Options.UseFont = true;
     this.btnAdd.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnAdd.ImageUri.Uri = "Add";
     this.btnAdd.Location     = new System.Drawing.Point(3, 3);
     this.btnAdd.Name         = "btnAdd";
     this.btnAdd.Size         = new System.Drawing.Size(82, 31);
     this.btnAdd.TabIndex     = 2;
     this.btnAdd.Text         = "Add";
     this.btnAdd.Click       += new System.EventHandler(this.btnAdd_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.panel6);
     this.groupBox1.Controls.Add(this.panel5);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.groupBox1.Font     = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(318, 567);
     this.groupBox1.TabIndex = 6;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "National List";
     //
     // panel6
     //
     this.panel6.Controls.Add(this.panel4);
     this.panel6.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel6.Location = new System.Drawing.Point(3, 487);
     this.panel6.Name     = "panel6";
     this.panel6.Size     = new System.Drawing.Size(312, 77);
     this.panel6.TabIndex = 2;
     //
     // panel5
     //
     this.panel5.Controls.Add(this.gridNational);
     this.panel5.Location = new System.Drawing.Point(3, 24);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(315, 446);
     this.panel5.TabIndex = 1;
     //
     // gridNational
     //
     this.gridNational.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridNational.Location = new System.Drawing.Point(0, 0);
     this.gridNational.MainView = this.gridListNational;
     this.gridNational.Name     = "gridNational";
     this.gridNational.Size     = new System.Drawing.Size(315, 446);
     this.gridNational.TabIndex = 0;
     this.gridNational.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridListNational
     });
     //
     // gridListNational
     //
     this.gridListNational.GridControl = this.gridNational;
     this.gridListNational.Name        = "gridListNational";
     this.gridListNational.OptionsFind.AlwaysVisible  = true;
     this.gridListNational.OptionsView.ShowGroupPanel = false;
     this.gridListNational.FocusedRowChanged         += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridListNational_FocusedRowChanged);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.imgAnh);
     this.panel1.Controls.Add(this.txtNameOfNational);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(321, 17);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(993, 100);
     this.panel1.TabIndex = 7;
     //
     // imgAnh
     //
     this.imgAnh.BackColor   = System.Drawing.Color.White;
     this.imgAnh.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.imgAnh.Location    = new System.Drawing.Point(33, 0);
     this.imgAnh.Name        = "imgAnh";
     this.imgAnh.Size        = new System.Drawing.Size(165, 97);
     this.imgAnh.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.imgAnh.TabIndex    = 7;
     this.imgAnh.TabStop     = false;
     this.imgAnh.WaitOnLoad  = true;
     this.imgAnh.Click      += new System.EventHandler(this.imgAnh_Click);
     //
     // txtNameOfNational
     //
     this.txtNameOfNational.BackColor = System.Drawing.SystemColors.Window;
     this.txtNameOfNational.Font      = new System.Drawing.Font("Times New Roman", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNameOfNational.Location  = new System.Drawing.Point(503, 37);
     this.txtNameOfNational.Name      = "txtNameOfNational";
     this.txtNameOfNational.Size      = new System.Drawing.Size(212, 32);
     this.txtNameOfNational.TabIndex  = 6;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Times New Roman", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(256, 38);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(230, 31);
     this.label1.TabIndex = 5;
     this.label1.Text     = "Name of National:";
     //
     // gridView1
     //
     this.gridView1.Name = "gridView1";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(324, 132);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(119, 19);
     this.label2.TabIndex = 11;
     this.label2.Text     = "Port Of National";
     //
     // National
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.label2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Name  = "National";
     this.Size  = new System.Drawing.Size(1314, 567);
     this.Load += new System.EventHandler(this.National_Load);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridPort)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListPort)).EndInit();
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.map)).EndInit();
     this.panel4.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.panel6.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridNational)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListNational)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.imgAnh)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraMap.KeyColorColorizer       keyColorColorizer3       = new DevExpress.XtraMap.KeyColorColorizer();
     DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider3 = new DevExpress.XtraMap.ArgumentItemKeyProvider();
     DevExpress.XtraMap.ColorizerKeyItem        colorizerKeyItem7        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem        colorizerKeyItem8        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem        colorizerKeyItem9        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.MeasureRules            measureRules3            = new DevExpress.XtraMap.MeasureRules();
     DevExpress.XtraMap.LinearRangeDistribution linearRangeDistribution3 = new DevExpress.XtraMap.LinearRangeDistribution();
     this.splitContainerControl1     = new DevExpress.XtraEditors.SplitContainerControl();
     this.mapControl1                = new DevExpress.XtraMap.MapControl();
     this.imageLayer1                = new DevExpress.XtraMap.ImageLayer();
     this.openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider();
     this.analyticalDataLayer        = new DevExpress.XtraMap.VectorItemsLayer();
     this.pieChartDataAdapter1       = new DevExpress.XtraMap.PieChartDataAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location    = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name        = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.mapControl1);
     this.splitContainerControl1.Panel2.Text      = "Panel2";
     this.splitContainerControl1.Size             = new System.Drawing.Size(842, 490);
     this.splitContainerControl1.SplitterPosition = 500;
     this.splitContainerControl1.TabIndex         = 0;
     this.splitContainerControl1.Text             = "splitContainerControl1";
     //
     // mapControl1
     //
     this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(15D, 107D);
     this.mapControl1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.mapControl1.Layers.Add(this.imageLayer1);
     this.mapControl1.Layers.Add(this.analyticalDataLayer);
     this.mapControl1.Location  = new System.Drawing.Point(0, 0);
     this.mapControl1.Name      = "mapControl1";
     this.mapControl1.Size      = new System.Drawing.Size(337, 490);
     this.mapControl1.TabIndex  = 0;
     this.mapControl1.ZoomLevel = 5D;
     //
     // imageLayer1
     //
     this.imageLayer1.DataProvider = this.openStreetMapDataProvider1;
     //
     // openStreetMapDataProvider1
     //
     this.openStreetMapDataProvider1.TileUriTemplate = "http://{0}.tile.INSERT_SERVER_NAME.com/{1}/{2}/{3}.png";
     //
     // analyticalDataLayer
     //
     keyColorColorizer3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))));
     keyColorColorizer3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))));
     keyColorColorizer3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))));
     keyColorColorizer3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))));
     keyColorColorizer3.ItemKeyProvider = argumentItemKeyProvider3;
     colorizerKeyItem7.Key  = "1";
     colorizerKeyItem7.Name = "Gold";
     colorizerKeyItem8.Key  = "2";
     colorizerKeyItem8.Name = "Silver";
     colorizerKeyItem9.Key  = "3";
     colorizerKeyItem9.Name = "Bronze";
     keyColorColorizer3.Keys.Add(colorizerKeyItem7);
     keyColorColorizer3.Keys.Add(colorizerKeyItem8);
     keyColorColorizer3.Keys.Add(colorizerKeyItem9);
     this.analyticalDataLayer.Colorizer      = keyColorColorizer3;
     this.analyticalDataLayer.Data           = this.pieChartDataAdapter1;
     this.analyticalDataLayer.ToolTipPattern = "<b>%A%</b>\r\nGold: %V0%\r\nSilver: %V1%\r\nBronze: %V2%\r\nTotal:%V%";
     this.analyticalDataLayer.DataLoaded    += new DevExpress.XtraMap.DataLoadedEventHandler(this.OnDataLoaded);
     //
     // pieChartDataAdapter1
     //
     this.pieChartDataAdapter1.ItemMaxSize         = 60;
     this.pieChartDataAdapter1.ItemMinSize         = 20;
     this.pieChartDataAdapter1.Mappings.Latitude   = "CapitalLat";
     this.pieChartDataAdapter1.Mappings.Longitude  = "CapitalLon";
     this.pieChartDataAdapter1.Mappings.PieSegment = "MedalClass";
     this.pieChartDataAdapter1.Mappings.Value      = "Quantity";
     measureRules3.RangeDistribution = linearRangeDistribution3;
     measureRules3.RangeStops.Add(10D);
     measureRules3.RangeStops.Add(50D);
     measureRules3.RangeStops.Add(100D);
     measureRules3.RangeStops.Add(500D);
     measureRules3.RangeStops.Add(1000D);
     measureRules3.RangeStops.Add(2000D);
     measureRules3.RangeStops.Add(5000D);
     measureRules3.RangeStops.Add(10000D);
     measureRules3.RangeStops.Add(100000D);
     measureRules3.RangeStops.Add(1000000D);
     this.pieChartDataAdapter1.MeasureRules      = measureRules3;
     this.pieChartDataAdapter1.PieItemDataMember = "Name";
     //
     // FormHome
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(842, 490);
     this.Controls.Add(this.splitContainerControl1);
     this.Name  = "FormHome";
     this.Text  = "FormHome";
     this.Load += new System.EventHandler(this.FormHome_Load);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #8
0
 /// <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              imageTilesLayer1         = new DevExpress.XtraMap.ImageLayer();
     DevExpress.XtraMap.BingMapDataProvider     bingMapDataProvider1     = new DevExpress.XtraMap.BingMapDataProvider();
     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.ColorizerKeyItem        colorizerKeyItem1        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem        colorizerKeyItem2        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.ColorizerKeyItem        colorizerKeyItem3        = new DevExpress.XtraMap.ColorizerKeyItem();
     DevExpress.XtraMap.SizeLegend              sizeLegend1      = new DevExpress.XtraMap.SizeLegend();
     DevExpress.XtraMap.ColorListLegend         colorListLegend1 = new DevExpress.XtraMap.ColorListLegend();
     this.mapControl1        = new DevExpress.XtraMap.MapControl();
     this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit();
     this.SuspendLayout();
     //
     // mapControl1
     //
     this.mapControl1.Dock         = System.Windows.Forms.DockStyle.Fill;
     imageTilesLayer1.DataProvider = bingMapDataProvider1;
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(98))))));
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(181)))), ((int)(((byte)(188))))));
     keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(152)))), ((int)(((byte)(118))))));
     keyColorColorizer1.ItemKeyProvider = argumentItemKeyProvider1;
     colorizerKeyItem1.Key  = 1;
     colorizerKeyItem1.Name = "Gold";
     colorizerKeyItem2.Key  = 2;
     colorizerKeyItem2.Name = "Silver";
     colorizerKeyItem3.Key  = 3;
     colorizerKeyItem3.Name = "Bronze";
     keyColorColorizer1.Keys.Add(colorizerKeyItem1);
     keyColorColorizer1.Keys.Add(colorizerKeyItem2);
     keyColorColorizer1.Keys.Add(colorizerKeyItem3);
     vectorItemsLayer1.Colorizer      = keyColorColorizer1;
     vectorItemsLayer1.Name           = "PieLayer";
     vectorItemsLayer1.ToolTipPattern = "<b>%A%</b>\r\nGold: %V0%\r\nSilver: %V1%\r\nBronze: %V2%\r\nTotal: %V%\"";
     this.mapControl1.Layers.Add(imageTilesLayer1);
     this.mapControl1.Layers.Add(vectorItemsLayer1);
     sizeLegend1.Header      = "Medal Count";
     sizeLegend1.Layer       = vectorItemsLayer1;
     colorListLegend1.Header = "Medal Class";
     colorListLegend1.Layer  = vectorItemsLayer1;
     this.mapControl1.Legends.Add(sizeLegend1);
     this.mapControl1.Legends.Add(colorListLegend1);
     this.mapControl1.Location          = new System.Drawing.Point(0, 0);
     this.mapControl1.Name              = "mapControl1";
     this.mapControl1.Size              = new System.Drawing.Size(717, 441);
     this.mapControl1.TabIndex          = 0;
     this.mapControl1.ToolTipController = this.toolTipController1;
     //
     // toolTipController1
     //
     this.toolTipController1.AllowHtmlText = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(717, 441);
     this.Controls.Add(this.mapControl1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #9
0
 /// <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.KeyColorColorizer       keyColorColorizer1       = new DevExpress.XtraMap.KeyColorColorizer();
     DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider();
     DevExpress.XtraMap.MapCallout mapCallout1 = new DevExpress.XtraMap.MapCallout();
     this.imageLayer1             = new DevExpress.XtraMap.ImageLayer();
     this.bingMapDataProvider1    = new DevExpress.XtraMap.BingMapDataProvider();
     this.vectorItemsLayer1       = new DevExpress.XtraMap.VectorItemsLayer();
     this.bubbleChartDataAdapter1 = new DevExpress.XtraMap.BubbleChartDataAdapter();
     this.bindingSource           = new System.Windows.Forms.BindingSource(this.components);
     this.vectorItemsLayer2       = new DevExpress.XtraMap.VectorItemsLayer();
     this.mapItemStorage1         = new DevExpress.XtraMap.MapItemStorage();
     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.mvvmContext)).BeginInit();
     ((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();
     //
     // imageLayer1
     //
     this.imageLayer1.DataProvider = this.bingMapDataProvider1;
     //
     // bingMapDataProvider1
     //
     this.bingMapDataProvider1.Kind = DevExpress.XtraMap.BingMapKind.Road;
     //
     // vectorItemsLayer1
     //
     keyColorColorizer1.ItemKeyProvider    = argumentItemKeyProvider1;
     this.vectorItemsLayer1.Colorizer      = keyColorColorizer1;
     this.vectorItemsLayer1.Data           = this.bubbleChartDataAdapter1;
     this.vectorItemsLayer1.ToolTipPattern = "City:%A% Value:%V%";
     this.vectorItemsLayer1.DataLoaded    += new DevExpress.XtraMap.DataLoadedEventHandler(this.ItemsLayer_DataLoaded);
     //
     // bubbleChartDataAdapter1
     //
     this.bubbleChartDataAdapter1.BubbleItemDataMember = "City";
     this.bubbleChartDataAdapter1.DataSource           = this.bindingSource;
     this.bubbleChartDataAdapter1.Mappings.BubbleGroup = "Index";
     this.bubbleChartDataAdapter1.Mappings.Latitude    = "Latitude";
     this.bubbleChartDataAdapter1.Mappings.Longitude   = "Longitude";
     this.bubbleChartDataAdapter1.Mappings.Value       = "Value";
     //
     // bindingSource
     //
     this.bindingSource.DataSource = typeof(DevExpress.DevAV.QuoteMapItem);
     //
     // vectorItemsLayer2
     //
     this.vectorItemsLayer2.Data = this.mapItemStorage1;
     //
     // mapItemStorage1
     //
     mapCallout1.AllowHtmlText = true;
     mapCallout1.Text          = "Test";
     this.mapItemStorage1.Items.Add(mapCallout1);
     //
     // 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, 120);
     //
     // biSave
     //
     this.biSave.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biSave.Caption            = "Save";
     this.biSave.Id = 1;
     this.biSave.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biSave.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Save.svg";
     this.biSave.Name = "biSave";
     //
     // biClose
     //
     this.biClose.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biClose.Caption            = "Close";
     this.biClose.Id = 2;
     this.biClose.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biClose.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Close.svg";
     this.biClose.ItemShortcut          = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Escape);
     this.biClose.Name = "biClose";
     //
     // biSaveAndClose
     //
     this.biSaveAndClose.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biSaveAndClose.Caption            = "Save && Close";
     this.biSaveAndClose.Id = 3;
     this.biSaveAndClose.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biSaveAndClose.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.SaveAndClose.svg";
     this.biSaveAndClose.Name = "biSaveAndClose";
     //
     // biDelete
     //
     this.biDelete.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biDelete.Caption            = "Delete";
     this.biDelete.Id = 4;
     this.biDelete.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biDelete.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Delete.svg";
     this.biDelete.Name = "biDelete";
     //
     // biPrint
     //
     this.biPrint.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biPrint.Caption            = "Print";
     this.biPrint.Id = 8;
     this.biPrint.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biPrint.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Print.svg";
     this.biPrint.Name = "biPrint";
     //
     // biPrintPreview
     //
     this.biPrintPreview.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biPrintPreview.Caption            = "Print Preview";
     this.biPrintPreview.Id = 9;
     this.biPrintPreview.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biPrintPreview.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.PrintPreview.svg";
     this.biPrintPreview.Name = "biPrintPreview";
     //
     // barExportItem
     //
     this.barExportItem.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.barExportItem.Caption            = "Export";
     this.barExportItem.Id = 11;
     this.barExportItem.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.barExportItem.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Export.svg";
     this.barExportItem.LargeImageIndex       = 50;
     this.barExportItem.Name = "barExportItem";
     //
     // biHigh
     //
     this.biHigh.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biHigh.Caption            = "High";
     this.biHigh.CategoryGuid       = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537");
     this.biHigh.Id = 16;
     this.biHigh.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biHigh.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.High.svg";
     this.biHigh.Name = "biHigh";
     //
     // biMedium
     //
     this.biMedium.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biMedium.Caption            = "Medium";
     this.biMedium.CategoryGuid       = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537");
     this.biMedium.Id = 17;
     this.biMedium.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biMedium.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Medium.svg";
     this.biMedium.Name = "biMedium";
     //
     // biLow
     //
     this.biLow.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biLow.Caption            = "Low";
     this.biLow.CategoryGuid       = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537");
     this.biLow.Id = 18;
     this.biLow.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biLow.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Low.svg";
     this.biLow.Name = "biLow";
     //
     // biUnlikely
     //
     this.biUnlikely.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
     this.biUnlikely.Caption            = "Unlikely";
     this.biUnlikely.CategoryGuid       = new System.Guid("6ffddb2b-9015-4d97-a4c1-91613e0ef537");
     this.biUnlikely.Id = 19;
     this.biUnlikely.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm);
     this.biUnlikely.ImageUri.Uri          = "resource://DevExpress.DevAV.Resources.Unlike.svg";
     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.AllowCustomization = 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, 120);
     this.moduleDataLayout.Name       = "moduleDataLayout";
     this.moduleDataLayout.Root       = this.layoutControlGroup1;
     this.moduleDataLayout.Size       = new System.Drawing.Size(1226, 642);
     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;
     this.mapControl.Layers.Add(this.imageLayer1);
     this.mapControl.Layers.Add(this.vectorItemsLayer1);
     this.mapControl.Layers.Add(this.vectorItemsLayer2);
     this.mapControl.Location  = new System.Drawing.Point(0, 0);
     this.mapControl.Name      = "mapControl";
     this.mapControl.Size      = new System.Drawing.Size(1222, 642);
     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, 642);
     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, 642);
     this.ItemForMap.Text        = "map";
     this.ItemForMap.TextSize    = new System.Drawing.Size(0, 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, 642);
     //
     // 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, 642);
     //
     // 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.mvvmContext)).EndInit();
     ((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();
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraMap.KeyColorColorizer       keyColorColorizer1       = new DevExpress.XtraMap.KeyColorColorizer();
     DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider();
     this.panel1            = new System.Windows.Forms.Panel();
     this.btnRefresh        = new DevExpress.XtraEditors.SimpleButton();
     this.btnUpdatePosition = new DevExpress.XtraEditors.SimpleButton();
     this.panel3            = new System.Windows.Forms.Panel();
     this.map = new DevExpress.XtraMap.MapControl();
     this.imageTilesLayer1     = new DevExpress.XtraMap.ImageLayer();
     this.bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider();
     this.vectorItemsLayer1    = new DevExpress.XtraMap.VectorItemsLayer();
     this.mapItemStorage1      = new DevExpress.XtraMap.MapItemStorage();
     this.panel2         = new System.Windows.Forms.Panel();
     this.btnAdd         = new DevExpress.XtraEditors.SimpleButton();
     this.btnExit        = new DevExpress.XtraEditors.SimpleButton();
     this.btnUpdate      = new DevExpress.XtraEditors.SimpleButton();
     this.groupBox2      = new System.Windows.Forms.GroupBox();
     this.dateTimeEnd    = new System.Windows.Forms.DateTimePicker();
     this.dateTimeBegin  = new System.Windows.Forms.DateTimePicker();
     this.cbxSatus       = new System.Windows.Forms.ComboBox();
     this.cbxEndPo       = new DevExpress.XtraEditors.LookUpEdit();
     this.cbxBeginpo     = new DevExpress.XtraEditors.LookUpEdit();
     this.label7         = new System.Windows.Forms.Label();
     this.label6         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.txtTimeProvide = new System.Windows.Forms.TextBox();
     this.label5         = new System.Windows.Forms.Label();
     this.label4         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.dgvTripList    = new DevExpress.XtraGrid.GridControl();
     this.gridTrip       = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.map)).BeginInit();
     this.panel2.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbxEndPo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxBeginpo.Properties)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvTripList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridTrip)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.btnRefresh);
     this.panel1.Controls.Add(this.btnUpdatePosition);
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.groupBox2);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1347, 696);
     this.panel1.TabIndex = 0;
     //
     // btnRefresh
     //
     this.btnRefresh.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnRefresh.Appearance.Options.UseFont = true;
     this.btnRefresh.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnRefresh.ImageUri.Uri = "Refresh;Colored";
     this.btnRefresh.Location     = new System.Drawing.Point(612, 171);
     this.btnRefresh.Name         = "btnRefresh";
     this.btnRefresh.Size         = new System.Drawing.Size(136, 39);
     this.btnRefresh.TabIndex     = 10;
     this.btnRefresh.Text         = "Refresh";
     this.btnRefresh.Click       += new System.EventHandler(this.btnRefresh_Click);
     //
     // btnUpdatePosition
     //
     this.btnUpdatePosition.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnUpdatePosition.Appearance.Options.UseFont = true;
     this.btnUpdatePosition.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnUpdatePosition.ImageUri.Uri = "Edit;Colored";
     this.btnUpdatePosition.Location     = new System.Drawing.Point(823, 170);
     this.btnUpdatePosition.Name         = "btnUpdatePosition";
     this.btnUpdatePosition.Size         = new System.Drawing.Size(136, 39);
     this.btnUpdatePosition.TabIndex     = 9;
     this.btnUpdatePosition.Text         = "Update Position";
     this.btnUpdatePosition.Click       += new System.EventHandler(this.btnUpdatePosition_Click);
     //
     // panel3
     //
     this.panel3.Controls.Add(this.map);
     this.panel3.Location = new System.Drawing.Point(524, 215);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(823, 450);
     this.panel3.TabIndex = 9;
     //
     // map
     //
     this.map.CenterPoint = new DevExpress.XtraMap.GeoPoint(15.8D, 106.5D);
     this.map.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.map.Layers.Add(this.imageTilesLayer1);
     this.map.Layers.Add(this.vectorItemsLayer1);
     this.map.Location  = new System.Drawing.Point(0, 0);
     this.map.Name      = "map";
     this.map.Size      = new System.Drawing.Size(823, 450);
     this.map.TabIndex  = 4;
     this.map.ZoomLevel = 3D;
     this.imageTilesLayer1.DataProvider       = this.bingMapDataProvider1;
     this.bingMapDataProvider1.BingKey        = "AlZpmZgk5S20pbDFbqlIvgb43FQnFr8gGdvTtGCTy4C8tg6xqbd09Qw93a-APF8V";
     keyColorColorizer1.ItemKeyProvider       = argumentItemKeyProvider1;
     keyColorColorizer1.PredefinedColorSchema = DevExpress.XtraMap.PredefinedColorSchema.Palette;
     this.vectorItemsLayer1.Colorizer         = keyColorColorizer1;
     this.vectorItemsLayer1.Data = this.mapItemStorage1;
     this.vectorItemsLayer1.Name = "VectorLayer";
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.Controls.Add(this.btnAdd);
     this.panel2.Controls.Add(this.btnExit);
     this.panel2.Controls.Add(this.btnUpdate);
     this.panel2.Location = new System.Drawing.Point(86, 433);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(429, 64);
     this.panel2.TabIndex = 8;
     //
     // btnAdd
     //
     this.btnAdd.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAdd.Appearance.Options.UseFont = true;
     this.btnAdd.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnAdd.ImageUri.Uri = "Add;Colored";
     this.btnAdd.Location     = new System.Drawing.Point(0, 11);
     this.btnAdd.Name         = "btnAdd";
     this.btnAdd.Size         = new System.Drawing.Size(101, 40);
     this.btnAdd.TabIndex     = 4;
     this.btnAdd.Text         = "Add";
     this.btnAdd.Click       += new System.EventHandler(this.btnAdd_Click);
     //
     // btnExit
     //
     this.btnExit.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnExit.Appearance.Options.UseFont = true;
     this.btnExit.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnExit.ImageUri.Uri = "Cancel;Colored";
     this.btnExit.Location     = new System.Drawing.Point(275, 16);
     this.btnExit.Name         = "btnExit";
     this.btnExit.Size         = new System.Drawing.Size(103, 35);
     this.btnExit.TabIndex     = 6;
     this.btnExit.Text         = "Exit";
     this.btnExit.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // btnUpdate
     //
     this.btnUpdate.Appearance.Font            = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnUpdate.Appearance.Options.UseFont = true;
     this.btnUpdate.ButtonStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.btnUpdate.ImageUri.Uri = "Customization;Colored";
     this.btnUpdate.Location     = new System.Drawing.Point(137, 16);
     this.btnUpdate.Name         = "btnUpdate";
     this.btnUpdate.Size         = new System.Drawing.Size(113, 35);
     this.btnUpdate.TabIndex     = 5;
     this.btnUpdate.Text         = "Update";
     this.btnUpdate.Click       += new System.EventHandler(this.btnUpdate_Click);
     //
     // groupBox2
     //
     this.groupBox2.AutoSize = true;
     this.groupBox2.Controls.Add(this.dateTimeEnd);
     this.groupBox2.Controls.Add(this.dateTimeBegin);
     this.groupBox2.Controls.Add(this.cbxSatus);
     this.groupBox2.Controls.Add(this.cbxEndPo);
     this.groupBox2.Controls.Add(this.cbxBeginpo);
     this.groupBox2.Controls.Add(this.label7);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.txtTimeProvide);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.Location = new System.Drawing.Point(521, 12);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(724, 157);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Detail Journey";
     //
     // dateTimeEnd
     //
     this.dateTimeEnd.CustomFormat = "dd/MM/yyyy hh:mm";
     this.dateTimeEnd.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimeEnd.Location     = new System.Drawing.Point(139, 111);
     this.dateTimeEnd.Name         = "dateTimeEnd";
     this.dateTimeEnd.Size         = new System.Drawing.Size(208, 22);
     this.dateTimeEnd.TabIndex     = 29;
     //
     // dateTimeBegin
     //
     this.dateTimeBegin.CustomFormat = "dd/MM/yyyy hh:mm";
     this.dateTimeBegin.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimeBegin.Location     = new System.Drawing.Point(510, 63);
     this.dateTimeBegin.Name         = "dateTimeBegin";
     this.dateTimeBegin.Size         = new System.Drawing.Size(208, 22);
     this.dateTimeBegin.TabIndex     = 28;
     //
     // cbxSatus
     //
     this.cbxSatus.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.RecentlyUsedList;
     this.cbxSatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbxSatus.FormattingEnabled = true;
     this.cbxSatus.Items.AddRange(new object[] {
         "Complete",
         "Not Complete"
     });
     this.cbxSatus.Location = new System.Drawing.Point(510, 100);
     this.cbxSatus.Name     = "cbxSatus";
     this.cbxSatus.Size     = new System.Drawing.Size(121, 24);
     this.cbxSatus.TabIndex = 27;
     //
     // cbxEndPo
     //
     this.cbxEndPo.Location = new System.Drawing.Point(510, 29);
     this.cbxEndPo.Name     = "cbxEndPo";
     this.cbxEndPo.Properties.AllowNullInput                     = DevExpress.Utils.DefaultBoolean.False;
     this.cbxEndPo.Properties.Appearance.Font                    = new System.Drawing.Font("Times New Roman", 11F);
     this.cbxEndPo.Properties.Appearance.Options.UseFont         = true;
     this.cbxEndPo.Properties.AppearanceDropDown.Font            = new System.Drawing.Font("Times New Roman", 11F);
     this.cbxEndPo.Properties.AppearanceDropDown.Options.UseFont = true;
     this.cbxEndPo.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.cbxEndPo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cbxEndPo.Properties.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.cbxEndPo.Properties.ShowHeader   = false;
     this.cbxEndPo.Size     = new System.Drawing.Size(208, 26);
     this.cbxEndPo.TabIndex = 26;
     //
     // cbxBeginpo
     //
     this.cbxBeginpo.Location = new System.Drawing.Point(139, 29);
     this.cbxBeginpo.Name     = "cbxBeginpo";
     this.cbxBeginpo.Properties.AllowNullInput                     = DevExpress.Utils.DefaultBoolean.False;
     this.cbxBeginpo.Properties.Appearance.Font                    = new System.Drawing.Font("Times New Roman", 11F);
     this.cbxBeginpo.Properties.Appearance.Options.UseFont         = true;
     this.cbxBeginpo.Properties.AppearanceDropDown.Font            = new System.Drawing.Font("Times New Roman", 11F);
     this.cbxBeginpo.Properties.AppearanceDropDown.Options.UseFont = true;
     this.cbxBeginpo.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.cbxBeginpo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cbxBeginpo.Properties.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.cbxBeginpo.Properties.ShowHeader   = false;
     this.cbxBeginpo.Size     = new System.Drawing.Size(208, 26);
     this.cbxBeginpo.TabIndex = 25;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.Location = new System.Drawing.Point(453, 106);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(45, 16);
     this.label7.TabIndex = 20;
     this.label7.Text     = "Status";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location = new System.Drawing.Point(52, 117);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(66, 16);
     this.label6.TabIndex = 19;
     this.label6.Text     = "End Time";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(421, 69);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(77, 16);
     this.label1.TabIndex = 16;
     this.label1.Text     = "Begin Time";
     //
     // txtTimeProvide
     //
     this.txtTimeProvide.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTimeProvide.Location = new System.Drawing.Point(139, 68);
     this.txtTimeProvide.Name     = "txtTimeProvide";
     this.txtTimeProvide.Size     = new System.Drawing.Size(208, 22);
     this.txtTimeProvide.TabIndex = 15;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(29, 72);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(89, 16);
     this.label5.TabIndex = 14;
     this.label5.Text     = "Time Provide";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(421, 33);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(83, 16);
     this.label4.TabIndex = 12;
     this.label4.Text     = "End Position";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(24, 33);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(94, 16);
     this.label3.TabIndex = 10;
     this.label3.Text     = "Begin Position";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.dgvTripList);
     this.groupBox1.Location = new System.Drawing.Point(3, 3);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(497, 424);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "List Journey";
     //
     // dgvTripList
     //
     this.dgvTripList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.dgvTripList.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvTripList.Location = new System.Drawing.Point(3, 16);
     this.dgvTripList.MainView = this.gridTrip;
     this.dgvTripList.Name     = "dgvTripList";
     this.dgvTripList.Size     = new System.Drawing.Size(491, 405);
     this.dgvTripList.TabIndex = 1;
     this.dgvTripList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridTrip
     });
     //
     // gridTrip
     //
     this.gridTrip.GridControl = this.dgvTripList;
     this.gridTrip.Name        = "gridTrip";
     this.gridTrip.OptionsFind.AlwaysVisible  = true;
     this.gridTrip.OptionsView.ShowGroupPanel = false;
     this.gridTrip.FocusedRowChanged         += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridTrip_FocusedRowChanged);
     //
     // FrmJourney
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1347, 696);
     this.Controls.Add(this.panel1);
     this.Name          = "FrmJourney";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "FrmJourney";
     this.Load         += new System.EventHandler(this.FrmJourney_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.map)).EndInit();
     this.panel2.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbxEndPo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxBeginpo.Properties)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvTripList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridTrip)).EndInit();
     this.ResumeLayout(false);
 }