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