|
@@ -32,10 +32,10 @@ partial class MainForm
|
|
|
CancelBtn = new Button();
|
|
|
splitContainer1 = new SplitContainer();
|
|
|
tableLayoutPanel1 = new TableLayoutPanel();
|
|
|
+ cityNameCbox = new ComboBox();
|
|
|
OkBtn = new Button();
|
|
|
- guiderCBox = new CheckBox();
|
|
|
- thirdAccountCBox = new CheckBox();
|
|
|
- communityInfoCBox = new CheckBox();
|
|
|
+ startTimePicker = new DateTimePicker();
|
|
|
+ endTimePicker = new DateTimePicker();
|
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
|
|
|
splitContainer1.Panel1.SuspendLayout();
|
|
|
splitContainer1.Panel2.SuspendLayout();
|
|
@@ -51,17 +51,20 @@ partial class MainForm
|
|
|
logTxt.Font = new Font("Courier New", 12F, FontStyle.Bold, GraphicsUnit.Point);
|
|
|
logTxt.ForeColor = Color.LimeGreen;
|
|
|
logTxt.Location = new Point(0, 0);
|
|
|
+ logTxt.Margin = new Padding(3, 4, 3, 4);
|
|
|
logTxt.Multiline = true;
|
|
|
logTxt.Name = "logTxt";
|
|
|
logTxt.ScrollBars = ScrollBars.Vertical;
|
|
|
- logTxt.Size = new Size(739, 526);
|
|
|
+ logTxt.Size = new Size(823, 701);
|
|
|
logTxt.TabIndex = 1;
|
|
|
//
|
|
|
// CancelBtn
|
|
|
//
|
|
|
- CancelBtn.Location = new Point(103, 3);
|
|
|
+ CancelBtn.Dock = DockStyle.Fill;
|
|
|
+ CancelBtn.Location = new Point(128, 482);
|
|
|
+ CancelBtn.Margin = new Padding(3, 4, 3, 4);
|
|
|
CancelBtn.Name = "CancelBtn";
|
|
|
- CancelBtn.Size = new Size(75, 23);
|
|
|
+ CancelBtn.Size = new Size(119, 215);
|
|
|
CancelBtn.TabIndex = 0;
|
|
|
CancelBtn.Text = "停止任务";
|
|
|
CancelBtn.UseVisualStyleBackColor = true;
|
|
@@ -73,6 +76,7 @@ partial class MainForm
|
|
|
splitContainer1.FixedPanel = FixedPanel.Panel1;
|
|
|
splitContainer1.IsSplitterFixed = true;
|
|
|
splitContainer1.Location = new Point(0, 0);
|
|
|
+ splitContainer1.Margin = new Padding(3, 4, 3, 4);
|
|
|
splitContainer1.Name = "splitContainer1";
|
|
|
//
|
|
|
// splitContainer1.Panel1
|
|
@@ -83,8 +87,9 @@ partial class MainForm
|
|
|
//
|
|
|
splitContainer1.Panel2.Controls.Add(logTxt);
|
|
|
splitContainer1.Panel2MinSize = 200;
|
|
|
- splitContainer1.Size = new Size(943, 526);
|
|
|
- splitContainer1.SplitterDistance = 200;
|
|
|
+ splitContainer1.Size = new Size(1078, 701);
|
|
|
+ splitContainer1.SplitterDistance = 250;
|
|
|
+ splitContainer1.SplitterWidth = 5;
|
|
|
splitContainer1.TabIndex = 2;
|
|
|
//
|
|
|
// tableLayoutPanel1
|
|
@@ -92,68 +97,68 @@ partial class MainForm
|
|
|
tableLayoutPanel1.ColumnCount = 2;
|
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|
|
- tableLayoutPanel1.Controls.Add(communityInfoCBox, 0, 2);
|
|
|
- tableLayoutPanel1.Controls.Add(OkBtn, 0, 0);
|
|
|
- tableLayoutPanel1.Controls.Add(CancelBtn, 1, 0);
|
|
|
- tableLayoutPanel1.Controls.Add(guiderCBox, 0, 1);
|
|
|
- tableLayoutPanel1.Controls.Add(thirdAccountCBox, 1, 1);
|
|
|
+ tableLayoutPanel1.Controls.Add(cityNameCbox, 0, 0);
|
|
|
+ tableLayoutPanel1.Controls.Add(OkBtn, 0, 2);
|
|
|
+ tableLayoutPanel1.Controls.Add(CancelBtn, 1, 2);
|
|
|
+ tableLayoutPanel1.Controls.Add(startTimePicker, 0, 1);
|
|
|
+ tableLayoutPanel1.Controls.Add(endTimePicker, 1, 1);
|
|
|
tableLayoutPanel1.Dock = DockStyle.Fill;
|
|
|
tableLayoutPanel1.Location = new Point(0, 0);
|
|
|
+ tableLayoutPanel1.Margin = new Padding(3, 4, 3, 4);
|
|
|
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
|
tableLayoutPanel1.RowCount = 3;
|
|
|
- tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
|
|
- tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
|
|
- tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 175F));
|
|
|
- tableLayoutPanel1.Size = new Size(200, 526);
|
|
|
+ tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 42.27848F));
|
|
|
+ tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 57.72152F));
|
|
|
+ tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 222F));
|
|
|
+ tableLayoutPanel1.Size = new Size(250, 701);
|
|
|
tableLayoutPanel1.TabIndex = 1;
|
|
|
//
|
|
|
+ // cityNameCbox
|
|
|
+ //
|
|
|
+ cityNameCbox.Dock = DockStyle.Fill;
|
|
|
+ cityNameCbox.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
+ cityNameCbox.FormattingEnabled = true;
|
|
|
+ cityNameCbox.Location = new Point(3, 3);
|
|
|
+ cityNameCbox.Name = "cityNameCbox";
|
|
|
+ cityNameCbox.Size = new Size(119, 28);
|
|
|
+ cityNameCbox.TabIndex = 1;
|
|
|
+ //
|
|
|
// OkBtn
|
|
|
//
|
|
|
- OkBtn.Location = new Point(3, 3);
|
|
|
+ OkBtn.Dock = DockStyle.Fill;
|
|
|
+ OkBtn.Location = new Point(3, 482);
|
|
|
+ OkBtn.Margin = new Padding(3, 4, 3, 4);
|
|
|
OkBtn.Name = "OkBtn";
|
|
|
- OkBtn.Size = new Size(75, 23);
|
|
|
+ OkBtn.Size = new Size(119, 215);
|
|
|
OkBtn.TabIndex = 0;
|
|
|
OkBtn.Text = "开始导入";
|
|
|
OkBtn.UseVisualStyleBackColor = true;
|
|
|
OkBtn.Click += OkBtn_Click;
|
|
|
//
|
|
|
- // guiderCBox
|
|
|
- //
|
|
|
- guiderCBox.AutoSize = true;
|
|
|
- guiderCBox.Location = new Point(3, 178);
|
|
|
- guiderCBox.Name = "guiderCBox";
|
|
|
- guiderCBox.Size = new Size(91, 19);
|
|
|
- guiderCBox.TabIndex = 1;
|
|
|
- guiderCBox.Text = "导入网格员";
|
|
|
- guiderCBox.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // thirdAccountCBox
|
|
|
+ // startTimePicker
|
|
|
//
|
|
|
- thirdAccountCBox.AutoSize = true;
|
|
|
- thirdAccountCBox.Location = new Point(103, 178);
|
|
|
- thirdAccountCBox.Name = "thirdAccountCBox";
|
|
|
- thirdAccountCBox.Size = new Size(94, 19);
|
|
|
- thirdAccountCBox.TabIndex = 2;
|
|
|
- thirdAccountCBox.Text = "导入微信账号";
|
|
|
- thirdAccountCBox.UseVisualStyleBackColor = true;
|
|
|
+ startTimePicker.Dock = DockStyle.Fill;
|
|
|
+ startTimePicker.Location = new Point(3, 205);
|
|
|
+ startTimePicker.Name = "startTimePicker";
|
|
|
+ startTimePicker.Size = new Size(119, 27);
|
|
|
+ startTimePicker.TabIndex = 2;
|
|
|
//
|
|
|
- // communityInfoCBox
|
|
|
+ // endTimePicker
|
|
|
//
|
|
|
- communityInfoCBox.AutoSize = true;
|
|
|
- communityInfoCBox.Location = new Point(3, 353);
|
|
|
- communityInfoCBox.Name = "communityInfoCBox";
|
|
|
- communityInfoCBox.Size = new Size(94, 19);
|
|
|
- communityInfoCBox.TabIndex = 3;
|
|
|
- communityInfoCBox.Text = "导入社区信息";
|
|
|
- communityInfoCBox.UseVisualStyleBackColor = true;
|
|
|
+ endTimePicker.Dock = DockStyle.Fill;
|
|
|
+ endTimePicker.Location = new Point(128, 205);
|
|
|
+ endTimePicker.Name = "endTimePicker";
|
|
|
+ endTimePicker.Size = new Size(119, 27);
|
|
|
+ endTimePicker.TabIndex = 3;
|
|
|
//
|
|
|
// MainForm
|
|
|
//
|
|
|
AcceptButton = OkBtn;
|
|
|
- AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
+ AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
- ClientSize = new Size(943, 526);
|
|
|
+ ClientSize = new Size(1078, 701);
|
|
|
Controls.Add(splitContainer1);
|
|
|
+ Margin = new Padding(3, 4, 3, 4);
|
|
|
Name = "MainForm";
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
Text = "随手拍数据导入";
|
|
@@ -163,7 +168,6 @@ partial class MainForm
|
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
|
|
|
splitContainer1.ResumeLayout(false);
|
|
|
tableLayoutPanel1.ResumeLayout(false);
|
|
|
- tableLayoutPanel1.PerformLayout();
|
|
|
ResumeLayout(false);
|
|
|
}
|
|
|
|
|
@@ -172,8 +176,8 @@ partial class MainForm
|
|
|
private Button CancelBtn;
|
|
|
private SplitContainer splitContainer1;
|
|
|
private TableLayoutPanel tableLayoutPanel1;
|
|
|
+ private ComboBox cityNameCbox;
|
|
|
private Button OkBtn;
|
|
|
- private CheckBox guiderCBox;
|
|
|
- private CheckBox thirdAccountCBox;
|
|
|
- private CheckBox communityInfoCBox;
|
|
|
+ private DateTimePicker startTimePicker;
|
|
|
+ private DateTimePicker endTimePicker;
|
|
|
}
|