title: Use already running application-instance
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/19147/what-is-the-correct-way-to-create-a-single-instance-application">What is the correct way to create a single instance application?</a><br>
    <a href="https://stackoverflow.com/questions/4223061/how-to-implement-single-instance-per-machine-application">How to implement single instance per machine application?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a Winform-app which takes one parameter as an argument.</p>
  
  <pre><code>static class Program
  {
  
      [STAThread]
      static void Main(string[] args)
      {           
          Application.EnableVisualStyles();
          Application.SetCompatibleTextRenderingDefault(false);
          Application.Run(new Gauges(args));
      }
  }
  </code></pre>
  
  <p>This program is executed by another application several times a day.</p>
  
  <p>Is it possible to check if my programm is already running and if so, can I use the running instance with the latest parameter?</p>