Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Searching up which UI object triggers a specific method

$
0
0

Hi, I'm editing an existing Windows Forms desktop application written in C# and have a few methods that I don't know which UI element calls. For example, I have a

private void button1_Click(Object sender, EventArgs e) {}


but there is no UI element named button1. Is there a way to search all UI elements and see if any of them are calling this method for any of their events?

Thanks.


Viewing all articles
Browse latest Browse all 3509

Trending Articles