private void label12_Click(object sender, EventArgs e) { this.Hide(); frm_HangHoa a = new frm_HangHoa(); a.Show(); }
private void panel11_Click(object sender, EventArgs e) { this.Hide(); frm_HangHoa HangHoa = new frm_HangHoa(); HangHoa.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(); } }