예제 #1
0
 private void SettingsOnExplorerSkinningChanged()
 {
     if (!(_skinWindow is ExplorerSkinWindow) && ExplorerSkinWindow.IsExplorerWindow(_skinWindow.Parent))
     {
         BorderSkinningManager.RestoreBorder(_skinWindow.Parent);
         _skinWindow.Dispose();
     }
 }
예제 #2
0
        public bool HandleNewWindow(TopLevelWindow window, BorderSkinningManager manager)
        {
            if (Settings.Settings.ExplorerSkinning && ExplorerSkinWindow.IsExplorerWindow(window))
            {
                manager.AddSkinWindow(new ExplorerSkinWindow(window, Settings.Settings.ExplorerSkin));

                return(true);
            }

            return(false);
        }