Esempio n. 1
0
 public WebCalculator Execute(CalcElementType calcElement)
 {
     if (calcElement != CalcElementType.NONE && calcElement != CalcElementType.RESULT)
     {
         ActionWithCalcBtn(baseCalculator.GetButton(calcElement));
     }
     return(this);
 }
 public T GetButton(CalcElementType button)
 {
     return(calcButtons[button]);
 }