wpf - Close Application to System Tray -


i have wpf app exit "x" button only. system tray icon launched when application starts up. either "hide" or close main window system tray when "x" clicked. how can achieve this?

the main thing need change shutdownmode application onexplicitshutdown. can set in app.xaml , app stay alive until call application.shutdown() code (probably based on explicit user command). how handle reopening window tray icon dependent on specific implementation should @ least started.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -