private void bunifuThinButton21_Click(object sender, EventArgs e)
 {
     using (frmTraSach f = new frmTraSach(mapm))
     {
         f.ShowDialog();
     }
 }
Esempio n. 2
0
        private void trảSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmTraSach      traSach = new frmTraSach(this);
            delPassUserData del     = new delPassUserData(traSach.receivingData);

            del(this.user);
            this.Opacity = .75;
            traSach.ShowDialog();
        }
Esempio n. 3
0
        private void btn_Tra_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmTraSach f = new frmTraSach();

            if (ExistForm(f))
            {
                return;
            }
            f.MdiParent = this;
            f.Show();
        }
Esempio n. 4
0
 private void trảSáchToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.user.LoaiTaiKhoan == 0)
     {
         frmTraSach      traSach = new frmTraSach(this);
         delPassUserData del     = new delPassUserData(traSach.receivingData);
         del(this.user);
         this.Opacity = .75;
         traSach.ShowDialog();
     }
     else
     {
         MetroFramework.MetroMessageBox.Show(this, "Mã thẻ của bạn không khả dụng.", "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Esempio n. 5
0
        private void TraSachTool_Click(object sender, EventArgs e)
        {
            frmTraSach f = new frmTraSach();

            f.ShowDialog();
        }