You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement: (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data. (3)It uses user-customizable actions when the control is first painted on the form. What should you do?()
- ACreate a new custom class for the control that is derived from the Control class.
- BCreate a new custom class for the control that is derived from the UserControl class.
- CCreate a new custom class for the control that is derived from the ContentControl class.
- DCreate a new custom class for the control that is derived from the ContentPresenter class.