ComponentOne DynamicHelp for WinForms
C1.Win.C1DynamicHelp.4.8 Assembly / C1.Win.C1DynamicHelp Namespace / C1DynamicHelp Class / MainControl Property

In This Topic
    MainControl Property
    In This Topic
    Gets or sets a reference to another C1DynamicHelp control which will be used as a source of data for the current C1DynamicHelp control.
    Syntax
    'Declaration
     
    Public Property MainControl As C1DynamicHelp
    public C1DynamicHelp MainControl {get; set;}
    Remarks
    The current C1DynamicHelp control will use the MainControl's properties: HelpSource, Resolver, Provider, etc instead of its own properties. It is used to place C1DynamicHelp controls on multiple forms that will display topics from one help source. In this case you will have one main C1DynamicHelp control and set properties for it, and all you need to do for the other C1DynamicHelp controls is to set their MainControl property to the main C1DynamicHelp control.
    See Also