I'm trying to create a child form that helps the user to enter data for a field in the parent form. I want this child form to be modal, but what do I need to do to make this form modal?
Is there's a different type of item I need to use?
Use Form.ShowDialog()
Form.ShowDialog()
As Bob mentioned, you should set Form.DialogResult accordingly on your modal form.
Form.DialogResult
1.4m articles
1.4m replys
5 comments
57.0k users