Пример #1
0
        private void SoundsView_Clicked(object sender, RoutedEventArgs e)
        {
            Download.SetCurrentValue(BackgroundProperty, new SolidColorBrush(Colors.Transparent));
            Sounds.SetCurrentValue(BackgroundProperty, new SolidColorBrush(Colors.Blue));
            Game.SetCurrentValue(BackgroundProperty, new SolidColorBrush(Colors.Transparent));
            SoundsView soundsView = new SoundsView();

            frame.NavigationService.Navigate(soundsView);
        }
Пример #2
0
 private void SoundsViewGo()
 {
     if (SelectedTheme != null)
     {
         SoundsView      app     = new SoundsView();
         SoundsViewModel context = new SoundsViewModel(SelectedTheme);
         app.DataContext = context;
         app.Show();
     }
 }