32 references to MessageBox
DesignSurface (1)
MainForm.cs (1)
457MessageBox.Show("Tiny Form Designer coded by Paolo Foti", "Tiny Form Designer", MessageBoxButtons.OK, MessageBoxIcon.Question);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Interaction.vb (1)
292Return CType(MessageBox.Show(parentWindow, sPrompt, sTitle,
NativeHost.ManagedControl (1)
ManagedControl.cs (1)
21MessageBox.Show("Hello world from .NET");
System.Windows.Forms (7)
src\Common\src\RTLAwareMessageBox.cs (1)
30return MessageBox.Show(owner, text, caption, buttons, icon, defaultButton, options);
System\Windows\Forms\Control.cs (1)
11230HelpInfo? hpi = MessageBox.HelpInfo;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
14614MessageBox.Show( 14624MessageBox.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)
30return MessageBox.Show(owner, text, caption, buttons, icon, defaultButton, options);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
739MessageBox.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)
47MessageBox.Show("TestDialog");
System\Windows\Forms\MessageBoxTests.cs (1)
148return typeof(MessageBox).TestAccessor().Dynamic.GetMessageBoxStyle(owner, buttons, icon, defaultButton, options, showHelp);
System.Windows.Forms.UI.IntegrationTests (1)
MessageBoxTests.cs (1)
12Assert.Equal(DialogResult.None, MessageBox.Show("Testing DialogResult"));
WinFormsControlsTest (17)
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);
Dialogs.cs (1)
38MessageBox.Show(string.Join(',', openFileDialog.FileNames), "File Names");
ErrorProviderTest.cs (2)
23MessageBox.Show("All right!", "OK", MessageBoxButtons.OK, MessageBoxIcon.Information); 33MessageBox.Show("All right!", "OK", MessageBoxButtons.OK, MessageBoxIcon.Information);
ListViewTest.cs (4)
177MessageBox.Show($"CollapsedState changed at group with index {e.GroupIndex}"); 202MessageBox.Show(this, $"Task at group index {e.GroupIndex} was clicked", "GroupClick Event"); 208MessageBox.Show(this, "listView2_Click", "event"); 217MessageBox.Show(this, $"Click {clone.Text} in ListView3", "Click Event");
MessageBoxes.cs (2)
28MessageBox.Show(this, _messgageBoxProxy.Text, _messgageBoxProxy.Caption, 35MessageBox.Show(_messgageBoxProxy.Text, _messgageBoxProxy.Caption,
PictureBoxes.cs (3)
39MessageBox.Show(ex.Message); 50MessageBox.Show("Image loading cancelled"); 55MessageBox.Show(e.Error.Message, $"{e.Error.GetType().FullName} occurred");
RichTextBoxes.cs (2)
105MessageBox.Show(this, ex.Message); 112MessageBox.Show(this, ReportLinkClickedEventArgs(sender, e), "link clicked");
TaskDialogSamples.cs (1)
57DialogResult messageBoxResult = MessageBox.Show(