To elaborate on JB's post in case it isn't clear, the buttons on a MessageBox don't do anything other than close the dialogue and make Show return the corresponding DialogResult value. It's then up to the calling form to test that return value to see what it is and then act appropriately. The MessageBox itself doesn't do anything.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.