M
Mr. X.
Hello.
I want to create a new class (VB 2008).
What I did :
add new class.
and wrote :
Public Class MenuButton
Inherits Panel
....
The code isn't compiled :
Error 1 Base class 'System.Windows.Forms.Panel' specified for class
'MenuButton' cannot be different from the base class
'System.Windows.Forms.UserControl' of one of its other partial types.
I need little sample code, so I can go on ..., please.
Thanks
I want to create a new class (VB 2008).
What I did :
add new class.
and wrote :
Public Class MenuButton
Inherits Panel
....
The code isn't compiled :
Error 1 Base class 'System.Windows.Forms.Panel' specified for class
'MenuButton' cannot be different from the base class
'System.Windows.Forms.UserControl' of one of its other partial types.
I need little sample code, so I can go on ..., please.
Thanks