I'm relatively new to programming in C#, so I'm probably missing something
obivous. I've got several buttons on a form that I assign an image to when
the user clicks each button. That works fine. If the user clicks the button
again, I want to remove the image and just display the text in the button's
Text property. How can I remove the image from the button? Thanks for any
help.
Mike
Herfried K. Wagner [MVP] - 15 Feb 2005 15:58 GMT
"Mike" <Mike@discussions.microsoft.com> schrieb:
> How can I remove the image from the button?
\\\
this.Button1.Image = null;
///

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Mike - 15 Feb 2005 16:09 GMT
Great! Thanks for your help.