69 references to MessageBoxButtons
DesignSurface (1)
MainForm.cs (1)
460MessageBox.Show("Tiny Form Designer coded by Paolo Foti", "Tiny Form Designer", MessageBoxButtons.OK, MessageBoxIcon.Question);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Interaction.vb (1)
293CType(Buttons And &HF, MessageBoxButtons),
System.Windows.Forms (37)
src\Common\src\RTLAwareMessageBox.cs (1)
20MessageBoxButtons buttons,
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
133MessageBoxButtons.OK,
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
14617MessageBoxButtons.OK, 14624MessageBox.Show(errorText, SR.DataGridView_ErrorMessageCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3197MessageBoxButtons.OK,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
130MessageBoxButtons.OK,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1112MessageBoxButtons.OK,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (1)
37MessageBoxButtons.OK,
System\Windows\Forms\Design\IUIService.cs (1)
75DialogResult ShowMessage(string message, string caption, MessageBoxButtons buttons);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (2)
668MessageBoxButtons buttons, 694MessageBoxButtons.OK,
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (2)
91MessageBoxButtons.YesNo, 103MessageBoxButtons.YesNo,
System\Windows\Forms\Dialogs\MessageBox.cs (24)
42MessageBoxButtons buttons, 132MessageBoxButtons buttons, 147MessageBoxButtons buttons, 164MessageBoxButtons buttons, 180MessageBoxButtons buttons, 198MessageBoxButtons buttons, 215MessageBoxButtons buttons, 233MessageBoxButtons buttons, 250MessageBoxButtons buttons, 270MessageBoxButtons buttons, 289MessageBoxButtons buttons, 303MessageBoxButtons buttons, 316MessageBoxButtons buttons, 325public static DialogResult Show(string? text, string? caption, MessageBoxButtons buttons) 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); 353MessageBoxButtons buttons, 368MessageBoxButtons buttons, 382MessageBoxButtons buttons, 395MessageBoxButtons buttons) 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); 420MessageBoxButtons buttons, 444MessageBoxButtons buttons,
System.Windows.Forms.Design (12)
src\Common\src\RTLAwareMessageBox.cs (1)
20MessageBoxButtons buttons,
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
122SR.BinaryEditorTitle, MessageBoxButtons.OK,
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
167MessageBoxButtons.OK,
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)
437MessageBoxButtons.OK,
System\Windows\Forms\Design\DataGridViewDesigner.cs (2)
717RTLAwareMessageBox.Show(dataGridView, message, null, MessageBoxButtons.OK, MessageBoxIcon.Exclamation, 730RTLAwareMessageBox.Show(dataGridView, errorString, null, MessageBoxButtons.OK, MessageBoxIcon.Exclamation,
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
117MessageBoxButtons.OK,
System\Windows\Forms\Design\ListViewDesigner.cs (1)
202RTLAwareMessageBox.Show(control, message, null, MessageBoxButtons.OK, MessageBoxIcon.Exclamation,
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)
12[InvalidEnumData<MessageBoxButtons>] 13public void MessageBox_MessageBoxButtons_ThrowsInvalidEnumArgumentException(MessageBoxButtons value) 28foreach (MessageBoxButtons value in Enum.GetValues(typeof(MessageBoxButtons))) 36public void MessageBox_MessageBoxButtons_Valid(MessageBoxButtons value) 62MessageBoxButtons.OK, 83MessageBoxButtons.OK, 90(MESSAGEBOX_STYLE)MessageBoxButtons.OK 104MessageBoxButtons.OK, 125MessageBoxButtons.OK, 132(MESSAGEBOX_STYLE)MessageBoxButtons.OK 140MessageBoxButtons buttons,
WinFormsControlsTest (6)
Calendar.cs (2)
38MessageBox.Show("MinDate should be less then MaxDate", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning); 49MessageBox.Show("MaxDate should be grater then MinDate", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
ErrorProviderTest.cs (2)
23MessageBox.Show("All right!", "OK", MessageBoxButtons.OK, MessageBoxIcon.Information); 33MessageBox.Show("All right!", "OK", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBoxes.cs (1)
71public MessageBoxButtons Buttons { get; set; }
TaskDialogSamples.cs (1)
61buttons: MessageBoxButtons.YesNo,