示例#1
0
        private void label12_Click(object sender, EventArgs e)
        {
            this.Hide();
            frm_HangHoa a = new frm_HangHoa();

            a.Show();
        }
示例#2
0
        private void panel11_Click(object sender, EventArgs e)
        {
            this.Hide();
            frm_HangHoa HangHoa = new frm_HangHoa();

            HangHoa.Show();
            // this.Hide();
        }
示例#3
0
 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();
     }
 }