lu
2025-03-25 ebab62b668bd769f97f4afd5caee472f7e514a27
DevApp/Gs.DevApp/Program.cs
@@ -5,6 +5,7 @@
using CefSharp.WinForms;
using CefSharp;
using Gs.DevApp.DevFrm;
using DevExpress.XtraEditors;
namespace Gs.DevApp
{
@@ -40,6 +41,14 @@
        {
            //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);