閱讀83 返回首頁    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:23

  上一篇:go WebConfig 特殊字符的轉義
  下一篇:go Column \'表名.某列名\' is invalid in the select list because it is not contained in either an aggregate f