title: WPF How to show main window, that is hidden, from sub window?
body: <p>I am using c# WPF. I hide the main window and open a new sub window. Now I want to turn back to my main window that is hidden before.</p>
  
  <p>I hide my main window and open my sub window with this code:</p>
  
  <pre><code>this.Visibility = Visibility.Hidden;
  MovingObjectWindow movingObjectWindow = new 
  MovingObjectWindow();
  movingObjectWindow.Visibility = Visibility.Visible;
  </code></pre>