public bool GetPressed(Office.IRibbonControl control) { ActionFramework.Common.Interface.PressedHandler pressedHandler = PressedHandlerFactory.CreateInstance(control.Id, control.Tag); return(pressedHandler.Get(control.Id)); }
public bool GetPressed(Office.IRibbonControl control) { var pressedHandler = PressedHandlerFactory.CreateInstance(control.Id, control.Tag); return(pressedHandler.Get(control.Id)); }