using iWareSda_QQJF.WCSNEW.EDM; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace iWareSda_QQJF { static class Program { /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); bool result; Mutex MyMutex = new Mutex(true, "QQJF_SDA", out result); if (result) { //Application.Run(new FormMain()); //模拟 暂时 测试 Application.Run(new FormTest()); } else { //程序已经启动 MessageBox.Show("数据访问服务程序已启动"); } } } }