28 references to FileNames
System.Windows.Forms (3)
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (2)
97
string filename =
FileNames
[0];
188
string[] fullPaths =
FileNames
;
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (1)
77
string filename =
FileNames
[0];
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListImageEditor.cs (1)
72
foreach (string name in _fileDialog.
FileNames
)
System.Windows.Forms.Tests (22)
System\Windows\Forms\FileDialogTests.cs (22)
30
Assert.Empty(dialog.
FileNames
);
31
Assert.Same(dialog.
FileNames
, dialog.
FileNames
);
68
Assert.Empty(dialog.
FileNames
);
69
Assert.Same(dialog.
FileNames
, dialog.
FileNames
);
277
Assert.Equal(expectedFileNames, dialog.
FileNames
);
280
Assert.Equal(dialog.
FileNames
, dialog.
FileNames
);
281
Assert.NotSame(dialog.
FileNames
, dialog.
FileNames
);
285
Assert.Same(dialog.
FileNames
, dialog.
FileNames
);
295
Assert.Equal(dialog.
FileNames
, dialog.
FileNames
);
296
Assert.NotSame(dialog.
FileNames
, dialog.
FileNames
);
300
Assert.Same(dialog.
FileNames
, dialog.
FileNames
);
624
Assert.Empty(dialog.
FileNames
);
625
Assert.Same(dialog.
FileNames
, dialog.
FileNames
);
WinFormsControlsTest (2)
Dialogs.cs (1)
38
MessageBox.Show(string.Join(',', openFileDialog.
FileNames
), "File Names");
ListViewTest.cs (1)
247
foreach (string file in openFileDialog1.
FileNames
)