Inherit

  • Thread starter Thread starter Rodrigo Ferreira
  • Start date Start date
R

Rodrigo Ferreira

How can i inherit from
System.Windows.Forms.UserControl and LicFileLicenseProvider

In the same class?
 
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.
 
Ok thanks!

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.
 
How can i create a trial version for my component?

I develop a User control and now i want to create a trial version!

Greeting!
Rodrigo Ferreira
 
Back
Top