internal virtual void GetResult(Ookii.Dialogs.Wpf.Interop.IFileDialog dialog)
 {
     if (!GetOption(NativeMethods.FOS.FOS_ALLOWMULTISELECT))
     {
         _fileNames = new string[1];
         Ookii.Dialogs.Wpf.Interop.IShellItem result;
         dialog.GetResult(out result);
         result.GetDisplayName(NativeMethods.SIGDN.SIGDN_FILESYSPATH, out _fileNames[0]);
     }
 }
 private void GetResult(Ookii.Dialogs.Wpf.Interop.IFileDialog dialog)
 {
     Ookii.Dialogs.Wpf.Interop.IShellItem item;
     dialog.GetResult(out item);
     item.GetDisplayName(NativeMethods.SIGDN.SIGDN_FILESYSPATH, out _selectedPath);
 }