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

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

        最近想做一个可以选择文件、加密方式进行加密的小东西,于是画了一个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后,会出现下面这段代码:

目录
相关文章
|
6月前
|
JavaScript 索引
Component name “index“ should always be multi-word vue/multi-word-component-names
Component name “index“ should always be multi-word vue/multi-word-component-names
|
7月前
|
JavaScript
error Component name “Login“ should always be multi-word vue/multi-word-component-names【已解决】
error Component name “Login“ should always be multi-word vue/multi-word-component-names【已解决】
444 1
content‘ is declared but its value is never read.富文本编辑器中这里必须的script中添加setup,引入到set当中时,带title的富文本写法
content‘ is declared but its value is never read.富文本编辑器中这里必须的script中添加setup,引入到set当中时,带title的富文本写法
|
8月前
el-tree在el-form中通过rules进行校验
el-tree在el-form中通过rules进行校验
226 1
|
8月前
ant-design 设置Form.Item中的input框的值的方法
ant-design 设置Form.Item中的input框的值的方法
403 0
|
8月前
|
JavaScript
【Vue Error】 error Component name “product“ should always be multi-word vue/multi-word-compone……
【Vue Error】 error Component name “product“ should always be multi-word vue/multi-word-compone……
|
JavaScript
Element UI报错:Unknown custom element: <el-menu>
Element UI报错:Unknown custom element: <el-menu>
191 0
SpringCloudGateway中出现No primary or default constructor和web-application-type=reactive or remove
SpringCloudGateway中出现No primary or default constructor和web-application-type=reactive or remove
572 0
|
JavaScript
Vue中遇到的Bug( Component name “School“ should always be multi-word vue/multi-word-component-names)
Vue中遇到的Bug( Component name “School“ should always be multi-word vue/multi-word-component-names)
141 0
|
JavaScript 前端开发
成功解决Component template should contain exactly one root element
成功解决Component template should contain exactly one root element