duheng
2024-11-26 6fcff08e4f76bce6076319b5b3a2456c2d94c5fe
Desktop/HStation.Desktop.PBS.Core/Program.cs
@@ -1,6 +1,6 @@
using DevExpress.LookAndFeel;
using HStation.Desktop.PBS.Core;
using Mapster;
using System.Reflection;
namespace HStation.Desktop
{
@@ -49,7 +49,7 @@
                System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("zh-Hans");
                //皮肤
                DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(SkinStyle.WXICompact);
                DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(SkinStyle.WXICompact);
                // To customize application configuration such as set high DPI settings or default font,
                // see https://aka.ms/applicationconfiguration.
@@ -60,18 +60,18 @@
                //    return;
                //}
                //扫描全局DTO映射
                TypeAdapterConfig.GlobalSettings.Scan
                    (
                        //Assembly.Load("Yw.BLL.Auth.Core"),
                        //Assembly.Load("Yw.BLL.Bimface.Core"),
                        //Assembly.Load("Yw.BLL.Hydro.Core"),
                        //Assembly.Load("Yw.BLL.Map.Core"),
                        //Assembly.Load("HStation.BLL.PBS.Core")
                    //Assembly.Load("Yw.BLL.Auth.Core"),
                    //Assembly.Load("Yw.BLL.Bimface.Core"),
                    //Assembly.Load("Yw.BLL.Hydro.Core"),
                    //Assembly.Load("Yw.BLL.Map.Core"),
                    //Assembly.Load("HStation.BLL.PBS.Core")
                    );
                DbFirstHelper.Initial();
                Yw.WinFrmUI.GlobalParas.AppIcon = HStation.Desktop.PBS.Core.Properties.Resources.app;
                Yw.WinFrmUI.GlobalParas.AppIcon = HStation.Desktop.PBS.Core.Properties.Resources.app;
                Application.Run(new MainForm());
            }
        }