Ejemplo n.º 1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            ThaoTac = "themmoi";
            GUI_ThemPhong themP = new GUI_ThemPhong();

            themP.ShowDialog();
        }
Ejemplo n.º 2
0
 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();
     }
 }