You don't. You override the OnPaint method of your class and put the drawing logic there. When you need to repaint, call Invalidate() on your control.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: drawing in win formThreaded View
|
Click Here to Expand Forum to Full Width |