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