|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
usercontrol events/properties questionhow 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 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 "iwdu15" <jmmgoalsteratyahoodotcom> schrieb Inheritance means, you inherit everything (everything but constructors> 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... because they define how the specific class instance can be created). The new class "is made of" the base class + the new members. Armin
Time zones: Pretending to be somewhere else
beginner question about classes Newbe question, What am I doing wrong Seeking VB.Net Proxy examples Selecting combobox item at runtime from code No Beep with MSGBOX Possible? Help Needed in bindings, Convert Byte() to System.Drawing.Image? OT: Business Objects - what are they and can they contain objects like sockets? Cache problem |
|||||||||||||||||||||||