title: WPF Change between 2 windows
body: <p>I have been searching everywhere for the answer to my problem but i cant seem to locate anything.</p>
  
  <p>I am trying to open 2 different windows, that i have already created, after a button press. On the button press, i go to open the new window, but it just opens a blank window, not the window i want.</p>
  
  <p>This is my function that i am trying to open my new window with, and it is inside my MainWindow, and i want to open my window i have created in Jobs (see image below).</p>
  
  <pre><code>void Jobs_Clicked(object sender, RoutedEventArgs e)
  {
      Window Jobs_Window = new Window();
      App.Current.Jobs = Jobs_Window;
      Jobs_Window.Show();
      this.Close();
  }
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/lz93Q.png" rel="nofollow">Solution Explorer</a></p>