What should you recommend?

You are working with an existing Windows Presentation Foundation (WPF) application in Microsoft Visual Studio 2010. The WPF application requires approximately one minute to initialize before displaying its main window.
You have the following requirements:
Immediately display a splash screen when the WPF application launches. Allow for the display of an initialization progress bar on the splash screen. Close the splash screen when the WPF application is ready to display the main window.
You need to recommend an approach for meeting the requirements.
What should you recommend?
A. Launch a custom splash screen by using a Window object. When the initialization completes, launch the main window from the splash screen.
B. Create a SplashScreen object. Display the object in the code-behind of the App.xaml file.
C. Move the initialization code to the code-behind of the main window.
D. Compile an image into the WPF application with a Build Action value of SplashScreen.

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.