First show a single - argument dialog box with MessageBox.Show
Messagebox.show(".Net is awesome")
Show a two - argument dialog box with MessageBox.Show.
Messagebox.show(".Net is awesome", "Important ")
Use a three - argument dialog box with MessageBox.Show.
MessageBox.Show(".Net is awesome", "Important", MessageBoxButtons.OKCancel)
Use four parameters with MessageBox.Show.
MessageBox.Show(".Net is awesome", "Information", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning)
Use five arguments with MessageBox.Show.
MessageBox.Show(".Net is awesome", "Important", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2)This code snippet for Display Messagebox with Parameters.
