예제 #1
0
        private void UriQueueOnUriEnqueued(object sender, OnUriEnqueuedArgs args)
        {
            args.Handled = true;

            if (InvokeRequired)
            {
                Invoke((Action <object, OnUriEnqueuedArgs>)UriQueueOnUriEnqueued, sender, args);
                return;
            }

            HandleUri(args.Uri);
        }
예제 #2
0
 private bool OnUriEnqueued(OnUriEnqueuedArgs e)
 {
     UriEnqueued?.Invoke(this, e);
     return(e.Handled);
 }