0

Toast notification when app is closed (C#)

I have a alarm winforms c# app, and I need that when the actual time equals to the alarm time, send a toast notification (A windows notification) even if the app is closed, like working in windows background.

1st May 2018, 1:05 AM
SebGM2018
SebGM2018 - avatar
2 Respostas
+ 5
I do not have much experience with C #, but I think you could develop a service for your application that can be executed in the background: https://www.codeproject.com/Articles/3990/Simple-Windows-Service-Sample Another way could be that your application starts automatically with the system and make it only visible through the system tray, that way it would continue to run but hide to the user: https://alanbondo.wordpress.com/2008/06/22/creating-a-system-tray-app-with-c/
1st May 2018, 1:23 AM
Mickel
Mickel - avatar
+ 1
Thanks
1st May 2018, 1:24 AM
SebGM2018
SebGM2018 - avatar