R
Rodrigo Ferreira
How can i inherit from
System.Windows.Forms.UserControl and LicFileLicenseProvider
In the same class?
System.Windows.Forms.UserControl and LicFileLicenseProvider
In the same class?
cody said:You cannot have multiple (class-) inheritance in .NET.
Use aggregation, that is include a member variable of type
LicFileLicenseProvider in your UserControl.
If you really need *some* kind of inheritance you have to convert
LicFileLicenseProvider to an abstract interface that is, you have to
provide
theimplementation of every method in all inherited classes.