Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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