Ejemplo n.º 1
0
        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
        }
Ejemplo n.º 2
0
        private void OnInputTextLostFocus(object sender, EventArgs e)
        {
            ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_hwndParent);

            notify.NotifyKillFocus();
        }
Ejemplo n.º 3
0
        private void OnInputTextChanged(object sender, EventArgs e)
        {
            ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_hwndParent);

            notify.NotifyChange();
        }
Ejemplo n.º 4
0
 private void OnNeedLinkTooltip(object sender, NeedLinkTooltipEventArgs e)
 {
     ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_HwndParent, Handle);
     e.tooltip = notify.NotifyWantLinkTooltip(e.linkUri);
 }
Ejemplo n.º 5
0
 private void OnNeedAttributeList(object sender, NeedAttributeValuesEventArgs e)
 {
     ContentControlWnd.ParentNotify notify = new ContentControlWnd.ParentNotify(m_HwndParent, Handle);
     e.values = notify.GetAttributeValues(e.attrib);
 }