Form1.Designer.cs 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. namespace UAS_CheckWork
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. this.label2 = new System.Windows.Forms.Label();
  30. this.label1 = new System.Windows.Forms.Label();
  31. this.txtPort = new System.Windows.Forms.TextBox();
  32. this.txtIP = new System.Windows.Forms.TextBox();
  33. this.btnConnect = new System.Windows.Forms.Button();
  34. this.lblState = new System.Windows.Forms.Label();
  35. this.showDataGrid = new System.Windows.Forms.DataGridView();
  36. this.getAllData = new System.Windows.Forms.Button();
  37. this.allData = new System.Windows.Forms.BindingSource(this.components);
  38. this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
  39. this.cl_cardcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
  40. this.cl_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
  41. ((System.ComponentModel.ISupportInitialize)(this.showDataGrid)).BeginInit();
  42. ((System.ComponentModel.ISupportInitialize)(this.allData)).BeginInit();
  43. this.SuspendLayout();
  44. //
  45. // label2
  46. //
  47. this.label2.AutoSize = true;
  48. this.label2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  49. this.label2.Location = new System.Drawing.Point(167, 17);
  50. this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
  51. this.label2.Name = "label2";
  52. this.label2.Size = new System.Drawing.Size(42, 21);
  53. this.label2.TabIndex = 14;
  54. this.label2.Text = "Port";
  55. //
  56. // label1
  57. //
  58. this.label1.AutoSize = true;
  59. this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  60. this.label1.Location = new System.Drawing.Point(24, 16);
  61. this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
  62. this.label1.Name = "label1";
  63. this.label1.Size = new System.Drawing.Size(25, 21);
  64. this.label1.TabIndex = 13;
  65. this.label1.Text = "IP";
  66. //
  67. // txtPort
  68. //
  69. this.txtPort.Location = new System.Drawing.Point(215, 17);
  70. this.txtPort.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  71. this.txtPort.Name = "txtPort";
  72. this.txtPort.Size = new System.Drawing.Size(37, 21);
  73. this.txtPort.TabIndex = 12;
  74. //
  75. // txtIP
  76. //
  77. this.txtIP.Location = new System.Drawing.Point(58, 17);
  78. this.txtIP.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  79. this.txtIP.Name = "txtIP";
  80. this.txtIP.Size = new System.Drawing.Size(99, 21);
  81. this.txtIP.TabIndex = 11;
  82. //
  83. // btnConnect
  84. //
  85. this.btnConnect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  86. this.btnConnect.Location = new System.Drawing.Point(279, 15);
  87. this.btnConnect.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  88. this.btnConnect.Name = "btnConnect";
  89. this.btnConnect.Size = new System.Drawing.Size(50, 25);
  90. this.btnConnect.TabIndex = 10;
  91. this.btnConnect.Text = "连接";
  92. this.btnConnect.UseVisualStyleBackColor = true;
  93. this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
  94. //
  95. // lblState
  96. //
  97. this.lblState.AutoSize = true;
  98. this.lblState.ForeColor = System.Drawing.Color.Crimson;
  99. this.lblState.Location = new System.Drawing.Point(359, 22);
  100. this.lblState.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
  101. this.lblState.Name = "lblState";
  102. this.lblState.Size = new System.Drawing.Size(71, 12);
  103. this.lblState.TabIndex = 15;
  104. this.lblState.Text = "状态:未连接";
  105. //
  106. // showDataGrid
  107. //
  108. this.showDataGrid.AllowUserToAddRows = false;
  109. this.showDataGrid.AllowUserToDeleteRows = false;
  110. this.showDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  111. this.showDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  112. this.cl_cardcode,
  113. this.cl_time});
  114. this.showDataGrid.Enabled = false;
  115. this.showDataGrid.Location = new System.Drawing.Point(17, 59);
  116. this.showDataGrid.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  117. this.showDataGrid.Name = "showDataGrid";
  118. this.showDataGrid.RowTemplate.Height = 30;
  119. this.showDataGrid.Size = new System.Drawing.Size(795, 377);
  120. this.showDataGrid.TabIndex = 16;
  121. this.showDataGrid.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.showDataGrid_DataError);
  122. //
  123. // getAllData
  124. //
  125. this.getAllData.BackColor = System.Drawing.SystemColors.ControlLightLight;
  126. this.getAllData.Location = new System.Drawing.Point(560, 18);
  127. this.getAllData.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  128. this.getAllData.Name = "getAllData";
  129. this.getAllData.Size = new System.Drawing.Size(102, 25);
  130. this.getAllData.TabIndex = 17;
  131. this.getAllData.Text = "同步考勤数据";
  132. this.getAllData.UseVisualStyleBackColor = false;
  133. this.getAllData.Click += new System.EventHandler(this.getAllData_Click);
  134. //
  135. // dataGridViewCheckBoxColumn1
  136. //
  137. this.dataGridViewCheckBoxColumn1.HeaderText = "勾选";
  138. this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
  139. //
  140. // cl_cardcode
  141. //
  142. this.cl_cardcode.DataPropertyName = "cl_cardcode";
  143. this.cl_cardcode.HeaderText = "卡号";
  144. this.cl_cardcode.Name = "cl_cardcode";
  145. this.cl_cardcode.Width = 200;
  146. //
  147. // cl_time
  148. //
  149. this.cl_time.DataPropertyName = "cl_time";
  150. this.cl_time.HeaderText = "打卡时间";
  151. this.cl_time.MinimumWidth = 250;
  152. this.cl_time.Name = "cl_time";
  153. this.cl_time.Width = 250;
  154. //
  155. // Form1
  156. //
  157. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  158. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  159. this.ClientSize = new System.Drawing.Size(823, 451);
  160. this.Controls.Add(this.getAllData);
  161. this.Controls.Add(this.showDataGrid);
  162. this.Controls.Add(this.lblState);
  163. this.Controls.Add(this.label2);
  164. this.Controls.Add(this.label1);
  165. this.Controls.Add(this.txtPort);
  166. this.Controls.Add(this.txtIP);
  167. this.Controls.Add(this.btnConnect);
  168. this.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  169. this.Name = "Form1";
  170. this.Text = "Form1";
  171. this.Load += new System.EventHandler(this.Form1_Load);
  172. ((System.ComponentModel.ISupportInitialize)(this.showDataGrid)).EndInit();
  173. ((System.ComponentModel.ISupportInitialize)(this.allData)).EndInit();
  174. this.ResumeLayout(false);
  175. this.PerformLayout();
  176. }
  177. #endregion
  178. private System.Windows.Forms.Label label2;
  179. private System.Windows.Forms.Label label1;
  180. private System.Windows.Forms.TextBox txtPort;
  181. private System.Windows.Forms.TextBox txtIP;
  182. private System.Windows.Forms.Button btnConnect;
  183. private System.Windows.Forms.Label lblState;
  184. private System.Windows.Forms.DataGridView showDataGrid;
  185. private System.Windows.Forms.Button getAllData;
  186. private System.Windows.Forms.BindingSource allData;
  187. private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
  188. private System.Windows.Forms.DataGridViewTextBoxColumn cl_cardcode;
  189. private System.Windows.Forms.DataGridViewTextBoxColumn cl_time;
  190. }
  191. }