Esempio n. 1
0
 private void SettingsOnExplorerSkinningChanged()
 {
     if (!(_skinWindow is ExplorerSkinWindow) && ExplorerSkinWindow.IsExplorerWindow(_skinWindow.Parent))
     {
         BorderSkinningManager.RestoreBorder(_skinWindow.Parent);
         _skinWindow.Dispose();
     }
 }
Esempio n. 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);
        }
 public ExplorerSkinWndowControlsHandler(ExplorerSkinWindow explorerSkinWindow)
     : base(explorerSkinWindow)
 {
     _explorerSkinWindow = explorerSkinWindow;
 }