123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- namespace MOTINOVA_Motor_Factory_Set
- {
- partial class PortSettings
- {
- /// <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.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortSettings));
- this.label1 = new System.Windows.Forms.Label();
- this.comboBox_ComIndex = new System.Windows.Forms.ComboBox();
- this.button_Enter = new System.Windows.Forms.Button();
- this.serialPort1 = new System.IO.Ports.SerialPort(this.components);
- this.button_Connect = new System.Windows.Forms.Button();
- this.SuspendLayout();
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(48, 44);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(58, 21);
- this.label1.TabIndex = 0;
- this.label1.Text = "端口号";
- //
- // comboBox_ComIndex
- //
- this.comboBox_ComIndex.FormattingEnabled = true;
- this.comboBox_ComIndex.Location = new System.Drawing.Point(129, 41);
- this.comboBox_ComIndex.Name = "comboBox_ComIndex";
- this.comboBox_ComIndex.Size = new System.Drawing.Size(121, 29);
- this.comboBox_ComIndex.TabIndex = 1;
- //
- // button_Enter
- //
- this.button_Enter.Location = new System.Drawing.Point(170, 88);
- this.button_Enter.Name = "button_Enter";
- this.button_Enter.Size = new System.Drawing.Size(80, 33);
- this.button_Enter.TabIndex = 2;
- this.button_Enter.Text = "确认";
- this.button_Enter.UseVisualStyleBackColor = true;
- this.button_Enter.Click += new System.EventHandler(this.button_Enter_Click);
- //
- // serialPort1
- //
- this.serialPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort1_DataReceived);
- //
- // button_Connect
- //
- this.button_Connect.Location = new System.Drawing.Point(48, 88);
- this.button_Connect.Name = "button_Connect";
- this.button_Connect.Size = new System.Drawing.Size(80, 33);
- this.button_Connect.TabIndex = 2;
- this.button_Connect.Text = "连接";
- this.button_Connect.UseVisualStyleBackColor = true;
- this.button_Connect.Click += new System.EventHandler(this.button_Connect_Click);
- //
- // PortSettings
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(304, 162);
- this.ControlBox = false;
- this.Controls.Add(this.button_Connect);
- this.Controls.Add(this.button_Enter);
- this.Controls.Add(this.comboBox_ComIndex);
- this.Controls.Add(this.label1);
- this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Margin = new System.Windows.Forms.Padding(5);
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "PortSettings";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "PortSettings";
- this.Load += new System.EventHandler(this.PortSettings_Load);
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.Label label1;
- public System.IO.Ports.SerialPort serialPort1;
- public System.Windows.Forms.Button button_Enter;
- public System.Windows.Forms.ComboBox comboBox_ComIndex;
- public System.Windows.Forms.Button button_Connect;
- }
- }
|