private void btnAdd_Click(object sender, RoutedEventArgs e) { NwPlayerWindow np = new NwPlayerWindow(); np.Owner = this; np.ShowDialog(); }