EpLibrary.cs.FolderHelper.ChooseFolder C# (CSharp) Method

ChooseFolder() public static method

Show the Choose Folder Dialog and return true if successfully folder is chosen with chosen folder path.
public static ChooseFolder ( String title ) : String
title String the title of the choose folder dialog
return String
        public static String ChooseFolder(String title)
        {
            FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog();
            folderBrowserDialog1.Description = title;
            folderBrowserDialog1.ShowNewFolderButton = true;
            DialogResult result = folderBrowserDialog1.ShowDialog();
            if (result == DialogResult.OK)
            {
                return folderBrowserDialog1.SelectedPath;
            }
            return null;
        }
        /// <summary>

Same methods

FolderHelper::ChooseFolder ( String title, Environment rootFolder ) : String