public void Division(int value) { _total /= value; _undo = false; stack.Push(OperStruct.OperSet(Division, value)); }
public void Subtract(int value) { _total -= value; _undo = false; stack.Push(OperStruct.OperSet(Subtract, value)); }
public void Multiply(int value) { _total *= value; _undo = false; stack.Push(OperStruct.OperSet(Multiply, value)); }
public void Add(int value) { _total += value; _undo = false; stack.Push(OperStruct.OperSet(Add, value)); }