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
il_wentu
NA
1
0
How do i see an event of a private member ?
Feb 3 2004 7:05 AM
Hi, here's my problem: I have a MyPanel derived from Panel with an inner textbox. The textbox is declared as private and i leave only its text property as public. I instantiate MyPanel in a MyForm and i want to refer to the GotFocus event of the textbox in the panel. How do i make public only this event ? Actually i am programming in Vb.net and i need to use the function: AddHandler MyPanelInstance.TextBox.GotFocus , AddressOf MyHandlerFunction but of course it doesn't work this way. How do i handle the inner gotfocus with a function declared in the MyForm ? i welcome answers both for C# and for Vb.net thanx !! Wentu
Reply
Answers (
1
)
Open With dialog
Text Box listener