阅读背景:

在使用.net Winform Designer时,如何处理UserControls构造函数中的异常?

来源:互联网 

When you load an UserControl in the WinForm designer, VisualStudio executes the InitializeComponent() method of the control, but not its constructor. This really makes a difference because it's quite common to have some code in the constructor which cannot run at design time.When you load an UserControl in the WinForm des




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: