public frmTsk_PendingRoom_Free_Step2(frmTsk_PendingRoom_Step1 afrmTsk_PendingRoom_Step1, int IDBookingRoom, int IDBookingR, string CodeRoom, DateTime CheckOutPlan) { InitializeComponent(); this.afrmTsk_PendingRoom_Step1=afrmTsk_PendingRoom_Step1; this.IDBookingRoom = IDBookingRoom; this.IDBookingR = IDBookingR; this.CodeRoom = CodeRoom; this.CheckOutPlan = CheckOutPlan; }
private void btnLockRoom_Click(object sender, EventArgs e) { frmTsk_PendingRoom_Step1 afrm = new frmTsk_PendingRoom_Step1(this.afrmMain, this.Datasource.Code); afrm.ShowDialog(); this.Parent.Dispose(); }
private void btnLock_type3_ItemClick(object sender, ItemClickEventArgs e) { try { frmTsk_PendingRoom_Step1 afrmTsk_PendingRoom_Step1 = new frmTsk_PendingRoom_Step1(this); afrmTsk_PendingRoom_Step1.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnLock_type3_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }