| 
					
				 | 
			
			
				@@ -61,33 +61,31 @@ namespace DW5S 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         [STAThread] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         static void Main() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            WebApiHelper.Start(AppConfigHelper.Get("HttpPort", 8090)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.AllowDpiScale = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.AllowHoverAnimation = DevExpress.Utils.DefaultBoolean.True; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.AllowDefaultSvgImages = DevExpress.Utils.DefaultBoolean.True; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.AllowRoundedWindowCorners = DevExpress.Utils.DefaultBoolean.True; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.AnimationMode = AnimationMode.EnableAll; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.BackgroundSkinningMode = BackgroundSkinningMode.AllColors; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.DefaultAllowHtmlDraw = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.DefaultLookAndFeel.SetSkinStyle(SkinStyle.WXICompact); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.DefaultFont = new System.Drawing.Font("微软雅黑", 10f); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //WindowsFormsSettings.SetPerMonitorDpiAware(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //if (Debugger.IsAttached) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //    //DevExpress23.2以上版本查看未本地化的资源 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //    DevExpress.Utils.Localization.XtraLocalizer.EnableTraceSource(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //string screenTitle = AppConfigHelper.Get("SystemName", ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //string screenCompany = AppConfigHelper.Get("Company", ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //DxHelper.WaitHelper.SetSplashTips("Tips.txt"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //ChsLocalizer.UseChs(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //DxHelper.WaitHelper.ShowSplashScreen(screenTitle, screenCompany); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //DxHelper.WaitHelper.UpdateSplashMessage("正在加载程序资源文件..."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //MainForm mainForm = new MainForm() { Text = screenTitle }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //DxHelper.WaitHelper.UpdateSplashMessage("正在初始化..."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //System.Windows.Forms.Application.Run(mainForm); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.AllowDpiScale = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.AllowHoverAnimation = DevExpress.Utils.DefaultBoolean.True; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.AllowDefaultSvgImages = DevExpress.Utils.DefaultBoolean.True; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.AllowRoundedWindowCorners = DevExpress.Utils.DefaultBoolean.True; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.AnimationMode = AnimationMode.EnableAll; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.BackgroundSkinningMode = BackgroundSkinningMode.AllColors; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.DefaultAllowHtmlDraw = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.DefaultLookAndFeel.SetSkinStyle(SkinStyle.WXICompact); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.DefaultFont = new System.Drawing.Font("微软雅黑", 10f); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            WindowsFormsSettings.SetPerMonitorDpiAware(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (Debugger.IsAttached) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //DevExpress23.2以上版本查看未本地化的资源 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                DevExpress.Utils.Localization.XtraLocalizer.EnableTraceSource(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            string screenTitle = AppConfigHelper.Get("SystemName", ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            string screenCompany = AppConfigHelper.Get("Company", ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            DxHelper.WaitHelper.SetSplashTips("Tips.txt"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ChsLocalizer.UseChs(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            DxHelper.WaitHelper.ShowSplashScreen(screenTitle, screenCompany); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            DxHelper.WaitHelper.UpdateSplashMessage("正在加载程序资源文件..."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            MainForm mainForm = new MainForm() { Text = screenTitle }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            DxHelper.WaitHelper.UpdateSplashMessage("正在初始化..."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            System.Windows.Forms.Application.Run(mainForm); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |