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.

22 lines
686 B

using System;
using System.IO;
using System.Windows.Forms;
namespace GPSServer
{
static class Program
{
// public static SqlCarService carService = new SqlCarService();
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
var configName = System.AppDomain.CurrentDomain.BaseDirectory + @"log4net.config";
log4net.Config.XmlConfigurator.ConfigureAndWatch(new FileInfo(configName));
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Main());
}
}
}