添加类方法,代码如下: public static void setTag(Control cons) { foreach (Control con in cons.Controls) { con.Tag = con.Width + ":" + con.Height + ":" + con.Left Read More
posted @ 2020-03-12 22:19 LcVong Views(1542) Comments(0) Diggs(0) Edit
添加类方法,代码如下: public static void setTag(Control cons) { foreach (Control con in cons.Controls) ... Read More
posted @ 2020-03-12 22:19 LcVong Views(64) Comments(0) Diggs(0) Edit
在程序入口添加如下代码: AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledExcept... Read More
posted @ 2020-03-12 14:53 LcVong Views(49) Comments(0) Diggs(0) Edit
在程序入口添加如下代码: AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); 在后面添加方法: private stat Read More
posted @ 2020-03-12 14:53 LcVong Views(549) Comments(0) Diggs(0) Edit