usercontrol events/properties question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • iwdu15

    #1

    usercontrol events/properties question

    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
  • Marc R.

    #2
    Re: usercontrol events/properties question

    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.cli ck = 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.


    "iwdu15" <jmmgoalsteraty ahoodotcom> wrote in message
    news:3B2433E5-626C-4C53-AE27-B4766C2FC232@mi crosoft.com...[color=blue]
    > 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[/color]


    Comment

    • Armin Zingler

      #3
      Re: usercontrol events/properties question

      "iwdu15" <jmmgoalsteraty ahoodotcom> schrieb[color=blue]
      > 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...[/color]


      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

      Comment

      • iwdu15

        #4
        Re: usercontrol events/properties question

        ohhh ok, thanks
        --
        -iwdu15

        Comment

        Working...