private void panel3_Click(object sender, EventArgs e) { this.Hide(); frm_NhanVien01 NhanVien = new frm_NhanVien01(); NhanVien.Show(); // this.Hide(); }
private void label8_Click(object sender, EventArgs e) { this.Hide(); //frm_KhachHang a = new frm_KhachHang(); frm_NhanVien01 a = new frm_NhanVien01(); a.Show(); }
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(); } }