Form1.Designer.cs 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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.saveData = new System.Windows.Forms.Button();
  38. this.allData = new System.Windows.Forms.BindingSource(this.components);
  39. this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
  40. this.人员编号 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  41. this.考勤时间 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  42. ((System.ComponentModel.ISupportInitialize)(this.showDataGrid)).BeginInit();
  43. ((System.ComponentModel.ISupportInitialize)(this.allData)).BeginInit();
  44. this.SuspendLayout();
  45. //
  46. // label2
  47. //
  48. this.label2.AutoSize = true;
  49. this.label2.Location = new System.Drawing.Point(206, 31);
  50. this.label2.Name = "label2";
  51. this.label2.Size = new System.Drawing.Size(44, 18);
  52. this.label2.TabIndex = 14;
  53. this.label2.Text = "Port";
  54. //
  55. // label1
  56. //
  57. this.label1.AutoSize = true;
  58. this.label1.Location = new System.Drawing.Point(36, 31);
  59. this.label1.Name = "label1";
  60. this.label1.Size = new System.Drawing.Size(26, 18);
  61. this.label1.TabIndex = 13;
  62. this.label1.Text = "IP";
  63. //
  64. // txtPort
  65. //
  66. this.txtPort.Location = new System.Drawing.Point(259, 26);
  67. this.txtPort.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
  68. this.txtPort.Name = "txtPort";
  69. this.txtPort.Size = new System.Drawing.Size(54, 28);
  70. this.txtPort.TabIndex = 12;
  71. this.txtPort.Text = "4370";
  72. //
  73. // txtIP
  74. //
  75. this.txtIP.Location = new System.Drawing.Point(66, 26);
  76. this.txtIP.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
  77. this.txtIP.Name = "txtIP";
  78. this.txtIP.Size = new System.Drawing.Size(132, 28);
  79. this.txtIP.TabIndex = 11;
  80. this.txtIP.Text = "192.168.253.201";
  81. //
  82. // btnConnect
  83. //
  84. this.btnConnect.Location = new System.Drawing.Point(471, 23);
  85. this.btnConnect.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
  86. this.btnConnect.Name = "btnConnect";
  87. this.btnConnect.Size = new System.Drawing.Size(135, 30);
  88. this.btnConnect.TabIndex = 10;
  89. this.btnConnect.Text = "连接";
  90. this.btnConnect.UseVisualStyleBackColor = true;
  91. this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
  92. //
  93. // lblState
  94. //
  95. this.lblState.AutoSize = true;
  96. this.lblState.ForeColor = System.Drawing.Color.Crimson;
  97. this.lblState.Location = new System.Drawing.Point(71, 84);
  98. this.lblState.Name = "lblState";
  99. this.lblState.Size = new System.Drawing.Size(242, 18);
  100. this.lblState.TabIndex = 15;
  101. this.lblState.Text = "Current State:Disconnected";
  102. //
  103. // showDataGrid
  104. //
  105. this.showDataGrid.AllowUserToAddRows = false;
  106. this.showDataGrid.AllowUserToDeleteRows = false;
  107. this.showDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  108. this.showDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  109. this.人员编号,
  110. this.考勤时间});
  111. this.showDataGrid.Enabled = false;
  112. this.showDataGrid.Location = new System.Drawing.Point(26, 191);
  113. this.showDataGrid.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
  114. this.showDataGrid.Name = "showDataGrid";
  115. this.showDataGrid.RowTemplate.Height = 30;
  116. this.showDataGrid.Size = new System.Drawing.Size(590, 464);
  117. this.showDataGrid.TabIndex = 16;
  118. //
  119. // getAllData
  120. //
  121. this.getAllData.BackColor = System.Drawing.SystemColors.ControlLightLight;
  122. this.getAllData.Location = new System.Drawing.Point(39, 122);
  123. this.getAllData.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
  124. this.getAllData.Name = "getAllData";
  125. this.getAllData.Size = new System.Drawing.Size(274, 37);
  126. this.getAllData.TabIndex = 17;
  127. this.getAllData.Text = "获取考勤数据";
  128. this.getAllData.UseVisualStyleBackColor = false;
  129. this.getAllData.Click += new System.EventHandler(this.getAllData_Click);
  130. //
  131. // saveData
  132. //
  133. this.saveData.BackColor = System.Drawing.SystemColors.ControlLightLight;
  134. this.saveData.Location = new System.Drawing.Point(471, 122);
  135. this.saveData.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
  136. this.saveData.Name = "saveData";
  137. this.saveData.Size = new System.Drawing.Size(145, 37);
  138. this.saveData.TabIndex = 18;
  139. this.saveData.Text = "保存数据";
  140. this.saveData.UseVisualStyleBackColor = false;
  141. this.saveData.Click += new System.EventHandler(this.saveData_Click);
  142. //
  143. // dataGridViewCheckBoxColumn1
  144. //
  145. this.dataGridViewCheckBoxColumn1.HeaderText = "勾选";
  146. this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
  147. //
  148. // 人员编号
  149. //
  150. this.人员编号.DataPropertyName = "cl_emcode";
  151. this.人员编号.HeaderText = "人员编号";
  152. this.人员编号.Name = "人员编号";
  153. this.人员编号.Width = 150;
  154. //
  155. // 考勤时间
  156. //
  157. this.考勤时间.DataPropertyName = "cl_time";
  158. this.考勤时间.HeaderText = "考勤时间";
  159. this.考勤时间.Name = "考勤时间";
  160. this.考勤时间.Width = 200;
  161. //
  162. // Form1
  163. //
  164. this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
  165. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  166. this.ClientSize = new System.Drawing.Size(654, 677);
  167. this.Controls.Add(this.saveData);
  168. this.Controls.Add(this.getAllData);
  169. this.Controls.Add(this.showDataGrid);
  170. this.Controls.Add(this.lblState);
  171. this.Controls.Add(this.label2);
  172. this.Controls.Add(this.label1);
  173. this.Controls.Add(this.txtPort);
  174. this.Controls.Add(this.txtIP);
  175. this.Controls.Add(this.btnConnect);
  176. this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
  177. this.Name = "Form1";
  178. this.Text = "Form1";
  179. this.Load += new System.EventHandler(this.Form1_Load);
  180. ((System.ComponentModel.ISupportInitialize)(this.showDataGrid)).EndInit();
  181. ((System.ComponentModel.ISupportInitialize)(this.allData)).EndInit();
  182. this.ResumeLayout(false);
  183. this.PerformLayout();
  184. }
  185. #endregion
  186. private System.Windows.Forms.Label label2;
  187. private System.Windows.Forms.Label label1;
  188. private System.Windows.Forms.TextBox txtPort;
  189. private System.Windows.Forms.TextBox txtIP;
  190. private System.Windows.Forms.Button btnConnect;
  191. private System.Windows.Forms.Label lblState;
  192. private System.Windows.Forms.DataGridView showDataGrid;
  193. private System.Windows.Forms.Button getAllData;
  194. private System.Windows.Forms.Button saveData;
  195. private System.Windows.Forms.BindingSource allData;
  196. private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
  197. private System.Windows.Forms.DataGridViewTextBoxColumn 人员编号;
  198. private System.Windows.Forms.DataGridViewTextBoxColumn 考勤时间;
  199. }
  200. }