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)
39 references to ShowDialog
System.Windows.Forms.Design (4)
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\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 (35)
BinaryEditorTests.cs (1)
18
editorService.Setup(e => e.
ShowDialog
(It.IsAny<Form>()))
System\ComponentModel\Design\CollectionEditorTests.cs (19)
153
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
196
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
244
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
294
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
409
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
446
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
523
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
547
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
556
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
588
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
596
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
634
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
643
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
681
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
690
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
724
mockEditorService.Verify(s => s.
ShowDialog
(It.IsAny<Form>()), Times.Once());
841
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
945
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
988
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
System\ComponentModel\Design\CollectionFormTests.cs (14)
110
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
166
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
225
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
284
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
343
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
391
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
503
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
547
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
596
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
647
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
718
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
762
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))
811
.Setup(s => s.
ShowDialog
(form))
814
mockEditorService.Verify(s => s.
ShowDialog
(form), Times.Once());
System\Windows\Forms\Design\MaskedTextBoxTextEditorTests.cs (1)
24
.Setup(s => s.
ShowDialog
(It.IsAny<Form>()))