Splash Screen #1385
Unanswered
Micaias-Bobadilla
asked this question in
Q&A
Splash Screen
#1385
Replies: 1 comment 1 reply
-
I'm not sure if it's any better, but this is how I did it. I created a Window called Splash.xaml, then show it on the Loaded event in the MainWindow by putting the following code in the MainWindow.xaml.cs constructor. My Splash screen then does a few things, including checking the database connection.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to make a splash screen, and I started the project using version 3.0.5 of Lepoco (upgrading to 4.0.0 crashes some classes). What I do is put a window in the App.xaml.cs with the method OnStartup() like this:
But I found it is kind ugly doing this way.
It work for me cuz the splash Screen is on while getting the service , it takes a while, like 3 or 1 seconds. Cuz it's a connection on the database.
And that is the goal, but I want to know is there a better way to do this
Beta Was this translation helpful? Give feedback.
All reactions