title: WPF: Click button and open new window different options
body: <p>I'd like to make an application, where I can click a button and a new window appears, where new options/buttons are available. I already managed to create a new window win2 after clicking the button:</p>
  
  <pre><code>    private void button1_Click(object sender, RoutedEventArgs e)
      {
          var win2 = new Window();                   
          win2.Show();
          this.Close();
      }
  </code></pre>
  
  <p>Now how do I edit the new window. Let's say I want to make new buttons (named: blue, green....), where the user can chose a color for the background.</p>