You need to design a solution that promotes code reusability
You are creating a Windows Presentation Foundation (WPF) application by using Microsoft
.NET Framework 4 and Microsoft Visual Studio 2010. The application will consist of several
data entry forms. Each data entry form requires a user to enter phone numbers and
addresses. You need to design a solution that promotes code reusability. What should you
do?
You need to ensure that the memory usage of the application remains within a specific range
You are creating a Windows Presentation Foundation (WPF) application by using Microsoft
.NET Framework 4. You create a photo album-browsing application. When the user opens
an album, pictures in the album are displayed in sets of 10. Pictures are obtained from a
windows Communication Foundation (WCF) service. Most of the memory of the application
is allocated in the native heap. The memory usage of the application increases when new
albums are opened. You need to ensure that the memory usage of the application remains
within a specific range. What should you do?
You need to ensure that all users can use the drag-and-drop functionality
You are debugging a Windows application that uses Windows Presentation Foundation
(WPF) and Microsoft Visual Studio 2010. The application is deployed as an XAML browser
application (XBAP). Some users report that they are not able to use the drag-and-drop
functionality. You need to ensure that all users can use the drag-and-drop functionality.
What should you do?
You need to ensure that the application allows users to perform the following tasks: • Bookmark their locati
You are designing an application by using Windows Presentation Foundation (WPF) and
Microsoft .NET Framework 4. You create a control named HelpViewer to view the Help
documentation of the application. The HelpViewer control must be available to al windows in
the application. You need to ensure that the application allows users to perform the
following tasks: • Bookmark their location in the documentation and return to the bookmark
from any window. • Hide the HelpViewer control. • Dock the HelpViewer control. You create
a main window as a base class. What should you do next?
You need to ensure that users can return to previous screens
You are designing an application by using Windows Presentation Foundation (WPF) and
Microsoft .NET Framework 4. The application consists of multiple data entry screens. You
need to ensure that users can return to previous screens. You also need to ensure that
users can view a history of screens. What should you do?
You need to ensure that prior-page navigation can be disabled
You are designing an application by using Windows Presentation Foundation (WPF) and
Microsoft .NET Framework 4. You plan to create a wizard by using a Window, a Frame, and
several Page objects. The wizard will use the NavigationService. The NavigationService will
be invoked by buttons on the user interface (UI). You need to ensure that prior-page
navigation can be disabled. What should you do?
You need to ensure that the window responds while users type a name
You are creating a Windows Presentation Foundation (WPF) application by using Microsoft
.NET Framework 4 and Microsoft SQL Server 2008. You create a window that allows users
to search for products that match a given name. Search results are displayed when the user
types each letter of the product name. You use a method named FindProducts to obtain the
list of products. Users report that when they type a letter of the product name, the window
stops responding for a varying amount of time. While the window stops responding, users
cannot type more letters. The window stops responding even when the search generates
few results. You need to ensure that the window responds while users type a name. What
should you do?
You need to ensure that the following requirements are met: Customer data is retrieved only once
You are designing an application by using Windows Presentation Foundation (WPF) and
Microsoft .NET Framework 4. The application retrieves customer data from an enterprise
resource planning (ERP) system. You need to ensure that the following requirements are
met: Customer data is retrieved only once. Customer data is available on multiple forms
within the application. Forms can implement Two-Way binding to the customer data. What
should you do?
How should you design the validation?
You are designing an application by using Windows Presentation Foundation (WPF),
Microsoft .NET Framework 4, and Microsoft SQL Server 2008. The application will contain
several forms that include custom data validators. You need to ensure that data is validated
before the database updates occur. You also need to ensure that the validation logic can be
reused. How should you design the validation?
You need to ensure that the new feature meets the following requirements: • It provides a three-dimensional
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 third-party controls. You need to ensure that the new feature meets the following
requirements: • It provides a three-dimensional 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?