private void btnFindMap_Click(object sender, System.EventArgs e) { FolderBrowserDialog fs = new FolderBrowserDialog(); fs.Description="Find map directory"; if(fs.ShowDialog(this)==DialogResult.OK) txtMap.Text=fs.SelectedPath; }