nerdexam
Microsoft

70-518 · Question #201

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 C. Create a SplashScreen 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

  • AMove the initialization code to the code-behind of the main window.
  • BLaunch a custom splash screen by using a Window object.
  • CCreate a SplashScreen object.
  • DCompile an image into the WPF application with a Build Action value of SplashScreen.

How the community answered

(22 responses)
  • A
    18% (4)
  • B
    5% (1)
  • C
    73% (16)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice