コード例 #1
0
 /// <summary>
 /// Handles the ItemAdded event of the bands control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="ChildCollectionEventArgs"/> instance containing the event data.</param>
 void bands_ItemAdded(object sender, ChildCollectionEventArgs e)
 {
     AddBand(e.Item as NaviBand);
 }
コード例 #2
0
 /// <summary>
 /// Handles the ItemRemoved event of the bands control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="ChildCollectionEventArgs"/> instance containing the event data.</param>
 void bands_ItemRemoved(object sender, ChildCollectionEventArgs e)
 {
     RemoveBand(e.Item as NaviBand);
 }