Пример #1
0
        internal void OnBeforePopup(BeforePopupEventArgs e)
        {
            BeforePopup?.Invoke(this, e);

            if (!e.Handled)
            {
                LoadURL(e.TargetUrl);
                e.Handled = true;
            }
        }
Пример #2
0
 /// <summary>
 /// The on before popup.
 /// </summary>
 /// <param name="eventArgs">
 /// The event args.
 /// </param>
 public void OnBeforePopup(BeforePopupEventArgs eventArgs)
 {
     BeforePopup?.Invoke(this, eventArgs);
 }
Пример #3
0
 internal protected virtual void OnBeforePopup(BeforePopupEventArgs eventArgs)
 {
     BeforePopup?.Invoke(this, eventArgs);
 }