public PlayerDataGenerator()
 {
     PlayerText             = "";
     TimeText               = "";
     PlayerAnimation        = creepingAnimationRightToLeft;
     PlayerText             = rightToLeftRadioText;
     timeTimer.Tick        += new EventHandler(OnTimedEvent);
     blinkingTimer.Tick    += new EventHandler(OnBlinkingTimedEvent);
     timeTimer.Interval     = new TimeSpan(0, 0, 1);
     blinkingTimer.Interval = new TimeSpan(0, 0, 4);
     UpdateTime();
     timeTimer.Start();
 }
 public void ChangeSource()
 {
     isRadioPlaying = !isRadioPlaying;
     if (isRadioPlaying)
     {
         PlayerAnimation = isRightToLeft ? creepingAnimationRightToLeft : creepingAnimationLeftToRight;
         PlayerText      = isRightToLeft ? rightToLeftRadioText : leftToRightRadioText;
     }
     else
     {
         PlayerAnimation = blinkingAnimation;
         PlayerText      = "READING";
         blinkingTimer.Start();
     }
 }
 public void ChangeText(bool isAnimationDirectionRightToLeft)
 {
     isRightToLeft = isAnimationDirectionRightToLeft;
     if (!blinkingTimer.IsEnabled)
     {
         PlayerAnimation = isRightToLeft ? creepingAnimationRightToLeft : creepingAnimationLeftToRight;
         if (isRadioPlaying)
         {
             PlayerText = isRightToLeft ? rightToLeftRadioText : leftToRightRadioText;
         }
         else
         {
             rightToLeftCDText = rightToLeftCDSourceInfo + rightToLeftTracks[currentTrack] + rightToLeftTrackInfo;
             leftToRightCDText = leftToRightTrackInfo + leftToRightTracks[currentTrack] + leftToRightCDSourceInfo;
             PlayerText        = isRightToLeft ? rightToLeftCDText : leftToRightCDText;
         }
     }
 }