123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
-
- namespace GUI
- {
- partial class ComConfig
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.label1 = new System.Windows.Forms.Label();
- this.sPort = new System.Windows.Forms.ComboBox();
- this.sRate = new System.Windows.Forms.ComboBox();
- this.label2 = new System.Windows.Forms.Label();
- this.scaleRule1 = new GUI.ScaleRule();
- this.CloseButton = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.button3 = new System.Windows.Forms.Button();
- this.serialOutput = new System.Windows.Forms.TextBox();
- this.SuspendLayout();
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(37, 44);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(75, 28);
- this.label1.TabIndex = 0;
- this.label1.Text = "串口:";
- //
- // sPort
- //
- this.sPort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.sPort.FormattingEnabled = true;
- this.sPort.Location = new System.Drawing.Point(139, 41);
- this.sPort.Name = "sPort";
- this.sPort.Size = new System.Drawing.Size(287, 36);
- this.sPort.TabIndex = 1;
- this.sPort.SelectedIndexChanged += new System.EventHandler(this.sPort_SelectedIndexChanged);
- //
- // sRate
- //
- this.sRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.sRate.FormattingEnabled = true;
- this.sRate.Items.AddRange(new object[] {
- "4800",
- "9600",
- "19200",
- "38400",
- "115200"});
- this.sRate.Location = new System.Drawing.Point(139, 87);
- this.sRate.Name = "sRate";
- this.sRate.Size = new System.Drawing.Size(287, 36);
- this.sRate.TabIndex = 3;
- this.sRate.SelectedIndexChanged += new System.EventHandler(this.sRate_SelectedIndexChanged);
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(37, 90);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(96, 28);
- this.label2.TabIndex = 2;
- this.label2.Text = "波特率:";
- //
- // scaleRule1
- //
- this.scaleRule1.BackColor = System.Drawing.Color.Transparent;
- this.scaleRule1.Degree = 0F;
- this.scaleRule1.Location = new System.Drawing.Point(156, 402);
- this.scaleRule1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
- this.scaleRule1.Name = "scaleRule1";
- this.scaleRule1.Size = new System.Drawing.Size(8, 8);
- this.scaleRule1.TabIndex = 4;
- //
- // CloseButton
- //
- this.CloseButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
- this.CloseButton.Enabled = false;
- this.CloseButton.Location = new System.Drawing.Point(169, 576);
- this.CloseButton.Name = "CloseButton";
- this.CloseButton.Size = new System.Drawing.Size(138, 35);
- this.CloseButton.TabIndex = 5;
- this.CloseButton.Text = "进入控制";
- this.CloseButton.UseVisualStyleBackColor = true;
- this.CloseButton.Click += new System.EventHandler(this.CloseClick);
- //
- // button2
- //
- this.button2.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
- this.button2.Location = new System.Drawing.Point(99, 146);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(138, 35);
- this.button2.TabIndex = 6;
- this.button2.Text = "刷新";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Click += new System.EventHandler(this.RefreshClick);
- //
- // button3
- //
- this.button3.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
- this.button3.Location = new System.Drawing.Point(243, 146);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(138, 35);
- this.button3.TabIndex = 7;
- this.button3.Text = "测试连接";
- this.button3.UseVisualStyleBackColor = true;
- this.button3.Click += new System.EventHandler(this.TryConnectionClick);
- //
- // serialOutput
- //
- this.serialOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.serialOutput.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.serialOutput.Location = new System.Drawing.Point(37, 202);
- this.serialOutput.Multiline = true;
- this.serialOutput.Name = "serialOutput";
- this.serialOutput.ReadOnly = true;
- this.serialOutput.Size = new System.Drawing.Size(404, 350);
- this.serialOutput.TabIndex = 8;
- //
- // ComConfig
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 28F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(476, 636);
- this.Controls.Add(this.serialOutput);
- this.Controls.Add(this.button3);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.CloseButton);
- this.Controls.Add(this.scaleRule1);
- this.Controls.Add(this.sRate);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.sPort);
- this.Controls.Add(this.label1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "ComConfig";
- this.ShowIcon = false;
- this.ShowInTaskbar = false;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "串口连接到机器人";
- this.Load += new System.EventHandler(this.ComConfig_Load);
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.ComboBox sPort;
- private System.Windows.Forms.ComboBox sRate;
- private System.Windows.Forms.Label label2;
- private ScaleRule scaleRule1;
- private System.Windows.Forms.Button CloseButton;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.Button button3;
- private System.Windows.Forms.TextBox serialOutput;
- }
- }
|