Is there a way to show a splash screen for WPF application?

后端 未结 3 1220
囚心锁ツ
囚心锁ツ 2020-12-30 04:04

Dupe: WPF animated splash screen

I would like to show a splash screen for my WPF application. what I want to do is to show it while I load dictionary from a file (i

3条回答
  •  醉梦人生
    2020-12-30 04:50

    See WPF 3.5 SP1: Splash Screen

    Or within VS2010 click on the Solution Explorer do Add -> New Item, select WPF from the list of installed templates and Splash Screen should be on the bottom of the list in the middle.

    Note: The splash screen is removed after the constructor and before/when the main window Window_Loaded callback. I moved all of my initialisation into the main window constructor and it works a treat, and is very easy.

提交回复
热议问题