Пример #1
0
        /// <summary>
        /// Raises the OutError event.
        /// </summary>
        /// <param name="e">The <see cref="OutErrorEventArgs"/> object containing the event data.</param>
        protected virtual void OnOutError(OutErrorEventArgs e)
        {
            EventHandler <OutErrorEventArgs> temp = OutError;

            if (temp != null)
            {
                temp(this, e);
            }
        }
Пример #2
0
 /// <summary>
 /// Raises the OutError event.
 /// </summary>
 /// <param name="e">The <see cref="OutErrorEventArgs"/> object containing the event data.</param>
 protected virtual void OnOutError(OutErrorEventArgs e) {
     EventHandler<OutErrorEventArgs> temp = OutError;
     if (temp != null) {
         temp(this, e);
     }
 }