messagebox with textbox c# code example
Example 1: c# MessageBox
MessageBox.Show("text", "title", MessageBoxButtons.OK, MessageBoxIcon.Warning);
Example 2: how to do a messagebox in c#
MessageBox.Show("Content", "Title", MessageBoxIcon.Error)
Example 3: absatz messagebox c#
MessageBox.Show("erste Zeile\r\nzweite Zeile!");
// \r = Carriage Return (Wagenrücklauf)
// \n new Line (neue Zeile)