protected internal virtual void OnTooltipRequested(TooltipRequestedEventArgs e) { var handler = TooltipRequested; if (handler != null) { handler(this, e); } }
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; }