Ejemplo n.º 1
0
 internal static bool LaunchFolderAndSelectFile(IWin32Window owner, string filePath)
 {
     if (iShellService != null)
     {
         return(iShellService.LaunchFolderAndSelectFile(owner, filePath));
     }
     else
     {
         return(ProcessUtil.TryExec("explorer.exe", new[] { "/select," + filePath }) != 0);
     }
 }