|
-
May 16th, 2013, 07:23 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] ContextMenu and multiple DataGridViews
I have several DataGridViews on a form.
Each grid has the same ContextMenu.
Is there a simple way to tell which grid the right click came from?
Thanks.
-
May 16th, 2013, 07:27 AM
#2
Re: ContextMenu and multiple DataGridViews
If you want to know how to do something with the ContextMenuStrip then the very first thing you should do is read the documentation for that class. If you had done that then you'd already know that you need to use the SourceControl property.
-
May 16th, 2013, 08:07 AM
#3
Thread Starter
Hyperactive Member
Re: ContextMenu and multiple DataGridViews
Thanks, I was looking at the DataGridView or the ContextMenuItem.
Thanks for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|