private void btnSettings_Click(object sender, RoutedEventArgs e) { Setttings settings = new Setttings(); settings.Owner = this; settings.Show(); }