ComConfig.Designer.cs 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. 
  2. namespace GUI
  3. {
  4. partial class ComConfig
  5. {
  6. /// <summary>
  7. /// Required designer variable.
  8. /// </summary>
  9. private System.ComponentModel.IContainer components = null;
  10. /// <summary>
  11. /// Clean up any resources being used.
  12. /// </summary>
  13. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14. protected override void Dispose(bool disposing)
  15. {
  16. if (disposing && (components != null))
  17. {
  18. components.Dispose();
  19. }
  20. base.Dispose(disposing);
  21. }
  22. #region Windows Form Designer generated code
  23. /// <summary>
  24. /// Required method for Designer support - do not modify
  25. /// the contents of this method with the code editor.
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. this.label1 = new System.Windows.Forms.Label();
  30. this.sPort = new System.Windows.Forms.ComboBox();
  31. this.sRate = new System.Windows.Forms.ComboBox();
  32. this.label2 = new System.Windows.Forms.Label();
  33. this.scaleRule1 = new GUI.ScaleRule();
  34. this.CloseButton = new System.Windows.Forms.Button();
  35. this.button2 = new System.Windows.Forms.Button();
  36. this.button3 = new System.Windows.Forms.Button();
  37. this.serialOutput = new System.Windows.Forms.TextBox();
  38. this.SuspendLayout();
  39. //
  40. // label1
  41. //
  42. this.label1.AutoSize = true;
  43. this.label1.Location = new System.Drawing.Point(37, 44);
  44. this.label1.Name = "label1";
  45. this.label1.Size = new System.Drawing.Size(75, 28);
  46. this.label1.TabIndex = 0;
  47. this.label1.Text = "串口:";
  48. //
  49. // sPort
  50. //
  51. this.sPort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  52. this.sPort.FormattingEnabled = true;
  53. this.sPort.Location = new System.Drawing.Point(139, 41);
  54. this.sPort.Name = "sPort";
  55. this.sPort.Size = new System.Drawing.Size(287, 36);
  56. this.sPort.TabIndex = 1;
  57. this.sPort.SelectedIndexChanged += new System.EventHandler(this.sPort_SelectedIndexChanged);
  58. //
  59. // sRate
  60. //
  61. this.sRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  62. this.sRate.FormattingEnabled = true;
  63. this.sRate.Items.AddRange(new object[] {
  64. "4800",
  65. "9600",
  66. "19200",
  67. "38400",
  68. "115200"});
  69. this.sRate.Location = new System.Drawing.Point(139, 87);
  70. this.sRate.Name = "sRate";
  71. this.sRate.Size = new System.Drawing.Size(287, 36);
  72. this.sRate.TabIndex = 3;
  73. this.sRate.SelectedIndexChanged += new System.EventHandler(this.sRate_SelectedIndexChanged);
  74. //
  75. // label2
  76. //
  77. this.label2.AutoSize = true;
  78. this.label2.Location = new System.Drawing.Point(37, 90);
  79. this.label2.Name = "label2";
  80. this.label2.Size = new System.Drawing.Size(96, 28);
  81. this.label2.TabIndex = 2;
  82. this.label2.Text = "波特率:";
  83. //
  84. // scaleRule1
  85. //
  86. this.scaleRule1.BackColor = System.Drawing.Color.Transparent;
  87. this.scaleRule1.Degree = 0F;
  88. this.scaleRule1.Location = new System.Drawing.Point(156, 402);
  89. this.scaleRule1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
  90. this.scaleRule1.Name = "scaleRule1";
  91. this.scaleRule1.Size = new System.Drawing.Size(8, 8);
  92. this.scaleRule1.TabIndex = 4;
  93. //
  94. // CloseButton
  95. //
  96. this.CloseButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
  97. this.CloseButton.Enabled = false;
  98. this.CloseButton.Location = new System.Drawing.Point(169, 576);
  99. this.CloseButton.Name = "CloseButton";
  100. this.CloseButton.Size = new System.Drawing.Size(138, 35);
  101. this.CloseButton.TabIndex = 5;
  102. this.CloseButton.Text = "进入控制";
  103. this.CloseButton.UseVisualStyleBackColor = true;
  104. this.CloseButton.Click += new System.EventHandler(this.CloseClick);
  105. //
  106. // button2
  107. //
  108. this.button2.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
  109. this.button2.Location = new System.Drawing.Point(99, 146);
  110. this.button2.Name = "button2";
  111. this.button2.Size = new System.Drawing.Size(138, 35);
  112. this.button2.TabIndex = 6;
  113. this.button2.Text = "刷新";
  114. this.button2.UseVisualStyleBackColor = true;
  115. this.button2.Click += new System.EventHandler(this.RefreshClick);
  116. //
  117. // button3
  118. //
  119. this.button3.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
  120. this.button3.Location = new System.Drawing.Point(243, 146);
  121. this.button3.Name = "button3";
  122. this.button3.Size = new System.Drawing.Size(138, 35);
  123. this.button3.TabIndex = 7;
  124. this.button3.Text = "测试连接";
  125. this.button3.UseVisualStyleBackColor = true;
  126. this.button3.Click += new System.EventHandler(this.TryConnectionClick);
  127. //
  128. // serialOutput
  129. //
  130. this.serialOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  131. | System.Windows.Forms.AnchorStyles.Left)
  132. | System.Windows.Forms.AnchorStyles.Right)));
  133. this.serialOutput.BorderStyle = System.Windows.Forms.BorderStyle.None;
  134. this.serialOutput.Location = new System.Drawing.Point(37, 202);
  135. this.serialOutput.Multiline = true;
  136. this.serialOutput.Name = "serialOutput";
  137. this.serialOutput.ReadOnly = true;
  138. this.serialOutput.Size = new System.Drawing.Size(404, 350);
  139. this.serialOutput.TabIndex = 8;
  140. //
  141. // ComConfig
  142. //
  143. this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 28F);
  144. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  145. this.BackColor = System.Drawing.Color.White;
  146. this.ClientSize = new System.Drawing.Size(476, 636);
  147. this.Controls.Add(this.serialOutput);
  148. this.Controls.Add(this.button3);
  149. this.Controls.Add(this.button2);
  150. this.Controls.Add(this.CloseButton);
  151. this.Controls.Add(this.scaleRule1);
  152. this.Controls.Add(this.sRate);
  153. this.Controls.Add(this.label2);
  154. this.Controls.Add(this.sPort);
  155. this.Controls.Add(this.label1);
  156. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  157. this.MaximizeBox = false;
  158. this.MinimizeBox = false;
  159. this.Name = "ComConfig";
  160. this.ShowIcon = false;
  161. this.ShowInTaskbar = false;
  162. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  163. this.Text = "串口连接到机器人";
  164. this.Load += new System.EventHandler(this.ComConfig_Load);
  165. this.ResumeLayout(false);
  166. this.PerformLayout();
  167. }
  168. #endregion
  169. private System.Windows.Forms.Label label1;
  170. private System.Windows.Forms.ComboBox sPort;
  171. private System.Windows.Forms.ComboBox sRate;
  172. private System.Windows.Forms.Label label2;
  173. private ScaleRule scaleRule1;
  174. private System.Windows.Forms.Button CloseButton;
  175. private System.Windows.Forms.Button button2;
  176. private System.Windows.Forms.Button button3;
  177. private System.Windows.Forms.TextBox serialOutput;
  178. }
  179. }