From 260881e61c8e994449c32f3c8793827b1b0b754d Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 09 十一月 2024 08:54:29 +0800 Subject: [PATCH] 附件 --- DevApp/Gs.DevApp/Program.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/Program.cs b/DevApp/Gs.DevApp/Program.cs index f12f19f..040e7b3 100644 --- a/DevApp/Gs.DevApp/Program.cs +++ b/DevApp/Gs.DevApp/Program.cs @@ -2,6 +2,8 @@ using System.Diagnostics; using System.IO; using System.Windows.Forms; +using CefSharp.WinForms; +using CefSharp; using Gs.DevApp.DevFrm; namespace Gs.DevApp @@ -36,9 +38,11 @@ /// </summary> private static void _startLogin() { - //Application.Run(new TestForm.XtraForm3()); + //Application.Run(new ShowFile("dsfs")); //return; - + CefSettings settings = new CefSettings(); + settings.Locale = "zh-CN"; + Cef.Initialize(settings); var fmLogin = new FrmLogin(); if (fmLogin.IsDisposed == false) { -- Gitblit v1.9.3