/// <summary>
        /// Raises the <see cref="StatusTextChange"/> event
        /// </summary>
        /// <param name="e"></param>
        /// <exception cref="ArgumentNullException">Thrown when StatusTextEventArgs is null</exception>
        protected void OnStatusTextChange(ExWebBrowserStatusTextChangeEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException("e");
            }

            StatusTextChange?.Invoke(this, e);
        }
Exemple #2
0
        private void exWebBrowser1_StatusTextChange(object sender, ExControls.ComponentModel.ExWebBrowserStatusTextChangeEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException("e");
            }

            StatusTextChange?.Invoke(this, new WebPageStatusTextChangeEventArgs(e.Text));
        }