|
@@ -43,6 +43,8 @@
|
|
|
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
this.ExportEmp = new System.Windows.Forms.Button();
|
|
|
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
|
|
|
+ this.Master = new System.Windows.Forms.ComboBox();
|
|
|
+ this.label3 = new System.Windows.Forms.Label();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.showDataGrid)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.allData)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
@@ -51,10 +53,10 @@
|
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
this.label2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label2.Location = new System.Drawing.Point(167, 17);
|
|
|
- this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
+ this.label2.Location = new System.Drawing.Point(334, 34);
|
|
|
+ this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
this.label2.Name = "label2";
|
|
|
- this.label2.Size = new System.Drawing.Size(42, 21);
|
|
|
+ this.label2.Size = new System.Drawing.Size(82, 41);
|
|
|
this.label2.TabIndex = 14;
|
|
|
this.label2.Text = "Port";
|
|
|
|
|
@@ -62,36 +64,36 @@
|
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label1.Location = new System.Drawing.Point(24, 16);
|
|
|
- this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
+ this.label1.Location = new System.Drawing.Point(48, 32);
|
|
|
+ this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
this.label1.Name = "label1";
|
|
|
- this.label1.Size = new System.Drawing.Size(25, 21);
|
|
|
+ this.label1.Size = new System.Drawing.Size(47, 41);
|
|
|
this.label1.TabIndex = 13;
|
|
|
this.label1.Text = "IP";
|
|
|
|
|
|
|
|
|
|
|
|
- this.txtPort.Location = new System.Drawing.Point(215, 17);
|
|
|
- this.txtPort.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
|
|
|
+ this.txtPort.Location = new System.Drawing.Point(430, 34);
|
|
|
+ this.txtPort.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
|
|
this.txtPort.Name = "txtPort";
|
|
|
- this.txtPort.Size = new System.Drawing.Size(37, 21);
|
|
|
+ this.txtPort.Size = new System.Drawing.Size(70, 35);
|
|
|
this.txtPort.TabIndex = 12;
|
|
|
|
|
|
|
|
|
|
|
|
- this.txtIP.Location = new System.Drawing.Point(58, 17);
|
|
|
- this.txtIP.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
|
|
|
+ this.txtIP.Location = new System.Drawing.Point(116, 34);
|
|
|
+ this.txtIP.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
|
|
this.txtIP.Name = "txtIP";
|
|
|
- this.txtIP.Size = new System.Drawing.Size(99, 21);
|
|
|
+ this.txtIP.Size = new System.Drawing.Size(194, 35);
|
|
|
this.txtIP.TabIndex = 11;
|
|
|
|
|
|
|
|
|
|
|
|
this.btnConnect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.btnConnect.Location = new System.Drawing.Point(279, 15);
|
|
|
- this.btnConnect.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
|
|
|
+ this.btnConnect.Location = new System.Drawing.Point(558, 30);
|
|
|
+ this.btnConnect.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
|
|
this.btnConnect.Name = "btnConnect";
|
|
|
- this.btnConnect.Size = new System.Drawing.Size(50, 25);
|
|
|
+ this.btnConnect.Size = new System.Drawing.Size(100, 50);
|
|
|
this.btnConnect.TabIndex = 10;
|
|
|
this.btnConnect.Text = "连接";
|
|
|
this.btnConnect.UseVisualStyleBackColor = true;
|
|
@@ -101,10 +103,10 @@
|
|
|
|
|
|
this.lblState.AutoSize = true;
|
|
|
this.lblState.ForeColor = System.Drawing.Color.Crimson;
|
|
|
- this.lblState.Location = new System.Drawing.Point(359, 22);
|
|
|
- this.lblState.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
+ this.lblState.Location = new System.Drawing.Point(718, 44);
|
|
|
+ this.lblState.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
this.lblState.Name = "lblState";
|
|
|
- this.lblState.Size = new System.Drawing.Size(71, 12);
|
|
|
+ this.lblState.Size = new System.Drawing.Size(142, 24);
|
|
|
this.lblState.TabIndex = 15;
|
|
|
this.lblState.Text = "状态:未连接";
|
|
|
|
|
@@ -117,11 +119,11 @@
|
|
|
this.cl_cardcode,
|
|
|
this.cl_time});
|
|
|
this.showDataGrid.Enabled = false;
|
|
|
- this.showDataGrid.Location = new System.Drawing.Point(17, 59);
|
|
|
- this.showDataGrid.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
|
|
|
+ this.showDataGrid.Location = new System.Drawing.Point(34, 116);
|
|
|
+ this.showDataGrid.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
|
|
this.showDataGrid.Name = "showDataGrid";
|
|
|
this.showDataGrid.RowTemplate.Height = 30;
|
|
|
- this.showDataGrid.Size = new System.Drawing.Size(795, 377);
|
|
|
+ this.showDataGrid.Size = new System.Drawing.Size(1734, 756);
|
|
|
this.showDataGrid.TabIndex = 16;
|
|
|
this.showDataGrid.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.showDataGrid_DataError);
|
|
|
|
|
@@ -143,10 +145,10 @@
|
|
|
|
|
|
|
|
|
this.getAllData.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
|
|
- this.getAllData.Location = new System.Drawing.Point(560, 18);
|
|
|
- this.getAllData.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
|
|
|
+ this.getAllData.Location = new System.Drawing.Point(1544, 8);
|
|
|
+ this.getAllData.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
|
|
this.getAllData.Name = "getAllData";
|
|
|
- this.getAllData.Size = new System.Drawing.Size(102, 25);
|
|
|
+ this.getAllData.Size = new System.Drawing.Size(204, 50);
|
|
|
this.getAllData.TabIndex = 17;
|
|
|
this.getAllData.Text = "同步考勤数据";
|
|
|
this.getAllData.UseVisualStyleBackColor = false;
|
|
@@ -160,20 +162,42 @@
|
|
|
|
|
|
|
|
|
this.ExportEmp.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
|
|
- this.ExportEmp.Location = new System.Drawing.Point(682, 18);
|
|
|
- this.ExportEmp.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
|
|
|
+ this.ExportEmp.Location = new System.Drawing.Point(1544, 62);
|
|
|
+ this.ExportEmp.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
|
|
this.ExportEmp.Name = "ExportEmp";
|
|
|
- this.ExportEmp.Size = new System.Drawing.Size(102, 25);
|
|
|
+ this.ExportEmp.Size = new System.Drawing.Size(204, 50);
|
|
|
this.ExportEmp.TabIndex = 18;
|
|
|
this.ExportEmp.Text = "导出人员数据";
|
|
|
this.ExportEmp.UseVisualStyleBackColor = false;
|
|
|
this.ExportEmp.Click += new System.EventHandler(this.ExportEmp_Click);
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ this.Master.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.Master.FormattingEnabled = true;
|
|
|
+ this.Master.Location = new System.Drawing.Point(1018, 41);
|
|
|
+ this.Master.Name = "Master";
|
|
|
+ this.Master.Size = new System.Drawing.Size(480, 32);
|
|
|
+ this.Master.TabIndex = 19;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.label3.AutoSize = true;
|
|
|
+ this.label3.ForeColor = System.Drawing.Color.Black;
|
|
|
+ this.label3.Location = new System.Drawing.Point(905, 44);
|
|
|
+ this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.label3.Name = "label3";
|
|
|
+ this.label3.Size = new System.Drawing.Size(106, 24);
|
|
|
+ this.label3.TabIndex = 20;
|
|
|
+ this.label3.Text = "选择账套";
|
|
|
+
|
|
|
|
|
|
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(823, 451);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1781, 902);
|
|
|
+ this.Controls.Add(this.label3);
|
|
|
+ this.Controls.Add(this.Master);
|
|
|
this.Controls.Add(this.ExportEmp);
|
|
|
this.Controls.Add(this.getAllData);
|
|
|
this.Controls.Add(this.showDataGrid);
|
|
@@ -183,9 +207,10 @@
|
|
|
this.Controls.Add(this.txtPort);
|
|
|
this.Controls.Add(this.txtIP);
|
|
|
this.Controls.Add(this.btnConnect);
|
|
|
- this.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
|
|
this.Name = "Form1";
|
|
|
this.Text = "Form1";
|
|
|
+ this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.showDataGrid)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.allData)).EndInit();
|
|
@@ -210,6 +235,8 @@
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cl_time;
|
|
|
private System.Windows.Forms.Button ExportEmp;
|
|
|
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
|
|
|
+ private System.Windows.Forms.ComboBox Master;
|
|
|
+ private System.Windows.Forms.Label label3;
|
|
|
}
|
|
|
}
|
|
|
|