You create Microsoft Windows-based applications. Two of your Windows-based applications require the use of graphical progress indicators. These indicators are based on bitmap files. Such a component is not available in the .NET Framework.
To facilitate the search for a component, you identify the following requirements:
The component exposes methods to increment and decrement the progress bar, along with a method or a property to manually change the value of the progress bar. The component permits the use of different types of progress indicators, such as a regular progress bar or a circular progress bar.
The component represents multiple progress indicators, permitting the developers to dynamically change the number of indicators.
You research three third party components and find a component that matches the first two criteria. The component you find represents a single progress indicator. The component also exposes extra methods and properties that the developers must not use. You need to implement a strategy to use the third party component. You want to achieve this goal by using the minimum amount of programming effort. What should you do?
A.
Extend the component and override the properties and the methods that the developers must not access.
B.
Extend the component and hide the properties and the methods that the developers must not access.
C.
Wrap the component in a class by using an array to handle the multiple instances of the component. Expose the permissible properties and methods to control the functionality of the progress indicators.
D.
Wrap the component in a class by using an ArrayList object to handle the multiple instances of the component. Expose the permissible properties and methods to control the functionality of the progress indicators.