Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7498109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:20:34+00:00 2026-05-29T19:20:34+00:00

I actually try to add a Splash Screen to my WPF application. It is

  • 0

I actually try to add a Splash Screen to my WPF application. It is quite easy:

SplashScreen s = new SplashScreen("/Images/Agrar.png");
s.Show(true);

My problem is, that I want the Splash Screen to show about 10sec, but my Application doesn´t need so long to load.

So I thought about the Timer class and tried a bit, but I don´t know how to combine it with a Splash Screen.
Is there a better solution? How does it work with Timer? Because I didn´t find a option to say, what should happen while the Timer is running.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:20:36+00:00Added an answer on May 29, 2026 at 7:20 pm

    You can try putting your main thread to sleep for 10 seconds (if splash is visible, users won’t use your app anyway), or fade out the splash over a period of time:

        SplashScreen splash = new SplashScreen("/Images/Agrar.png");
        splash.Show(false);
        Thread.Sleep(10000);
        splash.Close( TimeSpan.FromSeconds(20)); //fade out over 20 seconds
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

actually i am new in Android and now i have to add the cookies
I'm trying to add a HTML capable editor to a WPF application. The obvious
I try to add text at the bottom of image and actually I've done
Should I try to actually upgrade my existing app, or just rewrite it mostly
I try to figure out what -beginUpdates and -endUpdates is actually good for. Adding
When I try to add Tomcat as a server runtime environment in eclipse, I
So, I know some Python but I thought that I should try to add
Actually I am working on a Java application that requires an ODBC. I created
Unhandled error when I try to add to database? The OdbcParameterCollection only accepts non-null
actual I'm struggling with CMAKE_CUSTOM_COMMAND. Actually I try to define a separated make target

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.