private void OnNavigateLink(object sender, MSDN.Html.Editor.HtmlNavigationEventArgs e) { // Pass everything back to our parent for consistent handling ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_HwndParent, Handle); if (e.Url.ToLower().StartsWith("tdl://")) { notify.NotifyTaskLink(e.Url); } else { notify.NotifyFailedLink(e.Url); } e.Cancel = true; // always }
private void OnInputTextLostFocus(object sender, EventArgs e) { ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_hwndParent); notify.NotifyKillFocus(); }
private void OnInputTextChanged(object sender, EventArgs e) { ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_hwndParent); notify.NotifyChange(); }
private void OnNeedLinkTooltip(object sender, NeedLinkTooltipEventArgs e) { ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_HwndParent, Handle); e.tooltip = notify.NotifyWantLinkTooltip(e.linkUri); }
private void OnNeedAttributeList(object sender, NeedAttributeValuesEventArgs e) { ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_HwndParent, Handle); e.values = notify.GetAttributeValues(e.attrib); }