G
Guest
I'm following the example from the MSDN library on how to create modal dialog
boxes in C#, but something isn't working properly. If I create a modal
dialog box and show it using ShowDialog(), the main form behind the dialog
box is still enabled and can operate normally. If I use MessageBox.Show() to
show a message box, the main form is disabled until the dialog box
terminates. How can I make a custom dialog box do this?
boxes in C#, but something isn't working properly. If I create a modal
dialog box and show it using ShowDialog(), the main form behind the dialog
box is still enabled and can operate normally. If I use MessageBox.Show() to
show a message box, the main form is disabled until the dialog box
terminates. How can I make a custom dialog box do this?