UserControl and Design-time

  • Thread starter Thread starter aspirit
  • Start date Start date
A

aspirit

Hello

I'm writing a control based on UserControl class. My control will paint
itself using only graphics methods like DrawRectangle, DrawString, etc.
The problem is that in design time I can't see the end result in
designer (when I press F7 to change the view from source to designer).
Is it possible (and how) to make this control visible in design time?

When I put this control on sample windows form - it's visible - but I
want to see results without making sample windows form.

Thanks in advance for the answer
 
Back
Top