Method OnAccepted
OnAccepted(CommandEventArgs)
Called when the user has accepted an item in this menu (or submenu). This is used to determine when to hide the menu.
protected override void OnAccepted(CommandEventArgs args)
Parameters
args
CommandEventArgs