From a75a2d05afbd147ecb44fc1b520180424b99c910 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期六, 23 八月 2025 10:21:11 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/Program.cs | 19 +++---------------- 1 files changed, 3 insertions(+), 16 deletions(-) diff --git a/DevApp/Gs.DevApp/Program.cs b/DevApp/Gs.DevApp/Program.cs index 27de65a..213b64e 100644 --- a/DevApp/Gs.DevApp/Program.cs +++ b/DevApp/Gs.DevApp/Program.cs @@ -1,11 +1,11 @@ 锘縰sing CefSharp; using CefSharp.WinForms; -using DevExpress.Drawing.Internal.Fonts.Interop; using Gs.DevApp.DevFrm; +using Gs.DevApp.DevFrm.QC; using Gs.DevApp.DevFrm.Work; using Gs.DevApp.Properties; +using Gs.DevApp.ToolBox; using System; -using System.Configuration; using System.Diagnostics; using System.IO; using System.Windows.Forms; @@ -42,8 +42,6 @@ /// </summary> private static void _startLogin() { - //Application.Run(new XtraForm1()); - //return; CefSettings settings = new CefSettings(); settings.Locale = "zh-CN"; Cef.Initialize(settings); @@ -55,18 +53,7 @@ { //Application.Run(new DevFrm.User.SysMenu()); //return; - bool IsWeight = false; - try - { - IsWeight = Settings.Default.isWeight; - } - catch (Exception) - { - } - if (IsWeight == true) - Application.Run(new Frm_Work09()); - else - Application.Run(new FrmMain()); + Application.Run(new FrmMain()); } } else -- Gitblit v1.9.3