private void browseButton_Click(object sender, EventArgs e) { try { folderTextBox.Text = FolderDialog.SelectFolder(folderTextBox.Text); PreviewRenameFilesIfEnabled(); } catch (Exception ex) { HandleException(ex); } }
private void BrowseFolder() { try { var newPath = FolderDialog.SelectFolder(FolderController.GetPath()); if (newPath != pathTextBox.Text) { pathTextBox.Text = newPath; PrintFilmList(); } } catch (Exception ex) { HandleException(ex); } }