my question is pretty simple:
Our C # application has one MainForm with a menu and several keyboard shortcuts associated with menu entries.
Now we need to call the menu items from some child forms. But since MainForm is inactive when one of the child forms is active, shortcuts do not work.
Is there an easy way to distribute all keyboard events from a child form to the Owner form? Or just to a different form at all?
Oh, and we cannot use some low-level Windows files, because we need to also run the application on Mono / Linux.
EDIT: The exact problem is invoking menu items with the same label from a different form. Of course, without updating the code in the forms, if changes are added to the menu of new elements.
thalm source share