CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Thread: How do I add click event to custom control?

  1. #1
    Join Date
    Aug 2009

    How do I add click event to custom control?

    I am using Visual Studio 2008

    I have a custom control and can't seem to understand how to add a click event. My file is generic and has a usercontrol1 and usercontrol2. I am trying to add a click event to create a folder on my desktop.

    Can anyone help? If someone can look at my solution and then explain what they did to make a click event so I can learn and not have to ask again

    (when this control is added to a form I need it to always create a folder on the desktop.... Also, I need a label name on the control that can be changed by the user and the folder name will be the name the user adds to the control).

    Attached Files Attached Files
    Last edited by daveofgv; September 10th, 2011 at 12:26 PM.

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)