AerialForWindows.SettingsViewModel.OnBrowseCachePathCommand C# (CSharp) 메소드

OnBrowseCachePathCommand() 개인적인 메소드

private OnBrowseCachePathCommand ( ) : void
리턴 void
        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;
                }
            }
        }