Esempio n. 1
0
 void Delete(Wrap wrap)
 {
     foreach (var e in wrap.Subtree.OfType <VideoWrap>())
     {
         UnassignedVideos.Add(e);
     }
 }
Esempio n. 2
0
 void Remove()
 {
     if (SelectedItem is VideoWrap)
     {
         SelectedItem.Parent.Items.Remove(SelectedItem);
         UnassignedVideos.Add(SelectedItem as VideoWrap);
     }
     else
     {
         Remove(SelectedItem);
     }
 }