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 BNKEdit(object sender, RoutedEventArgs e) { bnkEditor = new BNKEditor(mode, options); bnkEditor.Show(); }
public override bool Open() { BNKEditor editor = new BNKEditor(file); return(true); }