From be94e54dc7cd0eb2e66f25d7def9a873c563564c Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 10 一月 2025 09:53:30 +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 e411b96..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.XtraForm2());
+ //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