PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You are designing a new feature for an existing Windows Forms application by using Microsoft .NET Framework 4. The application contains multiple forms that are loaded into a parent Multiple Document Interface (MDI) form. Your company policy does not allow the use of thirdparty controls. You need to ensure that the new feature meets the following requirements:
* It provides a threedimensional scale model.
* It allows users to change the colors of the model and communicates the color selections back to the application.
* It allows the model to scale, based on the user’s client computer display resolution.
* It is a child form in the MDI application.
What should you do?

What should you do?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a custom command as a resource. The key of the command is saveCommand. You write the following code fragment. (Line numbers are included for reference only.)
01 <Canvas>
02
03 <Button>
04
05 </Button>
06 </Canvas>

You need to ensure that saveCommand is executed when the user clicks the Button control. What should you do?

What should you do?

You are dynamically adding controls to an ASP.NET page in the Page_Load event handler. The page will have text boxes that correspond to the columns in a database table. Each text box will be preceded by a label that displays the name of the corresponding column.
You need to create the form so that when the user clicks the label, the corresponding text box is selected for input.
What should you do?

What should you do?

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will be deployed on Windows 7 computers in the United States and Europe. You need to ensure that array data is sorted based on the culture of the operating system. What should you do?