private void btnOpenForm_Click(object sender, RoutedEventArgs e) { SecondWindow newWin = new SecondWindow(); newWin.Show(); }