单选题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 simultaneous

题目
单选题
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 event

B

Implement the MdiChildActivate event

C

Override the OnParentVisibleChanged method

D

Override the OnParentBindingContextChanged method

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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 true
  • B、Create a custom action and set the NoImpersonate property to false
  • C、Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker
  • D、Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator

正确答案:C

第2题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. When you access the application in a Web browser, you receive the following error message: "Service Unavailable".  You need to access the application successfully.  What should you do?()

  • A、Start Microsoft IIS 6.0. 
  • B、Start the Application pool. 
  • C、Set the .NET Framework version. 
  • D、Add the Web.config file for the application.

正确答案:B

第3题:

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 event
  • B、Implement the MdiChildActivate event
  • C、Override the OnParentVisibleChanged method
  • D、Override the OnParentBindingContextChanged method

正确答案:B

第4题:

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application has multiple data entry windows. Each window contains controls that allow the user to type different addresses for shipping and mailing. All addresses have the same format. You need to ensure that you can reuse the controls. What should you create?()

  • A、 a user control
  • B、 a data template
  • C、 a control template
  • D、 a control that inherits the Canvas class

正确答案:A

第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?()

  • A、Handle server names and URLs as ASCII data
  • B、Use Unicode strings throughout the application
  • C、Use the NumberFormatInfo class for numeric formatting
  • D、Handle strings as a series of individual characters instead of entire strings
  • E、Avoid usage of the SortKey class and the CompareInfo class for sorting purposes

正确答案:B,C

第6题:

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 true
  • B、Create a custom action and set the NoImpersonate property to false
  • C、Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.
  • D、Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.

正确答案:C

第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?()

  • 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.

正确答案:D

第8题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()

  • A、the ITemplatable interface 
  • B、the INamingContainer interface 
  • C、the IRequiresSessionState interface
  • D、the IPostBackDataHandler interface

正确答案:B

第9题:

You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to create a customized Print Preview dialog box in the application. You need to ensure that users can preview their documents before printing. Which two actions should you perform?()

  • A、Add a PrintPreviewDialog control to the form.
  • B、Add a PrintPreviewControl control to the form.
  • C、Create and initialize a PrintDocument object on the form and then implement the PrintPage event handler.
  • D、Create and initialize a PrintDocument object on the form and then implement the BeginPrint event handler.
  • E、Set the Document property of the PrintPreviewDialog control to the PrintDocument instance that must be printed.

正确答案:B,C

第10题:

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 class
  • B、The XmlDocument class
  • C、The XmlResolver class
  • D、The LINQ to XML method

正确答案:A

更多相关问题