I have some experience with creating Windows services and WPF/Forms. However, what I am trying to do is to utilise either [hardcodet.notifyicon.wpf (for WPF)] or [System.Windows.Forms in Windows Form] => Still I haven’t decided yet on the specific UI approach; however, I am aiming to display the application icon in the tray, on the other hand, what I want to do the following:
- Display the Icon when the service is running (without opening the UI).
- Icon still be there in the tray when the UI is opened.
- Icon still be in the tray when the UI is closed.
- Icon disappears when the service fails or is stopped.
What would be the best approach to design a project like this?
5