Esempio n. 1
0
 protected override void OnNavigatingFrom(NavigatingCancelEventArgs e)
 {
     base.OnNavigatingFrom(e);
     RossPathDisplay.CleanUp();
     //viewModel.CleanUpForPageChange();
     this.viewModel = null;
 }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 private void CentreViewButton_Click_1(object sender, RoutedEventArgs e)
 {
     RossPathDisplay.Centre();
 }
Esempio n. 4
0
 private void HomeViewButton_Click(object sender, RoutedEventArgs e)
 {
     RossPathDisplay.Home();
 }