Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click Me.Enabled = False Dialog1.ShowDialog() Me.Enabled = True End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)