Exemple #1
0
        /// <summary>
        /// Raises the <see cref="E:ScreenshotCompleted" /> event.
        /// </summary>
        /// <param name="args">The <see cref="ScreenshotEventArgs"/> instance containing the event data.</param>
        private void OnScreenshotCompleted(ScreenshotEventArgs args)
        {
            var handler = this.ScreenshotCompleted;

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