Multiple event handlers in Visual Studio?

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

    #1

    Multiple event handlers in Visual Studio?

    In Winforms, in Visual Studio, how does one add multiple event handlers
    in the properties box for let's say, a textbox TextChanged event?

    Thanks in advance.

    Adam

  • Bob Powell [MVP]

    #2
    Re: Multiple event handlers in Visual Studio?

    This cannot be accomplished through the Visual Studio IDE. You'll have to
    add code in the Form constructor, after the InitializeCompo nent call or
    possibly in the form load to add extra event handlers as you need them.

    --
    Bob Powell [MVP]
    Visual C#, System.Drawing

    Find great Windows Forms articles in Windows Forms Tips and Tricks


    Answer those GDI+ questions with the GDI+ FAQ


    All new articles provide code in C# and VB.NET.
    Subscribe to the RSS feeds provided and never miss a new article.





    "Adam" <adam2001usa@ho tmail.com> wrote in message
    news:1118801462 .520505.89120@g 44g2000cwa.goog legroups.com...[color=blue]
    > In Winforms, in Visual Studio, how does one add multiple event handlers
    > in the properties box for let's say, a textbox TextChanged event?
    >
    > Thanks in advance.
    >
    > Adam
    >[/color]


    Comment

    Working...