コード例 #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     try
     {
         TICKET tk = new TICKET();
         tk.Show();
         this.Hide();
         Airline air = new Airline();
         air.AssignValues();
     }
     catch (Exception ex) { MessageBox.Show(ex.Message, "Exception Unhandled", MessageBoxButtons.OK, MessageBoxIcon.Error); }
 }
コード例 #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     try
     {
         Airline air = new Airline();
         air.AssignValues();
         Hotel ht = new Hotel();
         ht.passing();
         this.Hide();
     }
     catch (Exception ex) { MessageBox.Show(ex.Message, "Exception Unhandled", MessageBoxButtons.OK, MessageBoxIcon.Error); }
 }