64 references to FileDialogNative
System.Windows.Forms (64)
winforms\Managed\System\WinForms\FileDialog_Vista.cs (46)
58
internal abstract
FileDialogNative
.IFileDialog CreateVistaDialog();
66
FileDialogNative
.IFileDialog dialog = CreateVistaDialog();
84
internal virtual void OnBeforeVistaDialog(
FileDialogNative
.IFileDialog dialog)
94
FileDialogNative
.IShellItem initialDirectory = GetShellItemForPath(this.InitialDirectory);
113
private
FileDialogNative
.FOS GetOptions()
115
const
FileDialogNative
.FOS BlittableOptions =
116
FileDialogNative
.FOS.FOS_OVERWRITEPROMPT
117
|
FileDialogNative
.FOS.FOS_NOCHANGEDIR
118
|
FileDialogNative
.FOS.FOS_NOVALIDATE
119
|
FileDialogNative
.FOS.FOS_ALLOWMULTISELECT
120
|
FileDialogNative
.FOS.FOS_PATHMUSTEXIST
121
|
FileDialogNative
.FOS.FOS_FILEMUSTEXIST
122
|
FileDialogNative
.FOS.FOS_CREATEPROMPT
123
|
FileDialogNative
.FOS.FOS_NODEREFERENCELINKS
134
FileDialogNative
.FOS ret = (
FileDialogNative
.FOS)options & BlittableOptions;
137
ret |=
FileDialogNative
.FOS.FOS_DEFAULTNOMINIMODE;
146
ret |=
FileDialogNative
.FOS.FOS_FORCEFILESYSTEM;
151
internal abstract string[] ProcessVistaFiles(
FileDialogNative
.IFileDialog dialog);
154
private bool HandleVistaFileOk(
FileDialogNative
.IFileDialog dialog)
219
private class VistaDialogEvents :
FileDialogNative
.IFileDialogEvents
228
public int OnFileOk(
FileDialogNative
.IFileDialog pfd)
233
public int OnFolderChanging(
FileDialogNative
.IFileDialog pfd,
FileDialogNative
.IShellItem psiFolder)
238
public void OnFolderChange(
FileDialogNative
.IFileDialog pfd)
242
public void OnSelectionChange(
FileDialogNative
.IFileDialog pfd)
246
public void OnShareViolation(
FileDialogNative
.IFileDialog pfd,
FileDialogNative
.IShellItem psi, out
FileDialogNative
.FDE_SHAREVIOLATION_RESPONSE pResponse)
248
pResponse =
FileDialogNative
.FDE_SHAREVIOLATION_RESPONSE.FDESVR_DEFAULT;
251
public void OnTypeChange(
FileDialogNative
.IFileDialog pfd)
255
public void OnOverwrite(
FileDialogNative
.IFileDialog pfd,
FileDialogNative
.IShellItem psi, out
FileDialogNative
.FDE_OVERWRITE_RESPONSE pResponse)
257
pResponse =
FileDialogNative
.FDE_OVERWRITE_RESPONSE.FDEOR_DEFAULT;
261
private void SetFileTypes(
FileDialogNative
.IFileDialog dialog)
263
FileDialogNative
.COMDLG_FILTERSPEC[] filterItems = FilterItems;
271
private
FileDialogNative
.COMDLG_FILTERSPEC[] FilterItems
279
private static
FileDialogNative
.COMDLG_FILTERSPEC[] GetFilterItems(string filter)
284
List<
FileDialogNative
.COMDLG_FILTERSPEC> extensions = new List<
FileDialogNative
.COMDLG_FILTERSPEC>();
294
FileDialogNative
.COMDLG_FILTERSPEC extension;
304
internal static
FileDialogNative
.IShellItem GetShellItemForPath(string path)
306
FileDialogNative
.IShellItem ret = null;
323
internal static string GetFilePathFromShellItem(
FileDialogNative
.IShellItem item)
326
item.GetDisplayName(
FileDialogNative
.SIGDN.SIGDN_DESKTOPABSOLUTEPARSING, out filename);
winforms\Managed\System\WinForms\FileDialogCustomPlace.cs (1)
71
internal
FileDialogNative
.IShellItem GetNativePath()
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (2)
17
internal void Apply(
FileDialogNative
.IFileDialog dialog)
30
FileDialogNative
.IShellItem shellItem = customPlace.GetNativePath();
winforms\Managed\System\WinForms\OpenFileDialog.cs (8)
220
internal override string[] ProcessVistaFiles(
FileDialogNative
.IFileDialog dialog)
222
FileDialogNative
.IFileOpenDialog openDialog = (
FileDialogNative
.IFileOpenDialog)dialog;
225
FileDialogNative
.IShellItemArray results;
232
FileDialogNative
.IShellItem item;
240
FileDialogNative
.IShellItem item;
246
internal override
FileDialogNative
.IFileDialog CreateVistaDialog()
248
return new
FileDialogNative
.NativeFileOpenDialog();
winforms\Managed\System\WinForms\SaveFileDialog.cs (6)
217
internal override string[] ProcessVistaFiles(
FileDialogNative
.IFileDialog dialog)
219
FileDialogNative
.IFileSaveDialog saveDialog = (
FileDialogNative
.IFileSaveDialog)dialog;
220
FileDialogNative
.IShellItem item;
224
internal override
FileDialogNative
.IFileDialog CreateVistaDialog()
225
{ return new
FileDialogNative
.NativeFileSaveDialog(); }
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
7653
public static extern int SHCreateShellItem(IntPtr pidlParent, IntPtr psfParent, IntPtr pidl, out
FileDialogNative
.IShellItem ppsi);