25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

294 satır
12 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.columnHeader3 = new System.Windows.Forms.ColumnHeader();
  45. this.button9 = new System.Windows.Forms.Button();
  46. this.button10 = new System.Windows.Forms.Button();
  47. this.textBox2 = new System.Windows.Forms.TextBox();
  48. this.button11 = new System.Windows.Forms.Button();
  49. this.SuspendLayout();
  50. //
  51. // button1
  52. //
  53. this.button1.Location = new System.Drawing.Point(55, 37);
  54. this.button1.Name = "button1";
  55. this.button1.Size = new System.Drawing.Size(75, 23);
  56. this.button1.TabIndex = 0;
  57. this.button1.Text = "初始化";
  58. this.button1.UseVisualStyleBackColor = true;
  59. this.button1.Click += new System.EventHandler(this.button1_Click);
  60. //
  61. // button2
  62. //
  63. this.button2.Location = new System.Drawing.Point(55, 131);
  64. this.button2.Name = "button2";
  65. this.button2.Size = new System.Drawing.Size(75, 23);
  66. this.button2.TabIndex = 1;
  67. this.button2.Text = "读卡";
  68. this.button2.UseVisualStyleBackColor = true;
  69. this.button2.Click += new System.EventHandler(this.button2_Click);
  70. //
  71. // label1
  72. //
  73. this.label1.AutoSize = true;
  74. this.label1.Location = new System.Drawing.Point(178, 134);
  75. this.label1.Name = "label1";
  76. this.label1.Size = new System.Drawing.Size(43, 17);
  77. this.label1.TabIndex = 2;
  78. this.label1.Text = "label1";
  79. //
  80. // button3
  81. //
  82. this.button3.Location = new System.Drawing.Point(178, 37);
  83. this.button3.Name = "button3";
  84. this.button3.Size = new System.Drawing.Size(75, 23);
  85. this.button3.TabIndex = 0;
  86. this.button3.Text = "关闭串口";
  87. this.button3.UseVisualStyleBackColor = true;
  88. this.button3.Click += new System.EventHandler(this.button3_Click);
  89. //
  90. // button4
  91. //
  92. this.button4.Location = new System.Drawing.Point(178, 203);
  93. this.button4.Name = "button4";
  94. this.button4.Size = new System.Drawing.Size(75, 23);
  95. this.button4.TabIndex = 3;
  96. this.button4.Text = "写卡";
  97. this.button4.UseVisualStyleBackColor = true;
  98. this.button4.Click += new System.EventHandler(this.button4_Click);
  99. //
  100. // textBox1
  101. //
  102. this.textBox1.Location = new System.Drawing.Point(55, 203);
  103. this.textBox1.Name = "textBox1";
  104. this.textBox1.Size = new System.Drawing.Size(100, 23);
  105. this.textBox1.TabIndex = 4;
  106. //
  107. // button5
  108. //
  109. this.button5.Location = new System.Drawing.Point(55, 323);
  110. this.button5.Name = "button5";
  111. this.button5.Size = new System.Drawing.Size(108, 23);
  112. this.button5.TabIndex = 5;
  113. this.button5.Text = "rs485打开串口";
  114. this.button5.UseVisualStyleBackColor = true;
  115. this.button5.Click += new System.EventHandler(this.button5_Click);
  116. //
  117. // comboBox1
  118. //
  119. this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  120. this.comboBox1.FormattingEnabled = true;
  121. this.comboBox1.Location = new System.Drawing.Point(178, 323);
  122. this.comboBox1.Name = "comboBox1";
  123. this.comboBox1.Size = new System.Drawing.Size(121, 25);
  124. this.comboBox1.TabIndex = 6;
  125. //
  126. // button6
  127. //
  128. this.button6.Location = new System.Drawing.Point(322, 323);
  129. this.button6.Name = "button6";
  130. this.button6.Size = new System.Drawing.Size(75, 23);
  131. this.button6.TabIndex = 7;
  132. this.button6.Text = "读取";
  133. this.button6.UseVisualStyleBackColor = true;
  134. this.button6.Click += new System.EventHandler(this.button6_Click);
  135. //
  136. // label2
  137. //
  138. this.label2.Location = new System.Drawing.Point(451, 324);
  139. this.label2.Name = "label2";
  140. this.label2.Size = new System.Drawing.Size(266, 23);
  141. this.label2.TabIndex = 8;
  142. this.label2.Text = "label2";
  143. //
  144. // textBox4
  145. //
  146. this.textBox4.Location = new System.Drawing.Point(451, 369);
  147. this.textBox4.Name = "textBox4";
  148. this.textBox4.Size = new System.Drawing.Size(100, 23);
  149. this.textBox4.TabIndex = 9;
  150. //
  151. // button7
  152. //
  153. this.button7.Location = new System.Drawing.Point(155, 255);
  154. this.button7.Name = "button7";
  155. this.button7.Size = new System.Drawing.Size(75, 23);
  156. this.button7.TabIndex = 10;
  157. this.button7.Text = "button7";
  158. this.button7.UseVisualStyleBackColor = true;
  159. this.button7.Click += new System.EventHandler(this.button7_Click);
  160. //
  161. // button8
  162. //
  163. this.button8.Location = new System.Drawing.Point(288, 394);
  164. this.button8.Name = "button8";
  165. this.button8.Size = new System.Drawing.Size(75, 23);
  166. this.button8.TabIndex = 11;
  167. this.button8.Text = "button8";
  168. this.button8.UseVisualStyleBackColor = true;
  169. this.button8.Click += new System.EventHandler(this.button8_Click);
  170. //
  171. // listView1
  172. //
  173. this.listView1.AutoArrange = false;
  174. this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
  175. this.columnHeader1,
  176. this.columnHeader2,
  177. this.columnHeader3});
  178. this.listView1.Location = new System.Drawing.Point(445, 12);
  179. this.listView1.Name = "listView1";
  180. this.listView1.Size = new System.Drawing.Size(343, 193);
  181. this.listView1.TabIndex = 12;
  182. this.listView1.UseCompatibleStateImageBehavior = false;
  183. this.listView1.View = System.Windows.Forms.View.Details;
  184. //
  185. // columnHeader1
  186. //
  187. this.columnHeader1.Text = "序号";
  188. this.columnHeader1.Width = 120;
  189. //
  190. // columnHeader2
  191. //
  192. this.columnHeader2.Text = "号码";
  193. //
  194. // columnHeader3
  195. //
  196. this.columnHeader3.Text = "次数";
  197. //
  198. // button9
  199. //
  200. this.button9.Location = new System.Drawing.Point(88, 387);
  201. this.button9.Name = "button9";
  202. this.button9.Size = new System.Drawing.Size(75, 23);
  203. this.button9.TabIndex = 13;
  204. this.button9.Text = "button9";
  205. this.button9.UseVisualStyleBackColor = true;
  206. this.button9.Click += new System.EventHandler(this.button9_Click);
  207. //
  208. // button10
  209. //
  210. this.button10.Location = new System.Drawing.Point(126, 517);
  211. this.button10.Name = "button10";
  212. this.button10.Size = new System.Drawing.Size(127, 37);
  213. this.button10.TabIndex = 14;
  214. this.button10.Text = "PLC 初始化";
  215. this.button10.UseVisualStyleBackColor = true;
  216. this.button10.Click += new System.EventHandler(this.button10_Click);
  217. //
  218. // textBox2
  219. //
  220. this.textBox2.Location = new System.Drawing.Point(270, 472);
  221. this.textBox2.Name = "textBox2";
  222. this.textBox2.Size = new System.Drawing.Size(127, 23);
  223. this.textBox2.TabIndex = 15;
  224. this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
  225. //
  226. // button11
  227. //
  228. this.button11.Location = new System.Drawing.Point(270, 517);
  229. this.button11.Name = "button11";
  230. this.button11.Size = new System.Drawing.Size(127, 37);
  231. this.button11.TabIndex = 16;
  232. this.button11.Text = "开始出餐";
  233. this.button11.UseVisualStyleBackColor = true;
  234. this.button11.Click += new System.EventHandler(this.button11_Click);
  235. //
  236. // Form1
  237. //
  238. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  239. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  240. this.ClientSize = new System.Drawing.Size(1075, 589);
  241. this.Controls.Add(this.button11);
  242. this.Controls.Add(this.textBox2);
  243. this.Controls.Add(this.button10);
  244. this.Controls.Add(this.button9);
  245. this.Controls.Add(this.listView1);
  246. this.Controls.Add(this.button8);
  247. this.Controls.Add(this.button7);
  248. this.Controls.Add(this.textBox4);
  249. this.Controls.Add(this.label2);
  250. this.Controls.Add(this.button6);
  251. this.Controls.Add(this.comboBox1);
  252. this.Controls.Add(this.button5);
  253. this.Controls.Add(this.textBox1);
  254. this.Controls.Add(this.button4);
  255. this.Controls.Add(this.label1);
  256. this.Controls.Add(this.button2);
  257. this.Controls.Add(this.button3);
  258. this.Controls.Add(this.button1);
  259. this.Name = "Form1";
  260. this.Text = "Form1";
  261. this.Load += new System.EventHandler(this.Form1_Load);
  262. this.ResumeLayout(false);
  263. this.PerformLayout();
  264. }
  265. #endregion
  266. private Button button1;
  267. private Button button2;
  268. private Label label1;
  269. private Button button3;
  270. private Button button4;
  271. private TextBox textBox1;
  272. private Button button5;
  273. private ComboBox comboBox1;
  274. private Button button6;
  275. private Label label2;
  276. private TextBox textBox4;
  277. private Button button7;
  278. private Button button8;
  279. private ListView listView1;
  280. private ColumnHeader columnHeader1;
  281. private ColumnHeader columnHeader2;
  282. private Button button9;
  283. private ColumnHeader columnHeader3;
  284. private Button button10;
  285. private TextBox textBox2;
  286. private Button button11;
  287. }
  288. }