In the very last line of the button1_Click subroutine, add this line:
VB.NET
Button1.Enabled = False
C#
Button1.Enabled =false;
In the very last line of the button1_Click subroutine, add this line:
VB.NET
Button1.Enabled = False
C#
Button1.Enabled =false;
Share with