コード例 #1
0
        /// <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);
        }
コード例 #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));
        }