title: Hide main form C# on autorun
body: <p>I found a realy simple method online that allows me to hide the main form in my application:</p>
  
  <ul>
  <li><p>Create a console application</p></li>
  <li><p>Set output type to Windows Forms Applications</p></li>
  </ul>
  
  <p>This works perfectly when I run the application either from debugging in visual studio or manually.</p>
  
  <p>However..</p>
  
  <p>I have also set this application to auto start with windows (Windows 7 in this case), so I don't have to start it manually every time. When this happens there is a very very very short moment in which I can still see a full screen form blink. Is there a way I can prevent this from happening?</p>
  
  <p>Edit: People seem to missing one important thing.
  The project is created as a Console Application, so it has <strong>no Form or Application.Run()</strong> method. It just has a single static Main method like any other Console Application.</p>
  
  <p>Edit2: Just out of interest, should I rather make a normal WinForms project and try to hide that Main window using either a suggested answer or other sollution?</p>
  
  <p>Thanks!</p>