protected override void OnNavigatingFrom(NavigatingCancelEventArgs e) { base.OnNavigatingFrom(e); RossPathDisplay.CleanUp(); //viewModel.CleanUpForPageChange(); this.viewModel = null; }
private async void GeneratePaths() { ProgressBarVisible(true); await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { viewModel.CreatePaths(); RossPathDisplay.CurrentPath = viewModel.CurrentPath; RossPathDisplay.ShowPaths(); }); ProgressBarVisible(false); }
private void CentreViewButton_Click_1(object sender, RoutedEventArgs e) { RossPathDisplay.Centre(); }
private void HomeViewButton_Click(object sender, RoutedEventArgs e) { RossPathDisplay.Home(); }