private void OnChange()
        {
            if (_OldTheme != SelectSlides[htSelectSlides(SelectSlideTheme)].Selection)
            {
                CConfig.Theme = CTheme.ThemeNames[SelectSlides[htSelectSlides(SelectSlideTheme)].Selection];
                _OldTheme     = SelectSlides[htSelectSlides(SelectSlideTheme)].Selection;

                CTheme.UnloadSkins();
                CFonts.UnloadThemeFonts(CConfig.Theme);
                CTheme.ListSkins();
                CConfig.Skin = CTheme.SkinNames[0];
                _OldSkin     = 0;
                _TempSkin    = _OldSkin;

                CConfig.SaveConfig();

                CTheme.LoadSkins();
                CTheme.LoadTheme();
                CGraphics.ReloadTheme();

                OnShow();
                OnShowFinish();
                return;
            }

            if (_TempSkin != SelectSlides[htSelectSlides(SelectSlideSkin)].Selection)
            {
                _TempSkin = SelectSlides[htSelectSlides(SelectSlideSkin)].Selection;

                PauseBG();
                CConfig.Skin = CTheme.SkinNames[_TempSkin];
                CGraphics.ReloadSkin();
                ResumeBG();
            }
        }
        private void SaveConfig()
        {
            CConfig.Theme          = CTheme.ThemeNames[SelectSlides[htSelectSlides(SelectSlideTheme)].Selection];
            CConfig.Skin           = CTheme.SkinNames[SelectSlides[htSelectSlides(SelectSlideSkin)].Selection];
            CConfig.CoverTheme     = CCover.CoverThemes[SelectSlides[htSelectSlides(SelectSlideCover)].Selection];
            CConfig.DrawNoteLines  = (EOffOn)SelectSlides[htSelectSlides(SelectSlideNoteLines)].Selection;
            CConfig.DrawToneHelper = (EOffOn)SelectSlides[htSelectSlides(SelectSlideToneHelper)].Selection;
            CConfig.TimerLook      = (ETimerLook)SelectSlides[htSelectSlides(SelectSlideTimerLook)].Selection;
            CConfig.FadePlayerInfo = (EFadePlayerInfo)SelectSlides[htSelectSlides(SelectSlideFadeInfo)].Selection;
            CConfig.CoverLoading   = (ECoverLoading)SelectSlides[htSelectSlides(SelectSlideCoverLoading)].Selection;

            CConfig.SaveConfig();

            if (_OldCoverTheme != SelectSlides[htSelectSlides(SelectSlideCover)].Selection)
            {
                CCover.ReloadCover();
                CSongs.Sort(CConfig.SongSorting);
            }

            if (_OldTheme != SelectSlides[htSelectSlides(SelectSlideTheme)].Selection)
            {
                CConfig.Theme = CTheme.ThemeNames[SelectSlides[htSelectSlides(SelectSlideTheme)].Selection];
                _OldTheme     = SelectSlides[htSelectSlides(SelectSlideTheme)].Selection;

                CTheme.UnloadSkins();
                CFonts.UnloadThemeFonts(CConfig.Theme);
                CTheme.ListSkins();
                CConfig.Skin = CTheme.SkinNames[0];
                _OldSkin     = 0;
                _TempSkin    = _OldSkin;

                CConfig.SaveConfig();

                CTheme.LoadSkins();
                CTheme.LoadTheme();
                CGraphics.ReloadTheme();
                return;
            }
        }