Is there any way to return the name of the control I click on in a window form application using C#?
Using this pointer only returns form name.
snehil_khanor
1
Light Poster
Recommended Answers
Jump to PostThe click event has a sender object, use it to obtain the name. You'll have to attach to the click event of the controls.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.