예제 #1
0
        //private void ColorChanged(object sender, Windows.UI.Xaml.Controls.SelectionChangedEventArgs e)
        //{
        //    switch (ColorBox.SelectedIndex)
        //    {
        //        case 0://Accent
        //            (Application.Current.Resources["MusicusPivotItemSelectedTextColor"] as SolidColorBrush).Color = (Application.Current.Resources["SystemControlForegroundAccentBrush"] as SolidColorBrush).Color;
        //            (Application.Current.Resources["MusicusPivotTitleTextColor"] as SolidColorBrush).Color = (Application.Current.Resources["SystemControlForegroundAccentBrush"] as SolidColorBrush).Color;
        //            (Application.Current.Resources["MusicusPivotItemUnSelectedTextColor"] as SolidColorBrush).Color = (Application.Current.Resources["SystemControlForegroundAccentBrush"] as SolidColorBrush).Color;
        //            (Application.Current.Resources["MusicusOtherColor"] as SolidColorBrush).Color = (Application.Current.Resources["SystemControlForegroundAccentBrush"] as SolidColorBrush).Color;
        //            App.Locator.AppSettingsHelper.Write(Core.PlayerConstants.AppThemeIndex, 0);
        //            break;

        //        case 1://White
        //            (Application.Current.Resources["MusicusPivotItemSelectedTextColor"] as SolidColorBrush).Color = Colors.White;
        //            (Application.Current.Resources["MusicusPivotTitleTextColor"] as SolidColorBrush).Color = Colors.White;
        //            (Application.Current.Resources["MusicusPivotItemUnSelectedTextColor"] as SolidColorBrush).Color = Colors.White;
        //            (Application.Current.Resources["MusicusOtherColor"] as SolidColorBrush).Color = Colors.White;
        //            App.Locator.AppSettingsHelper.Write(Core.PlayerConstants.AppThemeIndex, 1);
        //            break;
        //    }
        //}

        private void ViewAddedFolderClick(object sender, RoutedEventArgs e)
        {
            SheetUtility.OpenAddedFoldersPage();
        }