From 7d7f289200a8c73e7ba1ab0a4cc6f39e8c60b852 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 10 五月 2025 11:22:18 +0800
Subject: [PATCH] 优化测试
---
DevApp/Gs.DevApp/Program.cs | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/DevApp/Gs.DevApp/Program.cs b/DevApp/Gs.DevApp/Program.cs
index 6104d54..e41d69f 100644
--- a/DevApp/Gs.DevApp/Program.cs
+++ b/DevApp/Gs.DevApp/Program.cs
@@ -1,8 +1,11 @@
-锘縰sing System;
+锘縰sing CefSharp;
+using CefSharp.WinForms;
+using Gs.DevApp.DevFrm;
+using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
-using Gs.DevApp.DevFrm;
+using static System.Windows.Forms.VisualStyles.VisualStyleElement.ExplorerBar;
namespace Gs.DevApp
{
@@ -36,9 +39,16 @@
/// </summary>
private static void _startLogin()
{
- Application.Run(new TestForm.XtraForm1());
- return;
-
+ //Application.Run(new XtraForm1());
+ //return;
+ //barMenu.ItemClick += (s, e) =>
+ //{
+ // Gs.DevApp.DevFrm.User.SysMenu frm = new SysMenu();
+ // frm.ShowDialog();
+ //};
+ CefSettings settings = new CefSettings();
+ settings.Locale = "zh-CN";
+ Cef.Initialize(settings);
var fmLogin = new FrmLogin();
if (fmLogin.IsDisposed == false)
{
--
Gitblit v1.9.3