/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
      System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
      this.COM1 = new AxMSCommLib.AxMSComm();
      ((System.ComponentModel.ISupportInitialize)(this.COM1)).BeginInit();
      this.SuspendLayout();
      // 
      // COM1
      // 
      this.COM1.Enabled = true;
      this.COM1.Location = new System.Drawing.Point(24, 192);
      this.COM1.Name = "COM1";
      this.COM1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("COM1.OcxState")));
      this.COM1.Size = new System.Drawing.Size(38, 38);
      this.COM1.TabIndex = 0;
      // 
      // Form1
      // 
      this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
      this.ClientSize = new System.Drawing.Size(292, 266);
      this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                  this.COM1});
      this.Name = "Form1";
      this.Text = "Form1";
      this.Load += new System.EventHandler(this.Form1_Load);
      ((System.ComponentModel.ISupportInitialize)(this.COM1)).EndInit();
      this.ResumeLayout(false);

    }
Ejemplo n.º 2
0
        /// <summary>
        /// 初始化Com 口信息


        /// </summary>
        private void InitComPort()
        {
            this._mscom = this.axMSComm1;
            if (_mscom.PortOpen)
            {
                _mscom.PortOpen = false; //初始化
            }
            _mscom.InputLen = 0;         //清除接收缓冲区



            //_mscom.CommPort = base.CommPort;//设置端口号为COM1

            _mscom.RThreshold = 1;           //每接收一个字符则激发OnComm()事件

            _mscom.Settings = "38400,N,8,1"; //端口设置

            _mscom.DTREnable = true;         //置DTR有效

            _mscom.RTSEnable = true;         //置RTS有效

            _mscom.Handshaking = MSCommLib.HandshakeConstants.comNone;

            //m_mscom.InputMode = MSCommLib.InputModeConstants.comInputModeText;  //文本

            _mscom.InputMode = MSCommLib.InputModeConstants.comInputModeBinary;   //二进制



            _mscom.NullDiscard = false;

            _mscom.OnComm += new EventHandler(ReadTagForCom);  //执行一个OnComm事件

            _mscom.InBufferCount = 0;
        }
Ejemplo n.º 3
0
 public void CloseComm()
 {
     if (this.timer != null)
     {
         this.timer.Stop();
     }
     this.axMScomm = null;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// MSComm构造方法1
 /// </summary>
 /// <param name="MScomm">参数为AxMSComm类型</param>
 public MSComm(AxMSCommLib.AxMSComm MScomm)
 {
     this.axMScomm         = MScomm;
     this.axMScomm.OnComm += new EventHandler(MScomm_OnComm);
     if (this.CommMode == "0")
     {
         this.timer          = new System.Timers.Timer();
         this.timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Elapsed);
     }
 }
Ejemplo n.º 5
0
        /// <summary>
        /// 初始化Com 口信息
        /// </summary>
        private void InitComPort()
        {
            this._MSCOM = this.axMSComm05;

            #region 初始化虚拟串口

            if (this._MSCOM.PortOpen)
            {
                this._MSCOM.PortOpen = false;//初始化
            }

            this._MSCOM.InputLen = 0;  //清除接收缓冲区

            //_mscomBatch.CommPort = base.CommPort;//设置端口号为COM1

            this._MSCOM.RThreshold = 285;         //每接收一个字符则激发OnComm()事件

            this._MSCOM.Settings = "38400,N,8,1"; //端口设置

            this._MSCOM.DTREnable = true;         //置DTR有效

            //_mscomBatch.DSRTimeout = 100;

            this._MSCOM.RTSEnable = true;  //置RTS有效

            //_mscomBatch.CTSTimeout = 100;

            this._MSCOM.Handshaking = MSCommLib.HandshakeConstants.comNone;

            //_mscomBatch.InputMode = MSCommLib.InputModeConstants.comInputModeText;  //文本

            this._MSCOM.InputMode = MSCommLib.InputModeConstants.comInputModeBinary;   //二进制

            this._MSCOM.NullDiscard = false;

            this._MSCOM.OnComm += new EventHandler(ReadDataFromCOM);  //执行一个OnComm事件

            this._MSCOM.InBufferCount  = 0;
            this._MSCOM.OutBufferCount = 0;

            #endregion
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.axMSComm1 = new AxMSCommLib.AxMSComm();
     this.lbLog     = new System.Windows.Forms.ListBox();
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm1)).BeginInit();
     this.SuspendLayout();
     //
     // axMSComm1
     //
     this.axMSComm1.Enabled  = true;
     this.axMSComm1.Location = new System.Drawing.Point(160, 72);
     this.axMSComm1.Name     = "axMSComm1";
     this.axMSComm1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMSComm1.OcxState")));
     this.axMSComm1.Size     = new System.Drawing.Size(38, 38);
     this.axMSComm1.TabIndex = 0;
     //
     // lbLog
     //
     this.lbLog.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.lbLog.Location = new System.Drawing.Point(0, 0);
     this.lbLog.Name     = "lbLog";
     this.lbLog.Size     = new System.Drawing.Size(424, 251);
     this.lbLog.TabIndex = 1;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(424, 261);
     this.Controls.Add(this.axMSComm1);
     this.Controls.Add(this.lbLog);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 7
0
 public cSetParam(AxMSCommLib.AxMSComm axMSCommEx)
 {
     axMSComm1 = axMSCommEx;
 }
Ejemplo n.º 8
0
 public cSetParam(AxMSCommLib.AxMSComm axMSCommEx)
 {
     axMSComm1=axMSCommEx;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// �����֧������ķ��� - ��Ҫʹ�ô���༭���޸�
 /// �˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmICSal));
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.txtDepName = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.txtICNo = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.txtWellNo = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.btnRead = new System.Windows.Forms.Button();
     this.btnWrite = new System.Windows.Forms.Button();
     this.btnExit = new System.Windows.Forms.Button();
     this.btnBrush = new System.Windows.Forms.Button();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.txtLeftAmount = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.txtPrice = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.txtMony = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.txtAmount = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.axMSComm2 = new AxMSCommLib.AxMSComm();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm2)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.txtDepName);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtICNo);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtWellNo);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(8, 0);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(312, 120);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     //
     // txtDepName
     //
     this.txtDepName.Location = new System.Drawing.Point(120, 88);
     this.txtDepName.Name = "txtDepName";
     this.txtDepName.ReadOnly = true;
     this.txtDepName.Size = new System.Drawing.Size(168, 21);
     this.txtDepName.TabIndex = 5;
     this.txtDepName.Text = "";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 90);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(96, 16);
     this.label3.TabIndex = 4;
     this.label3.Text = "��λ���ƣ�";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtICNo
     //
     this.txtICNo.Location = new System.Drawing.Point(120, 24);
     this.txtICNo.Name = "txtICNo";
     this.txtICNo.ReadOnly = true;
     this.txtICNo.Size = new System.Drawing.Size(168, 21);
     this.txtICNo.TabIndex = 3;
     this.txtICNo.Text = "";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 24);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(96, 23);
     this.label2.TabIndex = 2;
     this.label2.Text = "ic���ţ�";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtWellNo
     //
     this.txtWellNo.Location = new System.Drawing.Point(120, 56);
     this.txtWellNo.Name = "txtWellNo";
     this.txtWellNo.ReadOnly = true;
     this.txtWellNo.Size = new System.Drawing.Size(168, 21);
     this.txtWellNo.TabIndex = 1;
     this.txtWellNo.Text = "";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 58);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(96, 16);
     this.label1.TabIndex = 0;
     this.label1.Text = "վ��ţ�";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnRead
     //
     this.btnRead.Location = new System.Drawing.Point(8, 288);
     this.btnRead.Name = "btnRead";
     this.btnRead.TabIndex = 1;
     this.btnRead.Text = "����";
     this.btnRead.Click += new System.EventHandler(this.btnRead_Click);
     //
     // btnWrite
     //
     this.btnWrite.Location = new System.Drawing.Point(88, 288);
     this.btnWrite.Name = "btnWrite";
     this.btnWrite.TabIndex = 2;
     this.btnWrite.Text = "��ֵ";
     this.btnWrite.Click += new System.EventHandler(this.btnWrite_Click);
     //
     // btnExit
     //
     this.btnExit.Location = new System.Drawing.Point(248, 288);
     this.btnExit.Name = "btnExit";
     this.btnExit.TabIndex = 3;
     this.btnExit.Text = "�˳�";
     this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
     //
     // btnBrush
     //
     this.btnBrush.Enabled = false;
     this.btnBrush.Location = new System.Drawing.Point(168, 288);
     this.btnBrush.Name = "btnBrush";
     this.btnBrush.TabIndex = 4;
     this.btnBrush.Text = "��ֵ";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.txtLeftAmount);
     this.groupBox2.Controls.Add(this.label7);
     this.groupBox2.Controls.Add(this.txtPrice);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.txtMony);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.txtAmount);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Location = new System.Drawing.Point(8, 128);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(312, 152);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop = false;
     //
     // txtLeftAmount
     //
     this.txtLeftAmount.Location = new System.Drawing.Point(120, 120);
     this.txtLeftAmount.Name = "txtLeftAmount";
     this.txtLeftAmount.ReadOnly = true;
     this.txtLeftAmount.Size = new System.Drawing.Size(176, 21);
     this.txtLeftAmount.TabIndex = 7;
     this.txtLeftAmount.Text = "";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(16, 120);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(96, 23);
     this.label7.TabIndex = 6;
     this.label7.Text = "����ˮ����";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtPrice
     //
     this.txtPrice.Location = new System.Drawing.Point(120, 56);
     this.txtPrice.Name = "txtPrice";
     this.txtPrice.Size = new System.Drawing.Size(176, 21);
     this.txtPrice.TabIndex = 5;
     this.txtPrice.Text = "";
     this.txtPrice.TextChanged += new System.EventHandler(this.txtPrice_TextChanged);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(16, 56);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(96, 24);
     this.label6.TabIndex = 4;
     this.label6.Text = "��ˮ���ۣ�";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtMony
     //
     this.txtMony.Location = new System.Drawing.Point(120, 24);
     this.txtMony.Name = "txtMony";
     this.txtMony.Size = new System.Drawing.Size(176, 21);
     this.txtMony.TabIndex = 3;
     this.txtMony.Text = "";
     this.txtMony.TextChanged += new System.EventHandler(this.txtMony_TextChanged);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(16, 32);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(96, 16);
     this.label5.TabIndex = 2;
     this.label5.Text = "��ˮ��";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtAmount
     //
     this.txtAmount.Location = new System.Drawing.Point(120, 88);
     this.txtAmount.Name = "txtAmount";
     this.txtAmount.ReadOnly = true;
     this.txtAmount.Size = new System.Drawing.Size(176, 21);
     this.txtAmount.TabIndex = 1;
     this.txtAmount.Text = "";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 88);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(104, 23);
     this.label4.TabIndex = 0;
     this.label4.Text = "��ˮ����";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // axMSComm2
     //
     this.axMSComm2.Enabled = true;
     this.axMSComm2.Location = new System.Drawing.Point(312, 120);
     this.axMSComm2.Name = "axMSComm2";
     this.axMSComm2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMSComm2.OcxState")));
     this.axMSComm2.Size = new System.Drawing.Size(38, 38);
     this.axMSComm2.TabIndex = 6;
     //
     // frmICSal
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(330, 320);
     this.Controls.Add(this.axMSComm2);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.btnBrush);
     this.Controls.Add(this.btnExit);
     this.Controls.Add(this.btnWrite);
     this.Controls.Add(this.btnRead);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmICSal";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "IC����ˮ";
     this.Load += new System.EventHandler(this.frmICSal_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm2)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FM_EmptyBang));
     this.panel1 = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tbp_zd = new System.Windows.Forms.TabPage();
     this.txbAuto_Navicert = new System.Windows.Forms.TextBox();
     this.panel4 = new System.Windows.Forms.Panel();
     this.msc_Auto = new AxMSCommLib.AxMSComm();
     this.btn_close = new System.Windows.Forms.Button();
     this.btn_no = new System.Windows.Forms.Button();
     this.btn_ok = new System.Windows.Forms.Button();
     this.label39 = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label74 = new System.Windows.Forms.Label();
     this.panel9 = new System.Windows.Forms.Panel();
     this.lbbcarweigt = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.txtOperator = new System.Windows.Forms.TextBox();
     this.lblOperator = new System.Windows.Forms.Label();
     this.label41 = new System.Windows.Forms.Label();
     this.label40 = new System.Windows.Forms.Label();
     this.text_oldweight = new System.Windows.Forms.TextBox();
     this.txtbangtime = new System.Windows.Forms.TextBox();
     this.label80 = new System.Windows.Forms.Label();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.label72 = new System.Windows.Forms.Label();
     this.txtcarweight = new System.Windows.Forms.TextBox();
     this.label73 = new System.Windows.Forms.Label();
     this.label81 = new System.Windows.Forms.Label();
     this.txtmostweight = new System.Windows.Forms.TextBox();
     this.label82 = new System.Windows.Forms.Label();
     this.label83 = new System.Windows.Forms.Label();
     this.label84 = new System.Windows.Forms.Label();
     this.txtcarno = new System.Windows.Forms.TextBox();
     this.txtcartype = new System.Windows.Forms.TextBox();
     this.label89 = new System.Windows.Forms.Label();
     this.txtcarname = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.label19 = new System.Windows.Forms.Label();
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.button3 = new System.Windows.Forms.Button();
     this.label20 = new System.Windows.Forms.Label();
     this.panel5 = new System.Windows.Forms.Panel();
     this.label21 = new System.Windows.Forms.Label();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.label22 = new System.Windows.Forms.Label();
     this.label23 = new System.Windows.Forms.Label();
     this.label24 = new System.Windows.Forms.Label();
     this.label25 = new System.Windows.Forms.Label();
     this.label26 = new System.Windows.Forms.Label();
     this.label27 = new System.Windows.Forms.Label();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.label28 = new System.Windows.Forms.Label();
     this.label29 = new System.Windows.Forms.Label();
     this.label30 = new System.Windows.Forms.Label();
     this.textBox4 = new System.Windows.Forms.TextBox();
     this.label31 = new System.Windows.Forms.Label();
     this.textBox5 = new System.Windows.Forms.TextBox();
     this.label32 = new System.Windows.Forms.Label();
     this.textBox6 = new System.Windows.Forms.TextBox();
     this.label33 = new System.Windows.Forms.Label();
     this.textBox7 = new System.Windows.Forms.TextBox();
     this.label34 = new System.Windows.Forms.Label();
     this.textBox8 = new System.Windows.Forms.TextBox();
     this.label35 = new System.Windows.Forms.Label();
     this.textBox9 = new System.Windows.Forms.TextBox();
     this.textBox10 = new System.Windows.Forms.TextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.panel2 = new System.Windows.Forms.Panel();
     this.lb_CarWeight = new System.Windows.Forms.Label();
     this.label18 = new System.Windows.Forms.Label();
     this.label17 = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.sp_com = new System.IO.Ports.SerialPort(this.components);
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.tbownername = new System.Windows.Forms.TextBox();
     this.label53 = new System.Windows.Forms.Label();
     this.tbcartype = new System.Windows.Forms.TextBox();
     this.tbcarno = new System.Windows.Forms.TextBox();
     this.label48 = new System.Windows.Forms.Label();
     this.label47 = new System.Windows.Forms.Label();
     this.label46 = new System.Windows.Forms.Label();
     this.tbmostweight = new System.Windows.Forms.TextBox();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.label37 = new System.Windows.Forms.Label();
     this.tbcarweight = new System.Windows.Forms.TextBox();
     this.label36 = new System.Windows.Forms.Label();
     this.label43 = new System.Windows.Forms.Label();
     this.txbInvalidation = new System.Windows.Forms.TextBox();
     this.btnHanUpdate = new System.Windows.Forms.Button();
     this.label45 = new System.Windows.Forms.Label();
     this.label44 = new System.Windows.Forms.Label();
     this.tbbangtime = new System.Windows.Forms.TextBox();
     this.panel6 = new System.Windows.Forms.Panel();
     this.lbcarweight = new System.Windows.Forms.Label();
     this.label38 = new System.Windows.Forms.Label();
     this.btnok = new System.Windows.Forms.Button();
     this.btnno = new System.Windows.Forms.Button();
     this.btnexit = new System.Windows.Forms.Button();
     this.txt_ownername = new System.Windows.Forms.TextBox();
     this.label71 = new System.Windows.Forms.Label();
     this.txt_cartype = new System.Windows.Forms.TextBox();
     this.txt_carno = new System.Windows.Forms.TextBox();
     this.label66 = new System.Windows.Forms.Label();
     this.label65 = new System.Windows.Forms.Label();
     this.label64 = new System.Windows.Forms.Label();
     this.txt_mostweight = new System.Windows.Forms.TextBox();
     this.groupBox7 = new System.Windows.Forms.GroupBox();
     this.label55 = new System.Windows.Forms.Label();
     this.txt_carweight = new System.Windows.Forms.TextBox();
     this.label54 = new System.Windows.Forms.Label();
     this.label63 = new System.Windows.Forms.Label();
     this.label62 = new System.Windows.Forms.Label();
     this.txt_bangtime = new System.Windows.Forms.TextBox();
     this.panel8 = new System.Windows.Forms.Panel();
     this.lblcarweight = new System.Windows.Forms.Label();
     this.label56 = new System.Windows.Forms.Label();
     this.btnEnter = new System.Windows.Forms.Button();
     this.btncancel = new System.Windows.Forms.Button();
     this.btnclose = new System.Windows.Forms.Button();
     this.alarmSound = new ThirdLibrary.AlarmSound(this.components);
     this.panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tbp_zd.SuspendLayout();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.msc_Auto)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.panel9.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.panel5.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.tabControl1);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(699, 468);
     this.panel1.TabIndex = 0;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tbp_zd);
     this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Font = new System.Drawing.Font("宋体", 10.5F);
     this.tabControl1.Location = new System.Drawing.Point(0, 0);
     this.tabControl1.Multiline = true;
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(699, 468);
     this.tabControl1.TabIndex = 1;
     //
     // tbp_zd
     //
     this.tbp_zd.BackColor = System.Drawing.SystemColors.Control;
     this.tbp_zd.Controls.Add(this.txbAuto_Navicert);
     this.tbp_zd.Controls.Add(this.panel4);
     this.tbp_zd.Controls.Add(this.label39);
     this.tbp_zd.Controls.Add(this.groupBox2);
     this.tbp_zd.Controls.Add(this.groupBox1);
     this.tbp_zd.Location = new System.Drawing.Point(4, 24);
     this.tbp_zd.Name = "tbp_zd";
     this.tbp_zd.Size = new System.Drawing.Size(691, 440);
     this.tbp_zd.TabIndex = 3;
     this.tbp_zd.Text = "自动过磅";
     //
     // txbAuto_Navicert
     //
     this.txbAuto_Navicert.Location = new System.Drawing.Point(426, 281);
     this.txbAuto_Navicert.Name = "txbAuto_Navicert";
     this.txbAuto_Navicert.Size = new System.Drawing.Size(115, 23);
     this.txbAuto_Navicert.TabIndex = 25;
     this.txbAuto_Navicert.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txbAuto_Navicert_KeyDown);
     //
     // panel4
     //
     this.panel4.Controls.Add(this.msc_Auto);
     this.panel4.Controls.Add(this.btn_close);
     this.panel4.Controls.Add(this.btn_no);
     this.panel4.Controls.Add(this.btn_ok);
     this.panel4.Cursor = System.Windows.Forms.Cursors.Default;
     this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panel4.Location = new System.Drawing.Point(0, 367);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(691, 73);
     this.panel4.TabIndex = 22;
     //
     // msc_Auto
     //
     this.msc_Auto.Enabled = true;
     this.msc_Auto.Location = new System.Drawing.Point(17, 22);
     this.msc_Auto.Name = "msc_Auto";
     this.msc_Auto.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("msc_Auto.OcxState")));
     this.msc_Auto.Size = new System.Drawing.Size(38, 38);
     this.msc_Auto.TabIndex = 3;
     this.msc_Auto.OnComm += new System.EventHandler(this.msc_Auto_OnComm);
     //
     // btn_close
     //
     this.btn_close.Location = new System.Drawing.Point(468, 37);
     this.btn_close.Name = "btn_close";
     this.btn_close.Size = new System.Drawing.Size(75, 23);
     this.btn_close.TabIndex = 2;
     this.btn_close.Text = "退出";
     this.btn_close.UseVisualStyleBackColor = true;
     this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
     //
     // btn_no
     //
     this.btn_no.Location = new System.Drawing.Point(290, 37);
     this.btn_no.Name = "btn_no";
     this.btn_no.Size = new System.Drawing.Size(75, 23);
     this.btn_no.TabIndex = 1;
     this.btn_no.Text = "复位";
     this.btn_no.UseVisualStyleBackColor = true;
     this.btn_no.Click += new System.EventHandler(this.btn_no_Click);
     //
     // btn_ok
     //
     this.btn_ok.Enabled = false;
     this.btn_ok.Location = new System.Drawing.Point(103, 37);
     this.btn_ok.Name = "btn_ok";
     this.btn_ok.Size = new System.Drawing.Size(75, 23);
     this.btn_ok.TabIndex = 0;
     this.btn_ok.Text = "确定";
     this.btn_ok.UseVisualStyleBackColor = true;
     this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
     //
     // label39
     //
     this.label39.AutoSize = true;
     this.label39.Font = new System.Drawing.Font("宋体", 10.5F);
     this.label39.ForeColor = System.Drawing.Color.Red;
     this.label39.Location = new System.Drawing.Point(343, 287);
     this.label39.Name = "label39";
     this.label39.Size = new System.Drawing.Size(77, 14);
     this.label39.TabIndex = 24;
     this.label39.Text = "请刷准运卡";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label74);
     this.groupBox2.Controls.Add(this.panel9);
     this.groupBox2.Location = new System.Drawing.Point(340, 9);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(345, 220);
     this.groupBox2.TabIndex = 21;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "磅秤信息";
     //
     // label74
     //
     this.label74.AutoSize = true;
     this.label74.Font = new System.Drawing.Font("黑体", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label74.Location = new System.Drawing.Point(262, 93);
     this.label74.Name = "label74";
     this.label74.Size = new System.Drawing.Size(77, 54);
     this.label74.TabIndex = 15;
     this.label74.Text = "吨";
     //
     // panel9
     //
     this.panel9.BackColor = System.Drawing.Color.Black;
     this.panel9.Controls.Add(this.lbbcarweigt);
     this.panel9.Location = new System.Drawing.Point(6, 20);
     this.panel9.Name = "panel9";
     this.panel9.Size = new System.Drawing.Size(256, 190);
     this.panel9.TabIndex = 0;
     //
     // lbbcarweigt
     //
     this.lbbcarweigt.AutoSize = true;
     this.lbbcarweigt.Font = new System.Drawing.Font("宋体", 46F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbbcarweigt.ForeColor = System.Drawing.Color.White;
     this.lbbcarweigt.Location = new System.Drawing.Point(51, 73);
     this.lbbcarweigt.Name = "lbbcarweigt";
     this.lbbcarweigt.Size = new System.Drawing.Size(155, 62);
     this.lbbcarweigt.TabIndex = 17;
     this.lbbcarweigt.Tag = "9999";
     this.lbbcarweigt.Text = "0.00";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.txtOperator);
     this.groupBox1.Controls.Add(this.lblOperator);
     this.groupBox1.Controls.Add(this.label41);
     this.groupBox1.Controls.Add(this.label40);
     this.groupBox1.Controls.Add(this.text_oldweight);
     this.groupBox1.Controls.Add(this.txtbangtime);
     this.groupBox1.Controls.Add(this.label80);
     this.groupBox1.Controls.Add(this.groupBox3);
     this.groupBox1.Controls.Add(this.label81);
     this.groupBox1.Controls.Add(this.txtmostweight);
     this.groupBox1.Controls.Add(this.label82);
     this.groupBox1.Controls.Add(this.label83);
     this.groupBox1.Controls.Add(this.label84);
     this.groupBox1.Controls.Add(this.txtcarno);
     this.groupBox1.Controls.Add(this.txtcartype);
     this.groupBox1.Controls.Add(this.label89);
     this.groupBox1.Controls.Add(this.txtcarname);
     this.groupBox1.Location = new System.Drawing.Point(17, 9);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(284, 307);
     this.groupBox1.TabIndex = 20;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "车辆信息";
     //
     // txtOperator
     //
     this.txtOperator.Enabled = false;
     this.txtOperator.Location = new System.Drawing.Point(110, 210);
     this.txtOperator.Name = "txtOperator";
     this.txtOperator.ReadOnly = true;
     this.txtOperator.Size = new System.Drawing.Size(150, 23);
     this.txtOperator.TabIndex = 176;
     //
     // lblOperator
     //
     this.lblOperator.AutoSize = true;
     this.lblOperator.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblOperator.Location = new System.Drawing.Point(53, 214);
     this.lblOperator.Name = "lblOperator";
     this.lblOperator.Size = new System.Drawing.Size(49, 14);
     this.lblOperator.TabIndex = 175;
     this.lblOperator.Text = "司磅员";
     //
     // label41
     //
     this.label41.AutoSize = true;
     this.label41.Location = new System.Drawing.Point(261, 124);
     this.label41.Name = "label41";
     this.label41.Size = new System.Drawing.Size(21, 14);
     this.label41.TabIndex = 29;
     this.label41.Text = "吨";
     //
     // label40
     //
     this.label40.AutoSize = true;
     this.label40.Location = new System.Drawing.Point(39, 124);
     this.label40.Name = "label40";
     this.label40.Size = new System.Drawing.Size(63, 14);
     this.label40.TabIndex = 28;
     this.label40.Text = "历史皮重";
     //
     // text_oldweight
     //
     this.text_oldweight.Enabled = false;
     this.text_oldweight.Location = new System.Drawing.Point(110, 120);
     this.text_oldweight.MaxLength = 20;
     this.text_oldweight.Name = "text_oldweight";
     this.text_oldweight.ReadOnly = true;
     this.text_oldweight.Size = new System.Drawing.Size(150, 23);
     this.text_oldweight.TabIndex = 27;
     //
     // txtbangtime
     //
     this.txtbangtime.BackColor = System.Drawing.Color.PowderBlue;
     this.txtbangtime.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.txtbangtime.Location = new System.Drawing.Point(111, 269);
     this.txtbangtime.Name = "txtbangtime";
     this.txtbangtime.ReadOnly = true;
     this.txtbangtime.Size = new System.Drawing.Size(150, 23);
     this.txtbangtime.TabIndex = 26;
     //
     // label80
     //
     this.label80.AutoSize = true;
     this.label80.Location = new System.Drawing.Point(261, 246);
     this.label80.Name = "label80";
     this.label80.Size = new System.Drawing.Size(21, 14);
     this.label80.TabIndex = 21;
     this.label80.Text = "吨";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.label72);
     this.groupBox3.Controls.Add(this.txtcarweight);
     this.groupBox3.Controls.Add(this.label73);
     this.groupBox3.Location = new System.Drawing.Point(6, 149);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(255, 45);
     this.groupBox3.TabIndex = 23;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "电子秤数据";
     //
     // label72
     //
     this.label72.AutoSize = true;
     this.label72.Location = new System.Drawing.Point(207, 20);
     this.label72.Name = "label72";
     this.label72.Size = new System.Drawing.Size(21, 14);
     this.label72.TabIndex = 20;
     this.label72.Text = "吨";
     //
     // txtcarweight
     //
     this.txtcarweight.BackColor = System.Drawing.Color.PowderBlue;
     this.txtcarweight.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     this.txtcarweight.ForeColor = System.Drawing.SystemColors.InfoText;
     this.txtcarweight.Location = new System.Drawing.Point(101, 17);
     this.txtcarweight.Name = "txtcarweight";
     this.txtcarweight.ReadOnly = true;
     this.txtcarweight.Size = new System.Drawing.Size(100, 23);
     this.txtcarweight.TabIndex = 21;
     this.txtcarweight.Text = "0.00";
     //
     // label73
     //
     this.label73.AutoSize = true;
     this.label73.Location = new System.Drawing.Point(32, 20);
     this.label73.Name = "label73";
     this.label73.Size = new System.Drawing.Size(63, 14);
     this.label73.TabIndex = 19;
     this.label73.Text = "空车重量";
     //
     // label81
     //
     this.label81.AutoSize = true;
     this.label81.Location = new System.Drawing.Point(40, 273);
     this.label81.Name = "label81";
     this.label81.Size = new System.Drawing.Size(63, 14);
     this.label81.TabIndex = 18;
     this.label81.Text = "过磅时间";
     //
     // txtmostweight
     //
     this.txtmostweight.Enabled = false;
     this.txtmostweight.Location = new System.Drawing.Point(111, 241);
     this.txtmostweight.MaxLength = 9;
     this.txtmostweight.Name = "txtmostweight";
     this.txtmostweight.ReadOnly = true;
     this.txtmostweight.Size = new System.Drawing.Size(150, 23);
     this.txtmostweight.TabIndex = 7;
     //
     // label82
     //
     this.label82.AutoSize = true;
     this.label82.Location = new System.Drawing.Point(40, 96);
     this.label82.Name = "label82";
     this.label82.Size = new System.Drawing.Size(63, 14);
     this.label82.TabIndex = 15;
     this.label82.Text = "车主姓名";
     //
     // label83
     //
     this.label83.AutoSize = true;
     this.label83.Location = new System.Drawing.Point(54, 40);
     this.label83.Name = "label83";
     this.label83.Size = new System.Drawing.Size(49, 14);
     this.label83.TabIndex = 8;
     this.label83.Text = "车牌号";
     //
     // label84
     //
     this.label84.AutoSize = true;
     this.label84.Location = new System.Drawing.Point(12, 244);
     this.label84.Name = "label84";
     this.label84.Size = new System.Drawing.Size(91, 14);
     this.label84.TabIndex = 14;
     this.label84.Text = "重车最高限量";
     //
     // txtcarno
     //
     this.txtcarno.Enabled = false;
     this.txtcarno.Location = new System.Drawing.Point(111, 36);
     this.txtcarno.MaxLength = 40;
     this.txtcarno.Name = "txtcarno";
     this.txtcarno.ReadOnly = true;
     this.txtcarno.Size = new System.Drawing.Size(150, 23);
     this.txtcarno.TabIndex = 0;
     //
     // txtcartype
     //
     this.txtcartype.Enabled = false;
     this.txtcartype.Location = new System.Drawing.Point(111, 64);
     this.txtcartype.MaxLength = 20;
     this.txtcartype.Name = "txtcartype";
     this.txtcartype.ReadOnly = true;
     this.txtcartype.Size = new System.Drawing.Size(150, 23);
     this.txtcartype.TabIndex = 1;
     //
     // label89
     //
     this.label89.AutoSize = true;
     this.label89.Location = new System.Drawing.Point(54, 67);
     this.label89.Name = "label89";
     this.label89.Size = new System.Drawing.Size(49, 14);
     this.label89.TabIndex = 9;
     this.label89.Text = "车型号";
     //
     // txtcarname
     //
     this.txtcarname.Enabled = false;
     this.txtcarname.Location = new System.Drawing.Point(111, 92);
     this.txtcarname.MaxLength = 20;
     this.txtcarname.Name = "txtcarname";
     this.txtcarname.ReadOnly = true;
     this.txtcarname.Size = new System.Drawing.Size(150, 23);
     this.txtcarname.TabIndex = 2;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(209, 36);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(17, 12);
     this.label9.TabIndex = 20;
     this.label9.Text = "吨";
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(103, 33);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(100, 21);
     this.textBox1.TabIndex = 19;
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Location = new System.Drawing.Point(32, 36);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(65, 12);
     this.label19.TabIndex = 19;
     this.label19.Text = "空车重量:";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(271, 36);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 2;
     this.button1.Text = "退出";
     this.button1.UseVisualStyleBackColor = true;
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(189, 37);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(75, 23);
     this.button2.TabIndex = 1;
     this.button2.Text = "复位";
     this.button2.UseVisualStyleBackColor = true;
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(108, 37);
     this.button3.Name = "button3";
     this.button3.Size = new System.Drawing.Size(75, 23);
     this.button3.TabIndex = 0;
     this.button3.Text = "确定";
     this.button3.UseVisualStyleBackColor = true;
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Font = new System.Drawing.Font("黑体", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label20.Location = new System.Drawing.Point(262, 93);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(77, 54);
     this.label20.TabIndex = 15;
     this.label20.Text = "吨";
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.Black;
     this.panel5.Controls.Add(this.label21);
     this.panel5.Location = new System.Drawing.Point(6, 20);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(256, 190);
     this.panel5.TabIndex = 0;
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Font = new System.Drawing.Font("黑体", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label21.ForeColor = System.Drawing.Color.White;
     this.label21.Location = new System.Drawing.Point(46, 73);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(185, 54);
     this.label21.TabIndex = 17;
     this.label21.Text = "33.687";
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(111, 269);
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(123, 21);
     this.textBox2.TabIndex = 26;
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.ForeColor = System.Drawing.Color.Red;
     this.label22.Location = new System.Drawing.Point(255, 240);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(11, 12);
     this.label22.TabIndex = 25;
     this.label22.Text = "*";
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.ForeColor = System.Drawing.Color.Red;
     this.label23.Location = new System.Drawing.Point(239, 80);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(11, 12);
     this.label23.TabIndex = 24;
     this.label23.Text = "*";
     //
     // label24
     //
     this.label24.AutoSize = true;
     this.label24.ForeColor = System.Drawing.Color.Red;
     this.label24.Location = new System.Drawing.Point(239, 49);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(11, 12);
     this.label24.TabIndex = 23;
     this.label24.Text = "*";
     //
     // label25
     //
     this.label25.AutoSize = true;
     this.label25.ForeColor = System.Drawing.Color.Red;
     this.label25.Location = new System.Drawing.Point(239, 17);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(11, 12);
     this.label25.TabIndex = 22;
     this.label25.Text = "*";
     //
     // label26
     //
     this.label26.AutoSize = true;
     this.label26.Location = new System.Drawing.Point(239, 240);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(17, 12);
     this.label26.TabIndex = 21;
     this.label26.Text = "吨";
     //
     // label27
     //
     this.label27.AutoSize = true;
     this.label27.Location = new System.Drawing.Point(40, 272);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(65, 12);
     this.label27.TabIndex = 18;
     this.label27.Text = "过磅时间:";
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(111, 237);
     this.textBox3.Name = "textBox3";
     this.textBox3.Size = new System.Drawing.Size(123, 21);
     this.textBox3.TabIndex = 16;
     //
     // label28
     //
     this.label28.AutoSize = true;
     this.label28.Location = new System.Drawing.Point(40, 80);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(65, 12);
     this.label28.TabIndex = 15;
     this.label28.Text = "车主姓名:";
     //
     // label29
     //
     this.label29.AutoSize = true;
     this.label29.Location = new System.Drawing.Point(52, 16);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(53, 12);
     this.label29.TabIndex = 8;
     this.label29.Text = "车牌号:";
     //
     // label30
     //
     this.label30.AutoSize = true;
     this.label30.Location = new System.Drawing.Point(16, 240);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(89, 12);
     this.label30.TabIndex = 14;
     this.label30.Text = "重车最高限量:";
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(111, 13);
     this.textBox4.MaxLength = 40;
     this.textBox4.Name = "textBox4";
     this.textBox4.Size = new System.Drawing.Size(123, 21);
     this.textBox4.TabIndex = 0;
     //
     // label31
     //
     this.label31.AutoSize = true;
     this.label31.Location = new System.Drawing.Point(28, 208);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(77, 12);
     this.label31.TabIndex = 13;
     this.label31.Text = "驾驶员电话:";
     //
     // textBox5
     //
     this.textBox5.Location = new System.Drawing.Point(111, 45);
     this.textBox5.Name = "textBox5";
     this.textBox5.Size = new System.Drawing.Size(123, 21);
     this.textBox5.TabIndex = 1;
     //
     // label32
     //
     this.label32.AutoSize = true;
     this.label32.Location = new System.Drawing.Point(16, 176);
     this.label32.Name = "label32";
     this.label32.Size = new System.Drawing.Size(89, 12);
     this.label32.TabIndex = 12;
     this.label32.Text = "驾驶员身份证:";
     //
     // textBox6
     //
     this.textBox6.Location = new System.Drawing.Point(111, 141);
     this.textBox6.Name = "textBox6";
     this.textBox6.Size = new System.Drawing.Size(123, 21);
     this.textBox6.TabIndex = 2;
     //
     // label33
     //
     this.label33.AutoSize = true;
     this.label33.Location = new System.Drawing.Point(40, 144);
     this.label33.Name = "label33";
     this.label33.Size = new System.Drawing.Size(65, 12);
     this.label33.TabIndex = 11;
     this.label33.Text = "车主电话:";
     //
     // textBox7
     //
     this.textBox7.Location = new System.Drawing.Point(111, 109);
     this.textBox7.Name = "textBox7";
     this.textBox7.Size = new System.Drawing.Size(123, 21);
     this.textBox7.TabIndex = 3;
     //
     // label34
     //
     this.label34.AutoSize = true;
     this.label34.Location = new System.Drawing.Point(28, 112);
     this.label34.Name = "label34";
     this.label34.Size = new System.Drawing.Size(77, 12);
     this.label34.TabIndex = 10;
     this.label34.Text = "车主身份证:";
     //
     // textBox8
     //
     this.textBox8.Location = new System.Drawing.Point(111, 173);
     this.textBox8.Name = "textBox8";
     this.textBox8.Size = new System.Drawing.Size(123, 21);
     this.textBox8.TabIndex = 4;
     //
     // label35
     //
     this.label35.AutoSize = true;
     this.label35.Location = new System.Drawing.Point(52, 49);
     this.label35.Name = "label35";
     this.label35.Size = new System.Drawing.Size(53, 12);
     this.label35.TabIndex = 9;
     this.label35.Text = "车型号:";
     //
     // textBox9
     //
     this.textBox9.Location = new System.Drawing.Point(111, 205);
     this.textBox9.Name = "textBox9";
     this.textBox9.Size = new System.Drawing.Size(123, 21);
     this.textBox9.TabIndex = 5;
     //
     // textBox10
     //
     this.textBox10.Location = new System.Drawing.Point(111, 77);
     this.textBox10.Name = "textBox10";
     this.textBox10.Size = new System.Drawing.Size(123, 21);
     this.textBox10.TabIndex = 6;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(209, 36);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(17, 12);
     this.label13.TabIndex = 20;
     this.label13.Text = "吨";
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(32, 36);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(65, 12);
     this.label12.TabIndex = 19;
     this.label12.Text = "空车重量:";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font = new System.Drawing.Font("黑体", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label8.Location = new System.Drawing.Point(262, 93);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(77, 54);
     this.label8.TabIndex = 15;
     this.label8.Text = "吨";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Black;
     this.panel2.Controls.Add(this.lb_CarWeight);
     this.panel2.Location = new System.Drawing.Point(6, 20);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(256, 190);
     this.panel2.TabIndex = 0;
     //
     // lb_CarWeight
     //
     this.lb_CarWeight.AutoSize = true;
     this.lb_CarWeight.Font = new System.Drawing.Font("黑体", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lb_CarWeight.ForeColor = System.Drawing.Color.White;
     this.lb_CarWeight.Location = new System.Drawing.Point(46, 73);
     this.lb_CarWeight.Name = "lb_CarWeight";
     this.lb_CarWeight.Size = new System.Drawing.Size(185, 54);
     this.lb_CarWeight.TabIndex = 17;
     this.lb_CarWeight.Text = "33.687";
     //
     // label18
     //
     this.label18.Location = new System.Drawing.Point(0, 0);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(100, 23);
     this.label18.TabIndex = 0;
     //
     // label17
     //
     this.label17.Location = new System.Drawing.Point(0, 0);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(100, 23);
     this.label17.TabIndex = 0;
     //
     // label16
     //
     this.label16.Location = new System.Drawing.Point(0, 0);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(100, 23);
     this.label16.TabIndex = 0;
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(0, 0);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(100, 23);
     this.label15.TabIndex = 0;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(239, 240);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(17, 12);
     this.label14.TabIndex = 21;
     this.label14.Text = "吨";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(40, 272);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(65, 12);
     this.label11.TabIndex = 18;
     this.label11.Text = "过磅时间:";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(40, 80);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(65, 12);
     this.label10.TabIndex = 15;
     this.label10.Text = "车主姓名:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(52, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(53, 12);
     this.label1.TabIndex = 8;
     this.label1.Text = "车牌号:";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(16, 240);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(89, 12);
     this.label7.TabIndex = 14;
     this.label7.Text = "重车最高限量:";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(28, 208);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(77, 12);
     this.label6.TabIndex = 13;
     this.label6.Text = "驾驶员电话:";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(16, 176);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(89, 12);
     this.label5.TabIndex = 12;
     this.label5.Text = "驾驶员身份证:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(40, 144);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(65, 12);
     this.label4.TabIndex = 11;
     this.label4.Text = "车主电话:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(28, 112);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(77, 12);
     this.label3.TabIndex = 10;
     this.label3.Text = "车主身份证:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(52, 49);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(53, 12);
     this.label2.TabIndex = 9;
     this.label2.Text = "车型号:";
     //
     // tbownername
     //
     this.tbownername.Location = new System.Drawing.Point(111, 73);
     this.tbownername.MaxLength = 20;
     this.tbownername.Name = "tbownername";
     this.tbownername.Size = new System.Drawing.Size(150, 21);
     this.tbownername.TabIndex = 2;
     //
     // label53
     //
     this.label53.AutoSize = true;
     this.label53.Location = new System.Drawing.Point(54, 48);
     this.label53.Name = "label53";
     this.label53.Size = new System.Drawing.Size(49, 14);
     this.label53.TabIndex = 9;
     //
     // tbcartype
     //
     this.tbcartype.Location = new System.Drawing.Point(111, 45);
     this.tbcartype.MaxLength = 20;
     this.tbcartype.Name = "tbcartype";
     this.tbcartype.Size = new System.Drawing.Size(150, 21);
     this.tbcartype.TabIndex = 1;
     //
     // tbcarno
     //
     this.tbcarno.Location = new System.Drawing.Point(111, 17);
     this.tbcarno.MaxLength = 40;
     this.tbcarno.Name = "tbcarno";
     this.tbcarno.Size = new System.Drawing.Size(150, 21);
     this.tbcarno.TabIndex = 0;
     //
     // label48
     //
     this.label48.AutoSize = true;
     this.label48.Location = new System.Drawing.Point(12, 244);
     this.label48.Name = "label48";
     this.label48.Size = new System.Drawing.Size(91, 14);
     this.label48.TabIndex = 14;
     //
     // label47
     //
     this.label47.AutoSize = true;
     this.label47.Location = new System.Drawing.Point(54, 21);
     this.label47.Name = "label47";
     this.label47.Size = new System.Drawing.Size(49, 14);
     this.label47.TabIndex = 8;
     //
     // label46
     //
     this.label46.AutoSize = true;
     this.label46.Location = new System.Drawing.Point(40, 77);
     this.label46.Name = "label46";
     this.label46.Size = new System.Drawing.Size(63, 14);
     this.label46.TabIndex = 15;
     //
     // tbmostweight
     //
     this.tbmostweight.Location = new System.Drawing.Point(111, 241);
     this.tbmostweight.MaxLength = 9;
     this.tbmostweight.Name = "tbmostweight";
     this.tbmostweight.Size = new System.Drawing.Size(150, 21);
     this.tbmostweight.TabIndex = 7;
     //
     // groupBox4
     //
     this.groupBox4.Location = new System.Drawing.Point(15, 115);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(269, 81);
     this.groupBox4.TabIndex = 23;
     this.groupBox4.TabStop = false;
     //
     // label37
     //
     this.label37.AutoSize = true;
     this.label37.Location = new System.Drawing.Point(32, 29);
     this.label37.Name = "label37";
     this.label37.Size = new System.Drawing.Size(63, 14);
     this.label37.TabIndex = 19;
     //
     // tbcarweight
     //
     this.tbcarweight.Location = new System.Drawing.Point(103, 26);
     this.tbcarweight.MaxLength = 9;
     this.tbcarweight.Name = "tbcarweight";
     this.tbcarweight.Size = new System.Drawing.Size(68, 21);
     this.tbcarweight.TabIndex = 8;
     //
     // label36
     //
     this.label36.AutoSize = true;
     this.label36.Location = new System.Drawing.Point(177, 29);
     this.label36.Name = "label36";
     this.label36.Size = new System.Drawing.Size(21, 14);
     this.label36.TabIndex = 20;
     //
     // label43
     //
     this.label43.AutoSize = true;
     this.label43.Location = new System.Drawing.Point(32, 57);
     this.label43.Name = "label43";
     this.label43.Size = new System.Drawing.Size(63, 14);
     this.label43.TabIndex = 23;
     //
     // txbInvalidation
     //
     this.txbInvalidation.Location = new System.Drawing.Point(103, 53);
     this.txbInvalidation.MaxLength = 200;
     this.txbInvalidation.Name = "txbInvalidation";
     this.txbInvalidation.Size = new System.Drawing.Size(159, 21);
     this.txbInvalidation.TabIndex = 24;
     //
     // btnHanUpdate
     //
     this.btnHanUpdate.Location = new System.Drawing.Point(204, 24);
     this.btnHanUpdate.Name = "btnHanUpdate";
     this.btnHanUpdate.Size = new System.Drawing.Size(52, 23);
     this.btnHanUpdate.TabIndex = 28;
     this.btnHanUpdate.Text = "刷新";
     this.btnHanUpdate.UseVisualStyleBackColor = true;
     //
     // label45
     //
     this.label45.AutoSize = true;
     this.label45.Location = new System.Drawing.Point(40, 273);
     this.label45.Name = "label45";
     this.label45.Size = new System.Drawing.Size(63, 14);
     this.label45.TabIndex = 18;
     //
     // label44
     //
     this.label44.AutoSize = true;
     this.label44.Location = new System.Drawing.Point(261, 246);
     this.label44.Name = "label44";
     this.label44.Size = new System.Drawing.Size(21, 14);
     this.label44.TabIndex = 21;
     //
     // tbbangtime
     //
     this.tbbangtime.Location = new System.Drawing.Point(111, 269);
     this.tbbangtime.Name = "tbbangtime";
     this.tbbangtime.ReadOnly = true;
     this.tbbangtime.Size = new System.Drawing.Size(150, 21);
     this.tbbangtime.TabIndex = 26;
     //
     // panel6
     //
     this.panel6.BackColor = System.Drawing.Color.Black;
     this.panel6.Location = new System.Drawing.Point(6, 20);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(256, 190);
     this.panel6.TabIndex = 0;
     //
     // lbcarweight
     //
     this.lbcarweight.AutoSize = true;
     this.lbcarweight.Font = new System.Drawing.Font("宋体", 46F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbcarweight.ForeColor = System.Drawing.Color.White;
     this.lbcarweight.Location = new System.Drawing.Point(51, 73);
     this.lbcarweight.Name = "lbcarweight";
     this.lbcarweight.Size = new System.Drawing.Size(155, 62);
     this.lbcarweight.TabIndex = 17;
     this.lbcarweight.Tag = "9999";
     //
     // label38
     //
     this.label38.AutoSize = true;
     this.label38.Font = new System.Drawing.Font("黑体", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label38.Location = new System.Drawing.Point(262, 93);
     this.label38.Name = "label38";
     this.label38.Size = new System.Drawing.Size(77, 54);
     this.label38.TabIndex = 15;
     //
     // btnok
     //
     this.btnok.Location = new System.Drawing.Point(103, 37);
     this.btnok.Name = "btnok";
     this.btnok.Size = new System.Drawing.Size(75, 23);
     this.btnok.TabIndex = 0;
     this.btnok.Text = "确定";
     this.btnok.UseVisualStyleBackColor = true;
     //
     // btnno
     //
     this.btnno.Location = new System.Drawing.Point(297, 37);
     this.btnno.Name = "btnno";
     this.btnno.Size = new System.Drawing.Size(75, 23);
     this.btnno.TabIndex = 1;
     this.btnno.Text = "复位";
     this.btnno.UseVisualStyleBackColor = true;
     //
     // btnexit
     //
     this.btnexit.Location = new System.Drawing.Point(468, 37);
     this.btnexit.Name = "btnexit";
     this.btnexit.Size = new System.Drawing.Size(75, 23);
     this.btnexit.TabIndex = 2;
     this.btnexit.Text = "退出";
     this.btnexit.UseVisualStyleBackColor = true;
     //
     // txt_ownername
     //
     this.txt_ownername.Location = new System.Drawing.Point(111, 73);
     this.txt_ownername.MaxLength = 20;
     this.txt_ownername.Name = "txt_ownername";
     this.txt_ownername.Size = new System.Drawing.Size(150, 21);
     this.txt_ownername.TabIndex = 2;
     //
     // label71
     //
     this.label71.AutoSize = true;
     this.label71.Location = new System.Drawing.Point(54, 48);
     this.label71.Name = "label71";
     this.label71.Size = new System.Drawing.Size(49, 14);
     this.label71.TabIndex = 9;
     //
     // txt_cartype
     //
     this.txt_cartype.Enabled = false;
     this.txt_cartype.Location = new System.Drawing.Point(111, 45);
     this.txt_cartype.MaxLength = 20;
     this.txt_cartype.Name = "txt_cartype";
     this.txt_cartype.Size = new System.Drawing.Size(150, 21);
     this.txt_cartype.TabIndex = 1;
     //
     // txt_carno
     //
     this.txt_carno.Enabled = false;
     this.txt_carno.Location = new System.Drawing.Point(111, 17);
     this.txt_carno.MaxLength = 40;
     this.txt_carno.Name = "txt_carno";
     this.txt_carno.Size = new System.Drawing.Size(150, 21);
     this.txt_carno.TabIndex = 0;
     //
     // label66
     //
     this.label66.AutoSize = true;
     this.label66.Location = new System.Drawing.Point(12, 244);
     this.label66.Name = "label66";
     this.label66.Size = new System.Drawing.Size(91, 14);
     this.label66.TabIndex = 14;
     //
     // label65
     //
     this.label65.AutoSize = true;
     this.label65.Location = new System.Drawing.Point(54, 21);
     this.label65.Name = "label65";
     this.label65.Size = new System.Drawing.Size(49, 14);
     this.label65.TabIndex = 8;
     //
     // label64
     //
     this.label64.AutoSize = true;
     this.label64.Location = new System.Drawing.Point(40, 77);
     this.label64.Name = "label64";
     this.label64.Size = new System.Drawing.Size(63, 14);
     this.label64.TabIndex = 15;
     //
     // txt_mostweight
     //
     this.txt_mostweight.Enabled = false;
     this.txt_mostweight.Location = new System.Drawing.Point(111, 241);
     this.txt_mostweight.MaxLength = 9;
     this.txt_mostweight.Name = "txt_mostweight";
     this.txt_mostweight.Size = new System.Drawing.Size(150, 21);
     this.txt_mostweight.TabIndex = 7;
     //
     // groupBox7
     //
     this.groupBox7.Location = new System.Drawing.Point(1, 117);
     this.groupBox7.Name = "groupBox7";
     this.groupBox7.Size = new System.Drawing.Size(260, 81);
     this.groupBox7.TabIndex = 23;
     this.groupBox7.TabStop = false;
     //
     // label55
     //
     this.label55.AutoSize = true;
     this.label55.Location = new System.Drawing.Point(32, 29);
     this.label55.Name = "label55";
     this.label55.Size = new System.Drawing.Size(63, 14);
     this.label55.TabIndex = 19;
     //
     // txt_carweight
     //
     this.txt_carweight.Location = new System.Drawing.Point(103, 26);
     this.txt_carweight.MaxLength = 9;
     this.txt_carweight.Name = "txt_carweight";
     this.txt_carweight.Size = new System.Drawing.Size(100, 21);
     this.txt_carweight.TabIndex = 9;
     //
     // label54
     //
     this.label54.AutoSize = true;
     this.label54.Location = new System.Drawing.Point(209, 29);
     this.label54.Name = "label54";
     this.label54.Size = new System.Drawing.Size(21, 14);
     this.label54.TabIndex = 20;
     //
     // label63
     //
     this.label63.AutoSize = true;
     this.label63.Location = new System.Drawing.Point(40, 273);
     this.label63.Name = "label63";
     this.label63.Size = new System.Drawing.Size(63, 14);
     this.label63.TabIndex = 18;
     //
     // label62
     //
     this.label62.AutoSize = true;
     this.label62.Location = new System.Drawing.Point(261, 246);
     this.label62.Name = "label62";
     this.label62.Size = new System.Drawing.Size(21, 14);
     this.label62.TabIndex = 21;
     //
     // txt_bangtime
     //
     this.txt_bangtime.Enabled = false;
     this.txt_bangtime.Location = new System.Drawing.Point(111, 269);
     this.txt_bangtime.MaxLength = 40;
     this.txt_bangtime.Name = "txt_bangtime";
     this.txt_bangtime.Size = new System.Drawing.Size(150, 21);
     this.txt_bangtime.TabIndex = 8;
     //
     // panel8
     //
     this.panel8.BackColor = System.Drawing.Color.Black;
     this.panel8.Location = new System.Drawing.Point(6, 20);
     this.panel8.Name = "panel8";
     this.panel8.Size = new System.Drawing.Size(256, 190);
     this.panel8.TabIndex = 0;
     //
     // lblcarweight
     //
     this.lblcarweight.AutoSize = true;
     this.lblcarweight.Font = new System.Drawing.Font("宋体", 46F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblcarweight.ForeColor = System.Drawing.Color.White;
     this.lblcarweight.Location = new System.Drawing.Point(51, 73);
     this.lblcarweight.Name = "lblcarweight";
     this.lblcarweight.Size = new System.Drawing.Size(155, 62);
     this.lblcarweight.TabIndex = 17;
     this.lblcarweight.Tag = "9999";
     //
     // label56
     //
     this.label56.AutoSize = true;
     this.label56.Font = new System.Drawing.Font("黑体", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label56.Location = new System.Drawing.Point(262, 93);
     this.label56.Name = "label56";
     this.label56.Size = new System.Drawing.Size(77, 54);
     this.label56.TabIndex = 15;
     //
     // btnEnter
     //
     this.btnEnter.Enabled = false;
     this.btnEnter.Location = new System.Drawing.Point(103, 37);
     this.btnEnter.Name = "btnEnter";
     this.btnEnter.Size = new System.Drawing.Size(75, 23);
     this.btnEnter.TabIndex = 0;
     this.btnEnter.Text = "确定";
     this.btnEnter.UseVisualStyleBackColor = true;
     //
     // btncancel
     //
     this.btncancel.Location = new System.Drawing.Point(297, 37);
     this.btncancel.Name = "btncancel";
     this.btncancel.Size = new System.Drawing.Size(75, 23);
     this.btncancel.TabIndex = 1;
     this.btncancel.Text = "复位";
     this.btncancel.UseVisualStyleBackColor = true;
     //
     // btnclose
     //
     this.btnclose.Location = new System.Drawing.Point(468, 37);
     this.btnclose.Name = "btnclose";
     this.btnclose.Size = new System.Drawing.Size(75, 23);
     this.btnclose.TabIndex = 2;
     this.btnclose.Text = "退出";
     this.btnclose.UseVisualStyleBackColor = true;
     //
     // FM_EmptyBang
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(699, 468);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "FM_EmptyBang";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "空车过磅";
     this.Load += new System.EventHandler(this.FM_EmptyBang_Load);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FM_EmptyBang_FormClosing);
     this.panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tbp_zd.ResumeLayout(false);
     this.tbp_zd.PerformLayout();
     this.panel4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.msc_Auto)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.panel9.ResumeLayout(false);
     this.panel9.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.panel5.ResumeLayout(false);
     this.panel5.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
Ejemplo n.º 11
0
Archivo: Form1.cs Proyecto: hkiaipc/yh
 /// <summary>
 /// �����֧������ķ��� - ��Ҫʹ�ô���༭���޸�
 /// �˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.btnOpen = new System.Windows.Forms.Button();
     this.btnSend = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.axMSComm2 = new AxMSCommLib.AxMSComm();
     this.txtSend = new System.Windows.Forms.TextBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.txtRev = new System.Windows.Forms.TextBox();
     this.btnClose = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.txtZT = new System.Windows.Forms.TextBox();
     this.btnEnd = new System.Windows.Forms.Button();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.btnClear = new System.Windows.Forms.Button();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.txtInfo = new System.Windows.Forms.TextBox();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm2)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // btnOpen
     //
     this.btnOpen.Location = new System.Drawing.Point(0, 8);
     this.btnOpen.Name = "btnOpen";
     this.btnOpen.Size = new System.Drawing.Size(64, 23);
     this.btnOpen.TabIndex = 0;
     this.btnOpen.Text = "�򿪴���";
     this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
     //
     // btnSend
     //
     this.btnSend.Location = new System.Drawing.Point(128, 8);
     this.btnSend.Name = "btnSend";
     this.btnSend.Size = new System.Drawing.Size(64, 23);
     this.btnSend.TabIndex = 1;
     this.btnSend.Text = "����";
     this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.axMSComm2);
     this.groupBox1.Controls.Add(this.txtSend);
     this.groupBox1.Location = new System.Drawing.Point(0, 40);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(504, 120);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "������";
     //
     // axMSComm2
     //
     this.axMSComm2.ContainingControl = this;
     this.axMSComm2.Enabled = true;
     this.axMSComm2.Location = new System.Drawing.Point(248, 64);
     this.axMSComm2.Name = "axMSComm2";
     this.axMSComm2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMSComm2.OcxState")));
     this.axMSComm2.Size = new System.Drawing.Size(38, 38);
     this.axMSComm2.TabIndex = 1;
     this.axMSComm2.OnComm += new System.EventHandler(this.axMSComm2_OnComm);
     //
     // txtSend
     //
     this.txtSend.Dock = System.Windows.Forms.DockStyle.Fill;
     this.txtSend.Location = new System.Drawing.Point(3, 17);
     this.txtSend.Multiline = true;
     this.txtSend.Name = "txtSend";
     this.txtSend.Size = new System.Drawing.Size(498, 100);
     this.txtSend.TabIndex = 0;
     this.txtSend.Text = "";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.txtRev);
     this.groupBox2.Location = new System.Drawing.Point(0, 160);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(504, 168);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "������";
     //
     // txtRev
     //
     this.txtRev.Dock = System.Windows.Forms.DockStyle.Fill;
     this.txtRev.Location = new System.Drawing.Point(3, 17);
     this.txtRev.Multiline = true;
     this.txtRev.Name = "txtRev";
     this.txtRev.Size = new System.Drawing.Size(498, 148);
     this.txtRev.TabIndex = 0;
     this.txtRev.Text = "";
     //
     // btnClose
     //
     this.btnClose.Location = new System.Drawing.Point(64, 8);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(64, 23);
     this.btnClose.TabIndex = 5;
     this.btnClose.Text = "�رմ���";
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(328, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(64, 23);
     this.label1.TabIndex = 6;
     this.label1.Text = "����״̬:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtZT
     //
     this.txtZT.Location = new System.Drawing.Point(400, 8);
     this.txtZT.Name = "txtZT";
     this.txtZT.ReadOnly = true;
     this.txtZT.Size = new System.Drawing.Size(96, 21);
     this.txtZT.TabIndex = 7;
     this.txtZT.Text = "";
     //
     // btnEnd
     //
     this.btnEnd.Location = new System.Drawing.Point(256, 8);
     this.btnEnd.Name = "btnEnd";
     this.btnEnd.Size = new System.Drawing.Size(64, 23);
     this.btnEnd.TabIndex = 8;
     this.btnEnd.Text = "�˳�";
     this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
     //
     // timer1
     //
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick_1);
     //
     // btnClear
     //
     this.btnClear.Location = new System.Drawing.Point(192, 8);
     this.btnClear.Name = "btnClear";
     this.btnClear.Size = new System.Drawing.Size(64, 23);
     this.btnClear.TabIndex = 9;
     this.btnClear.Text = "���";
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.txtInfo);
     this.groupBox3.Location = new System.Drawing.Point(0, 328);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(504, 168);
     this.groupBox3.TabIndex = 10;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "������Ϣ";
     //
     // txtInfo
     //
     this.txtInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.txtInfo.Location = new System.Drawing.Point(3, 17);
     this.txtInfo.Multiline = true;
     this.txtInfo.Name = "txtInfo";
     this.txtInfo.Size = new System.Drawing.Size(498, 148);
     this.txtInfo.TabIndex = 0;
     this.txtInfo.Text = "";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(504, 493);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.btnClear);
     this.Controls.Add(this.btnEnd);
     this.Controls.Add(this.txtZT);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.btnSend);
     this.Controls.Add(this.btnOpen);
     this.Name = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm2)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CarInfo));
     this.gbRoom1 = new System.Windows.Forms.GroupBox();
     this.txtCarType = new System.Windows.Forms.TextBox();
     this.txtDriveCardID = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.txtDriverPhone = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.txtDriverName = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.txtDriveLicense = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.txtOperator = new System.Windows.Forms.TextBox();
     this.lblOperator = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.txtCarOwnerIDCardNo = new System.Windows.Forms.TextBox();
     this.lbllCarOwnerIDCardNo = new System.Windows.Forms.Label();
     this.txtWeightTime = new System.Windows.Forms.TextBox();
     this.lbllWeightTime = new System.Windows.Forms.Label();
     this.txtMostWeight = new System.Windows.Forms.TextBox();
     this.lbllMostWeight = new System.Windows.Forms.Label();
     this.txtCarOwnerPhone = new System.Windows.Forms.TextBox();
     this.lbllCarOwnerPhone = new System.Windows.Forms.Label();
     this.txtCarOwnerName = new System.Windows.Forms.TextBox();
     this.lblCarOwnerName = new System.Windows.Forms.Label();
     this.lbllCarType = new System.Windows.Forms.Label();
     this.txtCarNo = new System.Windows.Forms.TextBox();
     this.lbllCarNo = new System.Windows.Forms.Label();
     this.gbHaveBang = new System.Windows.Forms.GroupBox();
     this.txtManDigital = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.lblManDigital = new System.Windows.Forms.Label();
     this.plDigital = new System.Windows.Forms.Panel();
     this.lblDigital = new System.Windows.Forms.Label();
     this.lblWeight = new System.Windows.Forms.Label();
     this.btnExit = new System.Windows.Forms.Button();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnOK = new System.Windows.Forms.Button();
     this.gbVideo = new System.Windows.Forms.GroupBox();
     this.dhVideo = new ThirdLibrary.DHVideo();
     this.alarmSound = new ThirdLibrary.AlarmSound(this.components);
     this.menuWeight = new System.Windows.Forms.MenuStrip();
     this.menuAuto = new System.Windows.Forms.ToolStripMenuItem();
     this.menuMan = new System.Windows.Forms.ToolStripMenuItem();
     this.menuLabour = new System.Windows.Forms.ToolStripMenuItem();
     this.msc_Auto = new AxMSCommLib.AxMSComm();
     this.gbRoom1.SuspendLayout();
     this.gbHaveBang.SuspendLayout();
     this.plDigital.SuspendLayout();
     this.gbVideo.SuspendLayout();
     this.menuWeight.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.msc_Auto)).BeginInit();
     this.SuspendLayout();
     //
     // gbRoom1
     //
     this.gbRoom1.BackColor = System.Drawing.Color.Transparent;
     this.gbRoom1.Controls.Add(this.txtCarType);
     this.gbRoom1.Controls.Add(this.txtDriveCardID);
     this.gbRoom1.Controls.Add(this.label2);
     this.gbRoom1.Controls.Add(this.txtDriverPhone);
     this.gbRoom1.Controls.Add(this.label4);
     this.gbRoom1.Controls.Add(this.txtDriverName);
     this.gbRoom1.Controls.Add(this.label5);
     this.gbRoom1.Controls.Add(this.txtDriveLicense);
     this.gbRoom1.Controls.Add(this.label1);
     this.gbRoom1.Controls.Add(this.txtOperator);
     this.gbRoom1.Controls.Add(this.lblOperator);
     this.gbRoom1.Controls.Add(this.label3);
     this.gbRoom1.Controls.Add(this.txtCarOwnerIDCardNo);
     this.gbRoom1.Controls.Add(this.lbllCarOwnerIDCardNo);
     this.gbRoom1.Controls.Add(this.txtWeightTime);
     this.gbRoom1.Controls.Add(this.lbllWeightTime);
     this.gbRoom1.Controls.Add(this.txtMostWeight);
     this.gbRoom1.Controls.Add(this.lbllMostWeight);
     this.gbRoom1.Controls.Add(this.txtCarOwnerPhone);
     this.gbRoom1.Controls.Add(this.lbllCarOwnerPhone);
     this.gbRoom1.Controls.Add(this.txtCarOwnerName);
     this.gbRoom1.Controls.Add(this.lblCarOwnerName);
     this.gbRoom1.Controls.Add(this.lbllCarType);
     this.gbRoom1.Controls.Add(this.txtCarNo);
     this.gbRoom1.Controls.Add(this.lbllCarNo);
     this.gbRoom1.Cursor = System.Windows.Forms.Cursors.Default;
     this.gbRoom1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.gbRoom1.ForeColor = System.Drawing.Color.White;
     this.gbRoom1.Location = new System.Drawing.Point(13, 33);
     this.gbRoom1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
     this.gbRoom1.Name = "gbRoom1";
     this.gbRoom1.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
     this.gbRoom1.Size = new System.Drawing.Size(278, 392);
     this.gbRoom1.TabIndex = 26;
     this.gbRoom1.TabStop = false;
     this.gbRoom1.Text = "车辆信息录入";
     //
     // txtCarType
     //
     this.txtCarType.Location = new System.Drawing.Point(95, 91);
     this.txtCarType.MaxLength = 20;
     this.txtCarType.Name = "txtCarType";
     this.txtCarType.Size = new System.Drawing.Size(150, 23);
     this.txtCarType.TabIndex = 4;
     //
     // txtDriveCardID
     //
     this.txtDriveCardID.ImeMode = System.Windows.Forms.ImeMode.Off;
     this.txtDriveCardID.Location = new System.Drawing.Point(95, 253);
     this.txtDriveCardID.MaxLength = 18;
     this.txtDriveCardID.Name = "txtDriveCardID";
     this.txtDriveCardID.Size = new System.Drawing.Size(150, 23);
     this.txtDriveCardID.TabIndex = 9;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.ForeColor = System.Drawing.Color.White;
     this.label2.Location = new System.Drawing.Point(-1, 257);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(105, 14);
     this.label2.TabIndex = 182;
     this.label2.Text = "驾驶员身份证:";
     //
     // txtDriverPhone
     //
     this.txtDriverPhone.ImeMode = System.Windows.Forms.ImeMode.Off;
     this.txtDriverPhone.Location = new System.Drawing.Point(95, 285);
     this.txtDriverPhone.MaxLength = 20;
     this.txtDriverPhone.Name = "txtDriverPhone";
     this.txtDriverPhone.Size = new System.Drawing.Size(150, 23);
     this.txtDriverPhone.TabIndex = 10;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label4.ForeColor = System.Drawing.Color.White;
     this.label4.Location = new System.Drawing.Point(7, 289);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(91, 14);
     this.label4.TabIndex = 181;
     this.label4.Text = "驾驶员电话:";
     //
     // txtDriverName
     //
     this.txtDriverName.Location = new System.Drawing.Point(95, 221);
     this.txtDriverName.MaxLength = 20;
     this.txtDriverName.Name = "txtDriverName";
     this.txtDriverName.Size = new System.Drawing.Size(150, 23);
     this.txtDriverName.TabIndex = 8;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label5.Location = new System.Drawing.Point(21, 225);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(77, 14);
     this.label5.TabIndex = 180;
     this.label5.Text = "驾 驶 员:";
     //
     // txtDriveLicense
     //
     this.txtDriveLicense.Location = new System.Drawing.Point(95, 59);
     this.txtDriveLicense.MaxLength = 20;
     this.txtDriveLicense.Name = "txtDriveLicense";
     this.txtDriveLicense.Size = new System.Drawing.Size(150, 23);
     this.txtDriveLicense.TabIndex = 3;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(21, 63);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(77, 14);
     this.label1.TabIndex = 176;
     this.label1.Text = "行驶证号:";
     //
     // txtOperator
     //
     this.txtOperator.Enabled = false;
     this.txtOperator.Location = new System.Drawing.Point(95, 352);
     this.txtOperator.Name = "txtOperator";
     this.txtOperator.ReadOnly = true;
     this.txtOperator.Size = new System.Drawing.Size(150, 23);
     this.txtOperator.TabIndex = 174;
     //
     // lblOperator
     //
     this.lblOperator.AutoSize = true;
     this.lblOperator.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblOperator.Location = new System.Drawing.Point(21, 356);
     this.lblOperator.Name = "lblOperator";
     this.lblOperator.Size = new System.Drawing.Size(77, 14);
     this.lblOperator.TabIndex = 173;
     this.lblOperator.Text = "司 磅 员:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font = new System.Drawing.Font("宋体", 10.5F);
     this.label3.ForeColor = System.Drawing.Color.Transparent;
     this.label3.Location = new System.Drawing.Point(252, 399);
     this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(21, 14);
     this.label3.TabIndex = 172;
     this.label3.Text = "吨";
     //
     // txtCarOwnerIDCardNo
     //
     this.txtCarOwnerIDCardNo.ImeMode = System.Windows.Forms.ImeMode.Off;
     this.txtCarOwnerIDCardNo.Location = new System.Drawing.Point(95, 155);
     this.txtCarOwnerIDCardNo.MaxLength = 18;
     this.txtCarOwnerIDCardNo.Name = "txtCarOwnerIDCardNo";
     this.txtCarOwnerIDCardNo.Size = new System.Drawing.Size(150, 23);
     this.txtCarOwnerIDCardNo.TabIndex = 6;
     this.txtCarOwnerIDCardNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCarOwnerIDCardNo_KeyDown);
     //
     // lbllCarOwnerIDCardNo
     //
     this.lbllCarOwnerIDCardNo.AutoSize = true;
     this.lbllCarOwnerIDCardNo.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbllCarOwnerIDCardNo.ForeColor = System.Drawing.Color.White;
     this.lbllCarOwnerIDCardNo.Location = new System.Drawing.Point(7, 159);
     this.lbllCarOwnerIDCardNo.Name = "lbllCarOwnerIDCardNo";
     this.lbllCarOwnerIDCardNo.Size = new System.Drawing.Size(91, 14);
     this.lbllCarOwnerIDCardNo.TabIndex = 166;
     this.lbllCarOwnerIDCardNo.Text = "车主身份证:";
     //
     // txtWeightTime
     //
     this.txtWeightTime.BackColor = System.Drawing.SystemColors.Control;
     this.txtWeightTime.Enabled = false;
     this.txtWeightTime.Location = new System.Drawing.Point(95, 320);
     this.txtWeightTime.Name = "txtWeightTime";
     this.txtWeightTime.Size = new System.Drawing.Size(150, 23);
     this.txtWeightTime.TabIndex = 165;
     //
     // lbllWeightTime
     //
     this.lbllWeightTime.AutoSize = true;
     this.lbllWeightTime.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbllWeightTime.Location = new System.Drawing.Point(21, 324);
     this.lbllWeightTime.Name = "lbllWeightTime";
     this.lbllWeightTime.Size = new System.Drawing.Size(77, 14);
     this.lbllWeightTime.TabIndex = 164;
     this.lbllWeightTime.Text = "过磅时间:";
     //
     // txtMostWeight
     //
     this.txtMostWeight.ImeMode = System.Windows.Forms.ImeMode.Off;
     this.txtMostWeight.Location = new System.Drawing.Point(95, 393);
     this.txtMostWeight.MaxLength = 6;
     this.txtMostWeight.Name = "txtMostWeight";
     this.txtMostWeight.Size = new System.Drawing.Size(150, 23);
     this.txtMostWeight.TabIndex = 11;
     this.txtMostWeight.Text = "100";
     this.txtMostWeight.TextChanged += new System.EventHandler(this.txtMostWeight_TextChanged);
     //
     // lbllMostWeight
     //
     this.lbllMostWeight.AutoSize = true;
     this.lbllMostWeight.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbllMostWeight.Location = new System.Drawing.Point(21, 397);
     this.lbllMostWeight.Name = "lbllMostWeight";
     this.lbllMostWeight.Size = new System.Drawing.Size(77, 14);
     this.lbllMostWeight.TabIndex = 162;
     this.lbllMostWeight.Text = "车辆限重:";
     //
     // txtCarOwnerPhone
     //
     this.txtCarOwnerPhone.ImeMode = System.Windows.Forms.ImeMode.Off;
     this.txtCarOwnerPhone.Location = new System.Drawing.Point(95, 187);
     this.txtCarOwnerPhone.MaxLength = 20;
     this.txtCarOwnerPhone.Name = "txtCarOwnerPhone";
     this.txtCarOwnerPhone.Size = new System.Drawing.Size(150, 23);
     this.txtCarOwnerPhone.TabIndex = 7;
     this.txtCarOwnerPhone.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCarOwnerPhone_KeyDown);
     //
     // lbllCarOwnerPhone
     //
     this.lbllCarOwnerPhone.AutoSize = true;
     this.lbllCarOwnerPhone.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbllCarOwnerPhone.ForeColor = System.Drawing.Color.White;
     this.lbllCarOwnerPhone.Location = new System.Drawing.Point(21, 191);
     this.lbllCarOwnerPhone.Name = "lbllCarOwnerPhone";
     this.lbllCarOwnerPhone.Size = new System.Drawing.Size(77, 14);
     this.lbllCarOwnerPhone.TabIndex = 160;
     this.lbllCarOwnerPhone.Text = "车主电话:";
     //
     // txtCarOwnerName
     //
     this.txtCarOwnerName.Location = new System.Drawing.Point(95, 123);
     this.txtCarOwnerName.MaxLength = 20;
     this.txtCarOwnerName.Name = "txtCarOwnerName";
     this.txtCarOwnerName.Size = new System.Drawing.Size(150, 23);
     this.txtCarOwnerName.TabIndex = 5;
     //
     // lblCarOwnerName
     //
     this.lblCarOwnerName.AutoSize = true;
     this.lblCarOwnerName.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblCarOwnerName.Location = new System.Drawing.Point(21, 127);
     this.lblCarOwnerName.Name = "lblCarOwnerName";
     this.lblCarOwnerName.Size = new System.Drawing.Size(77, 14);
     this.lblCarOwnerName.TabIndex = 158;
     this.lblCarOwnerName.Text = "车主姓名:";
     //
     // lbllCarType
     //
     this.lbllCarType.AutoSize = true;
     this.lbllCarType.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbllCarType.Location = new System.Drawing.Point(21, 95);
     this.lbllCarType.Name = "lbllCarType";
     this.lbllCarType.Size = new System.Drawing.Size(77, 14);
     this.lbllCarType.TabIndex = 157;
     this.lbllCarType.Text = "车辆型号:";
     //
     // txtCarNo
     //
     this.txtCarNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.txtCarNo.Location = new System.Drawing.Point(95, 27);
     this.txtCarNo.MaxLength = 8;
     this.txtCarNo.Name = "txtCarNo";
     this.txtCarNo.Size = new System.Drawing.Size(150, 23);
     this.txtCarNo.TabIndex = 2;
     //
     // lbllCarNo
     //
     this.lbllCarNo.AutoSize = true;
     this.lbllCarNo.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lbllCarNo.Location = new System.Drawing.Point(21, 31);
     this.lbllCarNo.Name = "lbllCarNo";
     this.lbllCarNo.Size = new System.Drawing.Size(77, 14);
     this.lbllCarNo.TabIndex = 119;
     this.lbllCarNo.Text = "车牌号码:";
     //
     // gbHaveBang
     //
     this.gbHaveBang.BackColor = System.Drawing.Color.Transparent;
     this.gbHaveBang.Controls.Add(this.txtManDigital);
     this.gbHaveBang.Controls.Add(this.label6);
     this.gbHaveBang.Controls.Add(this.lblManDigital);
     this.gbHaveBang.Controls.Add(this.plDigital);
     this.gbHaveBang.Controls.Add(this.lblWeight);
     this.gbHaveBang.Cursor = System.Windows.Forms.Cursors.Default;
     this.gbHaveBang.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.gbHaveBang.ForeColor = System.Drawing.Color.White;
     this.gbHaveBang.Location = new System.Drawing.Point(299, 33);
     this.gbHaveBang.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
     this.gbHaveBang.Name = "gbHaveBang";
     this.gbHaveBang.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
     this.gbHaveBang.Size = new System.Drawing.Size(304, 202);
     this.gbHaveBang.TabIndex = 27;
     this.gbHaveBang.TabStop = false;
     this.gbHaveBang.Text = "磅秤信息";
     //
     // txtManDigital
     //
     this.txtManDigital.AcceptsTab = true;
     this.txtManDigital.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtManDigital.Location = new System.Drawing.Point(68, 173);
     this.txtManDigital.MaxLength = 5;
     this.txtManDigital.Name = "txtManDigital";
     this.txtManDigital.ReadOnly = true;
     this.txtManDigital.Size = new System.Drawing.Size(210, 23);
     this.txtManDigital.TabIndex = 191;
     this.txtManDigital.TextChanged += new System.EventHandler(this.txtManDigital_TextChanged);
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.Font = new System.Drawing.Font("宋体", 10.5F);
     this.label6.ForeColor = System.Drawing.Color.Transparent;
     this.label6.Location = new System.Drawing.Point(283, 176);
     this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(21, 14);
     this.label6.TabIndex = 190;
     this.label6.Text = "吨";
     //
     // lblManDigital
     //
     this.lblManDigital.AutoSize = true;
     this.lblManDigital.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblManDigital.Location = new System.Drawing.Point(3, 177);
     this.lblManDigital.Name = "lblManDigital";
     this.lblManDigital.Size = new System.Drawing.Size(77, 14);
     this.lblManDigital.TabIndex = 189;
     this.lblManDigital.Text = "空车重量:";
     //
     // plDigital
     //
     this.plDigital.BackColor = System.Drawing.Color.Black;
     this.plDigital.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.plDigital.Controls.Add(this.lblDigital);
     this.plDigital.ForeColor = System.Drawing.Color.White;
     this.plDigital.Location = new System.Drawing.Point(8, 21);
     this.plDigital.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
     this.plDigital.Name = "plDigital";
     this.plDigital.Size = new System.Drawing.Size(270, 130);
     this.plDigital.TabIndex = 44;
     //
     // lblDigital
     //
     this.lblDigital.Font = new System.Drawing.Font("Garamond", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDigital.Location = new System.Drawing.Point(-10, 21);
     this.lblDigital.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblDigital.Name = "lblDigital";
     this.lblDigital.Size = new System.Drawing.Size(291, 90);
     this.lblDigital.TabIndex = 0;
     this.lblDigital.Tag = "9999";
     this.lblDigital.Text = "0.00";
     this.lblDigital.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lblWeight
     //
     this.lblWeight.AutoSize = true;
     this.lblWeight.BackColor = System.Drawing.Color.Transparent;
     this.lblWeight.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Bold);
     this.lblWeight.ForeColor = System.Drawing.Color.White;
     this.lblWeight.Location = new System.Drawing.Point(270, 74);
     this.lblWeight.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblWeight.Name = "lblWeight";
     this.lblWeight.Size = new System.Drawing.Size(40, 27);
     this.lblWeight.TabIndex = 80;
     this.lblWeight.Text = "吨";
     this.lblWeight.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnExit
     //
     this.btnExit.BackColor = System.Drawing.Color.Transparent;
     this.btnExit.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnExit.ForeColor = System.Drawing.Color.Transparent;
     this.btnExit.Image = global::CoalTraffic.Properties.Resources.EmptyBang_Exit;
     this.btnExit.Location = new System.Drawing.Point(403, 453);
     this.btnExit.Name = "btnExit";
     this.btnExit.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.btnExit.Size = new System.Drawing.Size(75, 25);
     this.btnExit.TabIndex = 12;
     this.btnExit.UseVisualStyleBackColor = false;
     this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
     //
     // btnClear
     //
     this.btnClear.BackColor = System.Drawing.Color.Transparent;
     this.btnClear.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnClear.ForeColor = System.Drawing.Color.Transparent;
     this.btnClear.Image = global::CoalTraffic.Properties.Resources.EmptyBang_Clear;
     this.btnClear.Location = new System.Drawing.Point(259, 453);
     this.btnClear.Name = "btnClear";
     this.btnClear.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.btnClear.Size = new System.Drawing.Size(75, 25);
     this.btnClear.TabIndex = 11;
     this.btnClear.UseVisualStyleBackColor = false;
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // btnOK
     //
     this.btnOK.BackColor = System.Drawing.Color.Transparent;
     this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnOK.ForeColor = System.Drawing.Color.Transparent;
     this.btnOK.Image = global::CoalTraffic.Properties.Resources.EmptyBang_OK;
     this.btnOK.Location = new System.Drawing.Point(115, 453);
     this.btnOK.Name = "btnOK";
     this.btnOK.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.btnOK.Size = new System.Drawing.Size(75, 25);
     this.btnOK.TabIndex = 10;
     this.btnOK.UseVisualStyleBackColor = false;
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // gbVideo
     //
     this.gbVideo.BackColor = System.Drawing.Color.Transparent;
     this.gbVideo.Controls.Add(this.dhVideo);
     this.gbVideo.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.gbVideo.ForeColor = System.Drawing.Color.White;
     this.gbVideo.Location = new System.Drawing.Point(299, 242);
     this.gbVideo.Name = "gbVideo";
     this.gbVideo.Size = new System.Drawing.Size(305, 170);
     this.gbVideo.TabIndex = 165;
     this.gbVideo.TabStop = false;
     this.gbVideo.Text = "视频信息";
     //
     // dhVideo
     //
     this.dhVideo.Amplify = 3;
     this.dhVideo.AutoSize = true;
     this.dhVideo.BackColor = System.Drawing.SystemColors.Control;
     this.dhVideo.Location = new System.Drawing.Point(26, 20);
     this.dhVideo.Name = "dhVideo";
     this.dhVideo.Size = new System.Drawing.Size(227, 140);
     this.dhVideo.TabIndex = 1;
     this.dhVideo.Load += new System.EventHandler(this.dhVideo_Load);
     //
     // menuWeight
     //
     this.menuWeight.BackColor = System.Drawing.Color.Transparent;
     this.menuWeight.Font = new System.Drawing.Font("华文中宋", 11F, System.Drawing.FontStyle.Bold);
     this.menuWeight.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.menuAuto,
     this.menuMan,
     this.menuLabour});
     this.menuWeight.Location = new System.Drawing.Point(0, 0);
     this.menuWeight.Name = "menuWeight";
     this.menuWeight.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
     this.menuWeight.Size = new System.Drawing.Size(616, 25);
     this.menuWeight.TabIndex = 168;
     this.menuWeight.Text = "menuStrip1";
     //
     // menuAuto
     //
     this.menuAuto.Checked = true;
     this.menuAuto.CheckState = System.Windows.Forms.CheckState.Checked;
     this.menuAuto.ForeColor = System.Drawing.Color.Red;
     this.menuAuto.Name = "menuAuto";
     this.menuAuto.Size = new System.Drawing.Size(84, 21);
     this.menuAuto.Tag = "s2202";
     this.menuAuto.Text = "自动过磅";
     this.menuAuto.Click += new System.EventHandler(this.menuAuto_Click);
     //
     // menuMan
     //
     this.menuMan.Name = "menuMan";
     this.menuMan.Size = new System.Drawing.Size(84, 21);
     this.menuMan.Tag = "s2203";
     this.menuMan.Text = "手动过磅";
     this.menuMan.Click += new System.EventHandler(this.menuMan_Click);
     //
     // menuLabour
     //
     this.menuLabour.Name = "menuLabour";
     this.menuLabour.Size = new System.Drawing.Size(84, 21);
     this.menuLabour.Text = "人工过磅";
     this.menuLabour.Click += new System.EventHandler(this.menuLabour_Click);
     //
     // msc_Auto
     //
     this.msc_Auto.Enabled = true;
     this.msc_Auto.Location = new System.Drawing.Point(23, 446);
     this.msc_Auto.Name = "msc_Auto";
     this.msc_Auto.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("msc_Auto.OcxState")));
     this.msc_Auto.Size = new System.Drawing.Size(38, 38);
     this.msc_Auto.TabIndex = 169;
     this.msc_Auto.OnComm += new System.EventHandler(this.msc_Auto_OnComm);
     //
     // CarInfo
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(616, 496);
     this.ControlBox = false;
     this.Controls.Add(this.msc_Auto);
     this.Controls.Add(this.menuWeight);
     this.Controls.Add(this.gbVideo);
     this.Controls.Add(this.btnExit);
     this.Controls.Add(this.btnClear);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.gbHaveBang);
     this.Controls.Add(this.gbRoom1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "CarInfo";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "空车过磅";
     this.Load += new System.EventHandler(this.CarInfo_Load);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.EmptyWeight_FormClosing);
     this.gbRoom1.ResumeLayout(false);
     this.gbRoom1.PerformLayout();
     this.gbHaveBang.ResumeLayout(false);
     this.gbHaveBang.PerformLayout();
     this.plDigital.ResumeLayout(false);
     this.gbVideo.ResumeLayout(false);
     this.gbVideo.PerformLayout();
     this.menuWeight.ResumeLayout(false);
     this.menuWeight.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.msc_Auto)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 13
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.btnOpen   = new System.Windows.Forms.Button();
     this.btnSend   = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.axMSComm2 = new AxMSCommLib.AxMSComm();
     this.txtSend   = new System.Windows.Forms.TextBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.txtRev    = new System.Windows.Forms.TextBox();
     this.btnClose  = new System.Windows.Forms.Button();
     this.label1    = new System.Windows.Forms.Label();
     this.txtZT     = new System.Windows.Forms.TextBox();
     this.btnEnd    = new System.Windows.Forms.Button();
     this.timer1    = new System.Windows.Forms.Timer(this.components);
     this.btnClear  = new System.Windows.Forms.Button();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.txtInfo   = new System.Windows.Forms.TextBox();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm2)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // btnOpen
     //
     this.btnOpen.Location = new System.Drawing.Point(0, 8);
     this.btnOpen.Name     = "btnOpen";
     this.btnOpen.Size     = new System.Drawing.Size(64, 23);
     this.btnOpen.TabIndex = 0;
     this.btnOpen.Text     = "打开串口";
     this.btnOpen.Click   += new System.EventHandler(this.btnOpen_Click);
     //
     // btnSend
     //
     this.btnSend.Location = new System.Drawing.Point(128, 8);
     this.btnSend.Name     = "btnSend";
     this.btnSend.Size     = new System.Drawing.Size(64, 23);
     this.btnSend.TabIndex = 1;
     this.btnSend.Text     = "发送";
     this.btnSend.Click   += new System.EventHandler(this.btnSend_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.axMSComm2);
     this.groupBox1.Controls.Add(this.txtSend);
     this.groupBox1.Location = new System.Drawing.Point(0, 40);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(504, 120);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "发送区";
     //
     // axMSComm2
     //
     this.axMSComm2.ContainingControl = this;
     this.axMSComm2.Enabled           = true;
     this.axMSComm2.Location          = new System.Drawing.Point(248, 64);
     this.axMSComm2.Name     = "axMSComm2";
     this.axMSComm2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMSComm2.OcxState")));
     this.axMSComm2.Size     = new System.Drawing.Size(38, 38);
     this.axMSComm2.TabIndex = 1;
     this.axMSComm2.OnComm  += new System.EventHandler(this.axMSComm2_OnComm);
     //
     // txtSend
     //
     this.txtSend.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.txtSend.Location  = new System.Drawing.Point(3, 17);
     this.txtSend.Multiline = true;
     this.txtSend.Name      = "txtSend";
     this.txtSend.Size      = new System.Drawing.Size(498, 100);
     this.txtSend.TabIndex  = 0;
     this.txtSend.Text      = "";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.txtRev);
     this.groupBox2.Location = new System.Drawing.Point(0, 160);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(504, 168);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "接收区";
     //
     // txtRev
     //
     this.txtRev.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.txtRev.Location  = new System.Drawing.Point(3, 17);
     this.txtRev.Multiline = true;
     this.txtRev.Name      = "txtRev";
     this.txtRev.Size      = new System.Drawing.Size(498, 148);
     this.txtRev.TabIndex  = 0;
     this.txtRev.Text      = "";
     //
     // btnClose
     //
     this.btnClose.Location = new System.Drawing.Point(64, 8);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new System.Drawing.Size(64, 23);
     this.btnClose.TabIndex = 5;
     this.btnClose.Text     = "关闭串口";
     this.btnClose.Click   += new System.EventHandler(this.btnClose_Click);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(328, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(64, 23);
     this.label1.TabIndex  = 6;
     this.label1.Text      = "串口状态:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtZT
     //
     this.txtZT.Location = new System.Drawing.Point(400, 8);
     this.txtZT.Name     = "txtZT";
     this.txtZT.ReadOnly = true;
     this.txtZT.Size     = new System.Drawing.Size(96, 21);
     this.txtZT.TabIndex = 7;
     this.txtZT.Text     = "";
     //
     // btnEnd
     //
     this.btnEnd.Location = new System.Drawing.Point(256, 8);
     this.btnEnd.Name     = "btnEnd";
     this.btnEnd.Size     = new System.Drawing.Size(64, 23);
     this.btnEnd.TabIndex = 8;
     this.btnEnd.Text     = "退出";
     this.btnEnd.Click   += new System.EventHandler(this.btnEnd_Click);
     //
     // timer1
     //
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick_1);
     //
     // btnClear
     //
     this.btnClear.Location = new System.Drawing.Point(192, 8);
     this.btnClear.Name     = "btnClear";
     this.btnClear.Size     = new System.Drawing.Size(64, 23);
     this.btnClear.TabIndex = 9;
     this.btnClear.Text     = "清除";
     this.btnClear.Click   += new System.EventHandler(this.btnClear_Click);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.txtInfo);
     this.groupBox3.Location = new System.Drawing.Point(0, 328);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(504, 168);
     this.groupBox3.TabIndex = 10;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "接收信息";
     //
     // txtInfo
     //
     this.txtInfo.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.txtInfo.Location  = new System.Drawing.Point(3, 17);
     this.txtInfo.Multiline = true;
     this.txtInfo.Name      = "txtInfo";
     this.txtInfo.Size      = new System.Drawing.Size(498, 148);
     this.txtInfo.TabIndex  = 0;
     this.txtInfo.Text      = "";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(504, 493);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.btnClear);
     this.Controls.Add(this.btnEnd);
     this.Controls.Add(this.txtZT);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.btnSend);
     this.Controls.Add(this.btnOpen);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Form1";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.Paint        += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm2)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 14
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmICSal));
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     this.txtDepName    = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.txtICNo       = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.txtWellNo     = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.btnRead       = new System.Windows.Forms.Button();
     this.btnWrite      = new System.Windows.Forms.Button();
     this.btnExit       = new System.Windows.Forms.Button();
     this.btnBrush      = new System.Windows.Forms.Button();
     this.groupBox2     = new System.Windows.Forms.GroupBox();
     this.txtLeftAmount = new System.Windows.Forms.TextBox();
     this.label7        = new System.Windows.Forms.Label();
     this.txtPrice      = new System.Windows.Forms.TextBox();
     this.label6        = new System.Windows.Forms.Label();
     this.txtMony       = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.txtAmount     = new System.Windows.Forms.TextBox();
     this.label4        = new System.Windows.Forms.Label();
     this.axMSComm2     = new AxMSCommLib.AxMSComm();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm2)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.txtDepName);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtICNo);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtWellNo);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(8, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(312, 120);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // txtDepName
     //
     this.txtDepName.Location = new System.Drawing.Point(120, 88);
     this.txtDepName.Name     = "txtDepName";
     this.txtDepName.ReadOnly = true;
     this.txtDepName.Size     = new System.Drawing.Size(168, 21);
     this.txtDepName.TabIndex = 5;
     this.txtDepName.Text     = "";
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(16, 90);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(96, 16);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "单位名称:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtICNo
     //
     this.txtICNo.Location = new System.Drawing.Point(120, 24);
     this.txtICNo.Name     = "txtICNo";
     this.txtICNo.ReadOnly = true;
     this.txtICNo.Size     = new System.Drawing.Size(168, 21);
     this.txtICNo.TabIndex = 3;
     this.txtICNo.Text     = "";
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(16, 24);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(96, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "ic卡号:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtWellNo
     //
     this.txtWellNo.Location = new System.Drawing.Point(120, 56);
     this.txtWellNo.Name     = "txtWellNo";
     this.txtWellNo.ReadOnly = true;
     this.txtWellNo.Size     = new System.Drawing.Size(168, 21);
     this.txtWellNo.TabIndex = 1;
     this.txtWellNo.Text     = "";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 58);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(96, 16);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "站编号:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnRead
     //
     this.btnRead.Location = new System.Drawing.Point(8, 288);
     this.btnRead.Name     = "btnRead";
     this.btnRead.TabIndex = 1;
     this.btnRead.Text     = "读卡";
     this.btnRead.Click   += new System.EventHandler(this.btnRead_Click);
     //
     // btnWrite
     //
     this.btnWrite.Location = new System.Drawing.Point(88, 288);
     this.btnWrite.Name     = "btnWrite";
     this.btnWrite.TabIndex = 2;
     this.btnWrite.Text     = "充值";
     this.btnWrite.Click   += new System.EventHandler(this.btnWrite_Click);
     //
     // btnExit
     //
     this.btnExit.Location = new System.Drawing.Point(248, 288);
     this.btnExit.Name     = "btnExit";
     this.btnExit.TabIndex = 3;
     this.btnExit.Text     = "退出";
     this.btnExit.Click   += new System.EventHandler(this.btnExit_Click);
     //
     // btnBrush
     //
     this.btnBrush.Enabled  = false;
     this.btnBrush.Location = new System.Drawing.Point(168, 288);
     this.btnBrush.Name     = "btnBrush";
     this.btnBrush.TabIndex = 4;
     this.btnBrush.Text     = "减值";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.txtLeftAmount);
     this.groupBox2.Controls.Add(this.label7);
     this.groupBox2.Controls.Add(this.txtPrice);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.txtMony);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.txtAmount);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Location = new System.Drawing.Point(8, 128);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(312, 152);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop  = false;
     //
     // txtLeftAmount
     //
     this.txtLeftAmount.Location = new System.Drawing.Point(120, 120);
     this.txtLeftAmount.Name     = "txtLeftAmount";
     this.txtLeftAmount.ReadOnly = true;
     this.txtLeftAmount.Size     = new System.Drawing.Size(176, 21);
     this.txtLeftAmount.TabIndex = 7;
     this.txtLeftAmount.Text     = "";
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(16, 120);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(96, 23);
     this.label7.TabIndex  = 6;
     this.label7.Text      = "卡中水量:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtPrice
     //
     this.txtPrice.Location     = new System.Drawing.Point(120, 56);
     this.txtPrice.Name         = "txtPrice";
     this.txtPrice.Size         = new System.Drawing.Size(176, 21);
     this.txtPrice.TabIndex     = 5;
     this.txtPrice.Text         = "";
     this.txtPrice.TextChanged += new System.EventHandler(this.txtPrice_TextChanged);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(16, 56);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(96, 24);
     this.label6.TabIndex  = 4;
     this.label6.Text      = "售水单价:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtMony
     //
     this.txtMony.Location     = new System.Drawing.Point(120, 24);
     this.txtMony.Name         = "txtMony";
     this.txtMony.Size         = new System.Drawing.Size(176, 21);
     this.txtMony.TabIndex     = 3;
     this.txtMony.Text         = "";
     this.txtMony.TextChanged += new System.EventHandler(this.txtMony_TextChanged);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(16, 32);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(96, 16);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "售水金额:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtAmount
     //
     this.txtAmount.Location = new System.Drawing.Point(120, 88);
     this.txtAmount.Name     = "txtAmount";
     this.txtAmount.ReadOnly = true;
     this.txtAmount.Size     = new System.Drawing.Size(176, 21);
     this.txtAmount.TabIndex = 1;
     this.txtAmount.Text     = "";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(8, 88);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(104, 23);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "售水量:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // axMSComm2
     //
     this.axMSComm2.Enabled  = true;
     this.axMSComm2.Location = new System.Drawing.Point(312, 120);
     this.axMSComm2.Name     = "axMSComm2";
     this.axMSComm2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMSComm2.OcxState")));
     this.axMSComm2.Size     = new System.Drawing.Size(38, 38);
     this.axMSComm2.TabIndex = 6;
     //
     // frmICSal
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(330, 320);
     this.Controls.Add(this.axMSComm2);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.btnBrush);
     this.Controls.Add(this.btnExit);
     this.Controls.Add(this.btnWrite);
     this.Controls.Add(this.btnRead);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmICSal";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "IC卡售水";
     this.Load           += new System.EventHandler(this.frmICSal_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axMSComm2)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 15
0
Archivo: cIC.cs Proyecto: wwkkww1983/yh
 public cIC(AxMSCommLib.AxMSComm axMSCommEx)
 {
     this.axMSComm1 = axMSCommEx;
 }
Ejemplo n.º 16
0
Archivo: cIC.cs Proyecto: hkiaipc/yh
 public cIC(AxMSCommLib.AxMSComm axMSCommEx)
 {
     this.axMSComm1=axMSCommEx;
 }