网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
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?()
A

Extend the Control class.

B

Extend the ContainerControl class.

C

Create protected accesses for each control property.

D

Create public accesses for the properties of the BindingSource control.


参考答案

参考解析
解析: 暂无解析
更多 “单选题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?()A Extend the Control class.B Extend the ContainerControl class.C Create protected accesses for each control property.D Create public accesses for the properties of the BindingSource control.” 相关考题
考题 You are creating a Windows Forms Application by using the .NET Framework 3.5.Your applciation will be used by a government depertment.You need to ensure that the application meets "accessibilty" requirements.Which three actions should you perform?()A、Expose keyboard focus visually and programmatically.B、Use the NeutralResourceLanguageAttribute attribute in the assembly.C、Provide documented keyboard access to all application features.D、Set all the colors to primary colors when the high contrast mode is on.E、Display all user interface elements by using the system color scheme when high contrast mode is off.F、Either display all visual cues or create sound effects for any information.

考题 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?()A、Override the OnPaint method.B、Write a code segment in the DrawNode event handler to specify the highlight color.C、Set the DrawMode property of the control to OwnerDrawAll, and then implement a custom DrawNode event handler.D、Set the DrawMode property of the control to OwnerDrawText,and then implement a custom DrawNode event handler.

考题 You are creating a Windows Forms application by using the .NET Framework 3.5.You have resource files in five different languages.You need to test the application in each language. What should you do?()A、Set the CurrentCulture property explicitly to the respective culture for each language.B、Set the CurrentCulture property explicitly to IsNeutralCulture for each language.C、Set the CurrentUICulture property explicitly to IsNeutralCulture for each language.D、Set the CurrentUICulture property explicitly to the respective culture for each language.

考题 You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application.You need to ensure that on deployment, the application meets the following requirements:  (1)It is executed on the client computer   (2)It is removed from the client computer after the application is closed   (3)It is not displayed in theAdd/Remove programs panel on the client computer    What should you do?()A、Deploy the application to a central network server.Access the application by using the Remote Desktop Connection tool.B、Deploy the application by using the ClickOnce technology.Use the Mage exe tool to set the Online Only option in the deployment manifest.C、Deploy the application by using the ClickOnce technology.Set the Install attribute of the deployment tag to true in the deployment manifest.D、Deploy the application to a CDROM by using the ClickOnce technology.Execute the application from the CDROM

考题 You are creating a Windows Forms application by using the .NET Framework 3.5. The application displays employee names by using the TreeView control. You need to implement the drag and drop functionality in the TreeView control.Which two actions should you perform?()A、Set theAllowDrag property to true.Create an event handler for the DragOver event.B、Set theAllowDrag property to true.Create an event handler for the ItemDrag event to call the DoDragDrop method.C、Set theAllowDrag property to true.Create an event handler for the DragEnter event to call the DoDragDrop method .D、Create an event handler for the DragDrop event to handle the move or copy by itself.E、Create an event handler for the DragEnter event to handle the move or copy by itself.

考题 You create Windows Forms application by using the .Net FrameWork 3.5 You plan to deploy a new application to client computers that use the Windows Vista operating system. You need to ensure that the user can install the application without being prompted fore elevated permission.What should you do?()A、Sign the deployment manifest by using an Authenticode certificate.Publish the application to a CD-ROM.Install the application on each client computer from the CD-ROMB、Sign the deployment manifest by using an Authenticode certificate.Publish the application to a server on the network.Install the application on each client computer.C、Add the requestedExecutionLevel="highestAvailable" attribute to the deployment.Publish the application to a server on the network.Install the application on each client computer.D、Add the requestedExecutionLevel="requiresAdministrator" attribute to the deployment.Publish the application to a server on the network.Install the application on each client computer.

考题 You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application by using the ClickOnce deployment technology.  The application is signed by using a certificate obtained from a trustworthy authority. You need to ensure that the application can be deployed as a trusted application to Windows Vista client computers on a corporate network.What should you do?()A、Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.B、Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.C、Create a new certificatetrust list (CTL).Install the CTL on the server that has the ClickOnce application published.D、Create a new certificate trust list (CTL).Request the network administrator to deploy the CTL by using Group Policy.

考题 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?()A、SetShowHelpB、SetHelpStringC、SetHelpKeywordD、SetHelpNavigator

考题 You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML.You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()A、The XmlReader classB、The XmlDocument classC、The XmlResolver classD、The LINQ to XML method

考题 单选题You create Windows Forms applications by using the .NET Framework 3.5. You plan to use a setup project to deploy a new Windows Forms application.The application uses a component that requires the Microsoft NET Framework 1.1.You need to create a launch condition so that the application can be deployed on client computers.   What should you do?()A Use the Depth property.B Use the Version property.C Use the MinVersion property.D Use the ComponentID property.

考题 单选题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?()A Derive from the Control class.B Derive from the UserControl class.C Derive from the FrameworkElement class.D Derive from the ContainerControl class.

考题 多选题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?()AHandle server names and URLs as ASCII dataBUse Unicode strings throughout the applicationCUse the NumberFormatInfo class for numeric formattingDHandle strings as a series of individual characters instead of entire stringsEAvoid usage of the SortKey class and the CompareInfo class for sorting purposes

考题 单选题You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to deploy a new Applciation.You need to ensure that on deployment, the application meets the following requirements;    (1)It is executed on the client computer.   (2)It is removed from the client computer after the application closed.   (3)It is not displayed in the Add/Remove programs panel on the client computer.     What sould you do?()A Deploy the application to a central network server.- Access the application by using hte Remote Desktop Connection tool.B Deploy the application by using the ClickOnce technology.- Use the Mage.exe tool to set the Online Only option in the deployment manifest.C Deploy the application by using the ClickOnce technologoy.- Set the Install attiribute of the deployment tag to true in the deployment manifest.D Deploy the application to a CD-ROM by using the ClickOnce technology. - Execute the application from the CD-ROM.

考题 单选题You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML.You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()A The XmlReader classB The XmlDocument classC The XmlResolver classD The LINQ to XML method

考题 单选题You are creating a Windows Forms application for a financial service provider by using the .NET Framework 3.5. You have to implement a multiple document interface (MDI) in the application to allow users to open multiple financial documents simultaneously.You need to ensure that whenever the child MDI form is created, the application displays a message in the title bar of the parent MDI that a child form has received focus.   What should you do?()A Implement theActivated eventB Implement the MdiChildActivate eventC Override the OnParentVisibleChanged methodD Override the OnParentBindingContextChanged method

考题 单选题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?()A XCOPYB ClickOnceC MicrosoftWindows InstallerD Remote Desktop connections

考题 单选题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?()A Create a custom action and set the NoImpersonate property to trueB Create a custom action and set the NoImpersonate property to falseC Create a manifest and set the RequestedExecutionLevel level attribute to AsInvokerD Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator

考题 单选题You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to design a composite control for the application.You need to derive the control from a base class that supports templates.What should you do?()A Derive from the Control class.B Derive from the UserControl class.C Derive from the ScrollableControl class.D Derive from the ContainerControl class.

考题 单选题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?()A Create a custom action and set the NoImpersonate property to trueB Create a custom action and set the NoImpersonate property to falseC Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.D Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.

考题 单选题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 DataGridView control by allowing the cells to contain multicolored text. What should you do?()A Override the OnPaint method.B Write a code segment to handle the CellPainting event.C Write a code segment to handle the CellParsing event.D Write a code segment to handle the RowPostPaint event.