Exemple #1
0
        public void AddRunway(Runway runway)
        {
            //DGW_runway.Rows.Insert(0, runway.Number, runway.LengthRunway, RunwayViewStatus[Runway.RunwayStatusCode.Free]);

            airport.AddRunway(runway);
            RefreshViewOfAirport();
        }
Exemple #2
0
        private void AddRunwayBtn_Click(object sender, EventArgs e)
        {
            Form1 main = this.Owner as Form1;

            if (main != null)
            {
                Runway pln = MakeRunway();
                main.AddRunway(pln);
                this.Close();
            }
        }
Exemple #3
0
 public void AddRunway(Runway runway)
 {
     _RunwayList.Add(runway);
 }