private void btnWindow2_Click(object sender, RoutedEventArgs e) { PopupWindow pop = new PopupWindow(); pop.ShowDialog(); }