MainWindow.Designer.cs 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. namespace UAS_PLCDataReader
  2. {
  3. partial class MainWindow
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 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 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.IP = new System.Windows.Forms.TextBox();
  29. this.IP_label = new System.Windows.Forms.Label();
  30. this.Port_label = new System.Windows.Forms.Label();
  31. this.Port = new System.Windows.Forms.TextBox();
  32. this.OpenServer = new System.Windows.Forms.Button();
  33. this.CloseServer = new System.Windows.Forms.Button();
  34. this.SelectIP = new System.Windows.Forms.ComboBox();
  35. this.SEND = new System.Windows.Forms.Button();
  36. this.IPTEXT = new System.Windows.Forms.Label();
  37. this.label1 = new System.Windows.Forms.Label();
  38. this.Encoding1 = new System.Windows.Forms.ComboBox();
  39. this.SENDMESSAGE = new UAS_PLCDataReader.RichTextAutoBottom();
  40. this.Result = new UAS_PLCDataReader.RichTextAutoBottom();
  41. this.SuspendLayout();
  42. //
  43. // IP
  44. //
  45. this.IP.Enabled = false;
  46. this.IP.Location = new System.Drawing.Point(103, 325);
  47. this.IP.Name = "IP";
  48. this.IP.Size = new System.Drawing.Size(103, 21);
  49. this.IP.TabIndex = 0;
  50. //
  51. // IP_label
  52. //
  53. this.IP_label.AutoSize = true;
  54. this.IP_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  55. this.IP_label.Location = new System.Drawing.Point(12, 325);
  56. this.IP_label.Name = "IP_label";
  57. this.IP_label.Size = new System.Drawing.Size(85, 21);
  58. this.IP_label.TabIndex = 1;
  59. this.IP_label.Text = "IPAddress";
  60. //
  61. // Port_label
  62. //
  63. this.Port_label.AutoSize = true;
  64. this.Port_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  65. this.Port_label.Location = new System.Drawing.Point(212, 325);
  66. this.Port_label.Name = "Port_label";
  67. this.Port_label.Size = new System.Drawing.Size(42, 21);
  68. this.Port_label.TabIndex = 3;
  69. this.Port_label.Text = "Port";
  70. //
  71. // Port
  72. //
  73. this.Port.Location = new System.Drawing.Point(260, 325);
  74. this.Port.Name = "Port";
  75. this.Port.Size = new System.Drawing.Size(105, 21);
  76. this.Port.TabIndex = 2;
  77. //
  78. // OpenServer
  79. //
  80. this.OpenServer.Location = new System.Drawing.Point(371, 323);
  81. this.OpenServer.Name = "OpenServer";
  82. this.OpenServer.Size = new System.Drawing.Size(65, 23);
  83. this.OpenServer.TabIndex = 4;
  84. this.OpenServer.Text = "Open";
  85. this.OpenServer.UseVisualStyleBackColor = true;
  86. this.OpenServer.Click += new System.EventHandler(this.OpenServer_Click);
  87. //
  88. // CloseServer
  89. //
  90. this.CloseServer.Location = new System.Drawing.Point(442, 323);
  91. this.CloseServer.Name = "CloseServer";
  92. this.CloseServer.Size = new System.Drawing.Size(65, 23);
  93. this.CloseServer.TabIndex = 5;
  94. this.CloseServer.Text = "Close";
  95. this.CloseServer.UseVisualStyleBackColor = true;
  96. this.CloseServer.Click += new System.EventHandler(this.CloseServer_Click);
  97. //
  98. // SelectIP
  99. //
  100. this.SelectIP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  101. this.SelectIP.FormattingEnabled = true;
  102. this.SelectIP.Location = new System.Drawing.Point(533, 39);
  103. this.SelectIP.Name = "SelectIP";
  104. this.SelectIP.Size = new System.Drawing.Size(159, 20);
  105. this.SelectIP.TabIndex = 7;
  106. //
  107. // SEND
  108. //
  109. this.SEND.Location = new System.Drawing.Point(573, 323);
  110. this.SEND.Name = "SEND";
  111. this.SEND.Size = new System.Drawing.Size(75, 23);
  112. this.SEND.TabIndex = 9;
  113. this.SEND.Text = "SEND";
  114. this.SEND.UseVisualStyleBackColor = true;
  115. this.SEND.Click += new System.EventHandler(this.SEND_Click);
  116. //
  117. // IPTEXT
  118. //
  119. this.IPTEXT.AutoSize = true;
  120. this.IPTEXT.Location = new System.Drawing.Point(531, 15);
  121. this.IPTEXT.Name = "IPTEXT";
  122. this.IPTEXT.Size = new System.Drawing.Size(53, 12);
  123. this.IPTEXT.TabIndex = 10;
  124. this.IPTEXT.Text = "已连接IP";
  125. //
  126. // label1
  127. //
  128. this.label1.AutoSize = true;
  129. this.label1.Location = new System.Drawing.Point(533, 66);
  130. this.label1.Name = "label1";
  131. this.label1.Size = new System.Drawing.Size(53, 12);
  132. this.label1.TabIndex = 11;
  133. this.label1.Text = "编码格式";
  134. //
  135. // Encoding1
  136. //
  137. this.Encoding1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  138. this.Encoding1.FormattingEnabled = true;
  139. this.Encoding1.Items.AddRange(new object[] {
  140. "UTF-8",
  141. "ASCII",
  142. "Hexadecimal"});
  143. this.Encoding1.Location = new System.Drawing.Point(533, 89);
  144. this.Encoding1.Name = "Encoding1";
  145. this.Encoding1.Size = new System.Drawing.Size(157, 20);
  146. this.Encoding1.TabIndex = 12;
  147. //
  148. // SENDMESSAGE
  149. //
  150. this.SENDMESSAGE.Location = new System.Drawing.Point(531, 120);
  151. this.SENDMESSAGE.Name = "SENDMESSAGE";
  152. this.SENDMESSAGE.Size = new System.Drawing.Size(159, 202);
  153. this.SENDMESSAGE.TabIndex = 8;
  154. this.SENDMESSAGE.Text = "";
  155. //
  156. // Result
  157. //
  158. this.Result.Location = new System.Drawing.Point(12, 12);
  159. this.Result.Name = "Result";
  160. this.Result.Size = new System.Drawing.Size(486, 310);
  161. this.Result.TabIndex = 6;
  162. this.Result.Text = "";
  163. //
  164. // MainWindow
  165. //
  166. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  167. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  168. this.ClientSize = new System.Drawing.Size(702, 358);
  169. this.Controls.Add(this.Encoding1);
  170. this.Controls.Add(this.label1);
  171. this.Controls.Add(this.IPTEXT);
  172. this.Controls.Add(this.SEND);
  173. this.Controls.Add(this.SENDMESSAGE);
  174. this.Controls.Add(this.SelectIP);
  175. this.Controls.Add(this.Result);
  176. this.Controls.Add(this.CloseServer);
  177. this.Controls.Add(this.OpenServer);
  178. this.Controls.Add(this.Port_label);
  179. this.Controls.Add(this.Port);
  180. this.Controls.Add(this.IP_label);
  181. this.Controls.Add(this.IP);
  182. this.MaximizeBox = false;
  183. this.Name = "MainWindow";
  184. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  185. this.Text = "PLCDataReader";
  186. this.Load += new System.EventHandler(this.Form1_Load);
  187. this.ResumeLayout(false);
  188. this.PerformLayout();
  189. }
  190. #endregion
  191. private System.Windows.Forms.TextBox IP;
  192. private System.Windows.Forms.Label IP_label;
  193. private System.Windows.Forms.Label Port_label;
  194. private System.Windows.Forms.TextBox Port;
  195. private System.Windows.Forms.Button OpenServer;
  196. private System.Windows.Forms.Button CloseServer;
  197. private RichTextAutoBottom Result;
  198. private System.Windows.Forms.ComboBox SelectIP;
  199. private RichTextAutoBottom SENDMESSAGE;
  200. private System.Windows.Forms.Button SEND;
  201. private System.Windows.Forms.Label IPTEXT;
  202. private System.Windows.Forms.Label label1;
  203. private System.Windows.Forms.ComboBox Encoding1;
  204. }
  205. }