Home All Groups Group Topic Archive Search About

usercontrol events/properties question

Author
21 Jan 2006 4:44 AM
iwdu15
how can i have my control that i made, only have my properties and my events,
not the premade ones? i hope this makes sense...
--
-iwdu15

Author
21 Jan 2006 5:46 AM
Marc R.
Hi, I'm not an expert but I will give what I beleive to be a good
explanation,

You need to define the ones you want to Allow to run from your base class.

lets say it is a round  button you have .

roundButton.click = mybase.click ( or Raise mybase.click) or something like
that.

This is what I understands of the thing I might be wrong .

Hope that help.


Show quoteHide quote
"iwdu15" <jmmgoalsteratyahoodotcom> wrote in message
news:3B2433E5-626C-4C53-AE27-B4766C2FC232@microsoft.com...
> how can i have my control that i made, only have my properties and my
> events,
> not the premade ones? i hope this makes sense...
> --
> -iwdu15
Author
21 Jan 2006 6:58 AM
Armin Zingler
"iwdu15" <jmmgoalsteratyahoodotcom> schrieb
> how can i have my control that i made, only have my properties and
> my events, not the premade ones? i hope this makes sense...


Inheritance means, you inherit everything (everything but constructors
because they define how the specific class instance can be created). The new
class "is made of" the base class + the new members.


Armin
Author
21 Jan 2006 4:40 PM
iwdu15
ohhh ok, thanks
--
-iwdu15