title: Show window in Application_Startup. Wpf
body: <p>I have this small piece of code.</p>
  
  <pre><code>private void Application_Startup(object sender, StartupEventArgs e)
          {
              WndAbout ab = new WndAbout();
              ab.Show();
          }
  </code></pre>
  
  <p>And want to show window or dialog at application startup, before other modules will be loaded.</p>
  
  <p>But! When I close the showed window, the main window, which starts later is closed also!</p>
  
  <p>What am I doing wrong? I've tried to make Showdialog() - the same situation occred.</p>