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.