示例#1
0
 private void BookingCancellationButton_Click(object sender, EventArgs e)
 {
     if (cancelBooking == null)
     {
         cancelBooking           = new CancelBookingForm();
         cancelBooking.MdiParent = this;
         cancelBooking.Dock      = DockStyle.Fill;
         cancelBooking.Show();
         cancelBooking.FormClosed += CancelBooking_FormClosed;
     }
     else
     {
         cancelBooking.Activate();
     }
 }
 public MemberQueryForm(CancelBookingForm callingForm) : this()
 {
     frm2 = callingForm;
 }
示例#3
0
        private void EditBookingButton_Click(object sender, EventArgs e)
        {
            CancelBookingForm Form = new CancelBookingForm();

            Form.Show();
        }
示例#4
0
 private void CancelBooking_FormClosed(object sender, FormClosedEventArgs e)
 {
     cancelBooking = null;
 }