Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27203

VS 2010 button behavior to avoid multiple clicks

$
0
0
hi
I have a button which becomes grayed and inactive when you click on it
but if you clicked two or more times instantly it memorize all clicks
despite that

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Button1.Enabled = False


what i need to do so it will click it only one time
thank you

Viewing all articles
Browse latest Browse all 27203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>