You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
975 B
34 lines
975 B
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());
|
|
}
|
|
}
|
|
}
|
|
}
|