private void btnCheckOut_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     int IDBookingRoom = int.Parse(viewOwePay.GetFocusedRowCellValue("IDBookingRoom").ToString());
     int BookingStatus = int.Parse(viewOwePay.GetFocusedRowCellValue("BookingRooms_Status").ToString());
     if (BookingStatus == 3)
     {
         frmTsk_CheckOut afrmTsk_CheckOut = new frmTsk_CheckOut(IDBookingRoom, this);
         afrmTsk_CheckOut.ShowDialog();
     }
     else
     {
         MessageBox.Show("Phòng này đã được check out . \n", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 private void btnCheckOut_3_Click(object sender, EventArgs e)
 {
     frmTsk_CheckOut afrm = new frmTsk_CheckOut(this.afrmMain,this.Datasource.BookingRooms_ID);
     afrm.ShowDialog();
     this.Parent.Dispose();
 }