MainForm.Designer.cs 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. namespace Test.TcpClientApp
  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.BTDisconnect = new System.Windows.Forms.Button();
  29. this.TBPort = new System.Windows.Forms.TextBox();
  30. this.TBText = new System.Windows.Forms.TextBox();
  31. this.BTConnect = 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.TBIP = new System.Windows.Forms.TextBox();
  36. this.LBTextLength = new System.Windows.Forms.Label();
  37. this.LBMessageLength = new System.Windows.Forms.Label();
  38. this.LBLine1 = new System.Windows.Forms.Label();
  39. this.BTClear = new System.Windows.Forms.Button();
  40. this.SuspendLayout();
  41. //
  42. // BTDisconnect
  43. //
  44. this.BTDisconnect.Location = new System.Drawing.Point(259, 8);
  45. this.BTDisconnect.Name = "BTDisconnect";
  46. this.BTDisconnect.Size = new System.Drawing.Size(69, 23);
  47. this.BTDisconnect.TabIndex = 7;
  48. this.BTDisconnect.Text = "断开";
  49. this.BTDisconnect.UseVisualStyleBackColor = true;
  50. this.BTDisconnect.Click += new System.EventHandler(this.BTDisconnect_Click);
  51. //
  52. // TBPort
  53. //
  54. this.TBPort.Location = new System.Drawing.Point(128, 10);
  55. this.TBPort.Name = "TBPort";
  56. this.TBPort.Size = new System.Drawing.Size(50, 21);
  57. this.TBPort.TabIndex = 6;
  58. this.TBPort.Text = "52801";
  59. //
  60. // TBText
  61. //
  62. this.TBText.Enabled = false;
  63. this.TBText.Location = new System.Drawing.Point(12, 37);
  64. this.TBText.Multiline = true;
  65. this.TBText.Name = "TBText";
  66. this.TBText.ScrollBars = System.Windows.Forms.ScrollBars.Both;
  67. this.TBText.Size = new System.Drawing.Size(397, 75);
  68. this.TBText.TabIndex = 5;
  69. this.TBText.TextChanged += new System.EventHandler(this.TBText_TextChanged);
  70. //
  71. // BTConnect
  72. //
  73. this.BTConnect.Location = new System.Drawing.Point(184, 8);
  74. this.BTConnect.Name = "BTConnect";
  75. this.BTConnect.Size = new System.Drawing.Size(69, 23);
  76. this.BTConnect.TabIndex = 4;
  77. this.BTConnect.Text = "连接";
  78. this.BTConnect.UseVisualStyleBackColor = true;
  79. this.BTConnect.Click += new System.EventHandler(this.BTConnect_Click);
  80. //
  81. // TBType
  82. //
  83. this.TBType.Location = new System.Drawing.Point(447, 8);
  84. this.TBType.Name = "TBType";
  85. this.TBType.Size = new System.Drawing.Size(55, 21);
  86. this.TBType.TabIndex = 8;
  87. this.TBType.Text = "1000";
  88. //
  89. // TBMessage
  90. //
  91. this.TBMessage.Location = new System.Drawing.Point(447, 35);
  92. this.TBMessage.Multiline = true;
  93. this.TBMessage.Name = "TBMessage";
  94. this.TBMessage.ScrollBars = System.Windows.Forms.ScrollBars.Both;
  95. this.TBMessage.Size = new System.Drawing.Size(139, 77);
  96. this.TBMessage.TabIndex = 9;
  97. this.TBMessage.TextChanged += new System.EventHandler(this.TBMessage_TextChanged);
  98. //
  99. // BTSend
  100. //
  101. this.BTSend.Location = new System.Drawing.Point(517, 6);
  102. this.BTSend.Name = "BTSend";
  103. this.BTSend.Size = new System.Drawing.Size(69, 23);
  104. this.BTSend.TabIndex = 10;
  105. this.BTSend.Text = "发送";
  106. this.BTSend.UseVisualStyleBackColor = true;
  107. this.BTSend.Click += new System.EventHandler(this.BTSend_Click);
  108. //
  109. // TBIP
  110. //
  111. this.TBIP.Location = new System.Drawing.Point(12, 10);
  112. this.TBIP.Name = "TBIP";
  113. this.TBIP.Size = new System.Drawing.Size(109, 21);
  114. this.TBIP.TabIndex = 11;
  115. this.TBIP.Text = "127.0.0.1";
  116. //
  117. // LBTextLength
  118. //
  119. this.LBTextLength.AutoSize = true;
  120. this.LBTextLength.Location = new System.Drawing.Point(12, 115);
  121. this.LBTextLength.Name = "LBTextLength";
  122. this.LBTextLength.Size = new System.Drawing.Size(11, 12);
  123. this.LBTextLength.TabIndex = 12;
  124. this.LBTextLength.Text = "0";
  125. //
  126. // LBMessageLength
  127. //
  128. this.LBMessageLength.AutoSize = true;
  129. this.LBMessageLength.Location = new System.Drawing.Point(445, 115);
  130. this.LBMessageLength.Name = "LBMessageLength";
  131. this.LBMessageLength.Size = new System.Drawing.Size(11, 12);
  132. this.LBMessageLength.TabIndex = 13;
  133. this.LBMessageLength.Text = "0";
  134. //
  135. // LBLine1
  136. //
  137. this.LBLine1.BackColor = System.Drawing.Color.Black;
  138. this.LBLine1.Location = new System.Drawing.Point(427, 8);
  139. this.LBLine1.Name = "LBLine1";
  140. this.LBLine1.Size = new System.Drawing.Size(1, 106);
  141. this.LBLine1.TabIndex = 14;
  142. //
  143. // BTClear
  144. //
  145. this.BTClear.Location = new System.Drawing.Point(340, 6);
  146. this.BTClear.Name = "BTClear";
  147. this.BTClear.Size = new System.Drawing.Size(69, 23);
  148. this.BTClear.TabIndex = 15;
  149. this.BTClear.Text = "清空";
  150. this.BTClear.UseVisualStyleBackColor = true;
  151. this.BTClear.Click += new System.EventHandler(this.BTClear_Click);
  152. //
  153. // MainForm
  154. //
  155. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  156. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  157. this.ClientSize = new System.Drawing.Size(610, 136);
  158. this.Controls.Add(this.BTClear);
  159. this.Controls.Add(this.LBLine1);
  160. this.Controls.Add(this.LBMessageLength);
  161. this.Controls.Add(this.LBTextLength);
  162. this.Controls.Add(this.TBIP);
  163. this.Controls.Add(this.BTSend);
  164. this.Controls.Add(this.TBMessage);
  165. this.Controls.Add(this.TBType);
  166. this.Controls.Add(this.BTDisconnect);
  167. this.Controls.Add(this.TBPort);
  168. this.Controls.Add(this.TBText);
  169. this.Controls.Add(this.BTConnect);
  170. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
  171. this.MaximizeBox = false;
  172. this.MinimizeBox = false;
  173. this.Name = "MainForm";
  174. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  175. this.Text = "Tcp客户端";
  176. this.Load += new System.EventHandler(this.MainForm_Load);
  177. this.ResumeLayout(false);
  178. this.PerformLayout();
  179. }
  180. #endregion
  181. private System.Windows.Forms.Button BTDisconnect;
  182. private System.Windows.Forms.TextBox TBPort;
  183. private System.Windows.Forms.TextBox TBText;
  184. private System.Windows.Forms.Button BTConnect;
  185. private System.Windows.Forms.TextBox TBType;
  186. private System.Windows.Forms.TextBox TBMessage;
  187. private System.Windows.Forms.Button BTSend;
  188. private System.Windows.Forms.TextBox TBIP;
  189. private System.Windows.Forms.Label LBTextLength;
  190. private System.Windows.Forms.Label LBMessageLength;
  191. private System.Windows.Forms.Label LBLine1;
  192. private System.Windows.Forms.Button BTClear;
  193. }
  194. }