usercontrol question

G

Guest

hi, how can i create a usercontrol that when added to the form via the
toolbox, it shows up like a timer or dialog box? i have my cotnrol

"Inherits System.Windows.Forms.Control"

but that just puts in on the form....how can i get that to work?
 
K

Ken Tucker [MVP]

Hi,

Have it inherit from System.ComponentModel.Component instead of
System.Windows.Forms.Control.

Ken
 

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

Similar Threads


Top