Create a new custom class for the control that is derived from the Control class.
Create a new custom class for the control that is derived from the UserControl class.
Create a new custom class for the control that is derived from the ContentControl class.
Create a new custom class for the control that is derived from the ContentPresenter class.
第1题:
You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new Windows Presentation Foundation (WPF) XAML browser application (XBAP).The deployment must meet the following requirements: (1)shortcut is added to the Start menu (2)The most recent version of the application is installed and executed on client computers (3)Users can uninstall the application from the control panel You need to identify a deployment technology that meets the specified requirements.You want to achieve this goal by using the minimum amount of development effort. Which deployment technology should you use?()
第2题:
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?()
第3题:
You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a custom control for the application. The control will be a composite control.Your need to derive from the class that will create the control by using the minimum amount of development effort.What should you do?()
第4题:
You are creating a Windows Forms application by using the .Net Framework 3.5 You plan to display detailed help instructions for each control in the form.You create a help file.You configure a HelpProvider component on the form. You need to display the help file for the control that is focused when the F1 key is pressed. Which method of the HelpProvider class should you call for each control?()
第5题:
You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to deploy the application in multiple countries and languages.You need to ensure that the application meets the globalization requirements. Which two actions should you perform?()
第6题:
You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a control for the application.You need to ensure that the control meets the following requirements: (1)Contains the DataGridView, BindingSource, and BindingNavigator controls. (2)Exposes the properties of the BindingSource control. (3)Protects the properties of the DataGridView and BindingNavigator controls. What sholud you do?()
第7题:
You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.You need to ensure that the control extends the TreeView control by adding a custom node tag and a highlight color.What should you do?()
第8题:
You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application. The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()
第9题:
You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to design a composite custom control for the application. You include a ListBox control has a property that provides the item count of the ListBox control. You need to ensure that the property cannot be accessed at design time. Which attribute should you use?()
第10题:
You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.The control will have the same properties as a TextBox control.You need to ensure that the control has a transparent background when it is painted on form.You want to achieve this goal by using the minimum amount of development effort.What should you do?()