The tittle says it all please help!!! :)
Printable View
The tittle says it all please help!!! :)
I think that the title does say it all, including the answer. How do you usually do something when a Button is clicked? You handle the Click event, which I'm guessing that you're already doing. How do you usually disable a control? You set its Enabled property to False. So, you need to handle the Click event of the Button and set that Button's Enabled property to False.
I don't get it sir...
Handling the Click event of a Button is one of the most elementary things you can do when learning Windows Forms programming. If you don't know how to do that then you must have no concept of the absolute basics, so I suggest that you work your way through an appropriate tutorial to get that basic knowledge. Once you've done that, you will know what to do when someone says "handle this event", "set this property" or "call this method". You may not always know what event, property or method to use but, when we tell you which one, you should be able to go ahead and use it.
Here's the tutorial I usually recommend:
http://www.homeandlearn.co.uk/net/vbnet.html
Once you've worked your way through that, you'll be able to follow the instructions in post #2.