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

📄 form1.designer.cs

📁 开发C#串口实现了通讯功能好用的很 还有点小的问题要修改一下
💻 CS
📖 第 1 页 / 共 3 页
字号:
            // 
            this.groupBox8.Controls.Add(this.txtAWC);
            this.groupBox8.Controls.Add(this.txtAIC);
            this.groupBox8.Controls.Add(this.txtAVC);
            this.groupBox8.Controls.Add(this.txtAWY);
            this.groupBox8.Controls.Add(this.txtAIY);
            this.groupBox8.Controls.Add(this.txtAVY);
            this.groupBox8.Controls.Add(this.label20);
            this.groupBox8.Controls.Add(this.label21);
            this.groupBox8.Controls.Add(this.label22);
            this.groupBox8.Location = new System.Drawing.Point(6, 20);
            this.groupBox8.Name = "groupBox8";
            this.groupBox8.Size = new System.Drawing.Size(258, 93);
            this.groupBox8.TabIndex = 0;
            this.groupBox8.TabStop = false;
            this.groupBox8.Text = "A相电表";
            // 
            // txtAWC
            // 
            this.txtAWC.Location = new System.Drawing.Point(148, 68);
            this.txtAWC.Name = "txtAWC";
            this.txtAWC.Size = new System.Drawing.Size(99, 21);
            this.txtAWC.TabIndex = 8;
            // 
            // txtAIC
            // 
            this.txtAIC.Location = new System.Drawing.Point(148, 41);
            this.txtAIC.Name = "txtAIC";
            this.txtAIC.Size = new System.Drawing.Size(99, 21);
            this.txtAIC.TabIndex = 7;
            // 
            // txtAVC
            // 
            this.txtAVC.Location = new System.Drawing.Point(148, 14);
            this.txtAVC.Name = "txtAVC";
            this.txtAVC.Size = new System.Drawing.Size(99, 21);
            this.txtAVC.TabIndex = 6;
            // 
            // txtAWY
            // 
            this.txtAWY.Location = new System.Drawing.Point(43, 67);
            this.txtAWY.Name = "txtAWY";
            this.txtAWY.Size = new System.Drawing.Size(99, 21);
            this.txtAWY.TabIndex = 5;
            // 
            // txtAIY
            // 
            this.txtAIY.Location = new System.Drawing.Point(43, 40);
            this.txtAIY.Name = "txtAIY";
            this.txtAIY.Size = new System.Drawing.Size(99, 21);
            this.txtAIY.TabIndex = 4;
            // 
            // txtAVY
            // 
            this.txtAVY.Location = new System.Drawing.Point(43, 13);
            this.txtAVY.Name = "txtAVY";
            this.txtAVY.Size = new System.Drawing.Size(99, 21);
            this.txtAVY.TabIndex = 3;
            // 
            // label20
            // 
            this.label20.AutoSize = true;
            this.label20.Location = new System.Drawing.Point(8, 70);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(29, 12);
            this.label20.TabIndex = 2;
            this.label20.Text = "功率";
            // 
            // label21
            // 
            this.label21.AutoSize = true;
            this.label21.Location = new System.Drawing.Point(8, 43);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(29, 12);
            this.label21.TabIndex = 1;
            this.label21.Text = "电流";
            // 
            // label22
            // 
            this.label22.AutoSize = true;
            this.label22.Location = new System.Drawing.Point(8, 17);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(29, 12);
            this.label22.TabIndex = 0;
            this.label22.Text = "电压";
            // 
            // groupBox9
            // 
            this.groupBox9.Controls.Add(this.label23);
            this.groupBox9.Controls.Add(this.cmbCOMM);
            this.groupBox9.Location = new System.Drawing.Point(314, 327);
            this.groupBox9.Name = "groupBox9";
            this.groupBox9.Size = new System.Drawing.Size(266, 35);
            this.groupBox9.TabIndex = 2;
            this.groupBox9.TabStop = false;
            this.groupBox9.Text = "串口号设置";
            // 
            // label23
            // 
            this.label23.AutoSize = true;
            this.label23.Location = new System.Drawing.Point(39, 17);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(77, 12);
            this.label23.TabIndex = 1;
            this.label23.Text = "选择串口号:";
            // 
            // cmbCOMM
            // 
            this.cmbCOMM.FormattingEnabled = true;
            this.cmbCOMM.Items.AddRange(new object[] {
            "COM1",
            "COM2",
            "COM3",
            "COM4",
            "COM5",
            "COM6"});
            this.cmbCOMM.Location = new System.Drawing.Point(122, 9);
            this.cmbCOMM.Name = "cmbCOMM";
            this.cmbCOMM.Size = new System.Drawing.Size(117, 20);
            this.cmbCOMM.TabIndex = 0;
            this.cmbCOMM.SelectedIndexChanged += new System.EventHandler(this.cmbCOMM_SelectedIndexChanged);
            // 
            // btnwriteSet
            // 
            this.btnwriteSet.Location = new System.Drawing.Point(113, 381);
            this.btnwriteSet.Name = "btnwriteSet";
            this.btnwriteSet.Size = new System.Drawing.Size(80, 26);
            this.btnwriteSet.TabIndex = 8;
            this.btnwriteSet.Text = "读取";
            this.btnwriteSet.UseVisualStyleBackColor = true;
            this.btnwriteSet.Click += new System.EventHandler(this.btnwriteSet_Click);
            // 
            // btnReadSet
            // 
            this.btnReadSet.Location = new System.Drawing.Point(12, 381);
            this.btnReadSet.Name = "btnReadSet";
            this.btnReadSet.Size = new System.Drawing.Size(80, 26);
            this.btnReadSet.TabIndex = 7;
            this.btnReadSet.Text = "存储设备";
            this.btnReadSet.UseCompatibleTextRendering = true;
            this.btnReadSet.UseVisualStyleBackColor = true;
            this.btnReadSet.Click += new System.EventHandler(this.btnReadSet_Click);
            // 
            // btnExit
            // 
            this.btnExit.Location = new System.Drawing.Point(208, 381);
            this.btnExit.Name = "btnExit";
            this.btnExit.Size = new System.Drawing.Size(80, 26);
            this.btnExit.TabIndex = 9;
            this.btnExit.Text = "离开";
            this.btnExit.UseVisualStyleBackColor = true;
            this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
            // 
            // lblMsg
            // 
            this.lblMsg.AutoSize = true;
            this.lblMsg.Font = new System.Drawing.Font("华文行楷", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblMsg.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.lblMsg.Location = new System.Drawing.Point(310, 381);
            this.lblMsg.Name = "lblMsg";
            this.lblMsg.Size = new System.Drawing.Size(57, 21);
            this.lblMsg.TabIndex = 10;
            this.lblMsg.Text = "lblMsg";
            this.lblMsg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // timer1
            // 
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // com
            // 
            this.com.Enabled = true;
            this.com.Location = new System.Drawing.Point(276, 8);
            this.com.Name = "com";
            this.com.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("com.OcxState")));
            this.com.Size = new System.Drawing.Size(38, 38);
            this.com.TabIndex = 11;
            this.com.OnComm += new System.EventHandler(this.com_OnComm);
            // 
            // lblxs
            // 
            this.lblxs.AutoSize = true;
            this.lblxs.ForeColor = System.Drawing.Color.MediumSeaGreen;
            this.lblxs.Location = new System.Drawing.Point(174, 366);
            this.lblxs.Name = "lblxs";
            this.lblxs.Size = new System.Drawing.Size(113, 12);
            this.lblxs.TabIndex = 7;
            this.lblxs.Text = "按下设置满偏信号!";
            this.lblxs.Visible = false;
            // 
            // lbllp
            // 
            this.lbllp.AutoSize = true;
            this.lbllp.ForeColor = System.Drawing.Color.MediumSeaGreen;
            this.lbllp.Location = new System.Drawing.Point(69, 366);
            this.lbllp.Name = "lbllp";
            this.lbllp.Size = new System.Drawing.Size(77, 12);
            this.lbllp.TabIndex = 12;
            this.lbllp.Text = "按下设置零偏";
            this.lbllp.Visible = false;
            // 
            // FrmshowinfoPower
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(593, 419);
            this.Controls.Add(this.lbllp);
            this.Controls.Add(this.lblxs);
            this.Controls.Add(this.com);
            this.Controls.Add(this.lblMsg);
            this.Controls.Add(this.btnExit);
            this.Controls.Add(this.btnwriteSet);
            this.Controls.Add(this.btnReadSet);
            this.Controls.Add(this.groupBox9);
            this.Controls.Add(this.groupBox5);
            this.Controls.Add(this.groupBox1);
            this.MaximizeBox = false;
            this.Name = "FrmshowinfoPower";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "电度调交——奋进电力";
            this.Load += new System.EventHandler(this.FrmshowinfoPower_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox5.ResumeLayout(false);
            this.groupBox5.PerformLayout();
            this.groupBox6.ResumeLayout(false);
            this.groupBox6.PerformLayout();
            this.groupBox7.ResumeLayout(false);
            this.groupBox7.PerformLayout();
            this.groupBox8.ResumeLayout(false);
            this.groupBox8.PerformLayout();
            this.groupBox9.ResumeLayout(false);
            this.groupBox9.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.com)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.GroupBox groupBox4;
        private System.Windows.Forms.TextBox txtCWX;
        private System.Windows.Forms.TextBox txtCIX;
        private System.Windows.Forms.TextBox txtCVX;
        private System.Windows.Forms.TextBox txtCWL;
        private System.Windows.Forms.TextBox txtCIL;
        private System.Windows.Forms.TextBox txtCVL;
        private System.Windows.Forms.Label label13;
        private System.Windows.Forms.Label label14;
        private System.Windows.Forms.Label label15;
        private System.Windows.Forms.GroupBox groupBox3;
        private System.Windows.Forms.TextBox txtBWX;
        private System.Windows.Forms.TextBox txtBIX;
        private System.Windows.Forms.TextBox txtBVX;
        private System.Windows.Forms.TextBox txtBWL;
        private System.Windows.Forms.TextBox txtBIL;
        private System.Windows.Forms.TextBox txtBVL;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox txtAWX;
        private System.Windows.Forms.TextBox txtAIX;
        private System.Windows.Forms.TextBox txtAVX;
        private System.Windows.Forms.TextBox txtAWL;
        private System.Windows.Forms.TextBox txtAIL;
        private System.Windows.Forms.TextBox txtAVL;
        private System.Windows.Forms.Button btnSetX;
        private System.Windows.Forms.Button btnSetL;
        private System.Windows.Forms.GroupBox groupBox5;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.GroupBox groupBox6;
        private System.Windows.Forms.TextBox txtCWC;
        private System.Windows.Forms.TextBox txtCIC;
        private System.Windows.Forms.TextBox txtCVC;
        private System.Windows.Forms.TextBox txtCWY;
        private System.Windows.Forms.TextBox txtCIY;
        private System.Windows.Forms.TextBox txtCVY;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.Label label16;
        private System.Windows.Forms.GroupBox groupBox7;
        private System.Windows.Forms.TextBox txtBWC;
        private System.Windows.Forms.TextBox txtBIC;
        private System.Windows.Forms.TextBox txtBVC;
        private System.Windows.Forms.TextBox txtBWY;
        private System.Windows.Forms.TextBox txtBIY;
        private System.Windows.Forms.TextBox txtBVY;
        private System.Windows.Forms.Label label17;
        private System.Windows.Forms.Label label18;
        private System.Windows.Forms.Label label19;
        private System.Windows.Forms.GroupBox groupBox8;
        private System.Windows.Forms.TextBox txtAWC;
        private System.Windows.Forms.TextBox txtAIC;
        private System.Windows.Forms.TextBox txtAVC;
        private System.Windows.Forms.TextBox txtAWY;
        private System.Windows.Forms.TextBox txtAIY;
        private System.Windows.Forms.TextBox txtAVY;
        private System.Windows.Forms.Label label20;
        private System.Windows.Forms.Label label21;
        private System.Windows.Forms.Label label22;
        private System.Windows.Forms.GroupBox groupBox9;
        private System.Windows.Forms.Label label23;
        private System.Windows.Forms.ComboBox cmbCOMM;
        private System.Windows.Forms.Button btnwriteSet;
        private System.Windows.Forms.Button btnReadSet;
        private System.Windows.Forms.Button btnExit;
        private System.Windows.Forms.Label lblMsg;
        private System.Windows.Forms.Timer timer1;
        private AxMSCommLib.AxMSComm com;
        private System.Windows.Forms.Label lblxs;
        private System.Windows.Forms.Label lbllp;
    }
}

⌨️ 快捷键说明

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