现在的位置: 首页 > 综合 > 正文

Windows form FAQ list on .Net

2012年10月11日 ⁄ 综合 ⁄ 共 434字 ⁄ 字号 评论关闭
今天在MS的Windowsclient.net上看到有关Windows Form编程方面的FAQ列表,看了几条觉得不错,有必要都仔细看一下!!
http://windowsclient.net/blogs/faqs/default.aspx

下面罗列几条自己还不是很清楚的。
(1)

How do I catch an exception that occurs anywhere in a Windows Forms application?

You can handle the Application.ThreadException event from the System.Windows.Forms namespace. using System.Threading; [STAThread] public static void Main() { Application.ThreadException += new ThreadExceptionEventHandler( UnhandledExceptionCatcher );...
【上篇】
【下篇】

抱歉!评论已关闭.