MainForm.Designer.cs 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. namespace Test.TcpServerApp
  2. {
  3. partial class MainForm
  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.BTStart = new System.Windows.Forms.Button();
  29. this.TBText = new System.Windows.Forms.TextBox();
  30. this.TBPort = new System.Windows.Forms.TextBox();
  31. this.BTStop = new System.Windows.Forms.Button();
  32. this.TBType = new System.Windows.Forms.TextBox();
  33. this.TBMessage = new System.Windows.Forms.TextBox();
  34. this.BTSend = new System.Windows.Forms.Button();
  35. this.CBHost = new System.Windows.Forms.ComboBox();
  36. this.LBLine1 = new System.Windows.Forms.Label();
  37. this.LBMessageLength = new System.Windows.Forms.Label();
  38. this.LBTextLength = new System.Windows.Forms.Label();
  39. this.LBConnect = new System.Windows.Forms.Label();
  40. this.BTClear = new System.Windows.Forms.Button();
  41. this.SuspendLayout();
  42. //
  43. // BTStart
  44. //
  45. this.BTStart.Location = new System.Drawing.Point(73, 10);
  46. this.BTStart.Name = "BTStart";
  47. this.BTStart.Size = new System.Drawing.Size(67, 23);
  48. this.BTStart.TabIndex = 0;
  49. this.BTStart.Text = "启动";
  50. this.BTStart.UseVisualStyleBackColor = true;
  51. this.BTStart.Click += new System.EventHandler(this.BTStart_Click);
  52. //
  53. // TBText
  54. //
  55. this.TBText.Enabled = false;
  56. this.TBText.Location = new System.Drawing.Point(12, 41);
  57. this.TBText.Multiline = true;
  58. this.TBText.Name = "TBText";
  59. this.TBText.ScrollBars = System.Windows.Forms.ScrollBars.Both;
  60. this.TBText.Size = new System.Drawing.Size(311, 200);
  61. this.TBText.TabIndex = 1;
  62. this.TBText.TextChanged += new System.EventHandler(this.TBText_TextChanged);
  63. //
  64. // TBPort
  65. //
  66. this.TBPort.Location = new System.Drawing.Point(12, 12);
  67. this.TBPort.Name = "TBPort";
  68. this.TBPort.Size = new System.Drawing.Size(55, 21);
  69. this.TBPort.TabIndex = 2;
  70. this.TBPort.Text = "52801";
  71. //
  72. // BTStop
  73. //
  74. this.BTStop.Location = new System.Drawing.Point(146, 10);
  75. this.BTStop.Name = "BTStop";
  76. this.BTStop.Size = new System.Drawing.Size(66, 23);
  77. this.BTStop.TabIndex = 3;
  78. this.BTStop.Text = "停止";
  79. this.BTStop.UseVisualStyleBackColor = true;
  80. this.BTStop.Click += new System.EventHandler(this.BTStop_Click);
  81. //
  82. // TBType
  83. //
  84. this.TBType.Location = new System.Drawing.Point(359, 12);
  85. this.TBType.Name = "TBType";
  86. this.TBType.Size = new System.Drawing.Size(53, 21);
  87. this.TBType.TabIndex = 4;
  88. this.TBType.Text = "1000";
  89. //
  90. // TBMessage
  91. //
  92. this.TBMessage.Location = new System.Drawing.Point(359, 41);
  93. this.TBMessage.Multiline = true;
  94. this.TBMessage.Name = "TBMessage";
  95. this.TBMessage.ScrollBars = System.Windows.Forms.ScrollBars.Both;
  96. this.TBMessage.Size = new System.Drawing.Size(259, 200);
  97. this.TBMessage.TabIndex = 5;
  98. this.TBMessage.TextChanged += new System.EventHandler(this.TBMessage_TextChanged);
  99. //
  100. // BTSend
  101. //
  102. this.BTSend.Location = new System.Drawing.Point(551, 12);
  103. this.BTSend.Name = "BTSend";
  104. this.BTSend.Size = new System.Drawing.Size(67, 23);
  105. this.BTSend.TabIndex = 6;
  106. this.BTSend.Text = "发送";
  107. this.BTSend.UseVisualStyleBackColor = true;
  108. this.BTSend.Click += new System.EventHandler(this.BTSend_Click);
  109. //
  110. // CBHost
  111. //
  112. this.CBHost.FormattingEnabled = true;
  113. this.CBHost.Location = new System.Drawing.Point(418, 13);
  114. this.CBHost.Name = "CBHost";
  115. this.CBHost.Size = new System.Drawing.Size(121, 20);
  116. this.CBHost.TabIndex = 8;
  117. //
  118. // LBLine1
  119. //
  120. this.LBLine1.BackColor = System.Drawing.Color.Black;
  121. this.LBLine1.Location = new System.Drawing.Point(340, 7);
  122. this.LBLine1.Name = "LBLine1";
  123. this.LBLine1.Size = new System.Drawing.Size(1, 247);
  124. this.LBLine1.TabIndex = 17;
  125. //
  126. // LBMessageLength
  127. //
  128. this.LBMessageLength.AutoSize = true;
  129. this.LBMessageLength.Location = new System.Drawing.Point(359, 244);
  130. this.LBMessageLength.Name = "LBMessageLength";
  131. this.LBMessageLength.Size = new System.Drawing.Size(11, 12);
  132. this.LBMessageLength.TabIndex = 16;
  133. this.LBMessageLength.Text = "0";
  134. //
  135. // LBTextLength
  136. //
  137. this.LBTextLength.AutoSize = true;
  138. this.LBTextLength.Location = new System.Drawing.Point(12, 244);
  139. this.LBTextLength.Name = "LBTextLength";
  140. this.LBTextLength.Size = new System.Drawing.Size(11, 12);
  141. this.LBTextLength.TabIndex = 15;
  142. this.LBTextLength.Text = "0";
  143. //
  144. // LBConnect
  145. //
  146. this.LBConnect.AutoSize = true;
  147. this.LBConnect.Location = new System.Drawing.Point(312, 17);
  148. this.LBConnect.Name = "LBConnect";
  149. this.LBConnect.Size = new System.Drawing.Size(11, 12);
  150. this.LBConnect.TabIndex = 18;
  151. this.LBConnect.Text = "0";
  152. //
  153. // BTClear
  154. //
  155. this.BTClear.Location = new System.Drawing.Point(218, 11);
  156. this.BTClear.Name = "BTClear";
  157. this.BTClear.Size = new System.Drawing.Size(66, 23);
  158. this.BTClear.TabIndex = 19;
  159. this.BTClear.Text = "清空";
  160. this.BTClear.UseVisualStyleBackColor = true;
  161. this.BTClear.Click += new System.EventHandler(this.BTClear_Click);
  162. //
  163. // MainForm
  164. //
  165. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  166. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  167. this.BackColor = System.Drawing.SystemColors.ButtonShadow;
  168. this.ClientSize = new System.Drawing.Size(626, 262);
  169. this.Controls.Add(this.BTClear);
  170. this.Controls.Add(this.LBConnect);
  171. this.Controls.Add(this.LBLine1);
  172. this.Controls.Add(this.LBMessageLength);
  173. this.Controls.Add(this.LBTextLength);
  174. this.Controls.Add(this.CBHost);
  175. this.Controls.Add(this.BTSend);
  176. this.Controls.Add(this.TBMessage);
  177. this.Controls.Add(this.TBType);
  178. this.Controls.Add(this.BTStop);
  179. this.Controls.Add(this.TBPort);
  180. this.Controls.Add(this.TBText);
  181. this.Controls.Add(this.BTStart);
  182. this.Name = "MainForm";
  183. this.Text = "Tcp服务端";
  184. this.Load += new System.EventHandler(this.Form1_Load);
  185. this.ResumeLayout(false);
  186. this.PerformLayout();
  187. }
  188. #endregion
  189. private System.Windows.Forms.Button BTStart;
  190. private System.Windows.Forms.TextBox TBText;
  191. private System.Windows.Forms.TextBox TBPort;
  192. private System.Windows.Forms.Button BTStop;
  193. private System.Windows.Forms.TextBox TBType;
  194. private System.Windows.Forms.TextBox TBMessage;
  195. private System.Windows.Forms.Button BTSend;
  196. private System.Windows.Forms.ComboBox CBHost;
  197. private System.Windows.Forms.Label LBLine1;
  198. private System.Windows.Forms.Label LBMessageLength;
  199. private System.Windows.Forms.Label LBTextLength;
  200. private System.Windows.Forms.Label LBConnect;
  201. private System.Windows.Forms.Button BTClear;
  202. }
  203. }