Exemple #1
0
 private void Initialize()
 {
     this.InitializeComponent();
     base.MaximizeBox     = false;
     base.MinimizeBox     = false;
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     this.groupBox1       = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1");
     this.btnOK           = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK");
     this.btnCancel       = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel");
     this.label1          = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1");
     this.label2          = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2");
     this.label3          = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3");
     this.txtTaxNo        = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtTaxNo");
     this.txtYear         = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtYear");
     this.msktxtPwd       = this.xmlComponentLoader1.GetControlByName <AisinoMTX>("msktxtPwd");
     this.btnOK.Enabled   = false;
     this.msktxtPwd.Select();
     this.msktxtPwd.Mask         = ">AAAAAAAAAAAAAAAA";
     this.msktxtPwd.ResetOnSpace = false;
     this.msktxtPwd.TextChanged += new EventHandler(this.msktxtPwd_TextChanged);
     this.btnOK.Click           += new EventHandler(this.btnOK_Click);
     this.btnCancel.Click       += new EventHandler(this.btnCancel_Click);
 }
Exemple #2
0
        private void InitializeComponent_1()
        {
            this.container_0 = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(FormLogin));

            this.txtPwd          = new AisinoMTX();
            this.label1          = new AisinoLBL();
            this.label2          = new AisinoLBL();
            this.btnOK           = new Button();
            this.btnSet          = new Button();
            this.lblStatus       = new AisinoLBL();
            this.cmbName         = new AisinoCMB();
            this.lblVer          = new AisinoLBL();
            this.lbnTitle        = new AisinoLBL();
            this.lblCopyright    = new AisinoLBL();
            this.toolTip_0       = new ToolTip(this.container_0);
            this.txtCertPassword = new AisinoMTX();
            this.aisinoLBL_0     = new AisinoLBL();
            this.aisinoCHK_0     = new AisinoCHK();
            base.SuspendLayout();
            this.txtPwd.Location       = new Point(0xd6, 0xbc);
            this.txtPwd.Name           = "txtPwd";
            this.txtPwd.PasswordChar   = '*';
            this.txtPwd.Size           = new Size(0xd5, 0x15);
            this.txtPwd.TabIndex       = 1;
            this.txtPwd.KeyPress      += new KeyPressEventHandler(this.txtPwd_KeyPress);
            this.label1.AutoSize       = true;
            this.label1.BackColor      = Color.Transparent;
            this.label1.ForeColor      = SystemColors.ControlText;
            this.label1.Location       = new Point(0xa7, 0xa2);
            this.label1.Name           = "label1";
            this.label1.Size           = new Size(0x2f, 12);
            this.label1.TabIndex       = 5;
            this.label1.Text           = "用户名:";
            this.label2.AutoSize       = true;
            this.label2.BackColor      = Color.Transparent;
            this.label2.ForeColor      = SystemColors.ControlText;
            this.label2.Location       = new Point(0xa5, 0xc1);
            this.label2.Name           = "label2";
            this.label2.Size           = new Size(0x2f, 12);
            this.label2.TabIndex       = 6;
            this.label2.Text           = "密  码:";
            this.btnOK.BackgroundImage = Resources.smethod_3();
            this.btnOK.Location        = new Point(0x166, 0x138);
            this.btnOK.Name            = "btnOK";
            this.btnOK.Size            = new Size(0x5f, 40);
            this.btnOK.TabIndex        = 4;
            this.toolTip_0.SetToolTip(this.btnOK, "登录系统");
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click           += new EventHandler(this.btnOK_Click);
            this.btnSet.AutoSize        = true;
            this.btnSet.BackgroundImage = Resources.smethod_5();
            this.btnSet.Location        = new Point(0xfb, 0x13f);
            this.btnSet.Name            = "btnSet";
            this.btnSet.Size            = new Size(30, 30);
            this.btnSet.TabIndex        = 4;
            this.toolTip_0.SetToolTip(this.btnSet, "设置金税卡状态");
            this.btnSet.UseVisualStyleBackColor = true;
            this.btnSet.Visible                = false;
            this.btnSet.Click                 += new EventHandler(this.btnSet_Click);
            this.lblStatus.AutoSize            = true;
            this.lblStatus.BackColor           = Color.Transparent;
            this.lblStatus.Location            = new Point(0xf2, 0x156);
            this.lblStatus.Name                = "lblStatus";
            this.lblStatus.Size                = new Size(0, 12);
            this.lblStatus.TabIndex            = 7;
            this.cmbName.DropDownStyle         = ComboBoxStyle.DropDownList;
            this.cmbName.FormattingEnabled     = true;
            this.cmbName.Location              = new Point(0xd6, 0x9f);
            this.cmbName.Name                  = "cmbName";
            this.cmbName.Size                  = new Size(0xd5, 20);
            this.cmbName.TabIndex              = 0;
            this.cmbName.SelectedIndexChanged += new EventHandler(this.cmbName_SelectedIndexChanged);
            this.lblVer.AutoSize               = true;
            this.lblVer.BackColor              = Color.Transparent;
            this.lblVer.ForeColor              = SystemColors.ControlText;
            this.lblVer.Location               = new Point(0xf9, 0x45);
            this.lblVer.Name                         = "lblVer";
            this.lblVer.Size                         = new Size(0x5f, 12);
            this.lblVer.TabIndex                     = 9;
            this.lblVer.Text                         = "V8.00.00.120807";
            this.lbnTitle.AutoSize                   = true;
            this.lbnTitle.BackColor                  = Color.Transparent;
            this.lbnTitle.FlatStyle                  = FlatStyle.Popup;
            this.lbnTitle.Font                       = new Font("幼圆", 18f, FontStyle.Bold);
            this.lbnTitle.ForeColor                  = SystemColors.ControlText;
            this.lbnTitle.Location                   = new Point(0x81, 0x19);
            this.lbnTitle.Name                       = "lbnTitle";
            this.lbnTitle.Size                       = new Size(360, 0x18);
            this.lbnTitle.TabIndex                   = 10;
            this.lbnTitle.Text                       = "税控发票开票软件(金税盘版)";
            this.lblCopyright.AutoSize               = true;
            this.lblCopyright.BackColor              = Color.Transparent;
            this.lblCopyright.Location               = new Point(0x16b, 0x16f);
            this.lblCopyright.Name                   = "lblCopyright";
            this.lblCopyright.Size                   = new Size(0xc5, 12);
            this.lblCopyright.TabIndex               = 11;
            this.lblCopyright.Text                   = "航天信息股份有限公司(c)2000-2014";
            this.txtCertPassword.Location            = new Point(0xd6, 0xde);
            this.txtCertPassword.Name                = "txtCertPassword";
            this.txtCertPassword.PasswordChar        = '*';
            this.txtCertPassword.Size                = new Size(0xd5, 0x15);
            this.txtCertPassword.TabIndex            = 2;
            this.txtCertPassword.KeyPress           += new KeyPressEventHandler(this.txtCertPassword_KeyPress);
            this.aisinoLBL_0.AutoSize                = true;
            this.aisinoLBL_0.BackColor               = Color.Transparent;
            this.aisinoLBL_0.ForeColor               = SystemColors.ControlText;
            this.aisinoLBL_0.Location                = new Point(0x98, 0xe3);
            this.aisinoLBL_0.Name                    = "aisinoLBL1";
            this.aisinoLBL_0.Size                    = new Size(0x3b, 12);
            this.aisinoLBL_0.TabIndex                = 13;
            this.aisinoLBL_0.Text                    = "证书口令:";
            this.aisinoCHK_0.AutoSize                = true;
            this.aisinoCHK_0.BackColor               = Color.Transparent;
            this.aisinoCHK_0.Location                = new Point(0xd6, 260);
            this.aisinoCHK_0.Name                    = "chkSavePWD";
            this.aisinoCHK_0.Size                    = new Size(0x48, 0x10);
            this.aisinoCHK_0.TabIndex                = 3;
            this.aisinoCHK_0.Text                    = "记住密码";
            this.aisinoCHK_0.UseVisualStyleBackColor = false;
            base.AcceptButton                        = this.btnOK;
            base.AutoScaleDimensions                 = new SizeF(6f, 12f);
            base.AutoScaleMode                       = AutoScaleMode.Font;
            this.BackColor  = SystemColors.Control;
            base.ClientSize = new Size(0x250, 0x181);
            base.Controls.Add(this.aisinoCHK_0);
            base.Controls.Add(this.txtCertPassword);
            base.Controls.Add(this.aisinoLBL_0);
            base.Controls.Add(this.btnSet);
            base.Controls.Add(this.lblVer);
            base.Controls.Add(this.lblCopyright);
            base.Controls.Add(this.label1);
            base.Controls.Add(this.lbnTitle);
            base.Controls.Add(this.cmbName);
            base.Controls.Add(this.lblStatus);
            base.Controls.Add(this.txtPwd);
            base.Controls.Add(this.btnOK);
            base.Controls.Add(this.label2);
            base.Icon        = (Icon)manager.GetObject("$this.Icon");
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name        = "FormLogin";
            this.Text        = "用户登录";
            base.Load       += new EventHandler(this.FormLogin_Load);
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemple #3
0
        private void InitializeComponent_1()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(ChangeCertPass));

            this.label3      = new Label();
            this.aisinoMTX_0 = new AisinoMTX();
            this.button2     = new AisinoBTN();
            this.button1     = new AisinoBTN();
            this.aisinoMTX_1 = new AisinoMTX();
            this.aisinoLBL_0 = new AisinoLBL();
            this.label1      = new AisinoLBL();
            this.aisinoMTX_2 = new AisinoMTX();
            this.label2      = new AisinoLBL();
            this.panel1      = new Panel();
            base.pnlForm.SuspendLayout();
            base.TitleArea.SuspendLayout();
            base.BodyBounds.SuspendLayout();
            base.BodyClient.SuspendLayout();
            this.panel1.SuspendLayout();
            base.SuspendLayout();
            base.pnlForm.Size    = new Size(400, 280);
            base.lblTitle.Text   = "证书口令修改";
            base.BodyBounds.Size = new Size(400, 250);
            base.BodyClient.Controls.Add(this.panel1);
            base.BodyClient.Controls.Add(this.label3);
            base.BodyClient.Controls.Add(this.aisinoMTX_0);
            base.BodyClient.Controls.Add(this.aisinoMTX_1);
            base.BodyClient.Controls.Add(this.aisinoLBL_0);
            base.BodyClient.Controls.Add(this.label1);
            base.BodyClient.Controls.Add(this.aisinoMTX_2);
            base.BodyClient.Controls.Add(this.label2);
            base.BodyClient.Size                 = new Size(0x184, 0xf4);
            this.label3.AutoSize                 = true;
            this.label3.BackColor                = Color.Transparent;
            this.label3.ForeColor                = Color.Red;
            this.label3.Location                 = new Point(0x58, 0x24);
            this.label3.Name                     = "label3";
            this.label3.Size                     = new Size(0xc5, 12);
            this.label3.TabIndex                 = 0x21;
            this.label3.Text                     = "证书口令不能为默认口令,请修改!";
            this.aisinoMTX_0.Location            = new Point(0x6f, 0x4a);
            this.aisinoMTX_0.Name                = "txtOldPWD";
            this.aisinoMTX_0.PasswordChar        = '*';
            this.aisinoMTX_0.Size                = new Size(0xd5, 0x15);
            this.aisinoMTX_0.TabIndex            = 0;
            this.button2.BackColorActive         = Color.FromArgb(0x19, 0x76, 210);
            this.button2.ColorDefaultA           = Color.FromArgb(0, 0xac, 0xfb);
            this.button2.ColorDefaultB           = Color.FromArgb(0, 0x91, 0xe0);
            this.button2.Font                    = new Font("宋体", 9f);
            this.button2.FontColor               = Color.FromArgb(0xff, 0xff, 0xff);
            this.button2.Location                = new Point(0x11c, 14);
            this.button2.Name                    = "button2";
            this.button2.Size                    = new Size(0x4b, 30);
            this.button2.TabIndex                = 4;
            this.button2.Text                    = "取 消";
            this.button2.UseVisualStyleBackColor = true;
            this.button1.BackColorActive         = Color.FromArgb(0x19, 0x76, 210);
            this.button1.ColorDefaultA           = Color.FromArgb(0, 0xac, 0xfb);
            this.button1.ColorDefaultB           = Color.FromArgb(0, 0x91, 0xe0);
            this.button1.Font                    = new Font("宋体", 9f);
            this.button1.FontColor               = Color.FromArgb(0xff, 0xff, 0xff);
            this.button1.Location                = new Point(0xc0, 14);
            this.button1.Name                    = "button1";
            this.button1.Size                    = new Size(0x4b, 30);
            this.button1.TabIndex                = 3;
            this.button1.Text                    = "确 定";
            this.button1.UseVisualStyleBackColor = true;
            this.aisinoMTX_1.Location            = new Point(0x6f, 0x8d);
            this.aisinoMTX_1.Name                = "txtNewPWD2";
            this.aisinoMTX_1.PasswordChar        = '*';
            this.aisinoMTX_1.Size                = new Size(0xd5, 0x15);
            this.aisinoMTX_1.TabIndex            = 2;
            this.aisinoLBL_0.AutoSize            = true;
            this.aisinoLBL_0.BackColor           = Color.Transparent;
            this.aisinoLBL_0.ForeColor           = SystemColors.ControlText;
            this.aisinoLBL_0.Location            = new Point(0x31, 0x92);
            this.aisinoLBL_0.Name                = "aisinoLBL1";
            this.aisinoLBL_0.Size                = new Size(0x3b, 12);
            this.aisinoLBL_0.TabIndex            = 0x1d;
            this.aisinoLBL_0.Text                = "确认口令:";
            this.label1.AutoSize                 = true;
            this.label1.BackColor                = Color.Transparent;
            this.label1.ForeColor                = SystemColors.ControlText;
            this.label1.Location                 = new Point(0x40, 0x4f);
            this.label1.Name                     = "label1";
            this.label1.Size                     = new Size(0x2f, 12);
            this.label1.TabIndex                 = 0x1a;
            this.label1.Text                     = "原口令:";
            this.aisinoMTX_2.Location            = new Point(0x6f, 0x6b);
            this.aisinoMTX_2.Name                = "txtNewPWD";
            this.aisinoMTX_2.PasswordChar        = '*';
            this.aisinoMTX_2.Size                = new Size(0xd5, 0x15);
            this.aisinoMTX_2.TabIndex            = 1;
            this.label2.AutoSize                 = true;
            this.label2.BackColor                = Color.Transparent;
            this.label2.ForeColor                = SystemColors.ControlText;
            this.label2.Location                 = new Point(0x3e, 0x70);
            this.label2.Name                     = "label2";
            this.label2.Size                     = new Size(0x2f, 12);
            this.label2.TabIndex                 = 0x1b;
            this.label2.Text                     = "新口令:";
            this.panel1.BackColor                = Color.FromArgb(0xe4, 0xe7, 0xe9);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.button2);
            this.panel1.Dock         = DockStyle.Bottom;
            this.panel1.Location     = new Point(0, 0xba);
            this.panel1.Name         = "panel1";
            this.panel1.Size         = new Size(0x184, 0x3a);
            this.panel1.TabIndex     = 0x22;
            base.AutoScaleDimensions = new SizeF(6f, 12f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            base.ClientSize          = new Size(400, 280);
            base.ControlBox          = false;
            base.Icon        = (Icon)manager.GetObject("$this.Icon");
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name        = "ChangeCertPass";
            this.Text        = "修改证书口令";
            base.pnlForm.ResumeLayout(false);
            base.TitleArea.ResumeLayout(false);
            base.BodyBounds.ResumeLayout(false);
            base.BodyClient.ResumeLayout(false);
            base.BodyClient.PerformLayout();
            this.panel1.ResumeLayout(false);
            base.ResumeLayout(false);
        }
Exemple #4
0
 private void InitializeComponent_1()
 {
     this.pnlLoginBody     = new Panel();
     this.btnChangeCertPWD = new Button();
     this.panel1           = new Panel();
     this.lblVer           = new Label();
     this.lblSoftName      = new Label();
     this.btnOK            = new AisinoBTN();
     this.aisinoCHK_0      = new AisinoCHK();
     this.txtCertPassword  = new AisinoMTX();
     this.cmbName          = new AisinoCMB();
     this.txtPwd           = new AisinoMTX();
     this.picCertPassword  = new PictureBox();
     this.picUserPassword  = new PictureBox();
     this.picUserName      = new PictureBox();
     this.pnlLoginBottom   = new Panel();
     this.label4           = new Label();
     this.label1           = new Label();
     base.pnlForm.SuspendLayout();
     base.TitleArea.SuspendLayout();
     base.BodyBounds.SuspendLayout();
     base.BodyClient.SuspendLayout();
     this.pnlLoginBody.SuspendLayout();
     this.panel1.SuspendLayout();
     ((ISupportInitialize)this.picCertPassword).BeginInit();
     ((ISupportInitialize)this.picUserPassword).BeginInit();
     ((ISupportInitialize)this.picUserName).BeginInit();
     this.pnlLoginBottom.SuspendLayout();
     base.SuspendLayout();
     base.pnlForm.Size        = new Size(600, 450);
     base.TitleArea.Size      = new Size(600, 40);
     base.pnlCaption.Size     = new Size(600, 40);
     base.lblTitle.Size       = new Size(570, 40);
     base.lblTitle.Text       = "税控发票开票软件(金税盘版)";
     base.BodyBounds.Location = new Point(0, 40);
     base.BodyBounds.Size     = new Size(600, 410);
     base.BodyClient.Controls.Add(this.pnlLoginBottom);
     base.BodyClient.Controls.Add(this.pnlLoginBody);
     base.BodyClient.Size = new Size(0x24c, 0x194);
     this.pnlLoginBody.Controls.Add(this.btnChangeCertPWD);
     this.pnlLoginBody.Controls.Add(this.panel1);
     this.pnlLoginBody.Controls.Add(this.btnOK);
     this.pnlLoginBody.Controls.Add(this.aisinoCHK_0);
     this.pnlLoginBody.Controls.Add(this.txtCertPassword);
     this.pnlLoginBody.Controls.Add(this.cmbName);
     this.pnlLoginBody.Controls.Add(this.txtPwd);
     this.pnlLoginBody.Controls.Add(this.picCertPassword);
     this.pnlLoginBody.Controls.Add(this.picUserPassword);
     this.pnlLoginBody.Controls.Add(this.picUserName);
     this.pnlLoginBody.Dock          = DockStyle.Top;
     this.pnlLoginBody.Location      = new Point(0, 0);
     this.pnlLoginBody.Name          = "pnlLoginBody";
     this.pnlLoginBody.Size          = new Size(0x24c, 0x152);
     this.pnlLoginBody.TabIndex      = 0;
     this.btnChangeCertPWD.BackColor = Color.Transparent;
     this.btnChangeCertPWD.FlatAppearance.BorderSize         = 0;
     this.btnChangeCertPWD.FlatAppearance.MouseDownBackColor = Color.FromArgb(0, 0xac, 0xfb);
     this.btnChangeCertPWD.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 0x91, 0xe0);
     this.btnChangeCertPWD.FlatStyle = FlatStyle.Flat;
     this.btnChangeCertPWD.Location  = new Point(0x198, 0xe9);
     this.btnChangeCertPWD.Name      = "btnChangeCertPWD";
     this.btnChangeCertPWD.Size      = new Size(0x58, 0x17);
     this.btnChangeCertPWD.TabIndex  = 6;
     this.btnChangeCertPWD.Text      = "更改证书口令";
     this.btnChangeCertPWD.UseVisualStyleBackColor = false;
     this.btnChangeCertPWD.Click += new EventHandler(this.btnChangeCertPWD_Click);
     this.panel1.Controls.Add(this.lblVer);
     this.panel1.Controls.Add(this.lblSoftName);
     this.panel1.Location                     = new Point(110, 0x36);
     this.panel1.Name                         = "panel1";
     this.panel1.Size                         = new Size(0x178, 0x42);
     this.panel1.TabIndex                     = 5;
     this.lblVer.AutoSize                     = true;
     this.lblVer.BackColor                    = Color.Transparent;
     this.lblVer.Font                         = new Font("宋体", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.lblVer.ForeColor                    = Color.DarkRed;
     this.lblVer.Location                     = new Point(110, 0x2f);
     this.lblVer.Name                         = "lblVer";
     this.lblVer.Size                         = new Size(140, 13);
     this.lblVer.TabIndex                     = 6;
     this.lblVer.Text                         = "V2.0.00.20141122.01";
     this.lblSoftName.AutoSize                = true;
     this.lblSoftName.Font                    = new Font("微软雅黑", 15.75f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
     this.lblSoftName.Location                = new Point(0x10, 4);
     this.lblSoftName.Name                    = "lblSoftName";
     this.lblSoftName.Size                    = new Size(0x138, 0x1c);
     this.lblSoftName.TabIndex                = 0;
     this.lblSoftName.Text                    = "税控发票开票软件(金税盘版) ";
     this.btnOK.BackColorActive               = Color.FromArgb(0x19, 0x76, 210);
     this.btnOK.ColorDefaultA                 = Color.FromArgb(0, 0xac, 0xfb);
     this.btnOK.ColorDefaultB                 = Color.FromArgb(0, 0x91, 0xe0);
     this.btnOK.Font                          = new Font("楷体", 14.25f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
     this.btnOK.FontColor                     = Color.FromArgb(0xff, 0xff, 0xff);
     this.btnOK.ForeColor                     = Color.White;
     this.btnOK.Location                      = new Point(0x11f, 0x114);
     this.btnOK.Name                          = "btnOK";
     this.btnOK.Size                          = new Size(0x74, 0x22);
     this.btnOK.TabIndex                      = 5;
     this.btnOK.Text                          = "登录";
     this.btnOK.UseVisualStyleBackColor       = true;
     this.btnOK.Click                        += new EventHandler(this.btnOK_Click);
     this.aisinoCHK_0.AutoSize                = true;
     this.aisinoCHK_0.BackColor               = Color.Transparent;
     this.aisinoCHK_0.Location                = new Point(0xad, 0x114);
     this.aisinoCHK_0.Name                    = "chkSavePWD";
     this.aisinoCHK_0.Size                    = new Size(0x48, 0x10);
     this.aisinoCHK_0.TabIndex                = 4;
     this.aisinoCHK_0.Text                    = "记住密码";
     this.aisinoCHK_0.UseVisualStyleBackColor = false;
     this.txtCertPassword.BorderStyle         = BorderStyle.FixedSingle;
     this.txtCertPassword.Font                = new Font("微软雅黑", 12f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.txtCertPassword.ForeColor           = Color.LightGray;
     this.txtCertPassword.Location            = new Point(0xcb, 0xe5);
     this.txtCertPassword.Name                = "txtCertPassword";
     this.txtCertPassword.Size                = new Size(200, 0x1d);
     this.txtCertPassword.TabIndex            = 3;
     this.txtCertPassword.Text                = "请输入证书口令...";
     this.txtCertPassword.KeyPress           += new KeyPressEventHandler(this.txtCertPassword_KeyPress);
     this.cmbName.DropDownStyle               = ComboBoxStyle.DropDownList;
     this.cmbName.Font                        = new Font("微软雅黑", 12f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.cmbName.FormattingEnabled           = true;
     this.cmbName.Location                    = new Point(0xcb, 0x90);
     this.cmbName.Name                        = "cmbName";
     this.cmbName.Size                        = new Size(200, 0x1d);
     this.cmbName.TabIndex                    = 1;
     this.cmbName.SelectedIndexChanged       += new EventHandler(this.cmbName_SelectedIndexChanged);
     this.txtPwd.BorderStyle                  = BorderStyle.FixedSingle;
     this.txtPwd.Font                         = new Font("微软雅黑", 12f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.txtPwd.ForeColor                    = Color.LightGray;
     this.txtPwd.Location                     = new Point(0xcb, 0xbb);
     this.txtPwd.Name                         = "txtPwd";
     this.txtPwd.Size                         = new Size(200, 0x1d);
     this.txtPwd.TabIndex                     = 2;
     this.txtPwd.Text                         = "请输入用户密码...";
     this.txtPwd.KeyPress                    += new KeyPressEventHandler(this.txtPwd_KeyPress);
     this.picCertPassword.Image               = Resources.smethod_0();
     this.picCertPassword.Location            = new Point(0xad, 0xe5);
     this.picCertPassword.Name                = "picCertPassword";
     this.picCertPassword.Size                = new Size(30, 0x1d);
     this.picCertPassword.TabIndex            = 2;
     this.picCertPassword.TabStop             = false;
     this.picUserPassword.Image               = Resources.smethod_9();
     this.picUserPassword.Location            = new Point(0xad, 0xbb);
     this.picUserPassword.Name                = "picUserPassword";
     this.picUserPassword.Size                = new Size(30, 0x1d);
     this.picUserPassword.TabIndex            = 1;
     this.picUserPassword.TabStop             = false;
     this.picUserName.Image                   = Resources.smethod_8();
     this.picUserName.Location                = new Point(0xad, 0x90);
     this.picUserName.Name                    = "picUserName";
     this.picUserName.Size                    = new Size(30, 0x1d);
     this.picUserName.TabIndex                = 0;
     this.picUserName.TabStop                 = false;
     this.pnlLoginBottom.BackColor            = Color.FromArgb(0xe4, 0xe7, 0xe9);
     this.pnlLoginBottom.Controls.Add(this.label4);
     this.pnlLoginBottom.Controls.Add(this.label1);
     this.pnlLoginBottom.Dock     = DockStyle.Fill;
     this.pnlLoginBottom.Location = new Point(0, 0x152);
     this.pnlLoginBottom.Name     = "pnlLoginBottom";
     this.pnlLoginBottom.Size     = new Size(0x24c, 0x42);
     this.pnlLoginBottom.TabIndex = 1;
     this.label4.AutoSize         = true;
     this.label4.Font             = new Font("微软雅黑", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.label4.ForeColor        = SystemColors.ControlDarkDark;
     this.label4.Location         = new Point(0x173, 13);
     this.label4.Name             = "label4";
     this.label4.Size             = new Size(0x68, 0x11);
     this.label4.TabIndex         = 2;
     this.label4.Text             = "国家税务总局监制";
     this.label1.AutoSize         = true;
     this.label1.Font             = new Font("微软雅黑", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.label1.ForeColor        = SystemColors.ControlDarkDark;
     this.label1.Location         = new Point(0x173, 0x25);
     this.label1.Name             = "label1";
     this.label1.Size             = new Size(0xcb, 0x11);
     this.label1.TabIndex         = 1;
     this.label1.Text             = "航天信息股份有限公司(c)2014-2016";
     base.AutoScaleDimensions     = new SizeF(6f, 12f);
     base.AutoScaleMode           = AutoScaleMode.Font;
     base.ClientSize    = new Size(600, 450);
     base.Name          = "LoginForm";
     base.ShowInTaskbar = true;
     this.Text          = "LoginForm";
     base.pnlForm.ResumeLayout(false);
     base.TitleArea.ResumeLayout(false);
     base.BodyBounds.ResumeLayout(false);
     base.BodyClient.ResumeLayout(false);
     this.pnlLoginBody.ResumeLayout(false);
     this.pnlLoginBody.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((ISupportInitialize)this.picCertPassword).EndInit();
     ((ISupportInitialize)this.picUserPassword).EndInit();
     ((ISupportInitialize)this.picUserName).EndInit();
     this.pnlLoginBottom.ResumeLayout(false);
     this.pnlLoginBottom.PerformLayout();
     base.ResumeLayout(false);
 }
        private void InitializeComponent_1()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(BSLoginForm));

            this.groupBox1   = new AisinoGRP();
            this.aisinoMTX_0 = new AisinoMTX();
            this.txtYear     = new AisinoTXT();
            this.txtTaxNo    = new AisinoTXT();
            this.label3      = new AisinoLBL();
            this.label2      = new AisinoLBL();
            this.label1      = new AisinoLBL();
            this.btnOK       = new AisinoBTN();
            this.btnCancel   = new AisinoBTN();
            this.groupBox1.SuspendLayout();
            base.SuspendLayout();
            this.groupBox1.Controls.Add(this.aisinoMTX_0);
            this.groupBox1.Controls.Add(this.txtYear);
            this.groupBox1.Controls.Add(this.txtTaxNo);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Location       = new Point(12, 13);
            this.groupBox1.Name           = "groupBox1";
            this.groupBox1.Size           = new Size(330, 0x9d);
            this.groupBox1.TabIndex       = 0;
            this.groupBox1.TabStop        = false;
            this.groupBox1.Text           = "系统维护口令";
            this.aisinoMTX_0.AsciiOnly    = true;
            this.aisinoMTX_0.Font         = new Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.aisinoMTX_0.Location     = new Point(0x61, 0x77);
            this.aisinoMTX_0.Mask         = ">AAAAAAAAAAAAAAAA";
            this.aisinoMTX_0.Name         = "msktxtPwd";
            this.aisinoMTX_0.ResetOnSpace = false;
            this.aisinoMTX_0.Size         = new Size(0xbc, 0x17);
            this.aisinoMTX_0.TabIndex     = 5;
            this.aisinoMTX_0.TextChanged += new EventHandler(this.aisinoMTX_0_TextChanged);
            this.txtYear.Location         = new Point(0x61, 0x4c);
            this.txtYear.Name             = "txtYear";
            this.txtYear.ReadOnly         = true;
            this.txtYear.Size             = new Size(0xbc, 0x15);
            this.txtYear.TabIndex         = 4;
            this.txtTaxNo.Location        = new Point(0x61, 0x22);
            this.txtTaxNo.Name            = "txtTaxNo";
            this.txtTaxNo.ReadOnly        = true;
            this.txtTaxNo.Size            = new Size(0xbc, 0x15);
            this.txtTaxNo.TabIndex        = 3;
            this.label3.AutoSize          = true;
            this.label3.Location          = new Point(0x26, 0x7a);
            this.label3.Name                       = "label3";
            this.label3.Size                       = new Size(0x35, 12);
            this.label3.TabIndex                   = 2;
            this.label3.Text                       = "维护口令";
            this.label2.AutoSize                   = true;
            this.label2.Location                   = new Point(0x26, 0x4f);
            this.label2.Name                       = "label2";
            this.label2.Size                       = new Size(0x35, 12);
            this.label2.TabIndex                   = 1;
            this.label2.Text                       = "授权年份";
            this.label1.AutoSize                   = true;
            this.label1.Location                   = new Point(0x26, 0x25);
            this.label1.Name                       = "label1";
            this.label1.Size                       = new Size(0x35, 12);
            this.label1.TabIndex                   = 0;
            this.label1.Text                       = "用户税号";
            this.btnOK.BackColorActive             = Color.FromArgb(0x19, 0x76, 210);
            this.btnOK.ColorDefaultA               = Color.FromArgb(0, 0xac, 0xfb);
            this.btnOK.ColorDefaultB               = Color.FromArgb(0, 0x91, 0xe0);
            this.btnOK.Enabled                     = false;
            this.btnOK.Font                        = new Font("宋体", 9f);
            this.btnOK.FontColor                   = Color.FromArgb(0xff, 0xff, 0xff);
            this.btnOK.ForeColor                   = Color.White;
            this.btnOK.Location                    = new Point(0xaf, 180);
            this.btnOK.Name                        = "btnOK";
            this.btnOK.Size                        = new Size(0x4b, 30);
            this.btnOK.TabIndex                    = 1;
            this.btnOK.Text                        = "确认";
            this.btnOK.UseVisualStyleBackColor     = true;
            this.btnOK.Click                      += new EventHandler(this.btnOK_Click);
            this.btnCancel.BackColorActive         = Color.FromArgb(0x19, 0x76, 210);
            this.btnCancel.ColorDefaultA           = Color.FromArgb(0, 0xac, 0xfb);
            this.btnCancel.ColorDefaultB           = Color.FromArgb(0, 0x91, 0xe0);
            this.btnCancel.Font                    = new Font("宋体", 9f);
            this.btnCancel.FontColor               = Color.FromArgb(0xff, 0xff, 0xff);
            this.btnCancel.ForeColor               = Color.White;
            this.btnCancel.Location                = new Point(0x10b, 180);
            this.btnCancel.Name                    = "btnCancel";
            this.btnCancel.Size                    = new Size(0x4b, 30);
            this.btnCancel.TabIndex                = 2;
            this.btnCancel.Text                    = "取消";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click                  += new EventHandler(this.btnCancel_Click);
            base.AutoScaleMode                     = AutoScaleMode.None;
            base.ClientSize                        = new Size(0x162, 0xd8);
            base.Controls.Add(this.btnCancel);
            base.Controls.Add(this.btnOK);
            base.Controls.Add(this.groupBox1);
            base.Icon    = (Icon)manager.GetObject("$this.Icon");
            base.Name    = "BSLoginForm";
            base.TabText = "输入系统维护口令";
            this.Text    = "输入系统维护口令";
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            base.ResumeLayout(false);
        }
Exemple #6
0
 private void InitializeComponent_1()
 {
     this.panel1 = new Panel();
     this.btnYes = new AisinoBTN();
     this.btnNo  = new AisinoBTN();
     this.panel2 = new Panel();
     this.label4 = new Label();
     this.label3 = new Label();
     this.label2 = new Label();
     this.label1 = new Label();
     this.lblMsg = new Label();
     this.txtPWD = new AisinoMTX();
     base.pnlForm.SuspendLayout();
     base.TitleArea.SuspendLayout();
     base.BodyBounds.SuspendLayout();
     base.BodyClient.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     base.SuspendLayout();
     base.pnlForm.Size    = new Size(400, 230);
     base.lblTitle.Text   = "证书口令登录";
     base.BodyBounds.Size = new Size(400, 200);
     base.BodyClient.Controls.Add(this.panel2);
     base.BodyClient.Controls.Add(this.panel1);
     base.BodyClient.Size  = new Size(0x184, 0xc2);
     this.panel1.BackColor = Color.FromArgb(0xe4, 0xe7, 0xe9);
     this.panel1.Controls.Add(this.btnYes);
     this.panel1.Controls.Add(this.btnNo);
     this.panel1.Dock                    = DockStyle.Bottom;
     this.panel1.Location                = new Point(0, 0x81);
     this.panel1.Name                    = "panel1";
     this.panel1.Size                    = new Size(0x184, 0x41);
     this.panel1.TabIndex                = 0;
     this.btnYes.BackColorActive         = Color.FromArgb(0x19, 0x76, 210);
     this.btnYes.ColorDefaultA           = Color.FromArgb(0, 0xac, 0xfb);
     this.btnYes.ColorDefaultB           = Color.FromArgb(0, 0x91, 0xe0);
     this.btnYes.Font                    = new Font("宋体", 9f);
     this.btnYes.FontColor               = Color.FromArgb(0xff, 0xff, 0xff);
     this.btnYes.Location                = new Point(0xbf, 0x13);
     this.btnYes.Name                    = "btnYes";
     this.btnYes.Size                    = new Size(0x4b, 30);
     this.btnYes.TabIndex                = 0x20;
     this.btnYes.Text                    = "确 定";
     this.btnYes.UseVisualStyleBackColor = true;
     this.btnYes.Click                  += new EventHandler(this.btnYes_Click);
     this.btnNo.BackColorActive          = Color.FromArgb(0x19, 0x76, 210);
     this.btnNo.ColorDefaultA            = Color.FromArgb(0, 0xac, 0xfb);
     this.btnNo.ColorDefaultB            = Color.FromArgb(0, 0x91, 0xe0);
     this.btnNo.Font      = new Font("宋体", 9f);
     this.btnNo.FontColor = Color.FromArgb(0xff, 0xff, 0xff);
     this.btnNo.Location  = new Point(0x116, 0x13);
     this.btnNo.Name      = "btnNo";
     this.btnNo.Size      = new Size(0x4b, 30);
     this.btnNo.TabIndex  = 0x21;
     this.btnNo.Text      = "取 消";
     this.btnNo.UseVisualStyleBackColor = true;
     this.btnNo.Click += new EventHandler(this.btnNo_Click);
     this.panel2.Controls.Add(this.label4);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.lblMsg);
     this.panel2.Controls.Add(this.txtPWD);
     this.panel2.Dock         = DockStyle.Fill;
     this.panel2.Location     = new Point(0, 0);
     this.panel2.Name         = "panel2";
     this.panel2.Size         = new Size(0x184, 0x81);
     this.panel2.TabIndex     = 1;
     this.label4.Font         = new Font("微软雅黑", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.label4.Location     = new Point(0x1c, 0x13);
     this.label4.Name         = "label4";
     this.label4.Size         = new Size(0x98, 20);
     this.label4.TabIndex     = 0x26;
     this.label4.Text         = "证书口令错误,您还有";
     this.label3.Font         = new Font("微软雅黑", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.label3.Location     = new Point(0xce, 0x13);
     this.label3.Name         = "label3";
     this.label3.Size         = new Size(0x5f, 20);
     this.label3.TabIndex     = 0x25;
     this.label3.Text         = "次重试机会。";
     this.label2.AutoSize     = true;
     this.label2.Font         = new Font("微软雅黑", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.label2.Location     = new Point(0x1c, 0x2b);
     this.label2.Name         = "label2";
     this.label2.Size         = new Size(0xf7, 20);
     this.label2.TabIndex     = 0x24;
     this.label2.Text         = "重试失败后将锁死设备,请谨慎输入!";
     this.label1.AutoSize     = true;
     this.label1.Font         = new Font("微软雅黑", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.label1.Location     = new Point(0x1c, 0x52);
     this.label1.Name         = "label1";
     this.label1.Size         = new Size(0x5d, 20);
     this.label1.TabIndex     = 0x23;
     this.label1.Text         = "请输入口令:";
     this.lblMsg.BackColor    = Color.Transparent;
     this.lblMsg.Font         = new Font("微软雅黑", 10.5f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
     this.lblMsg.ForeColor    = Color.Red;
     this.lblMsg.Location     = new Point(0xb2, 0x13);
     this.lblMsg.Name         = "lblMsg";
     this.lblMsg.Size         = new Size(0x18, 0x19);
     this.lblMsg.TabIndex     = 0x22;
     this.lblMsg.Text         = " 3 ";
     this.txtPWD.Location     = new Point(0x7f, 0x55);
     this.txtPWD.Name         = "txtPWD";
     this.txtPWD.PasswordChar = '*';
     this.txtPWD.Size         = new Size(0xe2, 0x15);
     this.txtPWD.TabIndex     = 0x21;
     this.txtPWD.KeyPress    += new KeyPressEventHandler(this.txtPWD_KeyPress);
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode       = AutoScaleMode.Font;
     base.ClientSize          = new Size(400, 230);
     base.Name = "CertLogin";
     this.Text = "CertLogin";
     base.pnlForm.ResumeLayout(false);
     base.TitleArea.ResumeLayout(false);
     base.BodyBounds.ResumeLayout(false);
     base.BodyClient.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     base.ResumeLayout(false);
 }