How to add ONLY system tray icon to application?
Posted
by badpanda
on Stack Overflow
See other posts from Stack Overflow
or by badpanda
Published on 2010-06-10T14:52:12Z
Indexed on
2010/06/10
15:13 UTC
Read the original article
Hit count: 204
I am developing an application that will be running behind the scenes in Windows and would like to put an icon in the system tray for troubleshooting purposes (simple way for users to tell if the app is running). There is no other UI for the application, and the icon does not need to have any functionality as of right now.
All of the solutions I have found as of yet involve creating a form. I am wondering if there is a way to simply add a class to my current C# code that allows me to control the icon, rather than doing the whole 'make a form, set it to be invisible....' nonsense that seems to be the popular suggestion on the forums. Something along the lines of the way that UI control is done in say, Swing for Java. I would really appreciate any ideas!
(Sorry if this is a n00b question...I haven't used C# before...)
Thanks!
badPanda
© Stack Overflow or respective owner