How do I restore a WPF application from tray icon instead of turning it on by clicking a shortcut on the desktop?

Just activate your window when the user click on your Tray-Icon.

Activating window: myWindowToFront.Activate();

WPF-Tray-Icon: WPF NotifyIcon (Very nice stuff)

Leave a Comment