c# - Windows Forms FolderBrowserDialog hangs the application -


with winforms, when right click on folder or try delete folder within folderbrowserdialog window becomes irresponsive , i've force-close it.

here's code:

private void btnopenfiledialog_click(object sender, eventargs e) {     folderbrowserdialog1.selectedpath = txtboxlog.text;     folderbrowserdialog1.rootfolder = environment.specialfolder.mycomputer;     if (folderbrowserdialog1.showdialog()==dialogresult.ok)     {         txtboxlog.text = folderbrowserdialog1.selectedpath;     } } 

the problem system wide, control correctly behaving in incorrect way (irony).


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -