DialogResult dr = MessageBox.Show("Welcome To MessageBox.", "Discard Changes", MessageBoxButtons.YesNo, MessageBoxIcon.Warning); if (dr = DialogResult.Yes) { this.Close(); } else { }
MessageBox
Form
SetDlgItemText()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)