Use Vista folder browser

This commit is contained in:
Frank Skare
2021-09-05 06:06:15 +02:00
parent 10e2a2cf3b
commit e4c65cd84e
4 changed files with 273 additions and 8 deletions

View File

@@ -88,14 +88,9 @@ namespace mpvnet
public static void Open_DVD_Or_BD_Folder()
{
App.InvokeOnMainThread(new Action(() => {
using (var dialog = new FolderBrowserDialog())
{
dialog.Description = "Select a DVD or Blu-ray folder.";
dialog.ShowNewFolderButton = false;
using (var dialog = new BetterFolderBrowser())
if (dialog.ShowDialog() == DialogResult.OK)
Core.LoadDiskFolder(dialog.SelectedPath);
}
}));
}