private void CustomWindowButton_Click(object sender, RoutedEventArgs e) { CustomWindow cw = new CustomWindow(); cw.Show(); }