Пример #1
0
        /// <summary>
        /// Raises the <see cref="StartNewWindow"/> event
        /// </summary>
        /// <exception cref="ArgumentNullException">Thrown when BrowserExtendedNavigatingEventArgs is null</exception>
        protected void OnStartNewWindow(BrowserExtendedNavigatingEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException("e");
            }

            StartNewWindow?.Invoke(this, e);
        }
Пример #2
0
 public void OnNewWindow(NewWindowEventArgs e)
 {
     StartNewWindow?.Invoke(this, e);
 }