}//end method Submit private void SubmitCheckIn() { try { RegData.SubmitCheckIn(); DialogResult result = Notice.ShowConfirm("Đăng ký phòng thành công. Tiếp tục đăng ký?", "Đăng Ký Thành Công"); if (result == DialogResult.Yes) { Reset(); } else { ParentForm.Close(); } }//end try catch (Exception ex) { Notice.ShowError(ex.Message); return; } //end catch } //end method SubmitCheckIn