I made a form that should disable the form, open up a dialog form, then re-enable the original form, but it just disables the form and hangs the original form, no dialog form is show. Please help.
Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click
Me.Enabled = False
Me.Enabled = True
Show your dialog first and have it immediately disable the previous form. When it closes, have it re-enable the original form.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)