private void bunifuThinButton21_Click(object sender, EventArgs e)
 {
     using (frmTraSach f = new frmTraSach(mapm))
     {
         f.ShowDialog();
     }
 }
Ejemplo 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();
        }
Ejemplo 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();
        }
Ejemplo 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);
     }
 }
Ejemplo n.º 5
0
        private void TraSachTool_Click(object sender, EventArgs e)
        {
            frmTraSach f = new frmTraSach();

            f.ShowDialog();
        }