Пример #1
0
        protected UltraToolTipContextHelperBase(UltraControlBase control, UltraToolTipManager toolTipManager)
        {
            if (control == null)
                throw new ArgumentNullException("control");

            if (toolTipManager == null)
                throw new ArgumentNullException("toolTipManager");

            _control = control;
            _toolTipManager = toolTipManager;

            // Hook into the neccessary events of the control to trap when the mouse
            // mouse in and out of elements. 
            HookControlEvents();		
        }
        public UltraToolTipContextHelperBase(Control control, UltraToolTipManager toolTipManager)
        {
            if (control == null)
            {
                throw new ArgumentNullException("control");
            }

            if (toolTipManager == null)
            {
                throw new ArgumentNullException("toolTipManager");
            }

            this.control        = control;
            this.toolTipManager = toolTipManager;

            // Hook into the neccessary events of the control to trap when the mouse
            // mouse in and out of elements.
            this.HookControlEvents();
        }
Пример #3
0
 public UltraToolTipContextHelperForGrid(UltraGrid grid, UltraToolTipManager toolTipManager)  : base(grid, toolTipManager)
 {
     _grid = grid;
 }