コード例 #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();
     }
 }
コード例 #2
0
 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;
 }