private URL translate(URL url) { TranslateURLEventArgs e = new TranslateURLEventArgs(url); OnTranslateURL(e); return(e.Result); }
/// <summary> /// Raises the <see cref="TranslateURL"/> event. /// </summary> /// <param name="e">A <see cref="TranslateURLEventArgs"/> that contains the event data.</param> protected virtual void OnTranslateURL(TranslateURLEventArgs e) { if (TranslateURL != null) { TranslateURL(this, e); } }