14 references to ShowDialog
PresentationUI (1)
MS\Internal\Documents\Application\FilePresentation.cs (1)
69dialogResult = save.ShowDialog(rbw);
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
162public DialogResult ShowDialog() => ShowDialog(owner: null);
System.Windows.Forms.Tests (8)
System\Windows\Forms\CommonDialogTests.cs (8)
100Assert.Equal(expectedDialogResult, dialog.ShowDialog(null)); 116Assert.Equal(expectedDialogResult, dialog.ShowDialog(owner.Object)); 140Assert.Equal(expectedDialogResult, dialog.ShowDialog(owner.Object)); 154Assert.Equal(expectedDialogResult, dialog.ShowDialog(owner)); 175Assert.Equal(expectedDialogResult, dialog.ShowDialog(owner)); 190Assert.Equal(expectedDialogResult, dialog.ShowDialog(owner)); 212Assert.Equal(expectedDialogResult, dialog.ShowDialog(owner)); 224Assert.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)
37openFileDialog.ShowDialog(this); 44dialog.ShowDialog(this); 91dialog.ShowDialog(this);