Vb.net 我新创建的Form1在VB类层次结构中的什么位置?
Form1被声明为一个类,但因为它继承了一堆东西。我想知道它继承了什么 但是,如果它从System.Windows.Forms.Form继承,为什么它会从System.Web.UI.Control继承名为“parent”的属性 这一切是如何运作的 另外,我可以完整地参考课程表格1吗?(例如系统某物…)Vb.net 我新创建的Form1在VB类层次结构中的什么位置?,vb.net,class,hierarchy,Vb.net,Class,Hierarchy,Form1被声明为一个类,但因为它继承了一堆东西。我想知道它继承了什么 但是,如果它从System.Windows.Forms.Form继承,为什么它会从System.Web.UI.Control继承名为“parent”的属性 这一切是如何运作的 另外,我可以完整地参考课程表格1吗?(例如系统某物…) 系统对象 System.MarshallByRefObject System.ComponentModel.Component System.Windows.Forms.Control Syste
- 系统对象
- System.MarshallByRefObject
- System.ComponentModel.Component
- System.Windows.Forms.Control
- System.Windows.Forms.ScrollableControl
- System.Windows.Forms.ContainerControl
- System.Windows.Forms.Form
- Some.Your.Namespace.Form1
Form1
类的完整继承层次结构。您可以在msdn中看到这些内容。我建议您从关于的文章开始。嗯,上次我检查时,它的属性继承自System.Windows.Forms.Control
,而不是System.Web.UI.Control
。而且您似乎混淆了继承和名称空间。他们没有任何关系。