Home All Groups Group Topic Archive Search About
Author
21 Jan 2006 4:16 AM
iwdu15
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?
--
-iwdu15

Author
21 Jan 2006 11:56 AM
Ken Tucker [MVP]
Hi,

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

Ken
-------------
Show quoteHide quote
"iwdu15" <jmmgoalsteratyahoodotcom> wrote in message
news:4B03BD39-E74A-4399-8136-0261F75A1A4C@microsoft.com...
> 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?
> --
> -iwdu15