From 49e7d052cc72a98b10ba9c06268c8a1d79e94a5b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 15 四月 2025 11:14:10 +0800 Subject: [PATCH] fqc --- DevApp/Gs.DevApp/DevFrm/FrmMain.cs | 32 +++++++++++++++++--------------- 1 files changed, 17 insertions(+), 15 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/FrmMain.cs b/DevApp/Gs.DevApp/DevFrm/FrmMain.cs index 81fbc63..a19cc04 100644 --- a/DevApp/Gs.DevApp/DevFrm/FrmMain.cs +++ b/DevApp/Gs.DevApp/DevFrm/FrmMain.cs @@ -1,4 +1,14 @@ -锘縰sing System; +锘縰sing DevExpress.XtraBars; +using DevExpress.XtraBars.FluentDesignSystem; +using DevExpress.XtraBars.Navigation; +using DevExpress.XtraTab; +using DevExpress.XtraTab.ViewInfo; +using Gs.DevApp.DevFrm.User; +using Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; @@ -6,18 +16,6 @@ using System.Drawing; using System.Reflection; using System.Windows.Forms; -using DevExpress.XtraBars; -using DevExpress.XtraBars.FluentDesignSystem; -using DevExpress.XtraBars.Navigation; -using DevExpress.XtraReports.Expressions.Native; -using DevExpress.XtraTab; -using DevExpress.XtraTab.ViewInfo; -using Gs.DevApp.DevFrm.Sys; -using Gs.DevApp.DevFrm.User; -using Gs.DevApp.Entity; -using Gs.DevApp.ToolBox; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; namespace Gs.DevApp.DevFrm { @@ -101,7 +99,7 @@ Gs.DevApp.DevFrm.User.SysMenu frm = new SysMenu(); frm.ShowDialog(); }; - // tab.ContextMenuStrip = cms1; + // tab.ContextMenuStrip = cms1; } private void Tab_MouseDown(object sender, MouseEventArgs e) @@ -188,7 +186,11 @@ { var strJson = UtilityHelper.HttpPost("", "User/GetUserLoginInfo", JsonConvert.SerializeObject(_obj)); - DevExpress.Utils.WaitDialogForm wdf = new DevExpress.Utils.WaitDialogForm("鎷煎懡鍔犺浇涓紝璇风◢鍚�......", "鍙嬫儏鎻愮ず"); + Size _size; string _caption; Color _color; Padding _pad; + (_size, _caption, _color, _pad) = Gs.DevApp.ToolBox.UtilityHelper.getLoading(); + DevExpress.Utils.WaitDialogForm wdf = new DevExpress.Utils.WaitDialogForm("鍔犺浇杩涘害:", _caption, _size); + wdf.BackColor = _color; + wdf.Padding = _pad; var _job = JObject.Parse(strJson); var rtnCode = _job["rtnCode"].ToString(); if (int.Parse(rtnCode) > 0) -- Gitblit v1.9.3