14 references to ShowDialog
PresentationUI (1)
MS\Internal\Documents\Application\FilePresentation.cs (1)
69
dialogResult = save.
ShowDialog
(rbw);
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
162
public DialogResult ShowDialog() =>
ShowDialog
(owner: null);
System.Windows.Forms.Tests (8)
System\Windows\Forms\CommonDialogTests.cs (8)
100
Assert.Equal(expectedDialogResult, dialog.
ShowDialog
(null));
116
Assert.Equal(expectedDialogResult, dialog.
ShowDialog
(owner.Object));
140
Assert.Equal(expectedDialogResult, dialog.
ShowDialog
(owner.Object));
154
Assert.Equal(expectedDialogResult, dialog.
ShowDialog
(owner));
175
Assert.Equal(expectedDialogResult, dialog.
ShowDialog
(owner));
190
Assert.Equal(expectedDialogResult, dialog.
ShowDialog
(owner));
212
Assert.Equal(expectedDialogResult, dialog.
ShowDialog
(owner));
224
Assert.Throws<Win32Exception>(() => dialog.
ShowDialog
(owner.Object));
System.Windows.Forms.TestUtilities (1)
DialogHostForm.cs (1)
13
/// This class is typically passed as a parameter to a call to <see cref="CommonDialog.
ShowDialog
(IWin32Window?)"/>.
WinFormsControlsTest (3)
Dialogs.cs (3)
37
openFileDialog.
ShowDialog
(this);
44
dialog.
ShowDialog
(this);
91
dialog.
ShowDialog
(this);