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