Esempio n. 1
0
 private void browseButton_Click(object sender, EventArgs e)
 {
     try
     {
         folderTextBox.Text = FolderDialog.SelectFolder(folderTextBox.Text);
         PreviewRenameFilesIfEnabled();
     }
     catch (Exception ex)
     {
         HandleException(ex);
     }
 }
Esempio n. 2
0
        private void BrowseFolder()
        {
            try
            {
                var newPath = FolderDialog.SelectFolder(FolderController.GetPath());

                if (newPath != pathTextBox.Text)
                {
                    pathTextBox.Text = newPath;
                    PrintFilmList();
                }
            }
            catch (Exception ex)
            {
                HandleException(ex);
            }
        }