|
@@ -34,16 +34,16 @@ namespace XdCxRhDW.App.UserControl
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
- DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions buttonImageOptions1 = new DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions();
|
|
|
+ DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions buttonImageOptions4 = new DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CtrlHome));
|
|
|
- DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
|
|
|
- DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
|
|
|
- DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions buttonImageOptions2 = new DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions();
|
|
|
- DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip();
|
|
|
- DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem();
|
|
|
- DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions buttonImageOptions3 = new DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions();
|
|
|
- DevExpress.Utils.SuperToolTip superToolTip3 = new DevExpress.Utils.SuperToolTip();
|
|
|
- DevExpress.Utils.ToolTipItem toolTipItem3 = new DevExpress.Utils.ToolTipItem();
|
|
|
+ DevExpress.Utils.SuperToolTip superToolTip4 = new DevExpress.Utils.SuperToolTip();
|
|
|
+ DevExpress.Utils.ToolTipItem toolTipItem4 = new DevExpress.Utils.ToolTipItem();
|
|
|
+ DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions buttonImageOptions5 = new DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions();
|
|
|
+ DevExpress.Utils.SuperToolTip superToolTip5 = new DevExpress.Utils.SuperToolTip();
|
|
|
+ DevExpress.Utils.ToolTipItem toolTipItem5 = new DevExpress.Utils.ToolTipItem();
|
|
|
+ DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions buttonImageOptions6 = new DevExpress.XtraEditors.ButtonsPanelControl.ButtonImageOptions();
|
|
|
+ DevExpress.Utils.SuperToolTip superToolTip6 = new DevExpress.Utils.SuperToolTip();
|
|
|
+ DevExpress.Utils.ToolTipItem toolTipItem6 = new DevExpress.Utils.ToolTipItem();
|
|
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
|
|
this.mapControl1 = new DevExpress.XtraMap.MapControl();
|
|
|
this.gridHomePosRes = new DevExpress.XtraGrid.GridControl();
|
|
@@ -73,6 +73,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.htmlTemplateCollection1 = new DevExpress.Utils.Html.HtmlTemplateCollection();
|
|
|
this.htmlTemplate1 = new DevExpress.Utils.Html.HtmlTemplate();
|
|
|
this.popupMenu2 = new DevExpress.XtraBars.PopupMenu(this.components);
|
|
|
+ this.btnTar = new DevExpress.XtraBars.BarButtonItem();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
|
this.layoutControl1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit();
|
|
@@ -105,7 +106,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControl1.Name = "layoutControl1";
|
|
|
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1088, 144, 650, 400);
|
|
|
this.layoutControl1.Root = this.Root;
|
|
|
- this.layoutControl1.Size = new System.Drawing.Size(822, 560);
|
|
|
+ this.layoutControl1.Size = new System.Drawing.Size(822, 523);
|
|
|
this.layoutControl1.TabIndex = 0;
|
|
|
this.layoutControl1.Text = "layoutControl1";
|
|
|
//
|
|
@@ -113,22 +114,21 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
this.mapControl1.Location = new System.Drawing.Point(226, 2);
|
|
|
this.mapControl1.Name = "mapControl1";
|
|
|
- this.mapControl1.Size = new System.Drawing.Size(594, 262);
|
|
|
+ this.mapControl1.Size = new System.Drawing.Size(594, 244);
|
|
|
this.mapControl1.TabIndex = 6;
|
|
|
//
|
|
|
// gridHomePosRes
|
|
|
//
|
|
|
- this.gridHomePosRes.Location = new System.Drawing.Point(227, 301);
|
|
|
+ this.gridHomePosRes.Location = new System.Drawing.Point(227, 283);
|
|
|
this.gridHomePosRes.MainView = this.gridView2;
|
|
|
this.gridHomePosRes.Name = "gridHomePosRes";
|
|
|
- this.gridHomePosRes.Size = new System.Drawing.Size(592, 256);
|
|
|
+ this.gridHomePosRes.Size = new System.Drawing.Size(592, 237);
|
|
|
this.gridHomePosRes.TabIndex = 5;
|
|
|
this.gridHomePosRes.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
this.gridView2});
|
|
|
//
|
|
|
// gridView2
|
|
|
//
|
|
|
- this.gridView2.DetailHeight = 375;
|
|
|
this.gridView2.GridControl = this.gridHomePosRes;
|
|
|
this.gridView2.Name = "gridView2";
|
|
|
this.gridView2.RowClick += new DevExpress.XtraGrid.Views.Grid.RowClickEventHandler(this.gridView2_RowClick);
|
|
@@ -141,7 +141,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.gridHomeTask.Name = "gridHomeTask";
|
|
|
this.gridHomeTask.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
this.repositoryItemImageEdit1});
|
|
|
- this.gridHomeTask.Size = new System.Drawing.Size(206, 531);
|
|
|
+ this.gridHomeTask.Size = new System.Drawing.Size(206, 494);
|
|
|
this.gridHomeTask.TabIndex = 4;
|
|
|
this.gridHomeTask.ToolTipController = this.toolTipController1;
|
|
|
this.gridHomeTask.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
@@ -149,7 +149,6 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
// gridView1
|
|
|
//
|
|
|
- this.gridView1.DetailHeight = 375;
|
|
|
this.gridView1.GridControl = this.gridHomeTask;
|
|
|
this.gridView1.Name = "gridView1";
|
|
|
this.gridView1.PopupMenuShowing += new DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventHandler(this.gridView1_PopupMenuShowing);
|
|
@@ -178,7 +177,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.splitterItem2});
|
|
|
this.Root.Name = "Root";
|
|
|
this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
|
|
- this.Root.Size = new System.Drawing.Size(822, 560);
|
|
|
+ this.Root.Size = new System.Drawing.Size(822, 523);
|
|
|
this.Root.TextVisible = false;
|
|
|
//
|
|
|
// layoutControlItem3
|
|
@@ -186,35 +185,35 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControlItem3.Control = this.mapControl1;
|
|
|
this.layoutControlItem3.Location = new System.Drawing.Point(224, 0);
|
|
|
this.layoutControlItem3.Name = "layoutControlItem3";
|
|
|
- this.layoutControlItem3.Size = new System.Drawing.Size(598, 266);
|
|
|
+ this.layoutControlItem3.Size = new System.Drawing.Size(598, 248);
|
|
|
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
|
|
|
this.layoutControlItem3.TextVisible = false;
|
|
|
//
|
|
|
// layoutControlGroup1
|
|
|
//
|
|
|
- buttonImageOptions1.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("buttonImageOptions1.SvgImage")));
|
|
|
- buttonImageOptions1.SvgImageSize = new System.Drawing.Size(20, 20);
|
|
|
- toolTipItem1.Text = "新建任务";
|
|
|
- superToolTip1.Items.Add(toolTipItem1);
|
|
|
- buttonImageOptions2.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("buttonImageOptions2.SvgImage")));
|
|
|
- buttonImageOptions2.SvgImageSize = new System.Drawing.Size(20, 20);
|
|
|
- toolTipItem2.Text = "编辑任务";
|
|
|
- superToolTip2.Items.Add(toolTipItem2);
|
|
|
- buttonImageOptions3.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("buttonImageOptions3.SvgImage")));
|
|
|
- buttonImageOptions3.SvgImageSize = new System.Drawing.Size(20, 20);
|
|
|
- toolTipItem3.Text = "删除任务";
|
|
|
- superToolTip3.Items.Add(toolTipItem3);
|
|
|
+ buttonImageOptions4.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("buttonImageOptions4.SvgImage")));
|
|
|
+ buttonImageOptions4.SvgImageSize = new System.Drawing.Size(20, 20);
|
|
|
+ toolTipItem4.Text = "新建任务";
|
|
|
+ superToolTip4.Items.Add(toolTipItem4);
|
|
|
+ buttonImageOptions5.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("buttonImageOptions5.SvgImage")));
|
|
|
+ buttonImageOptions5.SvgImageSize = new System.Drawing.Size(20, 20);
|
|
|
+ toolTipItem5.Text = "编辑任务";
|
|
|
+ superToolTip5.Items.Add(toolTipItem5);
|
|
|
+ buttonImageOptions6.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("buttonImageOptions6.SvgImage")));
|
|
|
+ buttonImageOptions6.SvgImageSize = new System.Drawing.Size(20, 20);
|
|
|
+ toolTipItem6.Text = "删除任务";
|
|
|
+ superToolTip6.Items.Add(toolTipItem6);
|
|
|
this.layoutControlGroup1.CustomHeaderButtons.AddRange(new DevExpress.XtraEditors.ButtonPanel.IBaseButton[] {
|
|
|
- new DevExpress.XtraEditors.ButtonsPanelControl.GroupBoxButton("新建任务", false, buttonImageOptions1, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, superToolTip1, true, false, true, null, -1),
|
|
|
- new DevExpress.XtraEditors.ButtonsPanelControl.GroupBoxButton("编辑任务", false, buttonImageOptions2, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, superToolTip2, true, false, true, null, -1),
|
|
|
- new DevExpress.XtraEditors.ButtonsPanelControl.GroupBoxButton("删除任务", false, buttonImageOptions3, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, superToolTip3, true, false, true, null, -1)});
|
|
|
+ new DevExpress.XtraEditors.ButtonsPanelControl.GroupBoxButton("新建任务", false, buttonImageOptions4, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, superToolTip4, true, false, true, null, -1),
|
|
|
+ new DevExpress.XtraEditors.ButtonsPanelControl.GroupBoxButton("编辑任务", false, buttonImageOptions5, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, superToolTip5, true, false, true, null, -1),
|
|
|
+ new DevExpress.XtraEditors.ButtonsPanelControl.GroupBoxButton("删除任务", false, buttonImageOptions6, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, superToolTip6, true, false, true, null, -1)});
|
|
|
this.layoutControlGroup1.HeaderButtonsLocation = DevExpress.Utils.GroupElementLocation.AfterText;
|
|
|
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
this.layoutControlItem1});
|
|
|
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.layoutControlGroup1.Name = "layoutControlGroup1";
|
|
|
this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
|
|
- this.layoutControlGroup1.Size = new System.Drawing.Size(212, 560);
|
|
|
+ this.layoutControlGroup1.Size = new System.Drawing.Size(212, 523);
|
|
|
this.layoutControlGroup1.Text = "任务管理";
|
|
|
this.layoutControlGroup1.CustomButtonClick += new DevExpress.XtraBars.Docking2010.BaseButtonEventHandler(this.layoutControlGroup1_CustomButtonClick);
|
|
|
//
|
|
@@ -224,7 +223,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.layoutControlItem1.Name = "layoutControlItem1";
|
|
|
this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
|
|
- this.layoutControlItem1.Size = new System.Drawing.Size(206, 531);
|
|
|
+ this.layoutControlItem1.Size = new System.Drawing.Size(206, 494);
|
|
|
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
|
|
|
this.layoutControlItem1.TextVisible = false;
|
|
|
//
|
|
@@ -232,10 +231,10 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
this.layoutControlItem2});
|
|
|
- this.layoutControlGroup2.Location = new System.Drawing.Point(224, 278);
|
|
|
+ this.layoutControlGroup2.Location = new System.Drawing.Point(224, 260);
|
|
|
this.layoutControlGroup2.Name = "layoutControlGroup2";
|
|
|
this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
|
|
- this.layoutControlGroup2.Size = new System.Drawing.Size(598, 282);
|
|
|
+ this.layoutControlGroup2.Size = new System.Drawing.Size(598, 263);
|
|
|
this.layoutControlGroup2.Text = "定位结果";
|
|
|
//
|
|
|
// layoutControlItem2
|
|
@@ -244,7 +243,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
|
|
|
this.layoutControlItem2.Name = "layoutControlItem2";
|
|
|
this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
|
|
- this.layoutControlItem2.Size = new System.Drawing.Size(592, 256);
|
|
|
+ this.layoutControlItem2.Size = new System.Drawing.Size(592, 237);
|
|
|
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
|
|
|
this.layoutControlItem2.TextVisible = false;
|
|
|
//
|
|
@@ -253,12 +252,12 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.splitterItem1.AllowHotTrack = true;
|
|
|
this.splitterItem1.Location = new System.Drawing.Point(212, 0);
|
|
|
this.splitterItem1.Name = "splitterItem1";
|
|
|
- this.splitterItem1.Size = new System.Drawing.Size(12, 560);
|
|
|
+ this.splitterItem1.Size = new System.Drawing.Size(12, 523);
|
|
|
//
|
|
|
// splitterItem2
|
|
|
//
|
|
|
this.splitterItem2.AllowHotTrack = true;
|
|
|
- this.splitterItem2.Location = new System.Drawing.Point(224, 266);
|
|
|
+ this.splitterItem2.Location = new System.Drawing.Point(224, 248);
|
|
|
this.splitterItem2.Name = "splitterItem2";
|
|
|
this.splitterItem2.Size = new System.Drawing.Size(598, 12);
|
|
|
//
|
|
@@ -276,8 +275,9 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
|
this.btnStart,
|
|
|
this.btnStop,
|
|
|
- this.btnDelPos});
|
|
|
- this.barManager1.MaxItemId = 3;
|
|
|
+ this.btnDelPos,
|
|
|
+ this.btnTar});
|
|
|
+ this.barManager1.MaxItemId = 4;
|
|
|
//
|
|
|
// barDockControlTop
|
|
|
//
|
|
@@ -292,7 +292,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
this.barDockControlBottom.CausesValidation = false;
|
|
|
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
- this.barDockControlBottom.Location = new System.Drawing.Point(0, 560);
|
|
|
+ this.barDockControlBottom.Location = new System.Drawing.Point(0, 523);
|
|
|
this.barDockControlBottom.Manager = this.barManager1;
|
|
|
this.barDockControlBottom.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.barDockControlBottom.Size = new System.Drawing.Size(822, 0);
|
|
@@ -304,7 +304,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
|
|
|
this.barDockControlLeft.Manager = this.barManager1;
|
|
|
this.barDockControlLeft.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
- this.barDockControlLeft.Size = new System.Drawing.Size(0, 560);
|
|
|
+ this.barDockControlLeft.Size = new System.Drawing.Size(0, 523);
|
|
|
//
|
|
|
// barDockControlRight
|
|
|
//
|
|
@@ -313,7 +313,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.barDockControlRight.Location = new System.Drawing.Point(822, 0);
|
|
|
this.barDockControlRight.Manager = this.barManager1;
|
|
|
this.barDockControlRight.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
- this.barDockControlRight.Size = new System.Drawing.Size(0, 560);
|
|
|
+ this.barDockControlRight.Size = new System.Drawing.Size(0, 523);
|
|
|
//
|
|
|
// btnStart
|
|
|
//
|
|
@@ -361,13 +361,22 @@ namespace XdCxRhDW.App.UserControl
|
|
|
// popupMenu2
|
|
|
//
|
|
|
this.popupMenu2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
|
|
|
- new DevExpress.XtraBars.LinkPersistInfo(this.btnDelPos)});
|
|
|
+ new DevExpress.XtraBars.LinkPersistInfo(this.btnDelPos),
|
|
|
+ new DevExpress.XtraBars.LinkPersistInfo(this.btnTar)});
|
|
|
this.popupMenu2.Manager = this.barManager1;
|
|
|
this.popupMenu2.Name = "popupMenu2";
|
|
|
//
|
|
|
+ // btnTar
|
|
|
+ //
|
|
|
+ this.btnTar.Caption = "编辑目标";
|
|
|
+ this.btnTar.Id = 3;
|
|
|
+ this.btnTar.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnTar.ImageOptions.SvgImage")));
|
|
|
+ this.btnTar.Name = "btnTar";
|
|
|
+ this.btnTar.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnTar_ItemClick);
|
|
|
+ //
|
|
|
// CtrlHome
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.Controls.Add(this.layoutControl1);
|
|
|
this.Controls.Add(this.barDockControlLeft);
|
|
@@ -375,7 +384,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.Controls.Add(this.barDockControlBottom);
|
|
|
this.Controls.Add(this.barDockControlTop);
|
|
|
this.Name = "CtrlHome";
|
|
|
- this.Size = new System.Drawing.Size(822, 560);
|
|
|
+ this.Size = new System.Drawing.Size(822, 523);
|
|
|
this.Load += new System.EventHandler(this.CtrlHome_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
|
|
this.layoutControl1.ResumeLayout(false);
|
|
@@ -433,5 +442,6 @@ namespace XdCxRhDW.App.UserControl
|
|
|
private DevExpress.Utils.Html.HtmlTemplate htmlTemplate1;
|
|
|
private DevExpress.XtraBars.BarButtonItem btnDelPos;
|
|
|
private DevExpress.XtraBars.PopupMenu popupMenu2;
|
|
|
+ private DevExpress.XtraBars.BarButtonItem btnTar;
|
|
|
}
|
|
|
}
|