/// <summary> /// Show/hide airplanes or ADI. /// </summary> public void ToggleHelperModels() { if (airplanes == null) { airplanes = new Airplane[2]; Models.Add(airplanes[0] = new Airplane()); Models.Add(airplanes[1] = new Airplane()); } else { if (adi == null) { adi = new ADI(); Models.Add(adi); } else { RemoveHelperModels(); } } UpdateHelperModels(); }