public void StopScrolling() { if (_movement != null) { _movement.parent = null; _movement = null; } }
public void ScrollSourceGridPoint(double totalTime, Rectangle destBounds) { if (_movement != null) { _movement.parent = null; } _movement = new DirectDrawing.Movement(this, totalTime, destBounds); }
public void MoveNext(long tick) { if (_movement != null) { if (_movement.MoveNext(tick)) { _movement = null; } } }