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