PrepAway - Latest Free Exam Questions & Answers

Tag: 70-505

Which method of the HelpProvider class should you call for each control?

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?

Which deployment technology should you use?

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:
* A shortcut is added to the Start menu.
* The most recent version of the application is installed and executed on client computers.
* 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?

Which two actions should you perform?

You are creating a Windows Forms multi-document interface (MDI) application by using the .NET Framework 3.5.
You create an MDI container form in the application. You add a MenuStrip control to the MDI container form.
The ToolStripMenuItem structure of an MDI container is as shown in the following image. You create an MDI child form in the application.
You add a MenuStrip control to the MDI child form. The ToolStripMenuItem structure of the MDI child form is as shown in the following image.
You need to ensure that when the MDI child form is displayed, the top-level menu is displayed as shown in the following image.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Which code segment should you add at line 02?

You are creating a Windows Forms application by using the .NET Framework 3.5.
You create a new form in the application. You add a ContextMenuStrip control named ctxMenu to the form.
You have a user-defined class named CustomControl. You write the following code segment in the application. (Line numbers are included for reference only.)

01 CustomControl myControl = new CustomControl();
02

You need to ensure that an instance of CustomControl is displayed on the form as a top-level item of the ctxMenu control.
Which code segment should you add at line 02?


Page 4 of 41234