stefonalfaro
Member
- Joined
- Dec 3, 2007
- Messages
- 16
- Programming Experience
- Beginner
How do I make a messagebox that gives a yes or no option. If the user clicks yes then 'me.close' but if the user click no nothing happens and the message box closes. Ok this gets me the messagebox but how do I get the button to do something
MessageBox.Show("Are you sure you want to close?", "You sure?", MessageBoxButtons.OKCancel, MessageBoxIcon.Question)
MessageBox.Show("Are you sure you want to close?", "You sure?", MessageBoxButtons.OKCancel, MessageBoxIcon.Question)
Last edited: