using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace HStation.RevitDev.RevitDataExport.Utility { internal class DialogHelper { internal static string UserSelectFolderPath() { FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog(); if (folderBrowserDialog.ShowDialog() != DialogResult.OK) { return string.Empty; } return folderBrowserDialog.SelectedPath; } } }