Right help!

Associate
Joined
29 Sep 2005
Posts
182
Location
Stoke-on-Trent
Visual Studio 2005:

I'm trying to figure out how to use the result from a messagebox. I know how to show the message box and I've used:

MessageBox.Show("Is the customer a local villager?", "Quesion:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)

How do I make the program perform a certain action if I press Yes or No and how do I make the program save the answer to a variable.. T.I.A

oc.
 
Back
Top Bottom