示例#1
0
 private void OnAddFlightEventRaise(object sender, FlightEventArgs e)
 {
     try
     {
         _airport.Add(e.Flight);
     }
     catch (AddFlightException ex)
     {
         _view.PrintError(ex.Message);
     }
 }