Hi,
I successfully added menu item with the following c# fragment:
Menu appears as expected (Only PlugInName is shown).
I tried to remove menu with
but menu still appears.
What I am doing wrong?
I successfully added menu item with the following c# fragment:
UserInterface ui = myApplication.UserInterface;
Menu mn = ui.Menu;
mn.AddMacro("Assembly_name.PlugInName", MenuType.ContextOnly);
mn.Store();
Menu appears as expected (Only PlugInName is shown).
I tried to remove menu with
UserInterface ui = myApplication.UserInterface;
Menu mn = ui.Menu;
mn.RemoveMacro("Assembly_name.PlugInName", MenuType.ContextOnly);
mn.Store();
but menu still appears.
What I am doing wrong?