private void OpenOptionsWindow(object sender, RoutedEventArgs e) { OptionsWindow oW = new OptionsWindow(); oW.ShowDialog(); oW.Focus(); }