59 references to MessageBoxDefaultButton
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Interaction.vb (1)
295
CType(Buttons And &HF00,
MessageBoxDefaultButton
),
System.Windows.Forms (32)
src\Common\src\RTLAwareMessageBox.cs (1)
22
MessageBoxDefaultButton
defaultButton,
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
135
MessageBoxDefaultButton
.Button1,
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
14619
MessageBoxDefaultButton
.Button1,
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3199
MessageBoxDefaultButton
.Button1,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
132
MessageBoxDefaultButton
.Button1,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1114
MessageBoxDefaultButton
.Button1,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (1)
39
MessageBoxDefaultButton
.Button1,
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
674
return RTLAwareMessageBox.Show(null, message, caption, buttons, icon,
MessageBoxDefaultButton
.Button1, 0)
System\Windows\Forms\Dialogs\MessageBox.cs (24)
44
MessageBoxDefaultButton
defaultButton,
134
MessageBoxDefaultButton
defaultButton,
149
MessageBoxDefaultButton
defaultButton,
166
MessageBoxDefaultButton
defaultButton,
182
MessageBoxDefaultButton
defaultButton,
200
MessageBoxDefaultButton
defaultButton,
217
MessageBoxDefaultButton
defaultButton,
235
MessageBoxDefaultButton
defaultButton,
252
MessageBoxDefaultButton
defaultButton,
272
MessageBoxDefaultButton
defaultButton,
291
MessageBoxDefaultButton
defaultButton,
305
MessageBoxDefaultButton
defaultButton)
319
return ShowCore(null, text, caption, buttons, icon,
MessageBoxDefaultButton
.Button1, 0, false);
327
return ShowCore(null, text, caption, buttons, MessageBoxIcon.None,
MessageBoxDefaultButton
.Button1, 0, false);
335
return ShowCore(null, text, caption, MessageBoxButtons.OK, MessageBoxIcon.None,
MessageBoxDefaultButton
.Button1, 0, false);
343
return ShowCore(null, text, string.Empty, MessageBoxButtons.OK, MessageBoxIcon.None,
MessageBoxDefaultButton
.Button1, 0, false);
355
MessageBoxDefaultButton
defaultButton,
370
MessageBoxDefaultButton
defaultButton)
385
return ShowCore(owner, text, caption, buttons, icon,
MessageBoxDefaultButton
.Button1, 0, false);
397
return ShowCore(owner, text, caption, buttons, MessageBoxIcon.None,
MessageBoxDefaultButton
.Button1, 0, false);
405
return ShowCore(owner, text, caption, MessageBoxButtons.OK, MessageBoxIcon.None,
MessageBoxDefaultButton
.Button1, 0, false);
413
return ShowCore(owner, text, string.Empty, MessageBoxButtons.OK, MessageBoxIcon.None,
MessageBoxDefaultButton
.Button1, 0, false);
422
MessageBoxDefaultButton
defaultButton,
446
MessageBoxDefaultButton
defaultButton,
System.Windows.Forms.Design (12)
src\Common\src\RTLAwareMessageBox.cs (1)
22
MessageBoxDefaultButton
defaultButton,
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
123
MessageBoxIcon.Error,
MessageBoxDefaultButton
.Button1, 0);
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
169
MessageBoxDefaultButton
.Button1,
System\ComponentModel\Design\DesignerActionPanel.cs (1)
739
MessageBox.Show(this, errorMessage, SR.UIServiceHelper_ErrorCaption, MessageBoxButtons.OK, MessageBoxIcon.Error,
MessageBoxDefaultButton
.Button1, options);
System\Windows\Forms\Design\ComponentTray.cs (1)
846
RTLAwareMessageBox.Show(null, message, null, MessageBoxButtons.OK, MessageBoxIcon.Exclamation,
MessageBoxDefaultButton
.Button1, 0);
System\Windows\Forms\Design\ControlDesigner.cs (1)
439
MessageBoxDefaultButton
.Button1,
System\Windows\Forms\Design\DataGridViewDesigner.cs (2)
718
MessageBoxDefaultButton
.Button1, 0);
731
MessageBoxDefaultButton
.Button1, 0);
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
119
MessageBoxDefaultButton
.Button1,
System\Windows\Forms\Design\ListViewDesigner.cs (1)
203
MessageBoxDefaultButton
.Button1, 0);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
2362
RTLAwareMessageBox.Show(null, error, null, MessageBoxButtons.OK, MessageBoxIcon.Error,
MessageBoxDefaultButton
.Button1, 0);
System\Windows\Forms\Design\SelectionUIService.cs (1)
137
RTLAwareMessageBox.Show(null, message, null, MessageBoxButtons.OK, MessageBoxIcon.Exclamation,
MessageBoxDefaultButton
.Button1, 0);
System.Windows.Forms.Tests (12)
System\Windows\Forms\MessageBoxTests.cs (12)
21
MessageBoxDefaultButton
.Button1,
42
MessageBoxDefaultButton
.Button1,
50
| (MESSAGEBOX_STYLE)
MessageBoxDefaultButton
.Button1
64
MessageBoxDefaultButton
.Button1,
85
MessageBoxDefaultButton
.Button1,
92
| (MESSAGEBOX_STYLE)
MessageBoxDefaultButton
.Button1
97
[InvalidEnumData<
MessageBoxDefaultButton
>]
98
public void MessageBox_MessageBoxDefaultButton_ThrowsInvalidEnumArgumentException(
MessageBoxDefaultButton
value)
113
foreach (
MessageBoxDefaultButton
value in Enum.GetValues(typeof(
MessageBoxDefaultButton
)))
121
public void MessageBox_MessageBoxDefaultButton_Valid(
MessageBoxDefaultButton
value)
142
MessageBoxDefaultButton
defaultButton,
WinFormsControlsTest (2)
MessageBoxes.cs (1)
73
public
MessageBoxDefaultButton
DefaultButton { get; set; }
TaskDialogSamples.cs (1)
63
defaultButton:
MessageBoxDefaultButton
.Button2);