Posted By

axs221 on 12/15/10


Tagged

question messagebox c# yesno


Versions (?)

Question MessageBox YesNo


 / Published in: C#
 

Just the standard Yes/No MessageBox

  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  

You need to login to post a comment.