Ejemplo n.º 1
0
 protected override void OnNavigatingFrom(NavigatingCancelEventArgs e)
 {
     base.OnNavigatingFrom(e);
     BarrelPathDisplay.CleanUp();
     //viewModel.CleanUpForPageChange();
     this.viewModel = null;
 }
Ejemplo n.º 2
0
        private async void GeneratePaths()
        {
            ProgressBarVisible(true);
            await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
            {
                viewModel.CreatePaths();
                BarrelPathDisplay.CurrentPath = viewModel.CurrentPath;
                BarrelPathDisplay.ShowPaths();
            });

            ProgressBarVisible(false);
        }