ExampleForm.Designer.cs 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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.SendToEndPointTextBox = new System.Windows.Forms.TextBox();
  36. this.SendContentTextBox = new System.Windows.Forms.TextBox();
  37. this.RecvTextBox = new System.Windows.Forms.TextBox();
  38. this.PeerKetyDropDown = new System.Windows.Forms.ComboBox();
  39. this.StatusLabel = new System.Windows.Forms.Label();
  40. this.SuspendLayout();
  41. //
  42. // StartButton
  43. //
  44. this.StartButton.Location = new System.Drawing.Point(155, 44);
  45. this.StartButton.Name = "StartButton";
  46. this.StartButton.Size = new System.Drawing.Size(75, 23);
  47. this.StartButton.TabIndex = 0;
  48. this.StartButton.Text = "Start";
  49. this.StartButton.UseVisualStyleBackColor = true;
  50. this.StartButton.Click += new System.EventHandler(this.StartButton_Click);
  51. //
  52. // ServerIEndPointTextBox
  53. //
  54. this.ServerIEndPointTextBox.Location = new System.Drawing.Point(12, 44);
  55. this.ServerIEndPointTextBox.Name = "ServerIEndPointTextBox";
  56. this.ServerIEndPointTextBox.Size = new System.Drawing.Size(137, 21);
  57. this.ServerIEndPointTextBox.TabIndex = 1;
  58. this.ServerIEndPointTextBox.Text = "127.111.111.111:23330";
  59. //
  60. // StopButton
  61. //
  62. this.StopButton.Enabled = false;
  63. this.StopButton.Location = new System.Drawing.Point(236, 44);
  64. this.StopButton.Name = "StopButton";
  65. this.StopButton.Size = new System.Drawing.Size(75, 23);
  66. this.StopButton.TabIndex = 0;
  67. this.StopButton.Text = "Stop";
  68. this.StopButton.UseVisualStyleBackColor = true;
  69. this.StopButton.Click += new System.EventHandler(this.StopButton_Click);
  70. //
  71. // PublicEndPointTextBox
  72. //
  73. this.PublicEndPointTextBox.Location = new System.Drawing.Point(317, 46);
  74. this.PublicEndPointTextBox.Name = "PublicEndPointTextBox";
  75. this.PublicEndPointTextBox.ReadOnly = true;
  76. this.PublicEndPointTextBox.Size = new System.Drawing.Size(183, 21);
  77. this.PublicEndPointTextBox.TabIndex = 3;
  78. this.PublicEndPointTextBox.Text = "???.???.???.???:?????";
  79. //
  80. // KeepAliveTimer
  81. //
  82. this.KeepAliveTimer.Interval = 1000;
  83. this.KeepAliveTimer.Tick += new System.EventHandler(this.KeepAliveTimer_Tick);
  84. //
  85. // SendButton
  86. //
  87. this.SendButton.Enabled = false;
  88. this.SendButton.Location = new System.Drawing.Point(155, 71);
  89. this.SendButton.Name = "SendButton";
  90. this.SendButton.Size = new System.Drawing.Size(75, 23);
  91. this.SendButton.TabIndex = 0;
  92. this.SendButton.Text = "Send";
  93. this.SendButton.UseVisualStyleBackColor = true;
  94. this.SendButton.Click += new System.EventHandler(this.SendButton_Click);
  95. //
  96. // SendToEndPointTextBox
  97. //
  98. this.SendToEndPointTextBox.Location = new System.Drawing.Point(12, 71);
  99. this.SendToEndPointTextBox.Name = "SendToEndPointTextBox";
  100. this.SendToEndPointTextBox.Size = new System.Drawing.Size(137, 21);
  101. this.SendToEndPointTextBox.TabIndex = 1;
  102. this.SendToEndPointTextBox.Text = "???.???.???.???:00000";
  103. //
  104. // SendContentTextBox
  105. //
  106. this.SendContentTextBox.Location = new System.Drawing.Point(12, 100);
  107. this.SendContentTextBox.Multiline = true;
  108. this.SendContentTextBox.Name = "SendContentTextBox";
  109. this.SendContentTextBox.Size = new System.Drawing.Size(241, 130);
  110. this.SendContentTextBox.TabIndex = 4;
  111. //
  112. // RecvTextBox
  113. //
  114. this.RecvTextBox.Location = new System.Drawing.Point(259, 100);
  115. this.RecvTextBox.Multiline = true;
  116. this.RecvTextBox.Name = "RecvTextBox";
  117. this.RecvTextBox.Size = new System.Drawing.Size(241, 130);
  118. this.RecvTextBox.TabIndex = 4;
  119. //
  120. // PeerKetyDropDown
  121. //
  122. this.PeerKetyDropDown.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  123. this.PeerKetyDropDown.FormattingEnabled = true;
  124. this.PeerKetyDropDown.Location = new System.Drawing.Point(12, 12);
  125. this.PeerKetyDropDown.Name = "PeerKetyDropDown";
  126. this.PeerKetyDropDown.Size = new System.Drawing.Size(488, 20);
  127. this.PeerKetyDropDown.TabIndex = 5;
  128. //
  129. // StatusLabel
  130. //
  131. this.StatusLabel.AutoSize = true;
  132. this.StatusLabel.Location = new System.Drawing.Point(293, 76);
  133. this.StatusLabel.Name = "StatusLabel";
  134. this.StatusLabel.Size = new System.Drawing.Size(41, 12);
  135. this.StatusLabel.TabIndex = 6;
  136. this.StatusLabel.Text = "Ready.";
  137. //
  138. // ExampleForm
  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(520, 250);
  143. this.Controls.Add(this.StatusLabel);
  144. this.Controls.Add(this.PeerKetyDropDown);
  145. this.Controls.Add(this.RecvTextBox);
  146. this.Controls.Add(this.SendContentTextBox);
  147. this.Controls.Add(this.PublicEndPointTextBox);
  148. this.Controls.Add(this.SendToEndPointTextBox);
  149. this.Controls.Add(this.ServerIEndPointTextBox);
  150. this.Controls.Add(this.StopButton);
  151. this.Controls.Add(this.SendButton);
  152. this.Controls.Add(this.StartButton);
  153. this.Name = "ExampleForm";
  154. this.Text = "UdPoi Example";
  155. this.Shown += new System.EventHandler(this.ExampleForm_Shown);
  156. this.ResumeLayout(false);
  157. this.PerformLayout();
  158. }
  159. #endregion
  160. private System.Windows.Forms.Button StartButton;
  161. private System.Windows.Forms.TextBox ServerIEndPointTextBox;
  162. private System.Windows.Forms.Button StopButton;
  163. private System.Windows.Forms.TextBox PublicEndPointTextBox;
  164. private System.Windows.Forms.Timer KeepAliveTimer;
  165. private System.Windows.Forms.Button SendButton;
  166. private System.Windows.Forms.TextBox SendToEndPointTextBox;
  167. private System.Windows.Forms.TextBox SendContentTextBox;
  168. private System.Windows.Forms.TextBox RecvTextBox;
  169. private System.Windows.Forms.ComboBox PeerKetyDropDown;
  170. private System.Windows.Forms.Label StatusLabel;
  171. }
  172. }