If a component that inherits from a licensed component is created, the licensing information to be stored in the form is still needed. This can be done in two ways:
• Add a LicenseProvider attribute to the component.
This will mark the derive component class as licensed. When the component is added to a form, Visual Studio will create and manage the licenses.licx file, and the base class will handle the licensing process as usual. No additional work is needed. For example:
class MyGrid: C1.Win.C1FlexGrid.C1FlexGrid
• Add an instance of the base component to the form.
This will embed the licensing information into the licenses.licx file as in the previous scenario, and the base component will find it and use it. As before, the extra instance can be deleted after the licenses.licx file has been created.