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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top