using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using XS_BLL; namespace XS_HttpServer_LR { static class Program { /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { //Application.EnableVisualStyles(); //Application.SetCompatibleTextRenderingDefault(false); //Application.Run(new Form1()); if (UtilityBLL.PrevInstance()) { MessageBox.Show("此程序已经运行!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); Application.Exit(); } else { //new FrmWinDateTime().ShowDialog(); Application.Run(new XS_HttpServerToLR()); //Application.Run(new HideBaseSet.FrmBaseSet()); } } } }