Microsoft
70-518 · Question #73
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…
The correct answer is A. Launch a custom splash screen by using a Window object. See the full explanation below for the reasoning.
Question
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?
Options
- ALaunch a custom splash screen by using a Window object.
- BCreate a SplashScreen object.
- CMove the initialization code to the code-behind of the main window.
- DCompile an image into the WPF application with a Build Action value of SplashScreen.
How the community answered
(30 responses)- A80% (24)
- B3% (1)
- C13% (4)
- D3% (1)
Community Discussion
No community discussion yet for this question.