public void SetCompleted(bool successful) { if (successful) { Close(); } else if (_currentWindow != null) { _currentWindow.SetErrorState(); } }
public void SetCompleted(bool successful, bool showUpgradeNuGetButton) { if (successful) { Close(); } else if (_currentWindow != null) { _currentWindow.SetErrorState(showUpgradeNuGetButton); } }