private void TerminateExplorerShell() { StatusChanged?.Invoke(TextKey.OperationStatus_WaitExplorerTermination); explorerShell.HideAllWindows(); explorerShell.Terminate(); }
private void ApplicationMonitor_ExplorerStarted() { logger.Info("Trying to terminate Windows explorer..."); explorerShell.Terminate(); logger.Info("Re-initializing working area..."); displayMonitor.InitializePrimaryDisplay(Settings.Taskbar.EnableTaskbar ? taskbar.GetAbsoluteHeight() : 0); logger.Info("Re-initializing shell..."); actionCenter.InitializeBounds(); taskbar.InitializeBounds(); logger.Info("Desktop successfully restored."); }