lu
2025-04-10 769b5a6f9c67bab1982f935b54dc0f26e7606972
DevApp/Gs.DevApp/DevFrm/FrmMain.cs
@@ -9,10 +9,8 @@
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;
@@ -101,17 +99,14 @@
                Gs.DevApp.DevFrm.User.SysMenu frm = new SysMenu();
                frm.ShowDialog();
            };
          //  tab.ContextMenuStrip = cms1;
        }
        private void Tab_MouseDown(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Right)
            {
                tab.ContextMenuStrip = null;
                //TreeListHitInfo hInfo = treeList1.CalcHitInfo(new Point(e.X, e.Y));
                //TreeListNode node = hInfo.Node;
                //treeList1.FocusedNode = node;
                tab.ContextMenuStrip = cms1;
                cms1.Show(tab, e.Location);
            }
        }
@@ -191,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)