private void WriteWaypoints() { // Write waypoints for all controls (or at least the one on requested courses. foreach (Waypoint wp in waypointList) WriteWaypoint(wp); }