C
C#2y ago
PabloRNC

❔ Is there any way to send a notification if the Windows is closed?

Hi, I'm using System.Windows to open a Window and I know I can send notifications with NotifyIcon. I want to send a notification like the notifyIcon notification but when the app is closed if something occurs like Web Push Notifications.
6 Replies
Angius
Angius2y ago
You'll need something to run. Some background Windows service, or your app running in the tray or some such
PabloRNC
PabloRNCOP2y ago
And you know how I can do It?
Angius
Angius2y ago
Not really, sorry. I can only give you those googleable terms
PabloRNC
PabloRNCOP2y ago
Ok thanks
pogrammerX
pogrammerX2y ago
You could override the window close, to just hide the window, and then get any notifications to show
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?