I have tried this solution and it works beautifully FolderBrowserDialogEx but now I have to add another button which will be placed next to editbox and upon clicking will show a particular folder always. I have tried this so far.
In the constructor:
btnDefault = new Button();
btnDefault.Text = "Default";
btnDefault.Enabled = true;
btnDefault.Click +=new EventHandler(btnDefault_Click);
on click
private void btnDefault_Click(object sender, EventArgs e)
{
_selectedPath = @"C:\ProgramData";
}
How do I add new Button? Full code is available HERE
Thank you for any help.