void SignButtonInput(object inputTag) { switch (inputTag) { #region signButtons case "+": _inH.SignInput("+"); break; case "-": _inH.SignInput("-"); break; case "*": _inH.SignInput("*"); break; case "/": _inH.SignInput("/"); break; case "=": _calLog.CalculationSetup(true); break; #endregion signButtons } }
void SpecialKeyInput(Key input) { switch (input) { #region specialKeys case Key.Back: case Key.Delete: _inH.RemoveInput(); break; case Key.Return: _calLog.CalculationSetup(true); break; case Key.OemComma: case Key.Decimal: _inH.CommaInput(); break; #endregion specialKeys } }