From f064d6138dc73d8f54c66f0c6d3242d0376c71b4 Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期五, 04 七月 2025 13:36:02 +0800 Subject: [PATCH] 增加倒冲欠料 --- DevApp/Gs.DevApp/Program.cs | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/DevApp/Gs.DevApp/Program.cs b/DevApp/Gs.DevApp/Program.cs index 0af929f..4dd0414 100644 --- a/DevApp/Gs.DevApp/Program.cs +++ b/DevApp/Gs.DevApp/Program.cs @@ -2,8 +2,8 @@ using CefSharp.WinForms; using Gs.DevApp.DevFrm; using Gs.DevApp.DevFrm.Work; +using Gs.DevApp.Properties; using System; -using System.Configuration; using System.Diagnostics; using System.IO; using System.Windows.Forms; @@ -40,7 +40,7 @@ /// </summary> private static void _startLogin() { - //Application.Run(new XtraForm1()); + //Application.Run(new Gs.DevApp.XtraForm1()); //return; CefSettings settings = new CefSettings(); settings.Locale = "zh-CN"; @@ -52,15 +52,16 @@ if (fmLogin.DialogResult == DialogResult.OK) { //Application.Run(new DevFrm.User.SysMenu()); - string IsWeight = "0"; + //return; + bool IsWeight = false; try { - IsWeight = ConfigurationManager.AppSettings["IsWeight"]; + IsWeight = Settings.Default.isWeight; } catch (Exception) { } - if (IsWeight == "1") + if (IsWeight == true) Application.Run(new Frm_Work09()); else Application.Run(new FrmMain()); -- Gitblit v1.9.3