Exemple #1
0
 public void StopScrolling()
 {
     if (_movement != null)
     {
         _movement.parent = null;
         _movement        = null;
     }
 }
Exemple #2
0
        public void ScrollSourceGridPoint(double totalTime, Rectangle destBounds)
        {
            if (_movement != null)
            {
                _movement.parent = null;
            }

            _movement = new DirectDrawing.Movement(this, totalTime, destBounds);
        }
Exemple #3
0
 public void MoveNext(long tick)
 {
     if (_movement != null)
     {
         if (_movement.MoveNext(tick))
         {
             _movement = null;
         }
     }
 }