private static NativeInterfaces.IFileOpenDialog CreateDialog() { NativeInterfaces.IFileOpenDialog dialog = new NativeInterfaces.NativeFileOpenDialog(); // Set a client GUID to allow this dialog to persist its state independently // of the standard OpenFileDialog when the AutoUpgradeEnabled property is true. Guid folderBrowserGuid = new Guid("FB1C3D8D-903C-446C-B46E-6159C4B0A437"); dialog.SetClientGuid(ref folderBrowserGuid); return(dialog); }
private static NativeInterfaces.IFileOpenDialog CreateDialog() { NativeInterfaces.IFileOpenDialog dialog = new NativeInterfaces.NativeFileOpenDialog(); // Set a client GUID to allow this dialog to persist its state independently // of the standard OpenFileDialog when the AutoUpgradeEnabled property is true. Guid folderBrowserGuid = new Guid("99868AEC-474E-496F-9957-30538B5E673F"); dialog.SetClientGuid(ref folderBrowserGuid); return(dialog); }
private static NativeInterfaces.IFileOpenDialog CreateDialog() { NativeInterfaces.IFileOpenDialog dialog = new NativeInterfaces.NativeFileOpenDialog(); // Set a client GUID to allow this dialog to persist its state independently // of the standard OpenFileDialog when the AutoUpgradeEnabled property is true. Guid folderBrowserGuid = new Guid("8843A8E2-B62E-4BBA-89DF-E42CACD47130"); dialog.SetClientGuid(ref folderBrowserGuid); return(dialog); }