示例#1
0
 protected internal virtual void OnTooltipRequested(TooltipRequestedEventArgs e)
 {
     var handler = TooltipRequested;
     if (handler != null) {
         handler(this, e);
     }
 }
示例#2
0
 private int OnTooltip(IntPtr self, IntPtr browser, IntPtr text)
 {
     var e = new TooltipRequestedEventArgs {
         Browser = Browser.FromHandle(browser),
         Text = StringUtf16.ReadString(text)
     };
     _delegate.OnTooltipRequested(e);
     return e.IsCanceled ? 1 : 0;
 }