You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
877 B
C#
39 lines
877 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.ServiceProcess;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
using log4net.Config;
|
|
|
|
namespace D7MqClient
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// 应用程序的主入口点。
|
|
/// </summary>
|
|
static void Main()
|
|
{
|
|
#region 正式入口
|
|
|
|
//ServiceBase[] ServicesToRun;
|
|
//ServicesToRun = new ServiceBase[]
|
|
//{
|
|
// new DsService()
|
|
//};
|
|
//ServiceBase.Run(ServicesToRun);
|
|
#endregion
|
|
|
|
#region 测试用入口
|
|
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new testForm1());
|
|
|
|
#endregion
|
|
}
|
|
}
|
|
}
|