Form1.Designer.cs 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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.人员编号 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  37. this.考勤时间 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  38. this.getAllData = new System.Windows.Forms.Button();
  39. this.allData = new System.Windows.Forms.BindingSource(this.components);
  40. this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
  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.人员编号,
  113. this.考勤时间});
  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. //
  122. // 人员编号
  123. //
  124. this.人员编号.DataPropertyName = "cl_emcode";
  125. this.人员编号.HeaderText = "人员编号";
  126. this.人员编号.Name = "人员编号";
  127. this.人员编号.Width = 150;
  128. //
  129. // 考勤时间
  130. //
  131. this.考勤时间.DataPropertyName = "cl_time";
  132. this.考勤时间.HeaderText = "考勤时间";
  133. this.考勤时间.Name = "考勤时间";
  134. this.考勤时间.Width = 200;
  135. //
  136. // getAllData
  137. //
  138. this.getAllData.BackColor = System.Drawing.SystemColors.ControlLightLight;
  139. this.getAllData.Location = new System.Drawing.Point(560, 18);
  140. this.getAllData.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  141. this.getAllData.Name = "getAllData";
  142. this.getAllData.Size = new System.Drawing.Size(102, 25);
  143. this.getAllData.TabIndex = 17;
  144. this.getAllData.Text = "同步考勤数据";
  145. this.getAllData.UseVisualStyleBackColor = false;
  146. this.getAllData.Click += new System.EventHandler(this.getAllData_Click);
  147. //
  148. // dataGridViewCheckBoxColumn1
  149. //
  150. this.dataGridViewCheckBoxColumn1.HeaderText = "勾选";
  151. this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
  152. //
  153. // Form1
  154. //
  155. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  156. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  157. this.ClientSize = new System.Drawing.Size(823, 451);
  158. this.Controls.Add(this.getAllData);
  159. this.Controls.Add(this.showDataGrid);
  160. this.Controls.Add(this.lblState);
  161. this.Controls.Add(this.label2);
  162. this.Controls.Add(this.label1);
  163. this.Controls.Add(this.txtPort);
  164. this.Controls.Add(this.txtIP);
  165. this.Controls.Add(this.btnConnect);
  166. this.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  167. this.Name = "Form1";
  168. this.Text = "Form1";
  169. this.Load += new System.EventHandler(this.Form1_Load);
  170. ((System.ComponentModel.ISupportInitialize)(this.showDataGrid)).EndInit();
  171. ((System.ComponentModel.ISupportInitialize)(this.allData)).EndInit();
  172. this.ResumeLayout(false);
  173. this.PerformLayout();
  174. }
  175. #endregion
  176. private System.Windows.Forms.Label label2;
  177. private System.Windows.Forms.Label label1;
  178. private System.Windows.Forms.TextBox txtPort;
  179. private System.Windows.Forms.TextBox txtIP;
  180. private System.Windows.Forms.Button btnConnect;
  181. private System.Windows.Forms.Label lblState;
  182. private System.Windows.Forms.DataGridView showDataGrid;
  183. private System.Windows.Forms.Button getAllData;
  184. private System.Windows.Forms.BindingSource allData;
  185. private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
  186. private System.Windows.Forms.DataGridViewTextBoxColumn 人员编号;
  187. private System.Windows.Forms.DataGridViewTextBoxColumn 考勤时间;
  188. }
  189. }