Exemple #1
0
        private void label10_Click(object sender, EventArgs e)
        {
            this.Hide();
            frm_BaoCao a = new frm_BaoCao();

            a.Show();
        }
Exemple #2
0
        private void panel8_Click(object sender, EventArgs e)
        {
            this.Hide();
            frm_BaoCao BaoCao = new frm_BaoCao();

            BaoCao.Show();
            //this.Hide();
        }
 private void frm_HangHoa_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Control == true && e.KeyCode == Keys.P)
     {
         this.Hide();
         frm_CaNhan CaNhan = new frm_CaNhan();
         CaNhan.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.E)
     {
         this.Hide();
         frm_NhanVien01 NhanVien = new frm_NhanVien01();
         NhanVien.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.R)
     {
         this.Hide();
         frm_BaoCao BaoCao = new frm_BaoCao();
         BaoCao.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.G)
     {
         this.Hide();
         frm_HangHoa HangHoa = new frm_HangHoa();
         HangHoa.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.B)
     {
         this.Hide();
         frm_HoaDon HoaDon = new frm_HoaDon();
         HoaDon.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.C)
     {
         this.Hide();
         frm_KhachHang KhachHang = new frm_KhachHang();
         KhachHang.Show();
     }
 }