MainWindow.Designer.cs 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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.SENDMESSAGE = new UAS_PLCDataReader.RichTextAutoBottom();
  38. this.Result = new UAS_PLCDataReader.RichTextAutoBottom();
  39. this.SuspendLayout();
  40. //
  41. // IP
  42. //
  43. this.IP.Enabled = false;
  44. this.IP.Location = new System.Drawing.Point(103, 325);
  45. this.IP.Name = "IP";
  46. this.IP.Size = new System.Drawing.Size(103, 21);
  47. this.IP.TabIndex = 0;
  48. //
  49. // IP_label
  50. //
  51. this.IP_label.AutoSize = true;
  52. this.IP_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  53. this.IP_label.Location = new System.Drawing.Point(12, 325);
  54. this.IP_label.Name = "IP_label";
  55. this.IP_label.Size = new System.Drawing.Size(85, 21);
  56. this.IP_label.TabIndex = 1;
  57. this.IP_label.Text = "IPAddress";
  58. //
  59. // Port_label
  60. //
  61. this.Port_label.AutoSize = true;
  62. this.Port_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  63. this.Port_label.Location = new System.Drawing.Point(212, 325);
  64. this.Port_label.Name = "Port_label";
  65. this.Port_label.Size = new System.Drawing.Size(42, 21);
  66. this.Port_label.TabIndex = 3;
  67. this.Port_label.Text = "Port";
  68. //
  69. // Port
  70. //
  71. this.Port.Location = new System.Drawing.Point(260, 325);
  72. this.Port.Name = "Port";
  73. this.Port.Size = new System.Drawing.Size(105, 21);
  74. this.Port.TabIndex = 2;
  75. //
  76. // OpenServer
  77. //
  78. this.OpenServer.Location = new System.Drawing.Point(371, 323);
  79. this.OpenServer.Name = "OpenServer";
  80. this.OpenServer.Size = new System.Drawing.Size(65, 23);
  81. this.OpenServer.TabIndex = 4;
  82. this.OpenServer.Text = "Open";
  83. this.OpenServer.UseVisualStyleBackColor = true;
  84. this.OpenServer.Click += new System.EventHandler(this.OpenServer_Click);
  85. //
  86. // CloseServer
  87. //
  88. this.CloseServer.Location = new System.Drawing.Point(442, 323);
  89. this.CloseServer.Name = "CloseServer";
  90. this.CloseServer.Size = new System.Drawing.Size(65, 23);
  91. this.CloseServer.TabIndex = 5;
  92. this.CloseServer.Text = "Close";
  93. this.CloseServer.UseVisualStyleBackColor = true;
  94. this.CloseServer.Click += new System.EventHandler(this.CloseServer_Click);
  95. //
  96. // SelectIP
  97. //
  98. this.SelectIP.FormattingEnabled = true;
  99. this.SelectIP.Location = new System.Drawing.Point(531, 64);
  100. this.SelectIP.Name = "SelectIP";
  101. this.SelectIP.Size = new System.Drawing.Size(159, 20);
  102. this.SelectIP.TabIndex = 7;
  103. //
  104. // SEND
  105. //
  106. this.SEND.Location = new System.Drawing.Point(573, 323);
  107. this.SEND.Name = "SEND";
  108. this.SEND.Size = new System.Drawing.Size(75, 23);
  109. this.SEND.TabIndex = 9;
  110. this.SEND.Text = "SEND";
  111. this.SEND.UseVisualStyleBackColor = true;
  112. //
  113. // IPTEXT
  114. //
  115. this.IPTEXT.AutoSize = true;
  116. this.IPTEXT.Location = new System.Drawing.Point(531, 24);
  117. this.IPTEXT.Name = "IPTEXT";
  118. this.IPTEXT.Size = new System.Drawing.Size(53, 12);
  119. this.IPTEXT.TabIndex = 10;
  120. this.IPTEXT.Text = "已连接IP";
  121. //
  122. // SENDMESSAGE
  123. //
  124. this.SENDMESSAGE.Location = new System.Drawing.Point(531, 120);
  125. this.SENDMESSAGE.Name = "SENDMESSAGE";
  126. this.SENDMESSAGE.Size = new System.Drawing.Size(159, 202);
  127. this.SENDMESSAGE.TabIndex = 8;
  128. this.SENDMESSAGE.Text = "";
  129. //
  130. // Result
  131. //
  132. this.Result.Location = new System.Drawing.Point(12, 12);
  133. this.Result.Name = "Result";
  134. this.Result.Size = new System.Drawing.Size(486, 310);
  135. this.Result.TabIndex = 6;
  136. this.Result.Text = "";
  137. //
  138. // MainWindow
  139. //
  140. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  141. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  142. this.ClientSize = new System.Drawing.Size(702, 358);
  143. this.Controls.Add(this.IPTEXT);
  144. this.Controls.Add(this.SEND);
  145. this.Controls.Add(this.SENDMESSAGE);
  146. this.Controls.Add(this.SelectIP);
  147. this.Controls.Add(this.Result);
  148. this.Controls.Add(this.CloseServer);
  149. this.Controls.Add(this.OpenServer);
  150. this.Controls.Add(this.Port_label);
  151. this.Controls.Add(this.Port);
  152. this.Controls.Add(this.IP_label);
  153. this.Controls.Add(this.IP);
  154. this.MaximizeBox = false;
  155. this.Name = "MainWindow";
  156. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  157. this.Text = "PLCDataReader";
  158. this.Load += new System.EventHandler(this.Form1_Load);
  159. this.ResumeLayout(true);
  160. this.PerformLayout();
  161. }
  162. #endregion
  163. private System.Windows.Forms.TextBox IP;
  164. private System.Windows.Forms.Label IP_label;
  165. private System.Windows.Forms.Label Port_label;
  166. private System.Windows.Forms.TextBox Port;
  167. private System.Windows.Forms.Button OpenServer;
  168. private System.Windows.Forms.Button CloseServer;
  169. private RichTextAutoBottom Result;
  170. private System.Windows.Forms.ComboBox SelectIP;
  171. private RichTextAutoBottom SENDMESSAGE;
  172. private System.Windows.Forms.Button SEND;
  173. private System.Windows.Forms.Label IPTEXT;
  174. }
  175. }