Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I determine which control was right-clicked when one ContextMenu is used on multiple Controls?

The ContextMenu.SourceControl property will specify the latest Control on which the context menu was shown.

Contributed from George Shepherd's Windows Forms FAQ