コード例 #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);
            }
        }
コード例 #2
0
ファイル: AudioControl.cs プロジェクト: DeSciL/Ogama
    ///////////////////////////////////////////////////////////////////////////////
    // 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);
      }
    }