diff options
author | sr55 <[email protected]> | 2013-07-20 13:52:21 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-07-20 13:52:21 +0000 |
commit | 18611a4004bf4adc61d6923c565e363244ffa2b0 (patch) | |
tree | 1345467386ed6d8b2bcca79f2b32efc22cc424cd /win/CS | |
parent | c28c8dd123d13e08b85a29745f440cf024b1c5ba (diff) |
WinGui: Switch to native WPF dialogs for file handling except for the folder browser. Will replace this later.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5654 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 8fdb4577c..474185776 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1201,7 +1201,7 @@ namespace HandBrakeWPF.ViewModels /// </summary>
public void FileScan()
{
- VistaOpenFileDialog dialog = new VistaOpenFileDialog { Filter = "All files (*.*)|*.*" };
+ OpenFileDialog dialog = new OpenFileDialog { Filter = "All files (*.*)|*.*" };
dialog.ShowDialog();
this.StartScan(dialog.FileName, 0);
}
@@ -1233,7 +1233,7 @@ namespace HandBrakeWPF.ViewModels /// </summary>
public void FileScanTitleSpecific()
{
- VistaOpenFileDialog dialog = new VistaOpenFileDialog { Filter = "All files (*.*)|*.*" };
+ OpenFileDialog dialog = new OpenFileDialog { Filter = "All files (*.*)|*.*" };
dialog.ShowDialog();
if (string.IsNullOrEmpty(dialog.FileName))
@@ -1367,7 +1367,7 @@ namespace HandBrakeWPF.ViewModels /// </summary>
public void DebugScanLog()
{
- VistaOpenFileDialog dialog = new VistaOpenFileDialog();
+ OpenFileDialog dialog = new OpenFileDialog();
dialog.ShowDialog();
@@ -1544,7 +1544,7 @@ namespace HandBrakeWPF.ViewModels /// </summary>
public void PresetImport()
{
- VistaOpenFileDialog dialog = new VistaOpenFileDialog { Filter = "Plist (*.plist)|*.plist", CheckFileExists = true };
+ OpenFileDialog dialog = new OpenFileDialog() { Filter = "Plist (*.plist)|*.plist", CheckFileExists = true };
dialog.ShowDialog();
string filename = dialog.FileName;
@@ -1590,7 +1590,7 @@ namespace HandBrakeWPF.ViewModels /// </summary>
public void PresetExport()
{
- VistaSaveFileDialog savefiledialog = new VistaSaveFileDialog
+ SaveFileDialog savefiledialog = new SaveFileDialog
{
Filter = "plist|*.plist",
CheckPathExists = true,
|