Exemplo n.º 1
0
 public override void ChannelUp()
 {
     if (CurrentChannelIndex == (KnownChannels.Items.Count - 1))
     {
         Channel = KnownChannels.Items[0];
     }
     else if (CurrentChannelIndex > -1)
     {
         Channel = KnownChannels.Items[CurrentChannelIndex + 1];
     }
     else
     {
         Channel = KnownChannels.FindClosest(Channel);
     }
 }