using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using DevExpress.UserSkins; using DevExpress.Skins; using System.Threading; namespace DeiNiu.wms.win { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { //#if RELEASE //AboutDevCompanion devCom = new AboutDevCompanion(1,false);//release 时启用 //#endif AboutDevCompanion devCom = new AboutDevCompanion(100, true);//release 时启用 Thread.Sleep(1000); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); BonusSkins.Register(); SkinManager.EnableFormSkins(); try { Application.Run(new main()); } catch (Exception er) { DeiNiu.Utils.LogHelper.WriteLog( typeof(Program) , er); Application.Run(new main()); } System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("zh-Hans"); } } }