public void OnIncrease() { Number++; if (Number > MaxValue) { Number = MaxValue; if (PrevDisplay != null) { PrevDisplay.OnIncrease(); Number = MinValue; } } }