|
@@ -39,9 +39,9 @@
|
|
|
this.Column1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
this.getAllData = new System.Windows.Forms.Button();
|
|
|
this.saveData = new System.Windows.Forms.Button();
|
|
|
- this.allData = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.chooseAll = new UAS_MES.CustomControl.ButtonUtil.ChooseAllButton();
|
|
|
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
+ this.allData = new System.Windows.Forms.BindingSource(this.components);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.showDataGrid)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.allData)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
@@ -49,44 +49,47 @@
|
|
|
|
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
- this.label2.Location = new System.Drawing.Point(226, 31);
|
|
|
+ this.label2.Location = new System.Drawing.Point(183, 26);
|
|
|
this.label2.Name = "label2";
|
|
|
- this.label2.Size = new System.Drawing.Size(44, 18);
|
|
|
+ this.label2.Size = new System.Drawing.Size(39, 15);
|
|
|
this.label2.TabIndex = 14;
|
|
|
this.label2.Text = "Port";
|
|
|
|
|
|
|
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
- this.label1.Location = new System.Drawing.Point(56, 31);
|
|
|
+ this.label1.Location = new System.Drawing.Point(32, 26);
|
|
|
this.label1.Name = "label1";
|
|
|
- this.label1.Size = new System.Drawing.Size(26, 18);
|
|
|
+ this.label1.Size = new System.Drawing.Size(23, 15);
|
|
|
this.label1.TabIndex = 13;
|
|
|
this.label1.Text = "IP";
|
|
|
|
|
|
|
|
|
|
|
|
- this.txtPort.Location = new System.Drawing.Point(269, 27);
|
|
|
+ this.txtPort.Location = new System.Drawing.Point(230, 22);
|
|
|
+ this.txtPort.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.txtPort.Name = "txtPort";
|
|
|
- this.txtPort.Size = new System.Drawing.Size(53, 28);
|
|
|
+ this.txtPort.Size = new System.Drawing.Size(48, 25);
|
|
|
this.txtPort.TabIndex = 12;
|
|
|
this.txtPort.Text = "4370";
|
|
|
|
|
|
|
|
|
|
|
|
- this.txtIP.Location = new System.Drawing.Point(87, 27);
|
|
|
+ this.txtIP.Location = new System.Drawing.Point(59, 22);
|
|
|
+ this.txtIP.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.txtIP.Name = "txtIP";
|
|
|
- this.txtIP.Size = new System.Drawing.Size(95, 28);
|
|
|
+ this.txtIP.Size = new System.Drawing.Size(118, 25);
|
|
|
this.txtIP.TabIndex = 11;
|
|
|
this.txtIP.Text = "192.168.1.201";
|
|
|
|
|
|
|
|
|
|
|
|
- this.btnConnect.Location = new System.Drawing.Point(412, 27);
|
|
|
+ this.btnConnect.Location = new System.Drawing.Point(348, 22);
|
|
|
+ this.btnConnect.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.btnConnect.Name = "btnConnect";
|
|
|
- this.btnConnect.Size = new System.Drawing.Size(78, 23);
|
|
|
+ this.btnConnect.Size = new System.Drawing.Size(69, 25);
|
|
|
this.btnConnect.TabIndex = 10;
|
|
|
- this.btnConnect.Text = "Connect";
|
|
|
+ this.btnConnect.Text = "连接";
|
|
|
this.btnConnect.UseVisualStyleBackColor = true;
|
|
|
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
|
|
|
|
|
@@ -94,9 +97,9 @@
|
|
|
|
|
|
this.lblState.AutoSize = true;
|
|
|
this.lblState.ForeColor = System.Drawing.Color.Crimson;
|
|
|
- this.lblState.Location = new System.Drawing.Point(565, 32);
|
|
|
+ this.lblState.Location = new System.Drawing.Point(484, 27);
|
|
|
this.lblState.Name = "lblState";
|
|
|
- this.lblState.Size = new System.Drawing.Size(242, 18);
|
|
|
+ this.lblState.Size = new System.Drawing.Size(215, 15);
|
|
|
this.lblState.TabIndex = 15;
|
|
|
this.lblState.Text = "Current State:Disconnected";
|
|
|
|
|
@@ -108,10 +111,11 @@
|
|
|
this.showDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.Column1});
|
|
|
this.showDataGrid.Enabled = false;
|
|
|
- this.showDataGrid.Location = new System.Drawing.Point(59, 191);
|
|
|
+ this.showDataGrid.Location = new System.Drawing.Point(23, 159);
|
|
|
+ this.showDataGrid.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.showDataGrid.Name = "showDataGrid";
|
|
|
this.showDataGrid.RowTemplate.Height = 30;
|
|
|
- this.showDataGrid.Size = new System.Drawing.Size(792, 358);
|
|
|
+ this.showDataGrid.Size = new System.Drawing.Size(944, 387);
|
|
|
this.showDataGrid.TabIndex = 16;
|
|
|
|
|
|
|
|
@@ -121,9 +125,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
- this.getAllData.Location = new System.Drawing.Point(59, 97);
|
|
|
+ this.getAllData.Location = new System.Drawing.Point(26, 81);
|
|
|
+ this.getAllData.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.getAllData.Name = "getAllData";
|
|
|
- this.getAllData.Size = new System.Drawing.Size(151, 37);
|
|
|
+ this.getAllData.Size = new System.Drawing.Size(134, 31);
|
|
|
this.getAllData.TabIndex = 17;
|
|
|
this.getAllData.Text = "获取考勤数据";
|
|
|
this.getAllData.UseVisualStyleBackColor = true;
|
|
@@ -131,9 +136,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
- this.saveData.Location = new System.Drawing.Point(683, 97);
|
|
|
+ this.saveData.Location = new System.Drawing.Point(607, 81);
|
|
|
+ this.saveData.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.saveData.Name = "saveData";
|
|
|
- this.saveData.Size = new System.Drawing.Size(145, 37);
|
|
|
+ this.saveData.Size = new System.Drawing.Size(129, 31);
|
|
|
this.saveData.TabIndex = 18;
|
|
|
this.saveData.Text = "保存数据";
|
|
|
this.saveData.UseVisualStyleBackColor = true;
|
|
@@ -141,9 +147,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
- this.chooseAll.Location = new System.Drawing.Point(59, 149);
|
|
|
+ this.chooseAll.Location = new System.Drawing.Point(26, 124);
|
|
|
+ this.chooseAll.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.chooseAll.Name = "chooseAll";
|
|
|
- this.chooseAll.Size = new System.Drawing.Size(83, 28);
|
|
|
+ this.chooseAll.Size = new System.Drawing.Size(59, 23);
|
|
|
this.chooseAll.TabIndex = 19;
|
|
|
this.chooseAll.Text = "全选";
|
|
|
this.chooseAll.UseVisualStyleBackColor = true;
|
|
@@ -155,9 +162,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(908, 583);
|
|
|
+ this.ClientSize = new System.Drawing.Size(989, 564);
|
|
|
this.Controls.Add(this.chooseAll);
|
|
|
this.Controls.Add(this.saveData);
|
|
|
this.Controls.Add(this.getAllData);
|
|
@@ -168,6 +175,7 @@
|
|
|
this.Controls.Add(this.txtPort);
|
|
|
this.Controls.Add(this.txtIP);
|
|
|
this.Controls.Add(this.btnConnect);
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.Name = "Form1";
|
|
|
this.Text = "Form1";
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|