Exemplo n.º 1
0
 private void Init()
 {
     TXT_BARCODE_NO.Clear();
     TXT_BARCODE_NO.Enabled = true;
     TXT_BARCODE_NO.Visible = true;
     TXT_BARCODE_NO.Focus();
 }
Exemplo n.º 2
0
        private void BTN_CONFIRM_Click(object sender, EventArgs e)
        {
            if (alipay_barcode_no.Equals("") || user_name.Equals(""))
            {
                MetroMessageBox.Show(this, "もう一度、バーコード(QRコード)をスキャンしてください。", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                TXT_BARCODE_NO.Focus();
            }
            else
            {
                WizCap wiz = new WizCap(user_name, alipay_login_id);
                wiz.ShowDialog(this);

                confirmYn = wiz.confirmYn;
                if (confirmYn.Equals("C"))
                {
                    MetroMessageBox.Show(this, "お客様がキャンセルボタンを押しました。再度、確認してください。", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }
                else
                {
                    this.DialogResult = DialogResult.OK;
                }
            }
        }