aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Modules/Tango.FSE.PPCConsole/ViewModels/FileSystemViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-04-14 06:23:25 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-04-14 06:23:25 +0300
commit8f738753289dcb7118162122c5404d2a02b305f7 (patch)
treeaba06cb5c9def702af9cf791ce0a65cb2684af07 /Software/Visual_Studio/FSE/Modules/Tango.FSE.PPCConsole/ViewModels/FileSystemViewVM.cs
parent76ebe53d89a1b0cbf21d66dc9f26dc95cc7b3be9 (diff)
downloadTango-8f738753289dcb7118162122c5404d2a02b305f7.tar.gz
Tango-8f738753289dcb7118162122c5404d2a02b305f7.zip
FSE Tup/Tfp & WaitForReconnection.
Diffstat (limited to 'Software/Visual_Studio/FSE/Modules/Tango.FSE.PPCConsole/ViewModels/FileSystemViewVM.cs')
-rw-r--r--Software/Visual_Studio/FSE/Modules/Tango.FSE.PPCConsole/ViewModels/FileSystemViewVM.cs13
1 files changed, 1 insertions, 12 deletions
diff --git a/Software/Visual_Studio/FSE/Modules/Tango.FSE.PPCConsole/ViewModels/FileSystemViewVM.cs b/Software/Visual_Studio/FSE/Modules/Tango.FSE.PPCConsole/ViewModels/FileSystemViewVM.cs
index 6dea5c146..4ed6629b5 100644
--- a/Software/Visual_Studio/FSE/Modules/Tango.FSE.PPCConsole/ViewModels/FileSystemViewVM.cs
+++ b/Software/Visual_Studio/FSE/Modules/Tango.FSE.PPCConsole/ViewModels/FileSystemViewVM.cs
@@ -377,20 +377,9 @@ namespace Tango.FSE.PPCConsole.ViewModels
private async void OpenFileSystemHandlerDestination(FileSystemHandler handler)
{
- String destination = String.Empty;
-
if (handler.Type == FileSystemHandlerType.FileDownload || handler.Type == FileSystemHandlerType.FolderDownload)
{
- if (File.Exists(handler.Destination) || Directory.Exists(handler.Destination))
- {
- destination = handler.Destination;
- Process.Start("explorer.exe", string.Format("/select,\"{0}\"", destination));
- }
- else
- {
- destination = Path.GetDirectoryName(handler.Destination);
- Process.Start("explorer.exe", destination);
- }
+ await StorageProvider.ShowInExplorer(handler.Destination);
}
else
{