我是VB的新手,我想从DataGridView继承,我使用类似的东西 Public Class DataGridViewEx Inherits DataGridViewEnd Class 但编译器会生成错误,因为End of statement需要指向Inherits DataGridView.有什么不对,我应该怎
Public Class DataGridViewEx Inherits DataGridView End Class
但编译器会生成错误,因为End of statement需要指向Inherits DataGridView.有什么不对,我应该怎么做?
把它放在下一行:Public Class DataGridViewEx Inherits DataGridView End Class
MSDN: Inherits
If used, the Inherits statement must be the first non-blank, non-comment line in a class or interface definition. It should immediately follow the Class or Interface statement.