예제 #1
0
        //
        private void btnAddBooking_Click(object sender, EventArgs e)
        {
            FormAddBooking frmAddBooking = new FormAddBooking(frmMain);

            frmAddBooking.Show();
            this.Dispose();
        }
 //
 public FormAddCustomer(FormMain f)
 {
     frmMain       = f;
     frmAddBooking = null;
     InitializeComponent();
 }
 //
 public FormAddCustomer(FormMain frmMain, FormAddBooking frmAddBooking)
 {
     this.frmMain       = frmMain;
     this.frmAddBooking = frmAddBooking;
     InitializeComponent();
 }
예제 #4
0
 //
 public FormAddFlight(FormMain f)
 {
     frmMain       = f;
     frmAddBooking = null;
     InitializeComponent();
 }