Ejemplo n.º 1
0
        /// <summary>
        /// Raises the <see cref="E:ScreenshotFailed" /> event.
        /// </summary>
        /// <param name="args">The <see cref="ScreenshotFailedEventArgs"/> instance containing the event data.</param>
        private void OnScreenshotFailed(ScreenshotFailedEventArgs args)
        {
            var handler = this.ScreenshotFailed;

            if (handler != null)
            {
                handler(this, args);
            }
        }
 /// <summary>
 /// Raises the <see cref="E:ScreenshotFailed" /> event.
 /// </summary>
 /// <param name="args">The <see cref="ScreenshotFailedEventArgs"/> instance containing the event data.</param>
 private void OnScreenshotFailed(ScreenshotFailedEventArgs args)
 {
     var handler = this.ScreenshotFailed;
     if (handler != null)
     {
         handler(this, args);
     }
 }