Exemplo n.º 1
0
        /// <summary>
        /// Called when the substates has changed.
        /// </summary>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected virtual void OnActiveSubstateChanged(ActiveSubstateChangedEventArgs e)
        {
            EventHandler <ActiveSubstateChangedEventArgs> handler = this.ActiveSubstateChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Called when the substates has changed.
        /// </summary>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected virtual void OnActiveSubstateChanged(ActiveSubstateChangedEventArgs e)
        {
            EventHandler<ActiveSubstateChangedEventArgs> handler = this.ActiveSubstateChanged;

              if (handler != null)
              {
            handler(this, e);
              }
        }