I’m adding a ContextMenu to a WinForm application and I want to associate it to a NotifyIcon. The issue is the NotifyIcon’s properties only include ContextMenuStrip and not ContextMenu.
How can I add a ContextMenu to my icon?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looking here I see it has a ContextMenu property. What version of .Net are you using? Perhaps you are looking at the property grid? You might have to set that property in code.