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
alan
NA
5
0
How To Get Control Events in Custom Control Back To Parent Form
Oct 21 2010 10:30 AM
This was easy in VC++ I could use GetParent() and then SendMessage(). I have no idea how to do this in c# and have searched all over.
I have a Form1.cs project
I have a TreeViewCustomControl project
I have a treeview1 control on the user control panel.
I can get the treeview1 doubleclick events in the custom control class fine but don't know how to let the form know which node (text) was double clicked.
I can also get doubleclick events for custom control in form1 class but this doesn't help me either because this lies under the treeview1.
How to get text of treeview1 nodes which are doubleclicked inside the form1.cs?
Reply
Answers (
1
)
HttpWebRequest with SSL
Load text file to memory, read by lines