/// <summary> /// Creates an instance /// </summary> /// <param name="caption">Specifies the caption for this menu item</param> /// <param name="tooltip">Specifies the tooltip for this menu item</param> /// <param name="glyph">Specifies the glyph for this menu item</param> public MenuElement(string caption, string tooltip, Glyph glyph) { Caption = caption ; Tooltip = tooltip ; Glyph = glyph ; }
private static Mock<MenuElement> NewMenuElement(string caption, string tooltip, Glyph glyph) { return new Mock<MenuElement>(caption, tooltip, glyph); }
public void Setup() { _glyph = new Glyph(Large, Medium, Small); }