Beispiel #1
0
 private void sidebarControl_Duplicate(object sender, SidebarControlEventArgs e)
 {
     foreach (TrackGroupWrapper wrapper in this.trackGroupBinding.Keys)
     {
         TrackGroupControl control = this.trackGroupBinding[wrapper];
         control.DuplicateSelectedChildren();
         if (control.IsSelected)
         {
             control.Duplicate();
         }
     }
 }
Beispiel #2
0
 private void sidebarControl_Duplicate(object sender, SidebarControlEventArgs e)
 {
     foreach (var current in trackGroupBinding.Keys)
     {
         TrackGroupControl trackGroupControl = trackGroupBinding[current];
         trackGroupControl.DuplicateSelectedChildren();
         if (trackGroupControl.IsSelected)
         {
             trackGroupControl.Duplicate();
         }
     }
 }