| | |
| | | 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; |
| | |
| | | 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); |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | 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) |