protected virtual void SendItemConstructedEvent(ToolStripItem item, MenuEntryPosition position, Instance instance) { var args = new MenuEntryConstructedArgs(item, instance, position); EventHelper.RaiseEvent(this.MenuEntryConstructed, this, args); }
public MenuEntryConstructedArgs(ToolStripItem contextMenuItem, Instance instance, MenuEntryPosition position) { this.ContextMenuItem = contextMenuItem; this.Position = position; this.Instance = instance; }