using System; using System.Windows.Forms; using System.Threading; namespace Test { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { bool result; Application.EnableVisualStyles(); Mutex m = new Mutex(true, Application.ProductName, out result); if (result) { Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainFrom()); } } } }