View Single Post
  #4 (permalink)  
Old 08-31-2006, 10:10 PM
brackett brackett is offline
Programmer
 
Join Date: May 2006
Posts: 193
Credits: 0
Rep Power: 11
brackett is on a distinguished road
Default

You could do this.WindowState = WindowState.Minimized, which will minimize the form, but show it in the taskbar. By setting this.ShowInTaskbar to False, you'll get rid of the task, but it can still be gotten to via Alt-Tab.

The better way to do this would be to use a void Main() as a startup. Then, you can either just show the TrayIcon, or control what forms are shown.
Reply With Quote