using iWareCC.Forms; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace iWareCC { static class Program { /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); bool result; Mutex MyMutex = new Mutex(true, "XiGang_iWareCC", out result); if (result) { FormCC cc = new FormCC(); //if (SystemCheckForm.Frm_SystemCheckResult()) //{ cc.Show(); //} Application.Run(); } else { //程序已经启动 MessageBox.Show("程序已启动"); } } } }