private void OnBrowseCachePathCommand()
{
using (var dlg = new FolderBrowserDialog()) {
dlg.RootFolder = Environment.SpecialFolder.MyComputer;
dlg.ShowNewFolderButton = true;
dlg.SelectedPath = CachePath;
if (dlg.ShowDialog() == DialogResult.OK) {
CachePath = dlg.SelectedPath;
}
}
}