using System.ServiceProcess; namespace WX.CRM.DataSynClient { static class Program { /// /// 应用程序的主入口点。 /// static void Main() { ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new CRMDataSynClient() }; ServiceBase.Run(ServicesToRun); } /// /// 应用程序的主入口点。 /// //[STAThread] //static void Main() //{ // Application.EnableVisualStyles(); // Application.SetCompatibleTextRenderingDefault(false); // Application.Run(new FormTest()); //} } }