Exemplo n.º 1
0
        private void btnZtBeginUnInput_Click(object sender, EventArgs e)
        {
            this.txtZtInputData.Text = "";
            this.AllowZtInput        = true;
            Zt598Importer.ZT_EPP_OpenKeyVoic(3);
            ThreadExecutor thread = new ThreadExecutor(ZtUnEncryptInput);

            thread.BeginInvoke(null, null);
        }
Exemplo n.º 2
0
        private void btnZtInputUserPwd_Click(object sender, EventArgs e)
        {
            this.SetParam();
            this.txtZtUserPwd.Text = "";

            this.AllowZtInput = true;

            pwdLen    = Convert.ToInt32(this.txtZtEncryptLength.Text);
            pwdNowLen = 0;
            ztPinMode = this.rbZtFrontEncrypt.Checked ? 1 : 0;
            if (ztPinMode == 1)
            {
                Zt598Importer.ZT_EPP_PinLoadCardNo(this.txtZtEncryptPan.Text);
                Zt598Importer.ZT_EPP_ActivWorkPin(this.ztMainId, this.ztWorkId);
            }
            Zt598Importer.ZT_EPP_OpenKeyVoic(2);
            Zt598Importer.ZT_EPP_PinStartAdd(Convert.ToInt32(this.txtZtEncryptLength.Text), 1, ztPinMode, 0, this.ztTimeout);
            ThreadExecutor thread = new ThreadExecutor(ZtPwdEncryptInput);

            thread.BeginInvoke(null, null);
        }
Exemplo n.º 3
0
 private void btnZtEndUnInput_Click(object sender, EventArgs e)
 {
     this.AllowZtInput = false;
     Zt598Importer.ZT_EPP_OpenKeyVoic(0);
 }