ContextMenuStrip question
Posted: Thu Apr 16, 2020 1:49 pm
hi everyone,
in a GUI i'm working on, i would like to use the same ContextMenuStrip that i would associate to a few datagridview to select an item. since it's the same function that is running, it's only logical to use the same strip.
I've created 2 datagridview, associated my strip to each, now i'm trying to understand how to get the calling control.
is there a way to identify the control who called the strip?
thank you!
in a GUI i'm working on, i would like to use the same ContextMenuStrip that i would associate to a few datagridview to select an item. since it's the same function that is running, it's only logical to use the same strip.
I've created 2 datagridview, associated my strip to each, now i'm trying to understand how to get the calling control.
is there a way to identify the control who called the strip?
thank you!