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
Fatma Nuran Ozcani
NA
5
0
how can I get the name of last event in VB.NET?
Jan 8 2007 4:39 AM
Hello,
My name is Nuran and I am a new in TheScripts.com and a programmer on .NET and I am developing a VB.NET project with windows forms. I need to know how I can obtain the name of a current triggerred event in a such code:
Private Sub dene(ByVal sender As Object, ByVal e As EventArgs) _
Handles btnOne.MouseHover, btnTwo.MouseHover, btnTwo.gotfocus, btnTwo.lostfocus
Dim clickedCtrl As Control
clickedCtrl = DirectCast(sender, Control)
lblDisplay.Text = clickedCtrl.Name ‘.... name of the control ........
'----here I need to know where come here, for example from gotfocus of btnTwo or lostfocus of '....btnTwo in the list of Handles keyword.
End Sub
Could you please tell me about how I can get the name of last event in VB.NET?
Thanks
[email protected]
Nuran
Reply
Answers (
1
)
coverting Byte array into character
garbase collection