4 implementations of ShowDialog
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
4846
public DialogResult
ShowDialog
(Form dialog)
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
417
DialogResult IWindowsFormsEditorService.
ShowDialog
(Form dialog)
System\Windows\Forms\Design\CollectionEditVerbManager.cs (1)
169
DialogResult IWindowsFormsEditorService.
ShowDialog
(Form dialog)
System\Windows\Forms\Design\EditorServiceContext.cs (1)
123
DialogResult IWindowsFormsEditorService.
ShowDialog
(Form dialog)
42 references to ShowDialog
System.Windows.Forms.Design (5)
System\ComponentModel\Design\BinaryEditor.cs (1)
113
if (editorService.
ShowDialog
(_binaryUI) == DialogResult.OK)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
186
return edSvc.
ShowDialog
(this);
System\Windows\Forms\Design\DataGridViewColumnCollectionEditor.cs (1)
32
if (editorService.
ShowDialog
(_dataGridViewColumnCollectionDialog) == DialogResult.OK)
System\Windows\Forms\Design\FormatStringEditor.cs (1)
58
editorService.
ShowDialog
(_formatStringDialog);
System\Windows\Forms\Design\LinkAreaEditor.cs (1)
48
if (editorService.
ShowDialog
(_linkAreaUI) == DialogResult.OK)
System.Windows.Forms.Design.Tests (37)
BinaryEditorTests.cs (1)
20
editorService.Setup(e => e.
ShowDialog
(It.IsAny<Form>()))
System\ComponentModel\Design\CollectionEditorTests.cs (19)
135
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
178
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
226
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
276
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
384
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
421
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
498
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
522
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
531
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
563
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
571
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
609
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
618
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
656
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
665
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
699
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
785
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
888
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
931
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
System\ComponentModel\Design\CollectionFormTests.cs (14)
112
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
168
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
227
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
286
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
345
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
393
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
505
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
549
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
598
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
649
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
720
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
764
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
812
.Setup(s => s.
ShowDialog
(form))
815
mockEditorService.Verify(s => s.
ShowDialog
(form), Times.Once());
System\Windows\Forms\Design\LinkAreaEditorTests.cs (2)
27
editorService.Setup(es => es.
ShowDialog
(It.IsAny<Form>())).Returns(DialogResult.OK);
40
editorService.Setup(es => es.
ShowDialog
(It.IsAny<Form>())).Callback<Form>(form =>
System\Windows\Forms\Design\MaskedTextBoxTextEditorTests.cs (1)
22
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))