Question MessageBox YesNo

/ Published in: C#
Save to your folder(s)

Just the standard Yes/No MessageBox

Copy this code and paste it in your HTML
  1. if (MessageBox.Show("Are you sure that you want to delete this event registration?", "Delete Event Registration", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.Yes)
  2. {
  3. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.