ExampleForm.Designer.cs 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. namespace UdPunching.ExampleW
  2. {
  3. partial class ExampleForm
  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.components = new System.ComponentModel.Container();
  29. this.StartButton = new System.Windows.Forms.Button();
  30. this.ServerIEndPointTextBox = new System.Windows.Forms.TextBox();
  31. this.StopButton = new System.Windows.Forms.Button();
  32. this.PublicEndPointTextBox = new System.Windows.Forms.TextBox();
  33. this.KeepAliveTimer = new System.Windows.Forms.Timer(this.components);
  34. this.SendButton = new System.Windows.Forms.Button();
  35. this.SendContentTextBox = new System.Windows.Forms.TextBox();
  36. this.RecvTextBox = new System.Windows.Forms.TextBox();
  37. this.PeerKetyDropDown = new System.Windows.Forms.ComboBox();
  38. this.PeerToKnockDropDown = new System.Windows.Forms.ComboBox();
  39. this.KnockButton = new System.Windows.Forms.Button();
  40. this.SendToEndPointTextBox = new System.Windows.Forms.TextBox();
  41. this.SuspendLayout();
  42. //
  43. // StartButton
  44. //
  45. this.StartButton.Location = new System.Drawing.Point(266, 12);
  46. this.StartButton.Name = "StartButton";
  47. this.StartButton.Size = new System.Drawing.Size(64, 23);
  48. this.StartButton.TabIndex = 0;
  49. this.StartButton.Text = "Start";
  50. this.StartButton.UseVisualStyleBackColor = true;
  51. this.StartButton.Click += new System.EventHandler(this.StartButton_Click);
  52. //
  53. // ServerIEndPointTextBox
  54. //
  55. this.ServerIEndPointTextBox.Location = new System.Drawing.Point(12, 38);
  56. this.ServerIEndPointTextBox.Name = "ServerIEndPointTextBox";
  57. this.ServerIEndPointTextBox.Size = new System.Drawing.Size(107, 21);
  58. this.ServerIEndPointTextBox.TabIndex = 1;
  59. this.ServerIEndPointTextBox.Text = "127.0.0.1:23330";
  60. //
  61. // StopButton
  62. //
  63. this.StopButton.Enabled = false;
  64. this.StopButton.Location = new System.Drawing.Point(266, 41);
  65. this.StopButton.Name = "StopButton";
  66. this.StopButton.Size = new System.Drawing.Size(64, 23);
  67. this.StopButton.TabIndex = 0;
  68. this.StopButton.Text = "Stop";
  69. this.StopButton.UseVisualStyleBackColor = true;
  70. this.StopButton.Click += new System.EventHandler(this.StopButton_Click);
  71. //
  72. // PublicEndPointTextBox
  73. //
  74. this.PublicEndPointTextBox.Location = new System.Drawing.Point(125, 38);
  75. this.PublicEndPointTextBox.Name = "PublicEndPointTextBox";
  76. this.PublicEndPointTextBox.ReadOnly = true;
  77. this.PublicEndPointTextBox.Size = new System.Drawing.Size(132, 21);
  78. this.PublicEndPointTextBox.TabIndex = 3;
  79. this.PublicEndPointTextBox.Text = "???.???.???.???:?????";
  80. //
  81. // KeepAliveTimer
  82. //
  83. this.KeepAliveTimer.Interval = 5000;
  84. this.KeepAliveTimer.Tick += new System.EventHandler(this.KeepAliveTimer_Tick);
  85. //
  86. // SendButton
  87. //
  88. this.SendButton.Enabled = false;
  89. this.SendButton.Location = new System.Drawing.Point(266, 99);
  90. this.SendButton.Name = "SendButton";
  91. this.SendButton.Size = new System.Drawing.Size(64, 23);
  92. this.SendButton.TabIndex = 0;
  93. this.SendButton.Text = "Send";
  94. this.SendButton.UseVisualStyleBackColor = true;
  95. this.SendButton.Click += new System.EventHandler(this.SendButton_Click);
  96. //
  97. // SendContentTextBox
  98. //
  99. this.SendContentTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  100. | System.Windows.Forms.AnchorStyles.Left)));
  101. this.SendContentTextBox.Location = new System.Drawing.Point(12, 126);
  102. this.SendContentTextBox.Multiline = true;
  103. this.SendContentTextBox.Name = "SendContentTextBox";
  104. this.SendContentTextBox.Size = new System.Drawing.Size(318, 193);
  105. this.SendContentTextBox.TabIndex = 4;
  106. this.SendContentTextBox.Text = "00000000-0000-0000-0000-000000000000";
  107. //
  108. // RecvTextBox
  109. //
  110. this.RecvTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  111. | System.Windows.Forms.AnchorStyles.Left)
  112. | System.Windows.Forms.AnchorStyles.Right)));
  113. this.RecvTextBox.Location = new System.Drawing.Point(336, 12);
  114. this.RecvTextBox.Multiline = true;
  115. this.RecvTextBox.Name = "RecvTextBox";
  116. this.RecvTextBox.Size = new System.Drawing.Size(431, 307);
  117. this.RecvTextBox.TabIndex = 4;
  118. //
  119. // PeerKetyDropDown
  120. //
  121. this.PeerKetyDropDown.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  122. this.PeerKetyDropDown.FormattingEnabled = true;
  123. this.PeerKetyDropDown.Location = new System.Drawing.Point(12, 12);
  124. this.PeerKetyDropDown.Name = "PeerKetyDropDown";
  125. this.PeerKetyDropDown.Size = new System.Drawing.Size(248, 20);
  126. this.PeerKetyDropDown.TabIndex = 5;
  127. //
  128. // PeerToKnockDropDown
  129. //
  130. this.PeerToKnockDropDown.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  131. this.PeerToKnockDropDown.FormattingEnabled = true;
  132. this.PeerToKnockDropDown.Location = new System.Drawing.Point(12, 70);
  133. this.PeerToKnockDropDown.Name = "PeerToKnockDropDown";
  134. this.PeerToKnockDropDown.Size = new System.Drawing.Size(248, 20);
  135. this.PeerToKnockDropDown.TabIndex = 5;
  136. //
  137. // KnockButton
  138. //
  139. this.KnockButton.Enabled = false;
  140. this.KnockButton.Location = new System.Drawing.Point(266, 70);
  141. this.KnockButton.Name = "KnockButton";
  142. this.KnockButton.Size = new System.Drawing.Size(64, 23);
  143. this.KnockButton.TabIndex = 0;
  144. this.KnockButton.Text = "Knock";
  145. this.KnockButton.UseVisualStyleBackColor = true;
  146. this.KnockButton.Click += new System.EventHandler(this.KnockButton_Click);
  147. //
  148. // SendToEndPointTextBox
  149. //
  150. this.SendToEndPointTextBox.Location = new System.Drawing.Point(12, 99);
  151. this.SendToEndPointTextBox.Name = "SendToEndPointTextBox";
  152. this.SendToEndPointTextBox.ReadOnly = true;
  153. this.SendToEndPointTextBox.Size = new System.Drawing.Size(248, 21);
  154. this.SendToEndPointTextBox.TabIndex = 3;
  155. this.SendToEndPointTextBox.Text = "???.???.???.???:?????";
  156. //
  157. // ExampleForm
  158. //
  159. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  160. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  161. this.ClientSize = new System.Drawing.Size(779, 331);
  162. this.Controls.Add(this.PeerToKnockDropDown);
  163. this.Controls.Add(this.PeerKetyDropDown);
  164. this.Controls.Add(this.RecvTextBox);
  165. this.Controls.Add(this.SendContentTextBox);
  166. this.Controls.Add(this.SendToEndPointTextBox);
  167. this.Controls.Add(this.PublicEndPointTextBox);
  168. this.Controls.Add(this.ServerIEndPointTextBox);
  169. this.Controls.Add(this.StopButton);
  170. this.Controls.Add(this.KnockButton);
  171. this.Controls.Add(this.SendButton);
  172. this.Controls.Add(this.StartButton);
  173. this.Name = "ExampleForm";
  174. this.Text = "UdPoi Example";
  175. this.Shown += new System.EventHandler(this.ExampleForm_Shown);
  176. this.ResumeLayout(false);
  177. this.PerformLayout();
  178. }
  179. #endregion
  180. private System.Windows.Forms.Button StartButton;
  181. private System.Windows.Forms.TextBox ServerIEndPointTextBox;
  182. private System.Windows.Forms.Button StopButton;
  183. private System.Windows.Forms.TextBox PublicEndPointTextBox;
  184. private System.Windows.Forms.Timer KeepAliveTimer;
  185. private System.Windows.Forms.Button SendButton;
  186. private System.Windows.Forms.TextBox SendContentTextBox;
  187. private System.Windows.Forms.TextBox RecvTextBox;
  188. private System.Windows.Forms.ComboBox PeerKetyDropDown;
  189. private System.Windows.Forms.ComboBox PeerToKnockDropDown;
  190. private System.Windows.Forms.Button KnockButton;
  191. private System.Windows.Forms.TextBox SendToEndPointTextBox;
  192. }
  193. }