Esempio n. 1
0
        /// <summary>
        /// Register/unregister chain. Implemented and sealed by <see cref="ZenTabbedForm"/>.
        /// </summary>
        /// <param name="ctrl">Control to register for showing tooltips.</param>
        /// <param name="tt">Tooltip informatio provider. To show not tooltips, pass null.</param>
        internal virtual void RegisterControlForTooltip(ZenControlBase ctrl, IZenTooltip tt)
        {
            ZenControlBase parent = Parent;

            if (parent != null)
            {
                parent.RegisterControlForTooltip(ctrl, tt);
            }
        }