閱讀74 返回首頁    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 語句