Esempio n. 1
0
        internal AircraftForm(Aircraft aircraft)
        {
            InitializeComponent();

            this.Aircraft = aircraft;
            this.Text = aircraft.Name;
            this.FormClosing += AircraftForm_FormClosing;

            UpdateGraphics();
        }
Esempio n. 2
0
 private void AddNewAircraft()
 {
     Aircraft aircraft = new Aircraft("Aircraft " + aircraftCount, MakeDebugPlane());
     aircraftList.Add(new AircraftForm(aircraft));
     aircraftCount++;
 }