7 writes to InitialDirectory
System.Windows.Forms.Tests (4)
System\Windows\Forms\FileDialogTests.cs (4)
358
InitialDirectory
= value
364
dialog.
InitialDirectory
= value;
595
InitialDirectory
= "InitialDirectory",
697
InitialDirectory
= "InitialDirectory",
System.Windows.Forms.UI.IntegrationTests (3)
OpenFileDialogTests.cs (3)
21
dialog.
InitialDirectory
= Guid.NewGuid().ToString();
30
dialog.
InitialDirectory
= Path.GetTempPath();
42
dialog.
InitialDirectory
= Path.GetDirectoryName(tempFile.Path);
7 references to InitialDirectory
System.Windows.Forms (2)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (2)
62
if (!string.IsNullOrEmpty(
InitialDirectory
))
64
using ComScope<IShellItem> initialDirectory = new(PInvoke.SHCreateShellItem(
InitialDirectory
));
System.Windows.Forms.Tests (5)
System\Windows\Forms\FileDialogTests.cs (5)
33
Assert.Empty(dialog.
InitialDirectory
);
71
Assert.Empty(dialog.
InitialDirectory
);
360
Assert.Equal(value ?? string.Empty, dialog.
InitialDirectory
);
365
Assert.Equal(value ?? string.Empty, dialog.
InitialDirectory
);
627
Assert.Empty(dialog.
InitialDirectory
);