外部组件发生异常


外部组件发生异常


【外部组件发生异常】外部组件发生异常的原因可能是代码应用错误,比如一个 User Control 后台代码中的引用写成了:using System.Windows.Forms 。这样该 UserControl 的页面基类就变成了 System.Windows.Forms.UserControl 。从引用了该用户控件的页面角度而言的,对他来说这个用户控件就是“外部组件” 。

    推荐阅读