Hi
I am a VB guy making a jump to C#. This is probably not even worth asking but in VB I would create a function that would toggle the enabled state of a group of buttons to the exact opposite of what they currently are.
button1.enabled = not button1.enabled
Not sure why, but I am stumped on this. What would be the C# equivalent of this?
Thanks
Toggle buttons
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

PJ MartinsRank #2,548 · 548 reputationPosted Jun 11, 2010, 1:31 PM EDT
cbeebe796 reputationPosted Jun 12, 2010, 2:57 PM EDT