private void viewElevationProfileToolStripMenuItem_Click(object sender, EventArgs e) { if (_ps.Path.Locations != null && _ps.Path.Locations.Count > 0) { ElevationProfileDisplay epd = new ElevationProfileDisplay(_ps.Path.Locations, _units); epd.Show(); } }