ABSTRACT

The types of MessageBox are MessageBoxButtons.OKCancel, MessageBoxButtons. YesNoCancel, and MessageBoxButtons.AbortRetryIgnore, to include different sets of responses for the user to select. The icons of MessageBox are MessageBoxIcon.Warning, MessageBoxIcon.Information, MessageBoxIcon.Error, and MessageBoxIcon.Question to show four different icons in the MessageBox.