摘要: 正试图在 os 加载程序锁内执行托管代码。不要尝试在 DllMain 或映像初始化函数内运行托管代码,这样做会导致应用程序挂起。 .NET2.0中增加了42种非常强大的调试助手(MDA,Loaderlock 是其中之一。Loaderlock检测在一个拥有操作系统loader lock的线程上(如上例的video的运行线程)运行托管代码的情况。这样做有可能会引起死锁,并且有可能在操作系统加载器初始化DLL前被使用。虽然 这样做很有必要,但在进行开发调试的时候,实在太麻烦 这是由于正在加载特定资源:例如换肤控件时 办法一 把vs2005菜单的 调试->异常->Managed Debug 阅读全文
posted @ 2011-08-12 18:12 Yaoquan.Luo 阅读(330) 评论(0) 推荐(0)
摘要: Solution from:http://www.devexpress.com/Support/Center/KB/p/A2934.aspx Basically, you should handle the GridView.DoubleClick, get the mouse cursor position, and pass it to the CalcHitInfo method to check whether the mouse points to a grid row, and not, for example, to column headers or footer. Final 阅读全文
posted @ 2011-08-12 14:53 Yaoquan.Luo 阅读(1929) 评论(0) 推荐(0)
摘要: from:http://www.devexpress.com/Support/Center/p/CQ55609.aspx Is it possible to determine the default focused cell backcolor at run time if we havent overriden it already.Unless I explicitly set the focusedcell backcolor, it shows as zero. But I want to know the actual "default" color that 阅读全文
posted @ 2011-08-12 14:03 Yaoquan.Luo 阅读(286) 评论(0) 推荐(0)
摘要: Did you know... You can use '*' to Expand All and '/' to Collapse All in the ToolboxThese are specific to the Toolbox. Pressing * (Shift+8 on ENU keyboards) will expand everything in the Toolbox and pressing / (note it is just the / key, and not Shift+/ as that's a ?) will collap 阅读全文
posted @ 2011-08-12 10:19 Yaoquan.Luo 阅读(123) 评论(0) 推荐(0)