CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    26

    Question reguarding dynamic controls creation.

    Hi,

    I had created dynamic button in a dll.

    After that, I added that dll in my toolbox. And I drag and droped on to my new form.

    If I want to handle click event in this form(how can I handle?). Is it possible. If possible please send some guide lines or an example.

    Thanking you very much.

  2. #2
    Join Date
    Feb 2005
    Location
    Israel
    Posts
    1,475

    Re: reguarding dynamic controls creation.

    First of all - You can.

    Every control in .NET supports the Click event.
    Right-click on the button in the designer, select Properties, select Events (a little button above the properties grid), and then double-click on Click.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured