34 references to OK
DesignSurface (1)
MainForm.cs (1)
457MessageBox.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)
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\Dialogs\CommonDialogs\FileDialog.cs (1)
694MessageBoxButtons.OK,
System\Windows\Forms\Dialogs\MessageBox.cs (4)
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); 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);
System.Windows.Forms.Design (11)
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 (6)
System\Windows\Forms\MessageBoxTests.cs (6)
62MessageBoxButtons.OK, 83MessageBoxButtons.OK, 90(MESSAGEBOX_STYLE)MessageBoxButtons.OK 104MessageBoxButtons.OK, 125MessageBoxButtons.OK, 132(MESSAGEBOX_STYLE)MessageBoxButtons.OK
WinFormsControlsTest (4)
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);