using System.Threading;

static void Main()
  {
   Mutex m_Ctmt = new Mutex(true, "MutexInstance");
   if (m_Ctmt.WaitOne(0,false))
   {
    Application.Run(new CtServerAp_Main());
    }
   else
   {
    MessageBox.Show("you can't run another");
   }
  }