/// <summary>
        /// Handles the Loaded event of the UserControl control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
        void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            // Create ChannelAdd Buttons
            foreach (var channel in new ChannelLoadHelper().AvailableChannels)
            {
                // Insert each item at index 0 of the wrap panel
                ChannelAddControl control = new ChannelAddControl();

                control.ChannelConfiguration = channel;

                ChannelAddWrapPannel.Children.Insert(0, control);
            }

            GenieTransition transition = Resources["GenieTransition"] as GenieTransition;

            transitionContainer.Transition           = transition;
            transitionContainer.TransitionCompleted += TransitionCompleted_Handler;

            if (HasConfiguredChannels)
            {
                AnimateChannelAddWrapPanel(null);
            }

            OnPropertyChanged("HasConfiguredChannels");
        }
        private void PlayGenie()
        {
            GenieTransition transition = Resources["GenieTransition"] as GenieTransition;

            transition.EffectType = (_intoLamp.IsChecked.Value)
                                                        ? GenieEffectType.IntoLamp
                                                        : GenieEffectType.OutOfLamp;

            _transContainer.Transition = transition;
            _transContainer.ApplyTransition(_frontItem, _backItem);
        }