private void btnViewdetail_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { try { int BookingRs_ID = Convert.ToInt32(viewBookingcheckout.GetFocusedRowCellValue("IDBookingR")); int BookingRoomID = Convert.ToInt32(viewBookingcheckout.GetFocusedRowCellValue("ID")); frmTsk_EditBooking afrmTsk_EditBooking = new frmTsk_EditBooking(BookingRoomID,this.afrmMain); afrmTsk_EditBooking.Show(); } catch (Exception ex) { MessageBox.Show("frmTsk_CheckOutExpire.btnViewdetail_ButtonClick\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public frmUpd_Customers(frmTsk_EditBooking afrmTsk_EditBooking, int aIDCustomer) { InitializeComponent(); this.afrmTsk_EditBooking = afrmTsk_EditBooking; this.IDCustomer = aIDCustomer; }
public frmIns_Customers(frmTsk_EditBooking afrmTsk_EditBooking) { InitializeComponent(); this.afrmTsk_EditBooking = afrmTsk_EditBooking; }