Пример #1
0
 private void onOpenExternalLink( object sender, OpenExternalLinkEventArgs e )
 {
     if ( OnOpenExternalLink != null && e.Url.Length > 0 )
         OnOpenExternalLink( this, new OpenLinkEventArgs( e.Url ) );
 }
Пример #2
0
 private void OnOpenExternalLink( object sender, OpenExternalLinkEventArgs e )
 {
     // Inform the window that the web control is asking for a new window or tab.
     // Currently, the event does not provide information of whether this request
     // is the result of a user clicking on a link with target="_blank" or javascript
     // calling window.open() etc. We assume target="_blank" and open a new tab.
     // When we get this info, we will be able to support floating windows.
     ParentWindow.OpenURL( e.Url );
 }