18 references to ShowDialog
Accessibility_Core_App (6)
DialogControls.cs (4)
18colorDialog.ShowDialog(); 24folderBrowserDialog.ShowDialog(); 30openFileDialog.ShowDialog(); 36saveFileDialog.ShowDialog();
PrintingControls.cs (2)
49pageSetupDialog1.ShowDialog(); 77if (printDialog1.ShowDialog() == DialogResult.OK)
PresentationUI (1)
MS\Internal\Documents\Application\FilePresentation.cs (1)
73dialogResult = save.ShowDialog();
System.Windows.Forms.Design (7)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
113DialogResult result = sfd.ShowDialog();
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
245DialogResult result = dialog.ShowDialog();
System\Drawing\Design\FontEditor.cs (1)
41if (_fontDialog.ShowDialog() == DialogResult.OK)
System\Drawing\Design\IconEditor.cs (1)
76if (_fileDialog.ShowDialog() == DialogResult.OK)
System\Drawing\Design\ImageEditor.cs (1)
105if (_fileDialog.ShowDialog() == DialogResult.OK)
System\Windows\Forms\Design\FileNameEditor.cs (1)
35if (_openFileDialog.ShowDialog() == DialogResult.OK)
System\Windows\Forms\Design\ImageListImageEditor.cs (1)
70if (_fileDialog.ShowDialog() == DialogResult.OK)
System.Windows.Forms.Tests (2)
System\Windows\Forms\CommonDialogTests.cs (1)
99Assert.Equal(expectedDialogResult, dialog.ShowDialog());
System\Windows\Forms\PageSetupDialogTests.cs (1)
443Assert.Throws<ArgumentException>(() => dialog.ShowDialog());
WinFormsControlsTest (2)
ListViewTest.cs (2)
242if (openFileDialog1.ShowDialog() != DialogResult.OK) 271DialogResult result = openFileDialog1.ShowDialog();