Attention: We are retiring the ASP.NET Community Blogs. Learn more >

SystemTrayApplication

SystemTrayApplication 1.0:

As I wrote late last night, after some coffee-induced coding, the first release of SystemTrayApplication is now available at GotDotNet workspaces here. I like to think it has some purpose to it.  It's the easiest way to get a system tray icon for your application.  Just inherit from the SystemTrayApplication class, and build and run.

If you want to change the icon, embed a *.ico file in your project, and override like so in your form:

protected override void CallIconSet()
{
    
base.SetIcon("newicon.ico");
}

1 Comment

  • I realize that this post is really old, but is there any chance you still have this class saved somewhere? I tried the link but got a "The GotDotNet site is being phased out" screen.

Comments have been disabled for this content.