//hiennv
 private void btnCheckinGroupForRoomBooking_ItemClick(object sender, ItemClickEventArgs e)
 {
     try
     {
         frmTsk_ListBookingRs afrmTsk_ListBookingRs = new frmTsk_ListBookingRs(this, 2);//customerType =2: Khach doan
         afrmTsk_ListBookingRs.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmMain.btnCheckinGroupForRoomBooking_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
        private void btnCheckIn_1_Click(object sender, EventArgs e)
        {
            frmTsk_ListBookingRs afrm = new frmTsk_ListBookingRs(Convert.ToInt32(this.Datasource.BookingRooms_ID), Convert.ToInt32(this.Datasource.BookingRs_CustomerType));
            afrm.ShowDialog();

            //frmTsk_CheckInForRoomBooking afrmTsk_CheckInForRoomBooking = new frmTsk_CheckInForRoomBooking(this.afrmMain, this.Datasource.BookingRs_ID.GetValueOrDefault(), this.Datasource.CheckOutPlan);
            //afrmTsk_CheckInForRoomBooking.ShowDialog();

            this.Parent.Dispose();
        }
 private void barButtonItem2_ItemClick(object sender, ItemClickEventArgs e)
 {
     frmTsk_ListBookingRs afrmTsk_ListBookingRs = new frmTsk_ListBookingRs(this, 1); //customerType =1: Khach nha nuoc
     afrmTsk_ListBookingRs.ShowDialog();
 }