今天碰到这样的问题,正好前段时间解决,

出现题目的异常,多是引用第三方控件引起的。

在NEW时,需要初始化该对象。

             AxESACTIVEXLib.AxESActiveX ax = new AxESACTIVEXLib.AxESActiveX();

            ((System.ComponentModel.ISupportInitialize)(this.ax)).BeginInit();
            this.Controls.Add(ax);
            ((System.ComponentModel.ISupportInitialize)(this.ax)).EndInit();

 

这样就OK了。

相关文章:

  • 2021-12-09
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-29
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
相关资源
相似解决方案