|
@@ -37,11 +37,11 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.tablePanel1 = new DevExpress.Utils.Layout.TablePanel();
|
|
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
|
|
this.txtMapType = new DevExpress.XtraEditors.RadioGroup();
|
|
|
- this.txtMapUrl = new DevExpress.XtraEditors.TextEdit();
|
|
|
this.btnSave = new DevExpress.XtraEditors.SimpleButton();
|
|
|
this.txtHttpPort = new DevExpress.XtraEditors.TextEdit();
|
|
|
this.txtXLDirectory = new DevExpress.XtraEditors.TextEdit();
|
|
|
this.txtYDPZThreshold = new DevExpress.XtraEditors.ButtonEdit();
|
|
|
+ this.txtLayer = new DevExpress.XtraEditors.TextEdit();
|
|
|
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
@@ -52,16 +52,16 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
|
|
|
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
|
|
|
this.itemUrl = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
- this.txtLayer = new DevExpress.XtraEditors.TextEdit();
|
|
|
+ this.txtWMSType = new DevExpress.XtraEditors.ImageComboBoxEdit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tablePanel1)).BeginInit();
|
|
|
this.tablePanel1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
|
this.layoutControl1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtMapType.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtMapUrl.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtHttpPort.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtXLDirectory.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtYDPZThreshold.Properties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtLayer.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
|
@@ -72,7 +72,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.itemUrl)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtLayer.Properties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtWMSType.Properties)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// tablePanel1
|
|
@@ -97,12 +97,12 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
this.tablePanel1.SetColumn(this.layoutControl1, 1);
|
|
|
this.layoutControl1.Controls.Add(this.txtMapType);
|
|
|
- this.layoutControl1.Controls.Add(this.txtMapUrl);
|
|
|
this.layoutControl1.Controls.Add(this.btnSave);
|
|
|
this.layoutControl1.Controls.Add(this.txtHttpPort);
|
|
|
this.layoutControl1.Controls.Add(this.txtXLDirectory);
|
|
|
this.layoutControl1.Controls.Add(this.txtYDPZThreshold);
|
|
|
this.layoutControl1.Controls.Add(this.txtLayer);
|
|
|
+ this.layoutControl1.Controls.Add(this.txtWMSType);
|
|
|
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.layoutControl1.Location = new System.Drawing.Point(147, 38);
|
|
|
this.layoutControl1.Name = "layoutControl1";
|
|
@@ -120,23 +120,12 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.txtMapType.Name = "txtMapType";
|
|
|
this.txtMapType.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
|
|
|
new DevExpress.XtraEditors.Controls.RadioGroupItem(0, "本地地图"),
|
|
|
- new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "WMTS"),
|
|
|
- new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "WMS")});
|
|
|
+ new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "WMS")});
|
|
|
this.txtMapType.Size = new System.Drawing.Size(372, 25);
|
|
|
this.txtMapType.StyleController = this.layoutControl1;
|
|
|
this.txtMapType.TabIndex = 9;
|
|
|
this.txtMapType.SelectedIndexChanged += new System.EventHandler(this.txtMapType_SelectedIndexChanged);
|
|
|
//
|
|
|
- // txtMapUrl
|
|
|
- //
|
|
|
- this.txtMapUrl.Location = new System.Drawing.Point(12, 235);
|
|
|
- this.txtMapUrl.Name = "txtMapUrl";
|
|
|
- this.txtMapUrl.Properties.AutoHeight = false;
|
|
|
- this.txtMapUrl.Size = new System.Drawing.Size(372, 22);
|
|
|
- this.txtMapUrl.StyleController = this.layoutControl1;
|
|
|
- this.txtMapUrl.TabIndex = 7;
|
|
|
- this.txtMapUrl.ToolTip = "支持瓦片数据和wms";
|
|
|
- //
|
|
|
// btnSave
|
|
|
//
|
|
|
this.btnSave.Location = new System.Drawing.Point(137, 319);
|
|
@@ -184,6 +173,15 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.txtYDPZThreshold.StyleController = this.layoutControl1;
|
|
|
this.txtYDPZThreshold.TabIndex = 7;
|
|
|
//
|
|
|
+ // txtLayer
|
|
|
+ //
|
|
|
+ this.txtLayer.Location = new System.Drawing.Point(12, 285);
|
|
|
+ this.txtLayer.Name = "txtLayer";
|
|
|
+ this.txtLayer.Properties.AutoHeight = false;
|
|
|
+ this.txtLayer.Size = new System.Drawing.Size(372, 22);
|
|
|
+ this.txtLayer.StyleController = this.layoutControl1;
|
|
|
+ this.txtLayer.TabIndex = 10;
|
|
|
+ //
|
|
|
// Root
|
|
|
//
|
|
|
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
@@ -306,27 +304,29 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
// itemUrl
|
|
|
//
|
|
|
- this.itemUrl.Control = this.txtMapUrl;
|
|
|
+ this.itemUrl.Control = this.txtWMSType;
|
|
|
this.itemUrl.Location = new System.Drawing.Point(0, 199);
|
|
|
- this.itemUrl.MaxSize = new System.Drawing.Size(0, 50);
|
|
|
- this.itemUrl.MinSize = new System.Drawing.Size(100, 50);
|
|
|
+ this.itemUrl.MinSize = new System.Drawing.Size(50, 25);
|
|
|
this.itemUrl.Name = "itemUrl";
|
|
|
this.itemUrl.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 9, 2);
|
|
|
this.itemUrl.Size = new System.Drawing.Size(376, 50);
|
|
|
this.itemUrl.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
- this.itemUrl.Text = "地图URL地址";
|
|
|
+ this.itemUrl.Text = "行政图类型";
|
|
|
this.itemUrl.TextLocation = DevExpress.Utils.Locations.Top;
|
|
|
this.itemUrl.TextSize = new System.Drawing.Size(96, 14);
|
|
|
this.itemUrl.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
|
|
//
|
|
|
- // txtLayer
|
|
|
+ // txtWMSType
|
|
|
//
|
|
|
- this.txtLayer.Location = new System.Drawing.Point(12, 285);
|
|
|
- this.txtLayer.Name = "txtLayer";
|
|
|
- this.txtLayer.Properties.AutoHeight = false;
|
|
|
- this.txtLayer.Size = new System.Drawing.Size(372, 22);
|
|
|
- this.txtLayer.StyleController = this.layoutControl1;
|
|
|
- this.txtLayer.TabIndex = 10;
|
|
|
+ this.txtWMSType.Location = new System.Drawing.Point(12, 235);
|
|
|
+ this.txtWMSType.Name = "txtWMSType";
|
|
|
+ this.txtWMSType.Properties.AutoHeight = false;
|
|
|
+ this.txtWMSType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.txtWMSType.Size = new System.Drawing.Size(372, 22);
|
|
|
+ this.txtWMSType.StyleController = this.layoutControl1;
|
|
|
+ this.txtWMSType.TabIndex = 7;
|
|
|
+ this.txtWMSType.ToolTip = "支持瓦片数据和wms";
|
|
|
//
|
|
|
// CtrlSysSettings
|
|
|
//
|
|
@@ -341,10 +341,10 @@ namespace XdCxRhDW.App.UserControl
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
|
|
this.layoutControl1.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtMapType.Properties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtMapUrl.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtHttpPort.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtXLDirectory.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtYDPZThreshold.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtLayer.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
|
@@ -355,7 +355,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.itemUrl)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtLayer.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtWMSType.Properties)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
@@ -371,7 +371,6 @@ namespace XdCxRhDW.App.UserControl
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
|
|
private DevExpress.XtraEditors.TextEdit txtXLDirectory;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
|
|
|
- private DevExpress.XtraEditors.TextEdit txtMapUrl;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem itemUrl;
|
|
|
private DevExpress.XtraEditors.ButtonEdit txtYDPZThreshold;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
|
@@ -381,5 +380,6 @@ namespace XdCxRhDW.App.UserControl
|
|
|
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
|
|
|
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
|
|
|
private DevExpress.XtraEditors.TextEdit txtLayer;
|
|
|
+ private DevExpress.XtraEditors.ImageComboBoxEdit txtWMSType;
|
|
|
}
|
|
|
}
|