|
@@ -33,13 +33,9 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
|
|
this.txtMapService = new DevExpress.XtraEditors.TextEdit();
|
|
|
this.btnSave = new DevExpress.XtraEditors.SimpleButton();
|
|
|
- this.txtPort = new DevExpress.XtraEditors.TextEdit();
|
|
|
- this.txtIp = new DevExpress.XtraEditors.ComboBoxEdit();
|
|
|
this.txtHttpPort = new DevExpress.XtraEditors.TextEdit();
|
|
|
this.txtXLDirectory = new DevExpress.XtraEditors.TextEdit();
|
|
|
- this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
- this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
@@ -49,13 +45,9 @@ namespace XdCxRhDW.App.UserControl
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
|
this.layoutControl1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtMapService.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtPort.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtIp.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtHttpPort.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtXLDirectory.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
|
|
@@ -74,7 +66,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.tablePanel1.Name = "tablePanel1";
|
|
|
this.tablePanel1.Rows.AddRange(new DevExpress.Utils.Layout.TablePanelRow[] {
|
|
|
new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.Relative, 1F),
|
|
|
- new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.Absolute, 473.1992F),
|
|
|
+ new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.Absolute, 360F),
|
|
|
new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.Relative, 1F)});
|
|
|
this.tablePanel1.Size = new System.Drawing.Size(716, 628);
|
|
|
this.tablePanel1.TabIndex = 0;
|
|
@@ -85,24 +77,20 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.tablePanel1.SetColumn(this.layoutControl1, 1);
|
|
|
this.layoutControl1.Controls.Add(this.txtMapService);
|
|
|
this.layoutControl1.Controls.Add(this.btnSave);
|
|
|
- this.layoutControl1.Controls.Add(this.txtPort);
|
|
|
- this.layoutControl1.Controls.Add(this.txtIp);
|
|
|
this.layoutControl1.Controls.Add(this.txtHttpPort);
|
|
|
this.layoutControl1.Controls.Add(this.txtXLDirectory);
|
|
|
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
- this.layoutControl1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
- this.layoutControlItem2});
|
|
|
- this.layoutControl1.Location = new System.Drawing.Point(252, 79);
|
|
|
+ this.layoutControl1.Location = new System.Drawing.Point(252, 136);
|
|
|
this.layoutControl1.Name = "layoutControl1";
|
|
|
this.layoutControl1.Root = this.Root;
|
|
|
this.tablePanel1.SetRow(this.layoutControl1, 1);
|
|
|
- this.layoutControl1.Size = new System.Drawing.Size(213, 469);
|
|
|
+ this.layoutControl1.Size = new System.Drawing.Size(213, 356);
|
|
|
this.layoutControl1.TabIndex = 0;
|
|
|
this.layoutControl1.Text = "layoutControl1";
|
|
|
//
|
|
|
// txtMapService
|
|
|
//
|
|
|
- this.txtMapService.Location = new System.Drawing.Point(12, 270);
|
|
|
+ this.txtMapService.Location = new System.Drawing.Point(12, 190);
|
|
|
this.txtMapService.Name = "txtMapService";
|
|
|
this.txtMapService.Size = new System.Drawing.Size(189, 22);
|
|
|
this.txtMapService.StyleController = this.layoutControl1;
|
|
@@ -110,7 +98,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
// btnSave
|
|
|
//
|
|
|
- this.btnSave.Location = new System.Drawing.Point(12, 332);
|
|
|
+ this.btnSave.Location = new System.Drawing.Point(12, 252);
|
|
|
this.btnSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.btnSave.MaximumSize = new System.Drawing.Size(0, 22);
|
|
|
this.btnSave.MinimumSize = new System.Drawing.Size(0, 22);
|
|
@@ -121,29 +109,10 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.btnSave.Text = "保存";
|
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
|
//
|
|
|
- // txtPort
|
|
|
- //
|
|
|
- this.txtPort.EditValue = "16010";
|
|
|
- this.txtPort.Location = new System.Drawing.Point(11, 133);
|
|
|
- this.txtPort.Name = "txtPort";
|
|
|
- this.txtPort.Size = new System.Drawing.Size(172, 22);
|
|
|
- this.txtPort.StyleController = this.layoutControl1;
|
|
|
- this.txtPort.TabIndex = 5;
|
|
|
- //
|
|
|
- // txtIp
|
|
|
- //
|
|
|
- this.txtIp.Location = new System.Drawing.Point(12, 30);
|
|
|
- this.txtIp.Name = "txtIp";
|
|
|
- this.txtIp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtIp.Size = new System.Drawing.Size(189, 22);
|
|
|
- this.txtIp.StyleController = this.layoutControl1;
|
|
|
- this.txtIp.TabIndex = 4;
|
|
|
- //
|
|
|
// txtHttpPort
|
|
|
//
|
|
|
this.txtHttpPort.EditValue = "8091";
|
|
|
- this.txtHttpPort.Location = new System.Drawing.Point(12, 110);
|
|
|
+ this.txtHttpPort.Location = new System.Drawing.Point(12, 30);
|
|
|
this.txtHttpPort.Name = "txtHttpPort";
|
|
|
this.txtHttpPort.Size = new System.Drawing.Size(189, 22);
|
|
|
this.txtHttpPort.StyleController = this.layoutControl1;
|
|
@@ -151,60 +120,33 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
// txtXLDirectory
|
|
|
//
|
|
|
- this.txtXLDirectory.Location = new System.Drawing.Point(12, 190);
|
|
|
+ this.txtXLDirectory.Location = new System.Drawing.Point(12, 110);
|
|
|
this.txtXLDirectory.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.txtXLDirectory.Name = "txtXLDirectory";
|
|
|
this.txtXLDirectory.Size = new System.Drawing.Size(189, 22);
|
|
|
this.txtXLDirectory.StyleController = this.layoutControl1;
|
|
|
this.txtXLDirectory.TabIndex = 6;
|
|
|
//
|
|
|
- // layoutControlItem2
|
|
|
- //
|
|
|
- this.layoutControlItem2.Control = this.txtPort;
|
|
|
- this.layoutControlItem2.Location = new System.Drawing.Point(0, 107);
|
|
|
- this.layoutControlItem2.MinSize = new System.Drawing.Size(76, 61);
|
|
|
- this.layoutControlItem2.Name = "layoutControlItem2";
|
|
|
- this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 22, 2);
|
|
|
- this.layoutControlItem2.Size = new System.Drawing.Size(201, 105);
|
|
|
- this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
- this.layoutControlItem2.Text = "TCP接口端口";
|
|
|
- this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Top;
|
|
|
- this.layoutControlItem2.TextSize = new System.Drawing.Size(76, 14);
|
|
|
- //
|
|
|
// Root
|
|
|
//
|
|
|
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
|
this.Root.GroupBordersVisible = false;
|
|
|
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
- this.layoutControlItem1,
|
|
|
this.layoutControlItem3,
|
|
|
this.layoutControlItem4,
|
|
|
this.layoutControlItem5,
|
|
|
this.layoutControlItem6});
|
|
|
this.Root.Name = "Root";
|
|
|
- this.Root.Size = new System.Drawing.Size(213, 469);
|
|
|
+ this.Root.Size = new System.Drawing.Size(213, 356);
|
|
|
this.Root.TextVisible = false;
|
|
|
//
|
|
|
- // layoutControlItem1
|
|
|
- //
|
|
|
- this.layoutControlItem1.Control = this.txtIp;
|
|
|
- this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.layoutControlItem1.MaxSize = new System.Drawing.Size(0, 80);
|
|
|
- this.layoutControlItem1.MinSize = new System.Drawing.Size(89, 80);
|
|
|
- this.layoutControlItem1.Name = "layoutControlItem1";
|
|
|
- this.layoutControlItem1.Size = new System.Drawing.Size(193, 80);
|
|
|
- this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
- this.layoutControlItem1.Text = "本机IP";
|
|
|
- this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top;
|
|
|
- this.layoutControlItem1.TextSize = new System.Drawing.Size(96, 14);
|
|
|
- //
|
|
|
// layoutControlItem3
|
|
|
//
|
|
|
this.layoutControlItem3.Control = this.btnSave;
|
|
|
- this.layoutControlItem3.Location = new System.Drawing.Point(0, 320);
|
|
|
+ this.layoutControlItem3.Location = new System.Drawing.Point(0, 240);
|
|
|
this.layoutControlItem3.MinSize = new System.Drawing.Size(36, 26);
|
|
|
this.layoutControlItem3.Name = "layoutControlItem3";
|
|
|
- this.layoutControlItem3.Size = new System.Drawing.Size(193, 129);
|
|
|
+ this.layoutControlItem3.Size = new System.Drawing.Size(193, 96);
|
|
|
this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
|
|
|
this.layoutControlItem3.TextVisible = false;
|
|
@@ -214,7 +156,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControlItem4.Control = this.txtHttpPort;
|
|
|
this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
|
|
|
this.layoutControlItem4.CustomizationFormText = "HTTP服务端口";
|
|
|
- this.layoutControlItem4.Location = new System.Drawing.Point(0, 80);
|
|
|
+ this.layoutControlItem4.Location = new System.Drawing.Point(0, 0);
|
|
|
this.layoutControlItem4.MaxSize = new System.Drawing.Size(0, 80);
|
|
|
this.layoutControlItem4.MinSize = new System.Drawing.Size(89, 80);
|
|
|
this.layoutControlItem4.Name = "layoutControlItem4";
|
|
@@ -228,7 +170,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
//
|
|
|
this.layoutControlItem5.Control = this.txtXLDirectory;
|
|
|
this.layoutControlItem5.CustomizationFormText = "星历自动导入目录";
|
|
|
- this.layoutControlItem5.Location = new System.Drawing.Point(0, 160);
|
|
|
+ this.layoutControlItem5.Location = new System.Drawing.Point(0, 80);
|
|
|
this.layoutControlItem5.MaxSize = new System.Drawing.Size(0, 80);
|
|
|
this.layoutControlItem5.MinSize = new System.Drawing.Size(89, 80);
|
|
|
this.layoutControlItem5.Name = "layoutControlItem5";
|
|
@@ -241,7 +183,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
// layoutControlItem6
|
|
|
//
|
|
|
this.layoutControlItem6.Control = this.txtMapService;
|
|
|
- this.layoutControlItem6.Location = new System.Drawing.Point(0, 240);
|
|
|
+ this.layoutControlItem6.Location = new System.Drawing.Point(0, 160);
|
|
|
this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 80);
|
|
|
this.layoutControlItem6.MinSize = new System.Drawing.Size(73, 80);
|
|
|
this.layoutControlItem6.Name = "layoutControlItem6";
|
|
@@ -264,13 +206,9 @@ namespace XdCxRhDW.App.UserControl
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
|
|
this.layoutControl1.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtMapService.Properties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtPort.Properties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtIp.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtHttpPort.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtXLDirectory.Properties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
|
|
@@ -284,11 +222,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
private DevExpress.Utils.Layout.TablePanel tablePanel1;
|
|
|
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
|
|
private DevExpress.XtraLayout.LayoutControlGroup Root;
|
|
|
- private DevExpress.XtraEditors.TextEdit txtPort;
|
|
|
- private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
|
|
- private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
|
|
private DevExpress.XtraEditors.SimpleButton btnSave;
|
|
|
- private DevExpress.XtraEditors.ComboBoxEdit txtIp;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
|
|
private DevExpress.XtraEditors.TextEdit txtHttpPort;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|