title: How to do an application without form in C#?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/995195/writing-a-windows-system-tray-application-with-net">Writing a Windows system tray application with .NET</a>  </p>
  </blockquote>
  
  <p>Hi,<br>
  I am programming an application in .NET and I don't want to put it a windows interface.<br>
  I remember some time ago I did it with inheriting from the ApplicationContext class but now I can't achieve it.</p>
  
  <p>How I could do it?</p>
  
  <p>Thanks!</p>
  
  <p><strong>Edit:</strong> 
  It's an application that is managed by a notify icon. It must appear the icon near the system clock but not a form. I'm doing this:</p>
  
  <pre><code>class Sync : ApplicationContext
  {
      public Sync()
      {
          ...
      }
  }
  
  [STAThread]
  static void Main()
  {
      Application.EnableVisualStyles();
      Application.SetCompatibleTextRenderingDefault(false);
      Application.Run(new Sync());
  }
  </code></pre>