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