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 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?

A.
Create a new merged resource dictionary and reference it from each data entry form.

B.
Add multiple text boxes for each data entry form.

C.
Use the same style resource for each data entry form.

D.
Create a new user control and reference it on each data entry form.



Leave a Reply 0

Your email address will not be published. Required fields are marked *