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

📄 mainfrm.designer.cs

📁 Microsoft .net Framework Compact 下串口通讯范例
💻 CS
字号:
namespace RFConfigTool
{
    partial class MainFrm
    {
        /// <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(MainFrm));
            this.serialPort1 = new System.IO.Ports.SerialPort(this.components);
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.tbPort = new System.Windows.Forms.TextBox();
            this.tbDomain = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.DomainRead = new System.Windows.Forms.Button();
            this.DomainWrite = new System.Windows.Forms.Button();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.btMacWrite = new System.Windows.Forms.Button();
            this.btMacRead = new System.Windows.Forms.Button();
            this.tbMacAddr = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.btSave = new System.Windows.Forms.Button();
            this.cbComPort = new System.Windows.Forms.ComboBox();
            this.label1 = new System.Windows.Forms.Label();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.tabPage3.SuspendLayout();
            this.SuspendLayout();
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location = new System.Drawing.Point(0, 0);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(240, 294);
            this.tabControl1.TabIndex = 0;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.tbPort);
            this.tabPage1.Controls.Add(this.tbDomain);
            this.tabPage1.Controls.Add(this.label3);
            this.tabPage1.Controls.Add(this.label2);
            this.tabPage1.Controls.Add(this.DomainRead);
            this.tabPage1.Controls.Add(this.DomainWrite);
            this.tabPage1.Location = new System.Drawing.Point(0, 0);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Size = new System.Drawing.Size(240, 271);
            this.tabPage1.Text = "配置集中器";
            // 
            // tbPort
            // 
            this.tbPort.Location = new System.Drawing.Point(75, 114);
            this.tbPort.Name = "tbPort";
            this.tbPort.Size = new System.Drawing.Size(145, 21);
            this.tbPort.TabIndex = 5;
            // 
            // tbDomain
            // 
            this.tbDomain.Location = new System.Drawing.Point(75, 49);
            this.tbDomain.Name = "tbDomain";
            this.tbDomain.Size = new System.Drawing.Size(145, 21);
            this.tbDomain.TabIndex = 4;
            // 
            // label3
            // 
            this.label3.Location = new System.Drawing.Point(16, 115);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(53, 20);
            this.label3.Text = "端口:";
            // 
            // label2
            // 
            this.label2.Location = new System.Drawing.Point(16, 50);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(53, 20);
            this.label2.Text = "域名:";
            // 
            // DomainRead
            // 
            this.DomainRead.Location = new System.Drawing.Point(148, 205);
            this.DomainRead.Name = "DomainRead";
            this.DomainRead.Size = new System.Drawing.Size(72, 20);
            this.DomainRead.TabIndex = 1;
            this.DomainRead.Text = "Read";
            this.DomainRead.Click += new System.EventHandler(this.DomainRead_Click);
            // 
            // DomainWrite
            // 
            this.DomainWrite.Location = new System.Drawing.Point(16, 205);
            this.DomainWrite.Name = "DomainWrite";
            this.DomainWrite.Size = new System.Drawing.Size(72, 20);
            this.DomainWrite.TabIndex = 0;
            this.DomainWrite.Text = "Write";
            this.DomainWrite.Click += new System.EventHandler(this.DomainWrite_Click);
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.btMacWrite);
            this.tabPage2.Controls.Add(this.btMacRead);
            this.tabPage2.Controls.Add(this.tbMacAddr);
            this.tabPage2.Controls.Add(this.label4);
            this.tabPage2.Location = new System.Drawing.Point(0, 0);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Size = new System.Drawing.Size(232, 268);
            this.tabPage2.Text = "配置路由器";
            // 
            // btMacWrite
            // 
            this.btMacWrite.Location = new System.Drawing.Point(7, 167);
            this.btMacWrite.Name = "btMacWrite";
            this.btMacWrite.Size = new System.Drawing.Size(72, 20);
            this.btMacWrite.TabIndex = 3;
            this.btMacWrite.Text = "Write";
            this.btMacWrite.Click += new System.EventHandler(this.btMacWrite_Click);
            // 
            // btMacRead
            // 
            this.btMacRead.Location = new System.Drawing.Point(151, 167);
            this.btMacRead.Name = "btMacRead";
            this.btMacRead.Size = new System.Drawing.Size(72, 20);
            this.btMacRead.TabIndex = 2;
            this.btMacRead.Text = "Read";
            this.btMacRead.Click += new System.EventHandler(this.btMacRead_Click);
            // 
            // tbMacAddr
            // 
            this.tbMacAddr.Location = new System.Drawing.Point(81, 76);
            this.tbMacAddr.Name = "tbMacAddr";
            this.tbMacAddr.Size = new System.Drawing.Size(142, 21);
            this.tbMacAddr.TabIndex = 1;
            this.tbMacAddr.Text = "000000";
            // 
            // label4
            // 
            this.label4.Location = new System.Drawing.Point(7, 76);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(77, 23);
            this.label4.Text = "物理地址:";
            // 
            // tabPage3
            // 
            this.tabPage3.Controls.Add(this.btSave);
            this.tabPage3.Controls.Add(this.cbComPort);
            this.tabPage3.Controls.Add(this.label1);
            this.tabPage3.Location = new System.Drawing.Point(0, 0);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Size = new System.Drawing.Size(232, 268);
            this.tabPage3.Text = "端口设置";
            // 
            // btSave
            // 
            this.btSave.Location = new System.Drawing.Point(61, 125);
            this.btSave.Name = "btSave";
            this.btSave.Size = new System.Drawing.Size(131, 20);
            this.btSave.TabIndex = 2;
            this.btSave.Text = "确定";
            this.btSave.Click += new System.EventHandler(this.btSave_Click);
            // 
            // cbComPort
            // 
            this.cbComPort.Items.Add("COM1");
            this.cbComPort.Items.Add("COM2");
            this.cbComPort.Items.Add("COM3");
            this.cbComPort.Location = new System.Drawing.Point(61, 56);
            this.cbComPort.Name = "cbComPort";
            this.cbComPort.Size = new System.Drawing.Size(131, 22);
            this.cbComPort.TabIndex = 1;
            // 
            // label1
            // 
            this.label1.Location = new System.Drawing.Point(8, 58);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(47, 20);
            this.label1.Text = "端口:";
            // 
            // MainFrm
            // 
            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, 294);
            this.Controls.Add(this.tabControl1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimizeBox = false;
            this.Name = "MainFrm";
            this.Text = "无线配置工具";
            this.Load += new System.EventHandler(this.MainFrm_Load);
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage2.ResumeLayout(false);
            this.tabPage3.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.IO.Ports.SerialPort serialPort1;
        private System.Windows.Forms.TabControl tabControl1;
        private System.Windows.Forms.TabPage tabPage1;
        private System.Windows.Forms.TabPage tabPage2;
        private System.Windows.Forms.TabPage tabPage3;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.ComboBox cbComPort;
        private System.Windows.Forms.Button btSave;
        private System.Windows.Forms.TextBox tbPort;
        private System.Windows.Forms.TextBox tbDomain;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Button DomainRead;
        private System.Windows.Forms.Button DomainWrite;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Button btMacWrite;
        private System.Windows.Forms.Button btMacRead;
        private System.Windows.Forms.TextBox tbMacAddr;

    }
}

⌨️ 快捷键说明

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