Ejemplo n.º 1
0
        ///////////////////////////////////////////////////////////////////////////////
        // Eventhandler for Custom Defined Events                                    //
        ///////////////////////////////////////////////////////////////////////////////
        #region CUSTOMEVENTHANDLER

        /// <summary>
        /// The protected OnAudioPropertiesChanged method raises the event by invoking
        /// the delegates
        /// </summary>
        /// <param name="e">A <see cref="AudioPropertiesChangedEventArgs"/> with the event arguments</param>
        protected virtual void OnAudioPropertiesChanged(AudioPropertiesChangedEventArgs e)
        {
            if (AudioPropertiesChanged != null)
            {
                // Invokes the delegates.
                AudioPropertiesChanged(this, e);
            }
        }
Ejemplo n.º 2
0
    ///////////////////////////////////////////////////////////////////////////////
    // Eventhandler for Custom Defined Events                                    //
    ///////////////////////////////////////////////////////////////////////////////
    #region CUSTOMEVENTHANDLER

    /// <summary>
    /// The protected OnAudioPropertiesChanged method raises the event by invoking 
    /// the delegates
    /// </summary>
    /// <param name="e">A <see cref="AudioPropertiesChangedEventArgs"/> with the event arguments</param>
    protected virtual void OnAudioPropertiesChanged(AudioPropertiesChangedEventArgs e)
    {
      if (AudioPropertiesChanged != null)
      {
        // Invokes the delegates. 
        AudioPropertiesChanged(this, e);
      }
    }