阅读74 返回首页    go 阿里云 go 技术社区[云栖]


WinForm中提示Circular base class dependency involving 'TestEncryption.Form' and 'TestEncryption.Form&#3

        最近想做一个可以选择文件、加密方式进行加密的小东西,于是画了一个WinForm界面,但当我把Form的name由Form1改为Form时,提示如下错误:"Circular base class dependency involving 'TestEncryption.Form' and 'TestEncryption.Form'"

        错误的原因就是:The inheritance list for a class includes a direct or indirect reference to itself. A class cannot inherit from itself.即类不能循环继承。

因为修改Form的name后,会出现下面这段代码:

最后更新:2017-04-03 12:54:24

  上一篇:go Unity3d 开发-基础篇
  下一篇:go SQL GROUP BY 语句