From c42e01627d34dc2ff3d18cc47b2018de3dbef36d Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期五, 25 七月 2025 15:15:34 +0800 Subject: [PATCH] 计件工资样式调整 --- DevApp/Gs.DevApp/Program.cs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/DevApp/Gs.DevApp/Program.cs b/DevApp/Gs.DevApp/Program.cs index 0af929f..2ae901a 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,8 +40,8 @@ /// </summary> private static void _startLogin() { - //Application.Run(new XtraForm1()); - //return; + Application.Run(new Gs.DevApp.XtraForm1()); + return; CefSettings settings = new CefSettings(); settings.Locale = "zh-CN"; Cef.Initialize(settings); @@ -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