I am new to WPF. I have two windows, such as window1 and window2. I have one button in window1. If I click that button, the window2 has to open. What should I do for that?>
private void button1_Click(object sender, RoutedEventArgs e) { window2 win2 = new window2(); win2.Show(); }