Beispiel #1
0
 private void xoaSachToolStripButton_Click(object sender, EventArgs e)
 {
     if (frmDangNhap.kiemTraDangNhap == true)
     {
         frmQuanLyKhachHang frm = new frmQuanLyKhachHang();
         frm.Show();
     }
     else
     {
         frmDangNhap frm = new frmDangNhap();
         frm.ShowDialog();
     }
 }
Beispiel #2
0
 private void QuanLyKhachHang_Click(object sender, EventArgs e)
 {
     if (frmQLKH == null)
     {
         frmQLKH             = new frmQuanLyKhachHang();
         frmQLKH.MdiParent   = this;
         frmQLKH.Dock        = DockStyle.Fill;
         frmQLKH.WindowState = FormWindowState.Maximized;
         frmQLKH.Show();
     }
     else
     {
         frmQLKH.BringToFront();
     }
 }
Beispiel #3
0
        private void btnThemKhachHang_Click(object sender, EventArgs e)
        {
            frmQuanLyKhachHang frm = new frmQuanLyKhachHang();

            frm.Show();
        }