예제 #1
0
 private void SkipThis(object sender, RoutedEventArgs e)
 {
     Tip.Fade().Stop();
     this.Frame.Navigate(typeof(LoadDataPage));
     isNavigated = true;
     System.Diagnostics.Debug.WriteLine("2");
 }
예제 #2
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.ApplicationView"))
            {
                var titleBar = ApplicationView.GetForCurrentView().TitleBar;
                if (titleBar != null)
                {
                    titleBar.ButtonBackgroundColor = MathHelper.GetSolidColorBrush("#FFD12F2D").Color;
                    titleBar.ButtonForegroundColor = Colors.White;
                    titleBar.BackgroundColor       = MathHelper.GetSolidColorBrush("#FFD12F2D").Color;
                    titleBar.ForegroundColor       = Colors.White;
                }
            }
            this.Background = MathHelper.GetSolidColorBrush("#FFD12F2D");
            await Task.Delay(1000);

            await Tip.Fade(0, 5000).StartAsync();

            System.Diagnostics.Debug.WriteLine("1");
            if (!isNavigated)
            {
                this.Frame.Navigate(typeof(LoadDataPage));
            }
        }