lu
2025-03-29 764a7f61a7166bdafe5543dfda7ba764a8074260
DevApp/Gs.DevApp/Program.cs
@@ -5,6 +5,7 @@
using CefSharp.WinForms;
using CefSharp;
using Gs.DevApp.DevFrm;
using DevExpress.XtraEditors;
namespace Gs.DevApp
{
@@ -38,8 +39,16 @@
        /// </summary>
        private static void _startLogin()
        {
            //Application.Run(new XtraForm1();
            //Application.Run(RibbonForm1());
            //return;
            #region 设置默认字体、日期格式、汉化dev
            //DevExpress.Utils.AppearanceObject.DefaultFont = new System.Drawing.Font("宋体", 10);
            //DevExpress.XtraEditors.WindowsFormsSettings.DefaultFont = new System.Drawing.Font("宋体", 10);
            //DevExpress.XtraEditors.WindowsFormsSettings.DefaultMenuFont = new System.Drawing.Font("宋体", 10);
            //DevExpress.XtraEditors.WindowsFormsSettings.DefaultPrintFont = new System.Drawing.Font("宋体", 10);
            #endregion
            CefSettings settings = new CefSettings();
            settings.Locale = "zh-CN";
            Cef.Initialize(settings);