// load internal static void Load(string RouteFile, Encoding RouteEncoding) { // members Renderer.InitLoading(); RouteProgress = 0.0; TrainProgress = 0.0; TrainProgressCurrentSum = 0.0; TrainProgressCurrentWeight = 1.0; Cancel = false; Complete = false; CurrentRouteFile = RouteFile; CurrentRouteEncoding = RouteEncoding; // thread Loading.LoadAsynchronously(CurrentRouteFile, Encoding.UTF8); RouteViewer.LoadingScreenLoop(); }