private void bunifuThinButton21_Click(object sender, EventArgs e) { using (frmTraSach f = new frmTraSach(mapm)) { f.ShowDialog(); } }
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(); }
private void btn_Tra_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmTraSach f = new frmTraSach(); if (ExistForm(f)) { return; } f.MdiParent = this; f.Show(); }
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); } }
private void TraSachTool_Click(object sender, EventArgs e) { frmTraSach f = new frmTraSach(); f.ShowDialog(); }