private void ListLibraryGatesCommand() { var dataContext = GetPromptDialogData(PromptDialogModel.Actions.ListLibraryGates); if (dataContext.DialogResult) { PreRunActions("list library gates tool", dataContext.SelectedNetlist); _toolRunner.ListLibraryGates(dataContext.SelectedNetlist, dataContext.TargetSaveFile); } }