Exemplo n.º 1
0
 private void btnCreFliReq_Click(object sender, EventArgs e)
 {
     temp.CreateFlightRequest();
     lstbxSearchResults.Items.Clear();
     foreach (FlightRequest i in temp.GetRequests())
     {
         string flight = i.ToString();
         lstbxSearchResults.Items.Add(flight);
     }
 }
Exemplo n.º 2
0
 private void btnCreateFlightRequest_Click(object sender, EventArgs e)
 {
    flightRequestList = reservationFactory.CreateFlightRequest(filepath);
    lstResults.DataSource = flightRequestList;
 }