private void showConfig(Object obj, RoutedEventArgs e) { ignorMove = true; configWindow.ShowDialog(); configWindow.Focus(); }