title: How do I open a xaml window from another xaml window using button click?
body: <pre><code>private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
          {
              Win1 OP= new Win1();
              OP.show();
          }
  </code></pre>
  
  <p>OP.show() is throwing an error.</p>
  
  <p>It is a usercontrol form.</p>