32 references to MessageBox
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)
292
Return CType(
MessageBox
.Show(parentWindow, sPrompt, sTitle,
NativeHost.ManagedControl (1)
ManagedControl.cs (1)
21
MessageBox
.Show("Hello world from .NET");
System.Windows.Forms (7)
src\Common\src\RTLAwareMessageBox.cs (1)
30
return
MessageBox
.Show(owner, text, caption, buttons, icon, defaultButton, options);
System\Windows\Forms\Control.cs (1)
11258
HelpInfo? hpi =
MessageBox
.HelpInfo;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
14628
MessageBox
.Show(
14638
MessageBox
.Show(errorText, SR.DataGridView_ErrorMessageCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
662
/// Prompts the user with a <see cref="
MessageBox
"/> with the given parameters. It also ensures that the
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (1)
83
/// Prompts the user with a <see cref="
MessageBox
"/> when a file is about to be created. This method is
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
14
/// to a <see cref="
MessageBox
"/> (in that it is formatted by the operating system) but provides
System.Windows.Forms.Design (2)
src\Common\src\RTLAwareMessageBox.cs (1)
30
return
MessageBox
.Show(owner, text, caption, buttons, icon, defaultButton, options);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
739
MessageBox
.Show(this, errorMessage, SR.UIServiceHelper_ErrorCaption, MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, options);
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\ToolStripMenuItem.ToolStripMenuItemAccessibleObjectTests.cs (1)
47
MessageBox
.Show("TestDialog");
System\Windows\Forms\MessageBoxTests.cs (1)
148
return typeof(
MessageBox
).TestAccessor().Dynamic.GetMessageBoxStyle(owner, buttons, icon, defaultButton, options, showHelp);
System.Windows.Forms.UI.IntegrationTests (1)
MessageBoxTests.cs (1)
12
Assert.Equal(DialogResult.None,
MessageBox
.Show("Testing DialogResult"));
WinFormsControlsTest (17)
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);
Dialogs.cs (1)
38
MessageBox
.Show(string.Join(',', openFileDialog.FileNames), "File Names");
ErrorProviderTest.cs (2)
23
MessageBox
.Show("All right!", "OK", MessageBoxButtons.OK, MessageBoxIcon.Information);
33
MessageBox
.Show("All right!", "OK", MessageBoxButtons.OK, MessageBoxIcon.Information);
ListViewTest.cs (4)
177
MessageBox
.Show($"CollapsedState changed at group with index {e.GroupIndex}");
202
MessageBox
.Show(this, $"Task at group index {e.GroupIndex} was clicked", "GroupClick Event");
208
MessageBox
.Show(this, "listView2_Click", "event");
217
MessageBox
.Show(this, $"Click {clone.Text} in ListView3", "Click Event");
MessageBoxes.cs (2)
28
MessageBox
.Show(this, _messgageBoxProxy.Text, _messgageBoxProxy.Caption,
35
MessageBox
.Show(_messgageBoxProxy.Text, _messgageBoxProxy.Caption,
PictureBoxes.cs (3)
39
MessageBox
.Show(ex.Message);
50
MessageBox
.Show("Image loading cancelled");
55
MessageBox
.Show(e.Error.Message, $"{e.Error.GetType().FullName} occurred");
RichTextBoxes.cs (2)
105
MessageBox
.Show(this, ex.Message);
112
MessageBox
.Show(this, ReportLinkClickedEventArgs(sender, e), "link clicked");
TaskDialogSamples.cs (1)
57
DialogResult messageBoxResult =
MessageBox
.Show(