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.

122 lines
4.6 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.SuspendLayout();
  35. //
  36. // button1
  37. //
  38. this.button1.Location = new System.Drawing.Point(55, 37);
  39. this.button1.Name = "button1";
  40. this.button1.Size = new System.Drawing.Size(75, 23);
  41. this.button1.TabIndex = 0;
  42. this.button1.Text = "初始化";
  43. this.button1.UseVisualStyleBackColor = true;
  44. this.button1.Click += new System.EventHandler(this.button1_Click);
  45. //
  46. // button2
  47. //
  48. this.button2.Location = new System.Drawing.Point(55, 131);
  49. this.button2.Name = "button2";
  50. this.button2.Size = new System.Drawing.Size(75, 23);
  51. this.button2.TabIndex = 1;
  52. this.button2.Text = "读卡";
  53. this.button2.UseVisualStyleBackColor = true;
  54. this.button2.Click += new System.EventHandler(this.button2_Click);
  55. //
  56. // label1
  57. //
  58. this.label1.AutoSize = true;
  59. this.label1.Location = new System.Drawing.Point(178, 134);
  60. this.label1.Name = "label1";
  61. this.label1.Size = new System.Drawing.Size(43, 17);
  62. this.label1.TabIndex = 2;
  63. this.label1.Text = "label1";
  64. //
  65. // button3
  66. //
  67. this.button3.Location = new System.Drawing.Point(178, 37);
  68. this.button3.Name = "button3";
  69. this.button3.Size = new System.Drawing.Size(75, 23);
  70. this.button3.TabIndex = 0;
  71. this.button3.Text = "关闭串口";
  72. this.button3.UseVisualStyleBackColor = true;
  73. this.button3.Click += new System.EventHandler(this.button3_Click);
  74. //
  75. // button4
  76. //
  77. this.button4.Location = new System.Drawing.Point(178, 203);
  78. this.button4.Name = "button4";
  79. this.button4.Size = new System.Drawing.Size(75, 23);
  80. this.button4.TabIndex = 3;
  81. this.button4.Text = "写卡";
  82. this.button4.UseVisualStyleBackColor = true;
  83. this.button4.Click += new System.EventHandler(this.button4_Click);
  84. //
  85. // textBox1
  86. //
  87. this.textBox1.Location = new System.Drawing.Point(55, 203);
  88. this.textBox1.Name = "textBox1";
  89. this.textBox1.Size = new System.Drawing.Size(100, 23);
  90. this.textBox1.TabIndex = 4;
  91. //
  92. // Form1
  93. //
  94. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  95. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  96. this.ClientSize = new System.Drawing.Size(800, 450);
  97. this.Controls.Add(this.textBox1);
  98. this.Controls.Add(this.button4);
  99. this.Controls.Add(this.label1);
  100. this.Controls.Add(this.button2);
  101. this.Controls.Add(this.button3);
  102. this.Controls.Add(this.button1);
  103. this.Name = "Form1";
  104. this.Text = "Form1";
  105. this.ResumeLayout(false);
  106. this.PerformLayout();
  107. }
  108. #endregion
  109. private Button button1;
  110. private Button button2;
  111. private Label label1;
  112. private Button button3;
  113. private Button button4;
  114. private TextBox textBox1;
  115. }
  116. }