private void SetYan() { ImageBackgroundYan.Visibility = Visibility.Visible; if (IsVideoEnabledChecked) { VideoBackgroundYan.Visibility = Visibility.Visible; } if (isYanVideoLoaded) { VideoBackgroundYan.Play(); } if (isDereVideoLoaded) { VideoBackgroundDere.Stop(); } ReportBugButton.IsDere = false; //ReportBugButton.Background = App.HexToBrush("#ff0000"); //ReportBugButton.Foreground = App.HexToBrush("#000000"); }
private void VideoYan_OnEnded(object sender, RoutedEventArgs e) { VideoBackgroundYan.Position = new TimeSpan(0, 0, 0, 0, 1); VideoBackgroundYan.Play(); }
private void VideoYan_OnLoaded(object sender, RoutedEventArgs e) { isYanVideoLoaded = true; VideoBackgroundYan.Play(); }