PageRenderTime 48ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/v2.0/Sample/EventPingPong/Form1.Designer.cs

#
C# | 188 lines | 134 code | 10 blank | 44 comment | 3 complexity | 314dea78ba690ec28a3e2c88b6c7931e MD5 | raw file
  1. namespace Microsoft.Sample.EventPingPong
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. this.groupBox1 = new System.Windows.Forms.GroupBox();
  30. this.subscribeEventsButton = new System.Windows.Forms.RadioButton();
  31. this.publishEventsButton = new System.Windows.Forms.RadioButton();
  32. this.stopPubSubButton = new System.Windows.Forms.RadioButton();
  33. this.label2 = new System.Windows.Forms.Label();
  34. this.roundtripRate = new System.Windows.Forms.TextBox();
  35. this.numRoundtrips = new System.Windows.Forms.Label();
  36. this.eventNumberSent = new System.Windows.Forms.TextBox();
  37. this.quitButton = new System.Windows.Forms.Button();
  38. this.timer1 = new System.Windows.Forms.Timer(this.components);
  39. this.groupBox1.SuspendLayout();
  40. this.SuspendLayout();
  41. //
  42. // groupBox1
  43. //
  44. this.groupBox1.Controls.Add(this.subscribeEventsButton);
  45. this.groupBox1.Controls.Add(this.publishEventsButton);
  46. this.groupBox1.Controls.Add(this.stopPubSubButton);
  47. this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  48. this.groupBox1.Location = new System.Drawing.Point(31, 28);
  49. this.groupBox1.Name = "groupBox1";
  50. this.groupBox1.Size = new System.Drawing.Size(228, 118);
  51. this.groupBox1.TabIndex = 1;
  52. this.groupBox1.TabStop = false;
  53. this.groupBox1.Text = "Current State";
  54. //
  55. // subscribeEventsButton
  56. //
  57. this.subscribeEventsButton.AutoSize = true;
  58. this.subscribeEventsButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  59. this.subscribeEventsButton.Location = new System.Drawing.Point(17, 75);
  60. this.subscribeEventsButton.Name = "subscribeEventsButton";
  61. this.subscribeEventsButton.Size = new System.Drawing.Size(179, 24);
  62. this.subscribeEventsButton.TabIndex = 2;
  63. this.subscribeEventsButton.TabStop = true;
  64. this.subscribeEventsButton.Text = "Subscribing to events";
  65. this.subscribeEventsButton.UseVisualStyleBackColor = true;
  66. this.subscribeEventsButton.CheckedChanged += new System.EventHandler(this.subscribeEventsButton_CheckedChanged);
  67. //
  68. // publishEventsButton
  69. //
  70. this.publishEventsButton.AutoSize = true;
  71. this.publishEventsButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  72. this.publishEventsButton.Location = new System.Drawing.Point(17, 51);
  73. this.publishEventsButton.Name = "publishEventsButton";
  74. this.publishEventsButton.Size = new System.Drawing.Size(150, 24);
  75. this.publishEventsButton.TabIndex = 1;
  76. this.publishEventsButton.TabStop = true;
  77. this.publishEventsButton.Text = "Publishing events";
  78. this.publishEventsButton.UseVisualStyleBackColor = true;
  79. this.publishEventsButton.CheckedChanged += new System.EventHandler(this.publishEventsButton_CheckedChanged);
  80. //
  81. // stopPubSubButton
  82. //
  83. this.stopPubSubButton.AutoSize = true;
  84. this.stopPubSubButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  85. this.stopPubSubButton.Location = new System.Drawing.Point(17, 28);
  86. this.stopPubSubButton.Name = "stopPubSubButton";
  87. this.stopPubSubButton.Size = new System.Drawing.Size(88, 24);
  88. this.stopPubSubButton.TabIndex = 0;
  89. this.stopPubSubButton.TabStop = true;
  90. this.stopPubSubButton.Text = "Stopped";
  91. this.stopPubSubButton.UseVisualStyleBackColor = true;
  92. this.stopPubSubButton.CheckedChanged += new System.EventHandler(this.stopPubSubButton_CheckedChanged);
  93. //
  94. // label2
  95. //
  96. this.label2.AutoSize = true;
  97. this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  98. this.label2.Location = new System.Drawing.Point(31, 294);
  99. this.label2.Name = "label2";
  100. this.label2.Size = new System.Drawing.Size(205, 24);
  101. this.label2.TabIndex = 5;
  102. this.label2.Text = "Roundtrips per Second";
  103. //
  104. // roundtripRate
  105. //
  106. this.roundtripRate.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  107. this.roundtripRate.Location = new System.Drawing.Point(254, 294);
  108. this.roundtripRate.Name = "roundtripRate";
  109. this.roundtripRate.ReadOnly = true;
  110. this.roundtripRate.Size = new System.Drawing.Size(302, 29);
  111. this.roundtripRate.TabIndex = 6;
  112. //
  113. // numRoundtrips
  114. //
  115. this.numRoundtrips.AutoSize = true;
  116. this.numRoundtrips.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  117. this.numRoundtrips.Location = new System.Drawing.Point(31, 207);
  118. this.numRoundtrips.Name = "numRoundtrips";
  119. this.numRoundtrips.Size = new System.Drawing.Size(195, 24);
  120. this.numRoundtrips.TabIndex = 7;
  121. this.numRoundtrips.Text = "Number of Roundtrips";
  122. //
  123. // eventNumberSent
  124. //
  125. this.eventNumberSent.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  126. this.eventNumberSent.Location = new System.Drawing.Point(254, 207);
  127. this.eventNumberSent.Name = "eventNumberSent";
  128. this.eventNumberSent.ReadOnly = true;
  129. this.eventNumberSent.Size = new System.Drawing.Size(302, 29);
  130. this.eventNumberSent.TabIndex = 8;
  131. //
  132. // quitButton
  133. //
  134. this.quitButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  135. this.quitButton.Location = new System.Drawing.Point(481, 379);
  136. this.quitButton.Name = "quitButton";
  137. this.quitButton.Size = new System.Drawing.Size(75, 29);
  138. this.quitButton.TabIndex = 2;
  139. this.quitButton.Text = "Quit";
  140. this.quitButton.UseVisualStyleBackColor = true;
  141. this.quitButton.Click += new System.EventHandler(this.quitButton_Click);
  142. //
  143. // timer1
  144. //
  145. this.timer1.Interval = 1000;
  146. this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
  147. //
  148. // Form1
  149. //
  150. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  151. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  152. this.ClientSize = new System.Drawing.Size(634, 464);
  153. this.Controls.Add(this.quitButton);
  154. this.Controls.Add(this.eventNumberSent);
  155. this.Controls.Add(this.numRoundtrips);
  156. this.Controls.Add(this.roundtripRate);
  157. this.Controls.Add(this.label2);
  158. this.Controls.Add(this.groupBox1);
  159. this.Name = "Form1";
  160. this.Text = "Event Ping Pong";
  161. this.groupBox1.ResumeLayout(false);
  162. this.groupBox1.PerformLayout();
  163. this.ResumeLayout(false);
  164. this.PerformLayout();
  165. }
  166. #endregion
  167. private System.Windows.Forms.GroupBox groupBox1;
  168. private System.Windows.Forms.RadioButton subscribeEventsButton;
  169. private System.Windows.Forms.RadioButton publishEventsButton;
  170. private System.Windows.Forms.RadioButton stopPubSubButton;
  171. private System.Windows.Forms.Label label2;
  172. private System.Windows.Forms.TextBox roundtripRate;
  173. private System.Windows.Forms.Label numRoundtrips;
  174. private System.Windows.Forms.TextBox eventNumberSent;
  175. private System.Windows.Forms.Button quitButton;
  176. private System.Windows.Forms.Timer timer1;
  177. }
  178. }