Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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