Ejemplo n.º 1
0
 private void ItemsContainer_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     var objType = Type.GetType("AnimationGallery.AnimationUI." + ItemsContainer.SelectedItem, true);
     _currentAnimationCtrl = (IAnimation)Activator.CreateInstance(objType);
     ContentContainer.Content = _currentAnimationCtrl;
     _currentAnimationCtrl.BeignAnimation();
 }