Example #1
0
        private void btnCreateFlights_Click(object sender, EventArgs e)
        {
            FlightFactory test = new FlightFactory();

            test.CreateFlights();
            List <Flight> t = test.GetFlights();

            foreach (Flight i in t)
            {
                string flight = i.ToString();
                listBox1.Items.Add(flight);
            }
        }
Example #2
0
 public void Setup()
 {
     _target = new FlightFactory();
 }
Example #3
0
 private void CreateFilesForm_Load(object sender, EventArgs e)
 {
     flightFactory = new FlightFactory();
 }