Discovered an answer, possibly!
After much heartache and toil, i discovered the following conclusion in regards to painting graphics in the paint event:
When painting graphics using the Paint Event for a control, a user must not modify any properties of that control that may trigger a paint event (i.e ForeColor, BackColor, etc....). Doing so will or may cause an infinite paint loop that never ceases. So, in other words, the Paint Event can only be used solely for graphics manipulation, control properties may not be modified while in the paint event.
I may be wrong on this, but as soon as i discovered this, I was able to get my program to work the way i wanted it.
Hope this sheds some light for other users, maybe this can help!
|