You're supposed to be handling the Paint event of the PictureBox, not the Buttons. Take a look at [ame="http://www.vbforums.com/showthread.php?t=426684"]this[/ame].
Also, I suggest that you don't use Button controls there but rather RadioButtons. You can set the Appearance property to Button so that they look just like regular Buttons, but they will behave like RadioButtons in that only one will be depressed at a time and clicking one will leave it depressed until another is clicked. You test the Checked property just as you do with any other RadioButtons to see which is depressed. There's no point having two Boolean variables because as soon as you test one you know for a fact the value of the other.
|