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

  • Home
  • SEARCH
  • 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 3318736
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:44:30+00:00 2026-05-17T22:44:30+00:00

I have made an application which showns a lists of client. You can open

  • 0

I have made an application which showns a lists of client. You can open a client, and the client’s details are shown.

My application takes quite a long time to start, so I want to improve the startup performance.

In pseude-code, my main window looks like this

<Window>
    <c:WelcomeAnimation Visibility="Visible" />
    <c:ClientList Visibility="Collapsed" />
    <c:ClientDetails Visibility="Collapsed" />
</Window>

Now, before the main window is shown, I see that the ClientList and ClientDetails are intialized. This is time consuming, so I want to delay this initialization and do it when the main window is shown and the WelcomeAnimation is running.

This will give at least the perception that the application starts faster.

Question: What are my options in window design. I like to have the above XAML view. I can of course do everything in code-behind, so my main window XAML will be nothing more than

<Window /> 

but maybe there are better options I’m not aware of?

  • 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-17T22:44:31+00:00Added an answer on May 17, 2026 at 10:44 pm

    This depends. When the startup time is because of code you have written yourself (e.g. calling web services or fetching data from the database), don’t execute that code on initialize, but fire off a background thread/ThreadPool task and run the code there.

    When the startup time is actually just because of the control being loaded (e.g. it is a very complex control with many visuals), you have two options. Either put in a replacement panel instead of the control and fill that once the animation is displayed. The second option is to just bite the bullet.

    One more thing to note. If the startup times actually are because of a huge amount of visuals, the initialization will have to be done on the UI thread anyway, so the animation will not be playing while loading the control.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have successfully made an facebook application which shows real time data from facebook
I have made an application which uses latest ios facebook sdk to connect. I
I have made a sample application which constructs a filter graph to capture audio
Visual Studio 2010 Express, Windows Forms. Have made myself my first little application which
I have made a swings application but there is one problem in that which
i have a windows application made in VB.NET which maintains a database, and i
I have an application in which we use a hand-made build system.The reason for
I have made an application that gives the user the option to open up
In my web application i have statistics which shown for each user separately ie.
I have made an application which includes movie player in it. Video starts playing

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.