34 references to OK
DesignSurface (1)
MainForm.cs (1)
457
MessageBox.Show("Tiny Form Designer coded by Paolo Foti", "Tiny Form Designer", MessageBoxButtons.
OK
, MessageBoxIcon.Question);
System.Windows.Forms (12)
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\Dialogs\CommonDialogs\FileDialog.cs (1)
694
MessageBoxButtons.
OK
,
System\Windows\Forms\Dialogs\MessageBox.cs (4)
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);
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);
System.Windows.Forms.Design (11)
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 (6)
System\Windows\Forms\MessageBoxTests.cs (6)
62
MessageBoxButtons.
OK
,
83
MessageBoxButtons.
OK
,
90
(MESSAGEBOX_STYLE)MessageBoxButtons.
OK
104
MessageBoxButtons.
OK
,
125
MessageBoxButtons.
OK
,
132
(MESSAGEBOX_STYLE)MessageBoxButtons.
OK
WinFormsControlsTest (4)
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);