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
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [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_HttpServerToART());
                //Application.Run(new HideBaseSet.FrmBaseSet()); 
            }
        }
    }
}