private void StopTimerInternal() { if (timer != null) { timer.Dispose(); timer = null; } } private void OnPropertyChanged(string name)