Beispiel #1
0
        private void BringToFront()
        {
            var window = ApplicationWindows.FindWindowByCaption("tabalt-unique-window-name-xblah");

            window?.ActivateOnLastActiveScreen();
            this.Show();
            this.Activate();
            this.txtFilter.Clear();
            this.txtFilter.Focus();
            this.FocusInput();
        }
Beispiel #2
0
 public static IEnumerable <TaskBarHandle> EnumerateSecondaries() =>
 from w in ApplicationWindows.EnumerateAllTopLevelWindows(SecondaryClassName)
 select new TaskBarHandle(w, primary: false);