WPF Splash Screen w/Dynamic Elements. How?

2019-04-02 11:22发布

问题:

I'm new to WPF, and I need some help. I have a slow-loading WPF app, so I am displaying a splash screen as a stopgap solution. However, I'd like to be able to have the screen change on each run, and display a different quote in a text area (it's a productivity app, so I'll be using non-sappy yet motivating quotes).

I wouldn't post this question if it didn't have broader applicability, of course. Many others need to display version numbers, license info, or loading progress in WPF apps.

Bottom line: Is it possible to create a fast-loading native code splash screen with dynamic text elements, and display it for a WPF app?

Thanks!

回答1:

Stefan Olson has implemented a native code splash screen for WPF. You can read about it on his blog here. Maybe this will be of some help to you?

Update

Link no longer active. Wayback Machine to the rescue! Read the archived page here