請問大家沒有遇到 這個錯:
發生了 System.NullReferenceException
HResult=0x80004003
Message=未將物件參考設定到物件的實體。
Source=DevExpress.XtraGrid.v18.1
StackTrace:
at DevExpress.XtraGrid.Internal.AutoFilterHelper.GridAutoFilterConditionMenuActivator.OnAutoFilterMenuClick(Object sender, DXMenuItemEventArgs args)
at DevExpress.Utils.Menu.DXPopupMenu.RaiseItemClick(DXMenuItem item)
at DevExpress.Utils.Menu.DXMenuItem.OnClick()
at DevExpress.XtraBars.Utils.DXPopupXtraMenu.OnBarMenuClick(Object sender, ItemClickEventArgs e)
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/251065.html
標籤:C#
上一篇:C#決議xml
下一篇:void 方法中 死回圈能退出嗎
