public frmTsk_PendingCheckIn_Step2(frmTsk_PendingCheckIn_Step1 afrmTsk_PendingCheckIn_Step1, int IDBookingRoom, int IDBookingR, string CodeRoom, DateTime CheckOutPlan, int Status) { InitializeComponent(); this.afrmTsk_PendingCheckIn_Step1 = afrmTsk_PendingCheckIn_Step1; this.IDBookingRoom = IDBookingRoom; this.IDBookingR = IDBookingR; this.CodeRoom = CodeRoom; this.CheckOutPlan = CheckOutPlan; this.Status = Status; }
private void btnCheckInPending_ItemClick(object sender, ItemClickEventArgs e) { try { frmTsk_PendingCheckIn_Step1 afrmTsk_PendingCheckIn_Step1 = new frmTsk_PendingCheckIn_Step1(this); afrmTsk_PendingCheckIn_Step1.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnCheckInPending_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
//Hiennv private void btnCheckIn_5_Click(object sender, EventArgs e) { frmTsk_PendingCheckIn_Step1 afrmTsk_PendingCheckIn_Step1 = new frmTsk_PendingCheckIn_Step1(this.afrmMain); afrmTsk_PendingCheckIn_Step1.ShowDialog(); }