question about folderbrowserdialog
hey guys, when the folderdiolog opens, is there a way to know if the user clicked ok or cancel? thnaks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
wes cooperPosted Jul 26, 2006, 11:19 AM
DialogResult
dr = folderBrowserDialog1.ShowDialog(); if (dr.Equals(DialogResult.OK)){
test = folderBrowserDialog1.SelectedPath.ToString();
listBox1.Items.Add(test);
}