/// <summary> /// Handles the SelectionChanged event of the selectionService control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> void selectionService_SelectionChanged(object sender, System.EventArgs e) { if (selectionService.PrimarySelection is NaviBand) { designingControl.SetActiveBand( selectionService.PrimarySelection as NaviBand); } }