MasterMind
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by MasterMind
-
-
Hello,
I would like to create my own item in the Context Menu (the one that appears when righ-clicking on a chart).
I've tried:
Command myCommand = this.Commands[CommandId.ContextMenuBack]; myCommand.SubCommands.Add(CommandId.About);
But the method Add() of SubCommands only takes a CommandId, so I don't see how I can add my own item.
Thank you!
How to add my own Command to the Context Menu?
in Windows Forms
Posted
Wow, this is a pretty fast answer!
I just didn't realize I could create a custom Command with its own ID...
This solution works perfectly, thank you very much!