Пример #1
0
 public void Reset(PlaylistItemUC item = null)
 {
     if (item != null && item != this)
     {
         item.timerVisualiation.Stop();
         item.visualiation.Visible = false;
     }
 }
Пример #2
0
 private void SetPlaylistItemColor(Color color, PlaylistItemUC PlaylistItemUC = null)
 {
     if (PlaylistItemUC == null)
     {
         this.BackColor        = color;
         btnEye.BackColor      = color;
         btnHeart.BackColor    = color;
         btnArrowAll.BackColor = color;
     }
     else
     {
         PlaylistItemUC.BackColor             = color;
         PlaylistItemUC.btnEye.BackColor      = color;
         PlaylistItemUC.btnHeart.BackColor    = color;
         PlaylistItemUC.btnArrowAll.BackColor = color;
     }
 }