I need to disable the button so that can't be clicked multiple times while it's processing something in background.
I tried with adding this line to the top of the click event handler but it doesn't work.
Me.Button1.Enabled = False
...
Go to the complete details ...