Esempio n. 1
0
        /// <summary>
        /// Signal mouse action to form, to start countdown/animation for showing or hiding tooltip.
        /// </summary>
        /// <param name="ctrl">The affected control.</param>
        /// <param name="enter">
        /// <para>If true, countdown for showing begins. If false, animation to take down tooltip begins</para>
        /// <para>Can be called multiple times with false: hide animation will continue if already in progress.</para>
        /// <para>If called with false after tooltip has already expired and been hidden, has no effect.</para>
        /// </param>
        internal virtual void TooltipMouseAction(ZenControlBase ctrl, bool show)
        {
            ZenControlBase parent = Parent;

            if (parent != null)
            {
                parent.TooltipMouseAction(ctrl, show);
            }
        }