/// <summary> /// Open TabTip /// </summary> public static void Open() { if (EnvironmentEx.GetOSVersion() == OSVersion.Win10) { EnableTabTipOpenInDesctopModeOnWin10(); } Process.Start(TabTipExecPath); }
static TabTipAutomation() { if (EnvironmentEx.GetOSVersion() == OSVersion.Win7) { return; } TabTip.Closed += () => TabTipClosedSubject.OnNext(true); AutomateTabTipOpen(FocusSubject.AsObservable()); AutomateTabTipClose(FocusSubject.AsObservable(), TabTipClosedSubject); AnimationHelper.ExceptionCatched += exception => ExceptionCatched?.Invoke(exception); }