解决办法:
在设计器代码中把4.0自动加上去的代码注释掉就行了。
//((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
//((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
按不同的版本进行条件编译
#if V2007
#else
((System.ComponentModel.ISupportInitialize)(this.scMain)).EndInit();
#endif
© 著作权归作者所有
举报
相关热门文章
发表评论
0/200