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.人员编号 = 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. this.txtPort.Text = "4370";
  75. //
  76. // txtIP
  77. //
  78. this.txtIP.Location = new System.Drawing.Point(58, 17);
  79. this.txtIP.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  80. this.txtIP.Name = "txtIP";
  81. this.txtIP.Size = new System.Drawing.Size(99, 21);
  82. this.txtIP.TabIndex = 11;
  83. this.txtIP.Text = "192.168.253.201";
  84. //
  85. // btnConnect
  86. //
  87. this.btnConnect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  88. this.btnConnect.Location = new System.Drawing.Point(279, 15);
  89. this.btnConnect.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  90. this.btnConnect.Name = "btnConnect";
  91. this.btnConnect.Size = new System.Drawing.Size(50, 25);
  92. this.btnConnect.TabIndex = 10;
  93. this.btnConnect.Text = "连接";
  94. this.btnConnect.UseVisualStyleBackColor = true;
  95. this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
  96. //
  97. // lblState
  98. //
  99. this.lblState.AutoSize = true;
  100. this.lblState.ForeColor = System.Drawing.Color.Crimson;
  101. this.lblState.Location = new System.Drawing.Point(359, 22);
  102. this.lblState.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
  103. this.lblState.Name = "lblState";
  104. this.lblState.Size = new System.Drawing.Size(71, 12);
  105. this.lblState.TabIndex = 15;
  106. this.lblState.Text = "状态:未连接";
  107. //
  108. // showDataGrid
  109. //
  110. this.showDataGrid.AllowUserToAddRows = false;
  111. this.showDataGrid.AllowUserToDeleteRows = false;
  112. this.showDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  113. this.showDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  114. this.人员编号,
  115. this.考勤时间});
  116. this.showDataGrid.Enabled = false;
  117. this.showDataGrid.Location = new System.Drawing.Point(17, 59);
  118. this.showDataGrid.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  119. this.showDataGrid.Name = "showDataGrid";
  120. this.showDataGrid.RowTemplate.Height = 30;
  121. this.showDataGrid.Size = new System.Drawing.Size(795, 377);
  122. this.showDataGrid.TabIndex = 16;
  123. //
  124. // 人员编号
  125. //
  126. this.人员编号.DataPropertyName = "cl_emcode";
  127. this.人员编号.HeaderText = "人员编号";
  128. this.人员编号.Name = "人员编号";
  129. this.人员编号.Width = 150;
  130. //
  131. // 考勤时间
  132. //
  133. this.考勤时间.DataPropertyName = "cl_time";
  134. this.考勤时间.HeaderText = "考勤时间";
  135. this.考勤时间.Name = "考勤时间";
  136. this.考勤时间.Width = 200;
  137. //
  138. // getAllData
  139. //
  140. this.getAllData.BackColor = System.Drawing.SystemColors.ControlLightLight;
  141. this.getAllData.Location = new System.Drawing.Point(560, 18);
  142. this.getAllData.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
  143. this.getAllData.Name = "getAllData";
  144. this.getAllData.Size = new System.Drawing.Size(102, 25);
  145. this.getAllData.TabIndex = 17;
  146. this.getAllData.Text = "同步考勤数据";
  147. this.getAllData.UseVisualStyleBackColor = false;
  148. this.getAllData.Click += new System.EventHandler(this.getAllData_Click);
  149. //
  150. // dataGridViewCheckBoxColumn1
  151. //
  152. this.dataGridViewCheckBoxColumn1.HeaderText = "勾选";
  153. this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
  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 人员编号;
  189. private System.Windows.Forms.DataGridViewTextBoxColumn 考勤时间;
  190. }
  191. }