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

Threaded View

  1. #1
    Join Date
    Jan 2010
    Location
    .NET v3.5 SP1, VS 2008
    Posts
    18

    [RESOLVED] Custom User Control Issue

    Hey all,

    I created a custom user control in windows forms which simply has a background image and a label. When I add the custom control to one of my forms and set the click event, the event only fires when I click on the background image. It doesn't fire when I click on the label. This doesn't seem right since the label is part of the control and is not separate on the form... Is this normal? If so how do I get the event to fire regardless of what part of the control I click?

    Thanks in advance for the help! It's really annoying me that out of everything, this is what i'm having problems with :/
    Last edited by SixSence; March 30th, 2010 at 06:28 PM. Reason: issue is resolved

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