以文本方式查看主题 - Foxtable(狐表) (http://www.foxtable.com/bbs/index.asp) -- 专家坐堂 (http://www.foxtable.com/bbs/list.asp?boardid=2) ---- [求助]狐表报错 (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=98562) |
-- 作者:积水成渊 -- 发布时间:2017/4/1 9:16:00 -- [求助]狐表报错 System.NullReferenceException: 未将对象引用设置到对象的实例。 在 Foxtable.Col.get_AllowEdit() 在 Foxtable.o_O0_oO0.oOo_O_oO(Object A_0, OwnerDrawCellEventArgs A_1, Boolean A_2, Boolean A_3, Boolean& A_4) 在 Foxtable.o_O0_oO0.oOo_O_oO(Object A_0, OwnerDrawCellEventArgs A_1) 在 C1.Win.C1FlexGrid.C1FlexGridBase.OnOwnerDrawCell(OwnerDrawCellEventArgs e) 在 C1.Win.C1FlexGrid.C1FlexGridBase.#gdb(OwnerDrawCellEventArgs #tQ) 在 C1.Win.C1FlexGrid.C1FlexGridBase.#fdb(Graphics #AA, Int32 #j, Int32 #l, Style #aE, Rectangle #o5, String #gM, Image #Ak) 在 C1.Win.C1FlexGrid.C1FlexGridBase.DrawCell(Graphics #AA, Int32 #j, Int32 #l, Style #aE, Rectangle #o5, String #gM, Image #Ak, CheckEnum #bdb) 在 C1.Win.C1FlexGrid.C1FlexGridBase.DrawCell(PaintEventArgs e, Int32 row, Int32 col) 在 C1.Win.C1FlexGrid.C1FlexGrid.DrawCell(PaintEventArgs e, Int32 row, Int32 col) 在 C1.Win.C1FlexGrid.C1FlexGrid.DrawRow(PaintEventArgs e, Int32 row) 在 C1.Win.C1FlexGrid.C1FlexGridBase.#adb(PaintEventArgs #tQ) 在 C1.Win.C1FlexGrid.C1FlexGridBase.OnPaint(PaintEventArgs e) 在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) 在 System.Windows.Forms.Control.WmPaint(Message& m) 在 System.Windows.Forms.Control.WndProc(Message& m) 在 C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.WndProc(Message& m) 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) |
-- 作者:有点蓝 -- 发布时间:2017/4/1 9:28:00 -- 操作什么出现的错误?贴出相关代码 试试删除想项目里的bin目录,重启项目测试
|
-- 作者:积水成渊 -- 发布时间:2017/4/1 9:41:00 -- 好的 |
-- 作者:积水成渊 -- 发布时间:2017/4/1 9:44:00 -- .NET Framework 版本:2.0.50727.5485 Foxtable 版本:2017.3.18.1 错误所在事件:菜单,AfterSelRangeChange 详细错误信息: 未将对象引用设置到对象的实例。 又报这错误
|
-- 作者:有点蓝 -- 发布时间:2017/4/1 10:14:00 -- |
-- 作者:积水成渊 -- 发布时间:2017/4/1 10:36:00 -- 好的 |