68 references to MessageBoxIcon
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)
294CType(Buttons And &HF0, MessageBoxIcon),
System.Windows.Forms (36)
src\Common\src\RTLAwareMessageBox.cs (1)
21MessageBoxIcon icon,
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
134MessageBoxIcon.Error,
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
14632MessageBoxIcon.Error, 14638MessageBox.Show(errorText, SR.DataGridView_ErrorMessageCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3198MessageBoxIcon.Error,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
131MessageBoxIcon.Warning,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1113MessageBoxIcon.Error,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (1)
38MessageBoxIcon.Error,
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (2)
669MessageBoxIcon icon) 695MessageBoxIcon.Warning);
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (2)
92MessageBoxIcon.Warning); 104MessageBoxIcon.Warning);
System\Windows\Forms\Dialogs\MessageBox.cs (24)
43MessageBoxIcon icon, 133MessageBoxIcon icon, 148MessageBoxIcon icon, 165MessageBoxIcon icon, 181MessageBoxIcon icon, 199MessageBoxIcon icon, 216MessageBoxIcon icon, 234MessageBoxIcon icon, 251MessageBoxIcon icon, 271MessageBoxIcon icon, 290MessageBoxIcon icon, 304MessageBoxIcon icon, 317MessageBoxIcon icon) 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); 354MessageBoxIcon icon, 369MessageBoxIcon icon, 383MessageBoxIcon icon) 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); 421MessageBoxIcon icon, 445MessageBoxIcon icon,
System.Windows.Forms.Design (12)
src\Common\src\RTLAwareMessageBox.cs (1)
21MessageBoxIcon icon,
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
123MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0);
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
168MessageBoxIcon.Exclamation,
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)
438MessageBoxIcon.Exclamation,
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)
118MessageBoxIcon.Error,
System\Windows\Forms\Design\ListViewDesigner.cs (1)
202RTLAwareMessageBox.Show(control, message, null, MessageBoxButtons.OK, MessageBoxIcon.Exclamation,
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
2363RTLAwareMessageBox.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)
20MessageBoxIcon.None, 41MessageBoxIcon.None, 49| (MESSAGEBOX_STYLE)MessageBoxIcon.None 55[InvalidEnumData<MessageBoxIcon>] 56public void MessageBox_MessageBoxIcon_ThrowsInvalidEnumArgumentException(MessageBoxIcon value) 71foreach (MessageBoxIcon value in Enum.GetValues(typeof(MessageBoxIcon))) 79public void MessageBox_MessageBoxIcon_Valid(MessageBoxIcon value) 105MessageBoxIcon.None, 126MessageBoxIcon.None, 133| (MESSAGEBOX_STYLE)MessageBoxIcon.None 141MessageBoxIcon icon,
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)
72public MessageBoxIcon Icon { get; set; }
TaskDialogSamples.cs (1)
62icon: MessageBoxIcon.Warning,