private void OnSelectClick(object sender) // Select Button Clicked { logger.Debug("Select Clicked"); try { _path = _folderSelector.SelectFolder(); PathText = _path; // Set the Is Valid Folder Icon if (_folderChecker.IsCorrectFolder(_path) == true) { CheckImage = @"..\Icons\002-success.png"; } else { CheckImage = @"..\Icons\001-error.png"; } LoadEnabled = true; } catch (FileDialogExitedException e) { PathText = ""; _path = null; CheckImage = null; logger.Debug(e, "File Dialog Exited"); } catch (Exception ex) { logger.Warn(ex, "Selection failed"); } if (String.IsNullOrEmpty(_path)) { LoadEnabled = false; } }