From 62a564f283e70b5eda749df806162a8c5aa7fe75 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 03 四月 2025 20:53:37 +0800 Subject: [PATCH] 1 --- DevApp/Gs.DevApp/Program.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/DevApp/Gs.DevApp/Program.cs b/DevApp/Gs.DevApp/Program.cs index 6104d54..3459e3d 100644 --- a/DevApp/Gs.DevApp/Program.cs +++ b/DevApp/Gs.DevApp/Program.cs @@ -2,7 +2,10 @@ using System.Diagnostics; using System.IO; using System.Windows.Forms; +using CefSharp.WinForms; +using CefSharp; using Gs.DevApp.DevFrm; +using DevExpress.XtraEditors; namespace Gs.DevApp { @@ -36,9 +39,11 @@ /// </summary> private static void _startLogin() { - Application.Run(new TestForm.XtraForm1()); - return; - + //Application.Run(new XtraForm1()); + //return; + CefSettings settings = new CefSettings(); + settings.Locale = "zh-CN"; + Cef.Initialize(settings); var fmLogin = new FrmLogin(); if (fmLogin.IsDisposed == false) { -- Gitblit v1.9.3