示例#1
0
 private void control_DeleteRequest(object sender, DirectorBehaviourControlEventArgs e)
 {
     foreach (TrackGroupWrapper wrapper in this.trackGroupBinding.Keys)
     {
         TrackGroupControl control = this.trackGroupBinding[wrapper];
         control.DeleteSelectedChildren();
         if (control.IsSelected)
         {
             control.Delete();
         }
     }
 }