private void NullAllWindows() { if (bnkEditor != null) { bnkEditor.Close(); bnkEditor = null; } if (npckEditor != null) { npckEditor.Close(); npckEditor = null; } if (loopCalculator != null) { loopCalculator.Close(); loopCalculator = null; } if (wemCreator != null) { wemCreator.Close(); wemCreator = null; } if (wwctEditor != null) { wwctEditor.Close(); wwctEditor = null; } if (wwbkpkEditor != null) { wwbkpkEditor.Close(); wwbkpkEditor = null; } /*if (epvspEditor != null) * { * epvspEditor.Close(); * epvspEditor = null; * }*/ /*if (wwevEditor != null) * { * wwevEditor.Close(); * wwevEditor = null; * }*/ /*if (rszEditor != null) * { * rszEditor.Close(); * rszEditor = null; * }*/ /*if (welEditor != null) * { * welEditor.Close(); * welEditor = null; * }*/ }
private void WWPKBKEdit(object sender, RoutedEventArgs e) { wwbkpkEditor = new WWBKPKEditor(options); wwbkpkEditor.Show(); }