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

📄 fmain.designer.cs

📁 一个用C#写的CDT主站程序
💻 CS
字号:
namespace MySerial
{
    partial class FMain
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <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.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FMain));
            this.sts = new System.Windows.Forms.StatusStrip();
            this.stbTxt_Info1 = new System.Windows.Forms.ToolStripStatusLabel();
            this.ms = new System.Windows.Forms.MenuStrip();
            this.mi_File = new System.Windows.Forms.ToolStripMenuItem();
            this.mi_OpenPort = new System.Windows.Forms.ToolStripMenuItem();
            this.mi_sp1 = new System.Windows.Forms.ToolStripSeparator();
            this.mi_SendHellow = new System.Windows.Forms.ToolStripMenuItem();
            this.mi_ComSet = new System.Windows.Forms.ToolStripMenuItem();
            this.mi_ShowData = new System.Windows.Forms.ToolStripMenuItem();
            this.sp1 = new System.IO.Ports.SerialPort(this.components);
            this.seprator_Main = new System.Windows.Forms.SplitContainer();
            this.toolBar_Main = new System.Windows.Forms.ToolStrip();
            this.tbtn_Setup = new System.Windows.Forms.ToolStripButton();
            this.tbtn_Open = new System.Windows.Forms.ToolStripButton();
            this.tbtn_ShowData = new System.Windows.Forms.ToolStripButton();
            this.rtb_Info = new System.Windows.Forms.RichTextBox();
            this.mi_Help = new System.Windows.Forms.ToolStripMenuItem();
            this.mi_About = new System.Windows.Forms.ToolStripMenuItem();
            this.sts.SuspendLayout();
            this.ms.SuspendLayout();
            this.seprator_Main.Panel1.SuspendLayout();
            this.seprator_Main.Panel2.SuspendLayout();
            this.seprator_Main.SuspendLayout();
            this.toolBar_Main.SuspendLayout();
            this.SuspendLayout();
            // 
            // sts
            // 
            this.sts.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.stbTxt_Info1});
            this.sts.Location = new System.Drawing.Point(0, 441);
            this.sts.Name = "sts";
            this.sts.Size = new System.Drawing.Size(689, 22);
            this.sts.TabIndex = 1;
            this.sts.Text = "statusStrip1";
            // 
            // stbTxt_Info1
            // 
            this.stbTxt_Info1.Name = "stbTxt_Info1";
            this.stbTxt_Info1.Size = new System.Drawing.Size(0, 17);
            // 
            // ms
            // 
            this.ms.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mi_File,
            this.mi_Help});
            this.ms.Location = new System.Drawing.Point(0, 0);
            this.ms.Name = "ms";
            this.ms.Size = new System.Drawing.Size(689, 24);
            this.ms.TabIndex = 2;
            this.ms.Text = "menuStrip1";
            // 
            // mi_File
            // 
            this.mi_File.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mi_OpenPort,
            this.mi_sp1,
            this.mi_SendHellow,
            this.mi_ComSet,
            this.mi_ShowData});
            this.mi_File.Name = "mi_File";
            this.mi_File.Size = new System.Drawing.Size(59, 20);
            this.mi_File.Text = "文件(&F)";
            // 
            // mi_OpenPort
            // 
            this.mi_OpenPort.Name = "mi_OpenPort";
            this.mi_OpenPort.Size = new System.Drawing.Size(124, 22);
            this.mi_OpenPort.Text = "打开串口";
            this.mi_OpenPort.Click += new System.EventHandler(this.mi_OpenPort_Click);
            // 
            // mi_sp1
            // 
            this.mi_sp1.Name = "mi_sp1";
            this.mi_sp1.Size = new System.Drawing.Size(121, 6);
            // 
            // mi_SendHellow
            // 
            this.mi_SendHellow.Name = "mi_SendHellow";
            this.mi_SendHellow.Size = new System.Drawing.Size(124, 22);
            this.mi_SendHellow.Text = "SayHellow";
            this.mi_SendHellow.Click += new System.EventHandler(this.mi_SendHellow_Click);
            // 
            // mi_ComSet
            // 
            this.mi_ComSet.Name = "mi_ComSet";
            this.mi_ComSet.Size = new System.Drawing.Size(124, 22);
            this.mi_ComSet.Text = "串口设置";
            this.mi_ComSet.Click += new System.EventHandler(this.mi_ComSet_Click);
            // 
            // mi_ShowData
            // 
            this.mi_ShowData.Name = "mi_ShowData";
            this.mi_ShowData.Size = new System.Drawing.Size(124, 22);
            this.mi_ShowData.Text = "查看数据";
            this.mi_ShowData.Click += new System.EventHandler(this.mi_ShowData_Click);
            // 
            // sp1
            // 
            this.sp1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.sp1_DataReceived);
            // 
            // seprator_Main
            // 
            this.seprator_Main.Dock = System.Windows.Forms.DockStyle.Fill;
            this.seprator_Main.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.seprator_Main.Location = new System.Drawing.Point(0, 24);
            this.seprator_Main.Name = "seprator_Main";
            this.seprator_Main.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // seprator_Main.Panel1
            // 
            this.seprator_Main.Panel1.Controls.Add(this.toolBar_Main);
            // 
            // seprator_Main.Panel2
            // 
            this.seprator_Main.Panel2.Controls.Add(this.rtb_Info);
            this.seprator_Main.Size = new System.Drawing.Size(689, 417);
            this.seprator_Main.SplitterDistance = 25;
            this.seprator_Main.SplitterWidth = 1;
            this.seprator_Main.TabIndex = 6;
            // 
            // toolBar_Main
            // 
            this.toolBar_Main.CanOverflow = false;
            this.toolBar_Main.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tbtn_Setup,
            this.tbtn_Open,
            this.tbtn_ShowData});
            this.toolBar_Main.Location = new System.Drawing.Point(0, 0);
            this.toolBar_Main.Name = "toolBar_Main";
            this.toolBar_Main.Size = new System.Drawing.Size(689, 25);
            this.toolBar_Main.TabIndex = 6;
            this.toolBar_Main.Text = "工具条";
            // 
            // tbtn_Setup
            // 
            this.tbtn_Setup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.tbtn_Setup.Image = ((System.Drawing.Image)(resources.GetObject("tbtn_Setup.Image")));
            this.tbtn_Setup.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tbtn_Setup.Name = "tbtn_Setup";
            this.tbtn_Setup.Size = new System.Drawing.Size(23, 22);
            this.tbtn_Setup.Text = "串口设置";
            this.tbtn_Setup.Click += new System.EventHandler(this.mi_ComSet_Click);
            // 
            // tbtn_Open
            // 
            this.tbtn_Open.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.tbtn_Open.Image = ((System.Drawing.Image)(resources.GetObject("tbtn_Open.Image")));
            this.tbtn_Open.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tbtn_Open.Name = "tbtn_Open";
            this.tbtn_Open.Size = new System.Drawing.Size(23, 22);
            this.tbtn_Open.Text = "打开串口";
            this.tbtn_Open.Click += new System.EventHandler(this.mi_OpenPort_Click);
            // 
            // tbtn_ShowData
            // 
            this.tbtn_ShowData.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.tbtn_ShowData.Image = ((System.Drawing.Image)(resources.GetObject("tbtn_ShowData.Image")));
            this.tbtn_ShowData.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tbtn_ShowData.Name = "tbtn_ShowData";
            this.tbtn_ShowData.Size = new System.Drawing.Size(23, 22);
            this.tbtn_ShowData.Text = "查看数据";
            this.tbtn_ShowData.Click += new System.EventHandler(this.mi_ShowData_Click);
            // 
            // rtb_Info
            // 
            this.rtb_Info.Dock = System.Windows.Forms.DockStyle.Fill;
            this.rtb_Info.Location = new System.Drawing.Point(0, 0);
            this.rtb_Info.Name = "rtb_Info";
            this.rtb_Info.Size = new System.Drawing.Size(689, 391);
            this.rtb_Info.TabIndex = 4;
            this.rtb_Info.Text = "";
            // 
            // mi_Help
            // 
            this.mi_Help.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mi_About});
            this.mi_Help.Name = "mi_Help";
            this.mi_Help.Size = new System.Drawing.Size(59, 20);
            this.mi_Help.Text = "帮助(&H)";
            // 
            // mi_About
            // 
            this.mi_About.Name = "mi_About";
            this.mi_About.Size = new System.Drawing.Size(152, 22);
            this.mi_About.Text = "关于(&A)";
            // 
            // FMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(689, 463);
            this.Controls.Add(this.seprator_Main);
            this.Controls.Add(this.sts);
            this.Controls.Add(this.ms);
            this.MainMenuStrip = this.ms;
            this.Name = "FMain";
            this.Text = "GlqCDT_Master";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FMain_FormClosing);
            this.Load += new System.EventHandler(this.FMain_Load);
            this.sts.ResumeLayout(false);
            this.sts.PerformLayout();
            this.ms.ResumeLayout(false);
            this.ms.PerformLayout();
            this.seprator_Main.Panel1.ResumeLayout(false);
            this.seprator_Main.Panel1.PerformLayout();
            this.seprator_Main.Panel2.ResumeLayout(false);
            this.seprator_Main.ResumeLayout(false);
            this.toolBar_Main.ResumeLayout(false);
            this.toolBar_Main.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.StatusStrip sts;
        private System.Windows.Forms.MenuStrip ms;
        private System.IO.Ports.SerialPort sp1;
        private System.Windows.Forms.ToolStripMenuItem mi_File;
        private System.Windows.Forms.ToolStripMenuItem mi_OpenPort;
        private System.Windows.Forms.ToolStripMenuItem mi_SendHellow;
        private System.Windows.Forms.ToolStripMenuItem mi_ComSet;
        private System.Windows.Forms.ToolStripSeparator mi_sp1;
        private System.Windows.Forms.SplitContainer seprator_Main;
        private System.Windows.Forms.ToolStrip toolBar_Main;
        private System.Windows.Forms.ToolStripButton tbtn_Setup;
        private System.Windows.Forms.ToolStripButton tbtn_Open;
        private System.Windows.Forms.RichTextBox rtb_Info;
        private System.Windows.Forms.ToolStripStatusLabel stbTxt_Info1;
        private System.Windows.Forms.ToolStripButton tbtn_ShowData;
        private System.Windows.Forms.ToolStripMenuItem mi_ShowData;
        private System.Windows.Forms.ToolStripMenuItem mi_Help;
        private System.Windows.Forms.ToolStripMenuItem mi_About;
    }
}

⌨️ 快捷键说明

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