public bool TryGetMenuItem(MenuItemKey key, out ToolStripItem item) { return(_itemsIndex.Value.TryGetValue(key, out item)); }
protected TranslationString GetTooltip(MenuItemKey key) { return(Strings.Tooltips[key]); }
public static ToolStripItemWithKey WithKey(this ToolStripItem item, MenuItemKey key) { return(new ToolStripItemWithKey(key, item)); }
public ToolStripItemWithKey(MenuItemKey key, ToolStripItem item) { Key = key; Item = item; }