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.

208 lines
8.4 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.SuspendLayout();
  42. //
  43. // button1
  44. //
  45. this.button1.Location = new System.Drawing.Point(55, 37);
  46. this.button1.Name = "button1";
  47. this.button1.Size = new System.Drawing.Size(75, 23);
  48. this.button1.TabIndex = 0;
  49. this.button1.Text = "初始化";
  50. this.button1.UseVisualStyleBackColor = true;
  51. this.button1.Click += new System.EventHandler(this.button1_Click);
  52. //
  53. // button2
  54. //
  55. this.button2.Location = new System.Drawing.Point(55, 131);
  56. this.button2.Name = "button2";
  57. this.button2.Size = new System.Drawing.Size(75, 23);
  58. this.button2.TabIndex = 1;
  59. this.button2.Text = "读卡";
  60. this.button2.UseVisualStyleBackColor = true;
  61. this.button2.Click += new System.EventHandler(this.button2_Click);
  62. //
  63. // label1
  64. //
  65. this.label1.AutoSize = true;
  66. this.label1.Location = new System.Drawing.Point(178, 134);
  67. this.label1.Name = "label1";
  68. this.label1.Size = new System.Drawing.Size(43, 17);
  69. this.label1.TabIndex = 2;
  70. this.label1.Text = "label1";
  71. //
  72. // button3
  73. //
  74. this.button3.Location = new System.Drawing.Point(178, 37);
  75. this.button3.Name = "button3";
  76. this.button3.Size = new System.Drawing.Size(75, 23);
  77. this.button3.TabIndex = 0;
  78. this.button3.Text = "关闭串口";
  79. this.button3.UseVisualStyleBackColor = true;
  80. this.button3.Click += new System.EventHandler(this.button3_Click);
  81. //
  82. // button4
  83. //
  84. this.button4.Location = new System.Drawing.Point(178, 203);
  85. this.button4.Name = "button4";
  86. this.button4.Size = new System.Drawing.Size(75, 23);
  87. this.button4.TabIndex = 3;
  88. this.button4.Text = "写卡";
  89. this.button4.UseVisualStyleBackColor = true;
  90. this.button4.Click += new System.EventHandler(this.button4_Click);
  91. //
  92. // textBox1
  93. //
  94. this.textBox1.Location = new System.Drawing.Point(55, 203);
  95. this.textBox1.Name = "textBox1";
  96. this.textBox1.Size = new System.Drawing.Size(100, 23);
  97. this.textBox1.TabIndex = 4;
  98. //
  99. // button5
  100. //
  101. this.button5.Location = new System.Drawing.Point(55, 323);
  102. this.button5.Name = "button5";
  103. this.button5.Size = new System.Drawing.Size(108, 23);
  104. this.button5.TabIndex = 5;
  105. this.button5.Text = "rs485打开串口";
  106. this.button5.UseVisualStyleBackColor = true;
  107. this.button5.Click += new System.EventHandler(this.button5_Click);
  108. //
  109. // comboBox1
  110. //
  111. this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  112. this.comboBox1.FormattingEnabled = true;
  113. this.comboBox1.Location = new System.Drawing.Point(178, 323);
  114. this.comboBox1.Name = "comboBox1";
  115. this.comboBox1.Size = new System.Drawing.Size(121, 25);
  116. this.comboBox1.TabIndex = 6;
  117. //
  118. // button6
  119. //
  120. this.button6.Location = new System.Drawing.Point(322, 323);
  121. this.button6.Name = "button6";
  122. this.button6.Size = new System.Drawing.Size(75, 23);
  123. this.button6.TabIndex = 7;
  124. this.button6.Text = "读取";
  125. this.button6.UseVisualStyleBackColor = true;
  126. this.button6.Click += new System.EventHandler(this.button6_Click);
  127. //
  128. // label2
  129. //
  130. this.label2.Location = new System.Drawing.Point(451, 324);
  131. this.label2.Name = "label2";
  132. this.label2.Size = new System.Drawing.Size(266, 23);
  133. this.label2.TabIndex = 8;
  134. this.label2.Text = "label2";
  135. //
  136. // textBox4
  137. //
  138. this.textBox4.Location = new System.Drawing.Point(451, 369);
  139. this.textBox4.Name = "textBox4";
  140. this.textBox4.Size = new System.Drawing.Size(100, 23);
  141. this.textBox4.TabIndex = 9;
  142. //
  143. // button7
  144. //
  145. this.button7.Location = new System.Drawing.Point(155, 255);
  146. this.button7.Name = "button7";
  147. this.button7.Size = new System.Drawing.Size(75, 23);
  148. this.button7.TabIndex = 10;
  149. this.button7.Text = "button7";
  150. this.button7.UseVisualStyleBackColor = true;
  151. this.button7.Click += new System.EventHandler(this.button7_Click);
  152. //
  153. // button8
  154. //
  155. this.button8.Location = new System.Drawing.Point(288, 394);
  156. this.button8.Name = "button8";
  157. this.button8.Size = new System.Drawing.Size(75, 23);
  158. this.button8.TabIndex = 11;
  159. this.button8.Text = "button8";
  160. this.button8.UseVisualStyleBackColor = true;
  161. this.button8.Click += new System.EventHandler(this.button8_Click);
  162. //
  163. // Form1
  164. //
  165. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  166. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  167. this.ClientSize = new System.Drawing.Size(800, 450);
  168. this.Controls.Add(this.button8);
  169. this.Controls.Add(this.button7);
  170. this.Controls.Add(this.textBox4);
  171. this.Controls.Add(this.label2);
  172. this.Controls.Add(this.button6);
  173. this.Controls.Add(this.comboBox1);
  174. this.Controls.Add(this.button5);
  175. this.Controls.Add(this.textBox1);
  176. this.Controls.Add(this.button4);
  177. this.Controls.Add(this.label1);
  178. this.Controls.Add(this.button2);
  179. this.Controls.Add(this.button3);
  180. this.Controls.Add(this.button1);
  181. this.Name = "Form1";
  182. this.Text = "Form1";
  183. this.Load += new System.EventHandler(this.Form1_Load);
  184. this.ResumeLayout(false);
  185. this.PerformLayout();
  186. }
  187. #endregion
  188. private Button button1;
  189. private Button button2;
  190. private Label label1;
  191. private Button button3;
  192. private Button button4;
  193. private TextBox textBox1;
  194. private Button button5;
  195. private ComboBox comboBox1;
  196. private Button button6;
  197. private Label label2;
  198. private TextBox textBox4;
  199. private Button button7;
  200. private Button button8;
  201. }
  202. }