Exemplo n.º 1
0
 private void MainPage_Loaded(object sender, RoutedEventArgs e)
 {
     InitSliderTimer();
     OutIMG.BeginTime  = new TimeSpan(0, 0, 0, 0, 800);
     OutREC.BeginTime  = new TimeSpan(0, 0, 0, 0, 800);
     OutIMG.SpeedRatio = 0.07;
     OutREC.SpeedRatio = 0.07;
     OutIMG.Begin();
     OutREC.Begin();
     isDarkOrNot = IsGlobalDark;
     if (StatusBarInit.HaveAddMobileExtensions())
     {
         StatusBarInit.InitInnerMobileStatusBar(true);
     }
     StatusBarInit.InitDesktopStatusBar(false, Colors.Black, Color.FromArgb(255, 67, 104, 203), Colors.White, Color.FromArgb(255, 202, 0, 62));
     StatusBarInit.InitMobileStatusBar(false, Colors.Black, Color.FromArgb(255, 67, 104, 203), Colors.White, Color.FromArgb(255, 202, 0, 62));
 }
Exemplo n.º 2
0
 private void MainPage_Loaded(object sender, RoutedEventArgs e)
 {
     isColorfulOrNot = (bool?)SettingsHelper.ReadSettingsValue(SettingsConstants.IsColorfulOrNot) ?? false;
     isLightOrNot    = (bool?)SettingsHelper.ReadSettingsValue(SettingsConstants.IsDarkThemeOrNot) ?? false;
     if (StatusBarInit.HaveAddMobileExtensions())
     {
         StatusBarInit.InitInnerMobileStatusBar(true);
     }
     StatusBarInit.InitDesktopStatusBar(false);
     StatusBarInit.InitMobileStatusBar(false);
     InitSliderTimer();
     OutIMG.BeginTime  = new TimeSpan(0, 0, 0, 0, 800);
     OutREC.BeginTime  = new TimeSpan(0, 0, 0, 0, 800);
     OutIMG.SpeedRatio = 0.07;
     OutREC.SpeedRatio = 0.07;
     OutIMG.Begin();
     OutREC.Begin();
 }