You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

257 lines
10 KiB

  1. namespace test
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.button1 = new System.Windows.Forms.Button();
  29. this.button2 = new System.Windows.Forms.Button();
  30. this.label1 = new System.Windows.Forms.Label();
  31. this.button3 = new System.Windows.Forms.Button();
  32. this.button4 = new System.Windows.Forms.Button();
  33. this.textBox1 = new System.Windows.Forms.TextBox();
  34. this.button5 = new System.Windows.Forms.Button();
  35. this.comboBox1 = new System.Windows.Forms.ComboBox();
  36. this.button6 = new System.Windows.Forms.Button();
  37. this.label2 = new System.Windows.Forms.Label();
  38. this.textBox4 = new System.Windows.Forms.TextBox();
  39. this.button7 = new System.Windows.Forms.Button();
  40. this.button8 = new System.Windows.Forms.Button();
  41. this.listView1 = new System.Windows.Forms.ListView();
  42. this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
  43. this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
  44. this.button9 = new System.Windows.Forms.Button();
  45. this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
  46. this.SuspendLayout();
  47. //
  48. // button1
  49. //
  50. this.button1.Location = new System.Drawing.Point(55, 37);
  51. this.button1.Name = "button1";
  52. this.button1.Size = new System.Drawing.Size(75, 23);
  53. this.button1.TabIndex = 0;
  54. this.button1.Text = "初始化";
  55. this.button1.UseVisualStyleBackColor = true;
  56. this.button1.Click += new System.EventHandler(this.button1_Click);
  57. //
  58. // button2
  59. //
  60. this.button2.Location = new System.Drawing.Point(55, 131);
  61. this.button2.Name = "button2";
  62. this.button2.Size = new System.Drawing.Size(75, 23);
  63. this.button2.TabIndex = 1;
  64. this.button2.Text = "读卡";
  65. this.button2.UseVisualStyleBackColor = true;
  66. this.button2.Click += new System.EventHandler(this.button2_Click);
  67. //
  68. // label1
  69. //
  70. this.label1.AutoSize = true;
  71. this.label1.Location = new System.Drawing.Point(178, 134);
  72. this.label1.Name = "label1";
  73. this.label1.Size = new System.Drawing.Size(43, 17);
  74. this.label1.TabIndex = 2;
  75. this.label1.Text = "label1";
  76. //
  77. // button3
  78. //
  79. this.button3.Location = new System.Drawing.Point(178, 37);
  80. this.button3.Name = "button3";
  81. this.button3.Size = new System.Drawing.Size(75, 23);
  82. this.button3.TabIndex = 0;
  83. this.button3.Text = "关闭串口";
  84. this.button3.UseVisualStyleBackColor = true;
  85. this.button3.Click += new System.EventHandler(this.button3_Click);
  86. //
  87. // button4
  88. //
  89. this.button4.Location = new System.Drawing.Point(178, 203);
  90. this.button4.Name = "button4";
  91. this.button4.Size = new System.Drawing.Size(75, 23);
  92. this.button4.TabIndex = 3;
  93. this.button4.Text = "写卡";
  94. this.button4.UseVisualStyleBackColor = true;
  95. this.button4.Click += new System.EventHandler(this.button4_Click);
  96. //
  97. // textBox1
  98. //
  99. this.textBox1.Location = new System.Drawing.Point(55, 203);
  100. this.textBox1.Name = "textBox1";
  101. this.textBox1.Size = new System.Drawing.Size(100, 23);
  102. this.textBox1.TabIndex = 4;
  103. //
  104. // button5
  105. //
  106. this.button5.Location = new System.Drawing.Point(55, 323);
  107. this.button5.Name = "button5";
  108. this.button5.Size = new System.Drawing.Size(108, 23);
  109. this.button5.TabIndex = 5;
  110. this.button5.Text = "rs485打开串口";
  111. this.button5.UseVisualStyleBackColor = true;
  112. this.button5.Click += new System.EventHandler(this.button5_Click);
  113. //
  114. // comboBox1
  115. //
  116. this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  117. this.comboBox1.FormattingEnabled = true;
  118. this.comboBox1.Location = new System.Drawing.Point(178, 323);
  119. this.comboBox1.Name = "comboBox1";
  120. this.comboBox1.Size = new System.Drawing.Size(121, 25);
  121. this.comboBox1.TabIndex = 6;
  122. //
  123. // button6
  124. //
  125. this.button6.Location = new System.Drawing.Point(322, 323);
  126. this.button6.Name = "button6";
  127. this.button6.Size = new System.Drawing.Size(75, 23);
  128. this.button6.TabIndex = 7;
  129. this.button6.Text = "读取";
  130. this.button6.UseVisualStyleBackColor = true;
  131. this.button6.Click += new System.EventHandler(this.button6_Click);
  132. //
  133. // label2
  134. //
  135. this.label2.Location = new System.Drawing.Point(451, 324);
  136. this.label2.Name = "label2";
  137. this.label2.Size = new System.Drawing.Size(266, 23);
  138. this.label2.TabIndex = 8;
  139. this.label2.Text = "label2";
  140. //
  141. // textBox4
  142. //
  143. this.textBox4.Location = new System.Drawing.Point(451, 369);
  144. this.textBox4.Name = "textBox4";
  145. this.textBox4.Size = new System.Drawing.Size(100, 23);
  146. this.textBox4.TabIndex = 9;
  147. //
  148. // button7
  149. //
  150. this.button7.Location = new System.Drawing.Point(155, 255);
  151. this.button7.Name = "button7";
  152. this.button7.Size = new System.Drawing.Size(75, 23);
  153. this.button7.TabIndex = 10;
  154. this.button7.Text = "button7";
  155. this.button7.UseVisualStyleBackColor = true;
  156. this.button7.Click += new System.EventHandler(this.button7_Click);
  157. //
  158. // button8
  159. //
  160. this.button8.Location = new System.Drawing.Point(288, 394);
  161. this.button8.Name = "button8";
  162. this.button8.Size = new System.Drawing.Size(75, 23);
  163. this.button8.TabIndex = 11;
  164. this.button8.Text = "button8";
  165. this.button8.UseVisualStyleBackColor = true;
  166. this.button8.Click += new System.EventHandler(this.button8_Click);
  167. //
  168. // listView1
  169. //
  170. this.listView1.AutoArrange = false;
  171. this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
  172. this.columnHeader1,
  173. this.columnHeader2,
  174. this.columnHeader3});
  175. this.listView1.Location = new System.Drawing.Point(445, 12);
  176. this.listView1.Name = "listView1";
  177. this.listView1.Size = new System.Drawing.Size(343, 193);
  178. this.listView1.TabIndex = 12;
  179. this.listView1.UseCompatibleStateImageBehavior = false;
  180. this.listView1.View = System.Windows.Forms.View.Details;
  181. //
  182. // columnHeader1
  183. //
  184. this.columnHeader1.Text = "序号";
  185. this.columnHeader1.Width = 120;
  186. //
  187. // columnHeader2
  188. //
  189. this.columnHeader2.Text = "号码";
  190. //
  191. // button9
  192. //
  193. this.button9.Location = new System.Drawing.Point(88, 387);
  194. this.button9.Name = "button9";
  195. this.button9.Size = new System.Drawing.Size(75, 23);
  196. this.button9.TabIndex = 13;
  197. this.button9.Text = "button9";
  198. this.button9.UseVisualStyleBackColor = true;
  199. this.button9.Click += new System.EventHandler(this.button9_Click);
  200. //
  201. // columnHeader3
  202. //
  203. this.columnHeader3.Text = "次数";
  204. //
  205. // Form1
  206. //
  207. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  208. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  209. this.ClientSize = new System.Drawing.Size(800, 450);
  210. this.Controls.Add(this.button9);
  211. this.Controls.Add(this.listView1);
  212. this.Controls.Add(this.button8);
  213. this.Controls.Add(this.button7);
  214. this.Controls.Add(this.textBox4);
  215. this.Controls.Add(this.label2);
  216. this.Controls.Add(this.button6);
  217. this.Controls.Add(this.comboBox1);
  218. this.Controls.Add(this.button5);
  219. this.Controls.Add(this.textBox1);
  220. this.Controls.Add(this.button4);
  221. this.Controls.Add(this.label1);
  222. this.Controls.Add(this.button2);
  223. this.Controls.Add(this.button3);
  224. this.Controls.Add(this.button1);
  225. this.Name = "Form1";
  226. this.Text = "Form1";
  227. this.Load += new System.EventHandler(this.Form1_Load);
  228. this.ResumeLayout(false);
  229. this.PerformLayout();
  230. }
  231. #endregion
  232. private Button button1;
  233. private Button button2;
  234. private Label label1;
  235. private Button button3;
  236. private Button button4;
  237. private TextBox textBox1;
  238. private Button button5;
  239. private ComboBox comboBox1;
  240. private Button button6;
  241. private Label label2;
  242. private TextBox textBox4;
  243. private Button button7;
  244. private Button button8;
  245. private ListView listView1;
  246. private ColumnHeader columnHeader1;
  247. private ColumnHeader columnHeader2;
  248. private Button button9;
  249. private ColumnHeader columnHeader3;
  250. }
  251. }