c# - How can I know which method called event handler -


i have 2 methods:

private void rvlisten_opt()  private void rvlisten_fut() 

on event, both call:

void onrvmessagereceived(object sender, sigrvmessageeventargs args) 

when onrvmessagereceived called, how can check of 2 methods called it? know can done using object sender, i'm not sure how it.

if can edit sigrvmessageeventargs class add field set differently in 2 calls.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -