//切换深色主题开关
        private void DarkThemeToggleSwitch_Toggled(object sender, RoutedEventArgs e)
        {
            ToggleSwitch toggleSwitch = sender as ToggleSwitch;

            if (toggleSwitch != null)
            {
                if (toggleSwitch.IsOn)
                {
                    ThemeUtils.ChangeToDarkTheme();
                }
                else
                {
                    ThemeUtils.ChangeToLightTheme();
                }
                ((Window.Current.Content as Frame).Content as MainPage).OnChangeTheme();
            }
        }