internal void NewPath() { if (!CanDiscardModifiedPath()) { return; } string pathsDirectory = System.IO.Path.Combine(CurrentRoute.Path, "PATHS"); PathEditor = new PathEditor(this.RouteData, this.DrawTrackDB, pathsDirectory); drawPathChart.SetPathEditor(this.RouteData, this.PathEditor); DrawPATfile = null; PathEditor.EditingIsActive = true; PathEditor.EditMetaData(); }