How to run an "empty" Windows Application that only has a NotifyIcon?

Posted by devoured elysium on Stack Overflow See other posts from Stack Overflow or by devoured elysium
Published on 2010-05-07T12:51:16Z Indexed on 2010/05/07 12:58 UTC
Read the original article Hit count: 249

Filed under:
|
|
|

I want to make an Application that only has a NotifyIcon. It doesn't need to have at all a "Main" Form. When I want to achieve something like this, I just create an invisible form and run it, but would there be a more "elegant" way of doing this, I'd like to know it.

How do you generally do this? This application can't be a Windows Service, as having the NotifyIcon and its Context Menus is important (each one of them will run a different command).

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about notifyicon