private void btnThem_Click(object sender, EventArgs e) { ThaoTac = "themmoi"; GUI_ThemPhong themP = new GUI_ThemPhong(); themP.ShowDialog(); }
private void btnSua_Click(object sender, EventArgs e) { if (_maPhong <= 0) { MessageBox.Show("Vui lòng chọn phòng cần sửa!"); } else { ThaoTac = "sua"; GUI_ThemPhong SuaP = new GUI_ThemPhong(); SuaP.ShowDialog(); } }