frmClient.Designer.cs 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. namespace SSLClientNS
  2. {
  3. partial class frmClient
  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.groupBox1 = new System.Windows.Forms.GroupBox();
  29. this.cbxAsyncConn = new System.Windows.Forms.CheckBox();
  30. this.txtPort = new System.Windows.Forms.TextBox();
  31. this.txtIpAddress = new System.Windows.Forms.TextBox();
  32. this.btnStop = new System.Windows.Forms.Button();
  33. this.btnStart = new System.Windows.Forms.Button();
  34. this.lbxMsg = new System.Windows.Forms.ListBox();
  35. this.txtSend = new System.Windows.Forms.TextBox();
  36. this.btnSend = new System.Windows.Forms.Button();
  37. this.btnSendFile = new System.Windows.Forms.Button();
  38. this.btnSendSerializableObject = new System.Windows.Forms.Button();
  39. this.groupBox1.SuspendLayout();
  40. this.SuspendLayout();
  41. //
  42. // groupBox1
  43. //
  44. this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  45. | System.Windows.Forms.AnchorStyles.Right)));
  46. this.groupBox1.Controls.Add(this.cbxAsyncConn);
  47. this.groupBox1.Controls.Add(this.txtPort);
  48. this.groupBox1.Controls.Add(this.txtIpAddress);
  49. this.groupBox1.Controls.Add(this.btnStop);
  50. this.groupBox1.Controls.Add(this.btnStart);
  51. this.groupBox1.Location = new System.Drawing.Point(12, 2);
  52. this.groupBox1.Name = "groupBox1";
  53. this.groupBox1.Size = new System.Drawing.Size(464, 47);
  54. this.groupBox1.TabIndex = 11;
  55. this.groupBox1.TabStop = false;
  56. //
  57. // cbxAsyncConn
  58. //
  59. this.cbxAsyncConn.AutoSize = true;
  60. this.cbxAsyncConn.Checked = true;
  61. this.cbxAsyncConn.CheckState = System.Windows.Forms.CheckState.Checked;
  62. this.cbxAsyncConn.Location = new System.Drawing.Point(134, 20);
  63. this.cbxAsyncConn.Name = "cbxAsyncConn";
  64. this.cbxAsyncConn.Size = new System.Drawing.Size(84, 16);
  65. this.cbxAsyncConn.TabIndex = 13;
  66. this.cbxAsyncConn.Text = "Async Conn";
  67. this.cbxAsyncConn.UseVisualStyleBackColor = true;
  68. //
  69. // txtPort
  70. //
  71. this.txtPort.Location = new System.Drawing.Point(88, 18);
  72. this.txtPort.Name = "txtPort";
  73. this.txtPort.Size = new System.Drawing.Size(40, 21);
  74. this.txtPort.TabIndex = 12;
  75. this.txtPort.Text = "5555";
  76. //
  77. // txtIpAddress
  78. //
  79. this.txtIpAddress.Location = new System.Drawing.Point(11, 18);
  80. this.txtIpAddress.Name = "txtIpAddress";
  81. this.txtIpAddress.Size = new System.Drawing.Size(71, 21);
  82. this.txtIpAddress.TabIndex = 11;
  83. this.txtIpAddress.Text = "127.0.0.1";
  84. //
  85. // btnStop
  86. //
  87. this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  88. this.btnStop.Location = new System.Drawing.Point(407, 15);
  89. this.btnStop.Name = "btnStop";
  90. this.btnStop.Size = new System.Drawing.Size(47, 26);
  91. this.btnStop.TabIndex = 10;
  92. this.btnStop.Text = "Stop";
  93. this.btnStop.UseVisualStyleBackColor = true;
  94. this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
  95. //
  96. // btnStart
  97. //
  98. this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  99. this.btnStart.Location = new System.Drawing.Point(354, 15);
  100. this.btnStart.Name = "btnStart";
  101. this.btnStart.Size = new System.Drawing.Size(47, 26);
  102. this.btnStart.TabIndex = 9;
  103. this.btnStart.Text = "Start";
  104. this.btnStart.UseVisualStyleBackColor = true;
  105. this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
  106. //
  107. // lbxMsg
  108. //
  109. this.lbxMsg.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  110. | System.Windows.Forms.AnchorStyles.Left)
  111. | System.Windows.Forms.AnchorStyles.Right)));
  112. this.lbxMsg.FormattingEnabled = true;
  113. this.lbxMsg.ItemHeight = 12;
  114. this.lbxMsg.Location = new System.Drawing.Point(12, 63);
  115. this.lbxMsg.Name = "lbxMsg";
  116. this.lbxMsg.Size = new System.Drawing.Size(465, 244);
  117. this.lbxMsg.TabIndex = 10;
  118. this.lbxMsg.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.lbxMsg_KeyPress);
  119. //
  120. // txtSend
  121. //
  122. this.txtSend.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
  123. | System.Windows.Forms.AnchorStyles.Right)));
  124. this.txtSend.Location = new System.Drawing.Point(11, 321);
  125. this.txtSend.Name = "txtSend";
  126. this.txtSend.Size = new System.Drawing.Size(413, 21);
  127. this.txtSend.TabIndex = 12;
  128. this.txtSend.Text = "text to be sent";
  129. //
  130. // btnSend
  131. //
  132. this.btnSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  133. this.btnSend.Location = new System.Drawing.Point(430, 317);
  134. this.btnSend.Name = "btnSend";
  135. this.btnSend.Size = new System.Drawing.Size(47, 26);
  136. this.btnSend.TabIndex = 13;
  137. this.btnSend.Text = "Send";
  138. this.btnSend.UseVisualStyleBackColor = true;
  139. this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
  140. //
  141. // btnSendFile
  142. //
  143. this.btnSendFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  144. this.btnSendFile.Location = new System.Drawing.Point(206, 348);
  145. this.btnSendFile.Name = "btnSendFile";
  146. this.btnSendFile.Size = new System.Drawing.Size(75, 26);
  147. this.btnSendFile.TabIndex = 14;
  148. this.btnSendFile.Text = "Send file";
  149. this.btnSendFile.UseVisualStyleBackColor = true;
  150. this.btnSendFile.Click += new System.EventHandler(this.btnSendFile_Click);
  151. //
  152. // btnSendSerializableObject
  153. //
  154. this.btnSendSerializableObject.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  155. this.btnSendSerializableObject.Location = new System.Drawing.Point(313, 348);
  156. this.btnSendSerializableObject.Name = "btnSendSerializableObject";
  157. this.btnSendSerializableObject.Size = new System.Drawing.Size(163, 26);
  158. this.btnSendSerializableObject.TabIndex = 15;
  159. this.btnSendSerializableObject.Text = "Send serializable object";
  160. this.btnSendSerializableObject.UseVisualStyleBackColor = true;
  161. this.btnSendSerializableObject.Click += new System.EventHandler(this.btnSendSerializableObject_Click);
  162. //
  163. // frmClient
  164. //
  165. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  166. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  167. this.ClientSize = new System.Drawing.Size(485, 378);
  168. this.Controls.Add(this.btnSendSerializableObject);
  169. this.Controls.Add(this.btnSendFile);
  170. this.Controls.Add(this.btnSend);
  171. this.Controls.Add(this.txtSend);
  172. this.Controls.Add(this.groupBox1);
  173. this.Controls.Add(this.lbxMsg);
  174. this.Name = "frmClient";
  175. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  176. this.Text = "Echo-TcpClient [ \'C\' - clear list box ]";
  177. this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmClient_FormClosed);
  178. this.Load += new System.EventHandler(this.frmClient_Load);
  179. this.groupBox1.ResumeLayout(false);
  180. this.groupBox1.PerformLayout();
  181. this.ResumeLayout(false);
  182. this.PerformLayout();
  183. }
  184. #endregion
  185. private System.Windows.Forms.GroupBox groupBox1;
  186. private System.Windows.Forms.TextBox txtPort;
  187. private System.Windows.Forms.TextBox txtIpAddress;
  188. private System.Windows.Forms.Button btnStop;
  189. private System.Windows.Forms.Button btnStart;
  190. private System.Windows.Forms.ListBox lbxMsg;
  191. private System.Windows.Forms.CheckBox cbxAsyncConn;
  192. private System.Windows.Forms.TextBox txtSend;
  193. private System.Windows.Forms.Button btnSend;
  194. private System.Windows.Forms.Button btnSendFile;
  195. private System.Windows.Forms.Button btnSendSerializableObject;
  196. }
  197. }