⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gpssoftware.designer.cs

📁 用C#语言编写
💻 CS
字号:
namespace GPSIOSerialPort
{
    partial class GPSSoftware
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        private System.Windows.Forms.MainMenu mainMenu1;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.mainMenu1 = new System.Windows.Forms.MainMenu();
            this.menuItem1 = new System.Windows.Forms.MenuItem();
            this.scan = new System.Windows.Forms.MenuItem();
            this.open = new System.Windows.Forms.MenuItem();
            this.close = new System.Windows.Forms.MenuItem();
            this.exit = new System.Windows.Forms.MenuItem();
            this.selectedPort = new System.Windows.Forms.ComboBox();
            this.selectedRate = new System.Windows.Forms.ComboBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.gpsInfo = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // mainMenu1
            // 
            this.mainMenu1.MenuItems.Add(this.menuItem1);
            this.mainMenu1.MenuItems.Add(this.exit);
            // 
            // menuItem1
            // 
            this.menuItem1.MenuItems.Add(this.scan);
            this.menuItem1.MenuItems.Add(this.open);
            this.menuItem1.MenuItems.Add(this.close);
            this.menuItem1.Text = "GPS操作";
            // 
            // scan
            // 
            this.scan.Text = "扫描串口";
            // 
            // open
            // 
            this.open.Text = "打开串口";
            this.open.Click += new System.EventHandler(this.open_Click);
            // 
            // close
            // 
            this.close.Text = "关闭串口";
            this.close.Click += new System.EventHandler(this.close_Click);
            // 
            // exit
            // 
            this.exit.Text = "退出";
            this.exit.Click += new System.EventHandler(this.exit_Click);
            // 
            // selectedPort
            // 
            this.selectedPort.Items.Add("COM1:");
            this.selectedPort.Items.Add("COM2:");
            this.selectedPort.Items.Add("COM3:");
            this.selectedPort.Items.Add("COM4:");
            this.selectedPort.Items.Add("COM5:");
            this.selectedPort.Items.Add("COM6:");
            this.selectedPort.Items.Add("COM7:");
            this.selectedPort.Items.Add("COM8:");
            this.selectedPort.Items.Add("COM9:");
            this.selectedPort.Items.Add("COM10:");
            this.selectedPort.Location = new System.Drawing.Point(15, 34);
            this.selectedPort.Name = "selectedPort";
            this.selectedPort.Size = new System.Drawing.Size(100, 22);
            this.selectedPort.TabIndex = 0;
            // 
            // selectedRate
            // 
            this.selectedRate.Items.Add("4800");
            this.selectedRate.Items.Add("9600");
            this.selectedRate.Items.Add("19200");
            this.selectedRate.Items.Add("38400");
            this.selectedRate.Items.Add("115200");
            this.selectedRate.Location = new System.Drawing.Point(124, 34);
            this.selectedRate.Name = "selectedRate";
            this.selectedRate.Size = new System.Drawing.Size(100, 22);
            this.selectedRate.TabIndex = 1;
            // 
            // label1
            // 
            this.label1.Location = new System.Drawing.Point(15, 10);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(100, 20);
            this.label1.Text = "串口号:";
            // 
            // label2
            // 
            this.label2.Location = new System.Drawing.Point(124, 10);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(100, 20);
            this.label2.Text = "数据率:";
            // 
            // gpsInfo
            // 
            this.gpsInfo.Location = new System.Drawing.Point(15, 76);
            this.gpsInfo.Multiline = true;
            this.gpsInfo.Name = "gpsInfo";
            this.gpsInfo.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.gpsInfo.Size = new System.Drawing.Size(209, 164);
            this.gpsInfo.TabIndex = 4;
            // 
            // GPSSoftware
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.AutoScroll = true;
            this.ClientSize = new System.Drawing.Size(240, 268);
            this.Controls.Add(this.gpsInfo);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.selectedRate);
            this.Controls.Add(this.selectedPort);
            this.Menu = this.mainMenu1;
            this.Name = "GPSSoftware";
            this.Text = "GPS";
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.MenuItem menuItem1;
        private System.Windows.Forms.MenuItem scan;
        private System.Windows.Forms.MenuItem open;
        private System.Windows.Forms.MenuItem close;
        private System.Windows.Forms.MenuItem exit;
        private System.Windows.Forms.ComboBox selectedPort;
        private System.Windows.Forms.ComboBox selectedRate;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox gpsInfo;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -