private void btnBooking_Group_0_Click(object sender, EventArgs e) { //frmTsk_Booking_Step1 afrm = new frmTsk_Booking_Step1(this.afrmMain, this.Datasource.Code,2); //afrm.ShowDialog(); //this.Parent.Dispose(); frmTsk_BookingForRoom afrmTsk_BookingForRoom = new frmTsk_BookingForRoom(this.afrmMain, this.Datasource.Code,2); afrmTsk_BookingForRoom.ShowDialog(); this.Parent.Dispose(); }
private void btnBooking_Type3_ItemClick(object sender, ItemClickEventArgs e) { try { //frmTsk_Booking_Step1 afrmTsk_Booking_Step1 = new frmTsk_Booking_Step1(this, 3);// CustomerType =3 : Khach le //afrmTsk_Booking_Step1.Show(); frmTsk_BookingForRoom afrmTsk_BookingForRoom = new frmTsk_BookingForRoom(this, 3); afrmTsk_BookingForRoom.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnBooking_Type3_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }