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

📄 mainfrom.designer.cs

📁 gps首先手机要有上网的硬件条件,然后获取某一网络地址映射的GUID ,最后通过调用ConnMgrEstablishConnectionSync函数让手机自己选择某一最 佳路径.
💻 CS
字号:
namespace GPSSerialPortData
{
    partial class MainFrom
    {
        /// <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()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainFrom));
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.toolStripButtonOpenPort = new System.Windows.Forms.ToolStripButton();
            this.toolStripButtonClosePort = new System.Windows.Forms.ToolStripButton();
            this.toolStripButtonEchoplex = new System.Windows.Forms.ToolStripButton();
            this.toolStripButtonConfig = new System.Windows.Forms.ToolStripButton();
            this.toolStripButtonSetTime = new System.Windows.Forms.ToolStripButton();
            this.panel1 = new System.Windows.Forms.Panel();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.tbView = new System.Windows.Forms.TextBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.tbPortState = new System.Windows.Forms.TextBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.chkShowData = new System.Windows.Forms.CheckBox();
            this.btnClear = new System.Windows.Forms.Button();
            this.toolStrip1.SuspendLayout();
            this.panel1.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.SuspendLayout();
            // 
            // toolStrip1
            // 
            this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripButtonOpenPort,
            this.toolStripButtonClosePort,
            this.toolStripButtonEchoplex,
            this.toolStripButtonConfig,
            this.toolStripButtonSetTime});
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(709, 25);
            this.toolStrip1.TabIndex = 0;
            this.toolStrip1.Text = "toolStrip1";
            // 
            // toolStripButtonOpenPort
            // 
            this.toolStripButtonOpenPort.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButtonOpenPort.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButtonOpenPort.Name = "toolStripButtonOpenPort";
            this.toolStripButtonOpenPort.Size = new System.Drawing.Size(57, 22);
            this.toolStripButtonOpenPort.Text = "打开串口";
            this.toolStripButtonOpenPort.Click += new System.EventHandler(this.toolStripButtonOpenPort_Click);
            // 
            // toolStripButtonClosePort
            // 
            this.toolStripButtonClosePort.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButtonClosePort.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButtonClosePort.Name = "toolStripButtonClosePort";
            this.toolStripButtonClosePort.Size = new System.Drawing.Size(57, 22);
            this.toolStripButtonClosePort.Text = "关闭串口";
            this.toolStripButtonClosePort.Click += new System.EventHandler(this.toolStripButtonClosePort_Click);
            // 
            // toolStripButtonEchoplex
            // 
            this.toolStripButtonEchoplex.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButtonEchoplex.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonEchoplex.Image")));
            this.toolStripButtonEchoplex.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButtonEchoplex.Name = "toolStripButtonEchoplex";
            this.toolStripButtonEchoplex.Size = new System.Drawing.Size(57, 22);
            this.toolStripButtonEchoplex.Text = "回送操作";
            this.toolStripButtonEchoplex.Click += new System.EventHandler(this.toolStripButtonEchoplex_Click);
            // 
            // toolStripButtonConfig
            // 
            this.toolStripButtonConfig.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButtonConfig.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonConfig.Image")));
            this.toolStripButtonConfig.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButtonConfig.Name = "toolStripButtonConfig";
            this.toolStripButtonConfig.Size = new System.Drawing.Size(57, 22);
            this.toolStripButtonConfig.Text = "串口配置";
            this.toolStripButtonConfig.Click += new System.EventHandler(this.toolStripButtonConfig_Click);
            // 
            // toolStripButtonSetTime
            // 
            this.toolStripButtonSetTime.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButtonSetTime.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonSetTime.Image")));
            this.toolStripButtonSetTime.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButtonSetTime.Name = "toolStripButtonSetTime";
            this.toolStripButtonSetTime.Size = new System.Drawing.Size(57, 22);
            this.toolStripButtonSetTime.Text = "设置时间";
            this.toolStripButtonSetTime.Click += new System.EventHandler(this.toolStripButtonSetTime_Click);
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.groupBox4);
            this.panel1.Controls.Add(this.groupBox1);
            this.panel1.Controls.Add(this.groupBox2);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(0, 25);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(709, 582);
            this.panel1.TabIndex = 1;
            // 
            // groupBox4
            // 
            this.groupBox4.BackColor = System.Drawing.Color.White;
            this.groupBox4.Controls.Add(this.tbView);
            this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox4.Location = new System.Drawing.Point(0, 86);
            this.groupBox4.Margin = new System.Windows.Forms.Padding(3, 3, 3, 10);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Padding = new System.Windows.Forms.Padding(3, 3, 5, 3);
            this.groupBox4.Size = new System.Drawing.Size(618, 496);
            this.groupBox4.TabIndex = 3;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "终端状态";
            // 
            // tbView
            // 
            this.tbView.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tbView.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tbView.Location = new System.Drawing.Point(3, 17);
            this.tbView.Multiline = true;
            this.tbView.Name = "tbView";
            this.tbView.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.tbView.Size = new System.Drawing.Size(610, 476);
            this.tbView.TabIndex = 0;
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.White;
            this.groupBox1.Controls.Add(this.tbPortState);
            this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupBox1.Location = new System.Drawing.Point(0, 0);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 3, 5, 10);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 3, 5, 3);
            this.groupBox1.Size = new System.Drawing.Size(618, 86);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "串口状态";
            // 
            // tbPortState
            // 
            this.tbPortState.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tbPortState.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tbPortState.Location = new System.Drawing.Point(3, 17);
            this.tbPortState.Multiline = true;
            this.tbPortState.Name = "tbPortState";
            this.tbPortState.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.tbPortState.Size = new System.Drawing.Size(610, 66);
            this.tbPortState.TabIndex = 0;
            // 
            // groupBox2
            // 
            this.groupBox2.AutoSize = true;
            this.groupBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(186)))), ((int)(((byte)(195)))));
            this.groupBox2.Controls.Add(this.chkShowData);
            this.groupBox2.Controls.Add(this.btnClear);
            this.groupBox2.Dock = System.Windows.Forms.DockStyle.Right;
            this.groupBox2.Location = new System.Drawing.Point(618, 0);
            this.groupBox2.Margin = new System.Windows.Forms.Padding(5, 3, 3, 3);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(91, 582);
            this.groupBox2.TabIndex = 1;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "显示状态控制";
            // 
            // chkShowData
            // 
            this.chkShowData.AutoSize = true;
            this.chkShowData.Location = new System.Drawing.Point(13, 38);
            this.chkShowData.Name = "chkShowData";
            this.chkShowData.Size = new System.Drawing.Size(72, 16);
            this.chkShowData.TabIndex = 7;
            this.chkShowData.Text = "显示数据";
            this.chkShowData.UseVisualStyleBackColor = true;
            this.chkShowData.CheckedChanged += new System.EventHandler(this.chkShowData_CheckedChanged);
            // 
            // btnClear
            // 
            this.btnClear.Location = new System.Drawing.Point(13, 77);
            this.btnClear.Name = "btnClear";
            this.btnClear.Size = new System.Drawing.Size(65, 23);
            this.btnClear.TabIndex = 5;
            this.btnClear.Text = "清空显示";
            this.btnClear.UseVisualStyleBackColor = true;
            this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
            // 
            // MainFrom
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(709, 607);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.toolStrip1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize = new System.Drawing.Size(717, 641);
            this.Name = "MainFrom";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "GPS数据接收";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.MainFrom_Load);
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.ToolStrip toolStrip1;
        private System.Windows.Forms.ToolStripButton toolStripButtonOpenPort;
        private System.Windows.Forms.ToolStripButton toolStripButtonClosePort;
        private System.Windows.Forms.ToolStripButton toolStripButtonConfig;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.TextBox tbPortState;
        private System.Windows.Forms.GroupBox groupBox4;
        private System.Windows.Forms.TextBox tbView;
        private System.Windows.Forms.ToolStripButton toolStripButtonEchoplex;
        private System.Windows.Forms.ToolStripButton toolStripButtonSetTime;
        private System.Windows.Forms.Button btnClear;
        private System.Windows.Forms.CheckBox chkShowData;
    }
}

⌨️ 快捷键说明

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