TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
M W
NA
3
0
Handling 'clicks' on a User-created Control
Jun 13 2007 10:05 PM
I created a User Control in C# (for VS 2005) thats basically a Panel, with a PictureBox right on top of it. Basically, I want a thick border to be drawn around the Picture when it is clicked, and having the Panel a little bit bigger than the PictureBox looks fine. It looks fine, except when I go to drag-and-drop my UserControl into a Form, I dont see anyway to handle Clicking on the UserControl from the Form. When I click on the UserControl to bring up the CodeView, all i see is the following filled in for me: ------------------------- private void ctlEictImageBox1_Load(object sender, EventArgs e) { } -------------------------- I would think "_Click" would show up rather than "_Load" , but it doesnt. What else do I need to provide, and does it go in the code for the USerControl, or the Form?? Thanks, Matt
Reply
Answers (
1
)
How does MSN messenger know where to send messages?
Query on GUI design in Visual Studio.NET 2005 using C#