private void bntThanhToan_Click(object sender, EventArgs e)
        {
            frmPay a = new frmPay();

            a.ShowDialog();
            this.Refresh();
        }
예제 #2
0
 public static void IsVip(ref bool ok, string[] args)
 {
     if (args.Length > 0 && args[0].ToUpper() == "TRUE")
     {
         ok = true;
     }
     else if (args.Length > 1 && args[1].ToUpper() == "44909")
     {
         ok = true;
     }
     else
     {
         frmPay frm = new frmPay();
         frm.ShowDialog();
         ok = false;
     }
 }
예제 #3
0
        private void BtnPay_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form f = IsActive(typeof(frmPay));
            VaiTro_ChucNangDTO pqct = btnTraTien.Tag as VaiTro_ChucNangDTO;

            if (f == null)
            {
                frmPay fPay = new frmPay(pqct, username);
                fPay.ThemNhatKyHeThong += ThemNhatKy_Main;
                fPay.MdiParent          = this;
                fPay.Show();
            }
            else
            {
                f.Activate();
            }
        }