Example #1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            // Update current dispatcher
            Util.CurrentDispatcher = this.Dispatcher;

            // Initial startup actions
            if (this.startup)
            {
                this.ViewModel = SkydriveVM.Instance;
                this.DataContext = this.ViewModel;

                // Initialize progress bar
                this.InitializeProgress();

                this.startup = false;
            }

            // Animate app bar
            this.AppBarEntrance.Begin();
            this.AppBarButtonsEntrance.Begin();
        }
Example #2
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            // Update current dispatcher
            Util.CurrentDispatcher = this.Dispatcher;

            // Initial startup actions
            if (this.startup)
            {
                this.ViewModel   = SkydriveVM.Instance;
                this.DataContext = this.ViewModel;

                // Initialize progress bar
                this.InitializeProgress();

                this.startup = false;
            }

            // Animate app bar
            this.AppBarEntrance.Begin();
            this.AppBarButtonsEntrance.Begin();
        }