示例#1
0
        protected override void OnMouseHover(EventArgs e)
        {
            _hover = true;
            Image  = _imageList1.Images[1];
            base.OnMouseHover(e);

            if (_toolTip == null)
            {
                _toolTip             = new Popup(_customToolTip = new CustomToolTip(Title, Description));
                _toolTip.AutoClose   = false;
                _toolTip.FocusOnOpen = false;
            }
            _toolTip.Show(this);
        }
示例#2
0
        protected override void OnMouseHover(EventArgs e)
        {
            _hover = true;
            Image = _imageList1.Images[1];
            base.OnMouseHover(e);

            if (_toolTip == null)
            {
                _toolTip = new Popup(_customToolTip = new CustomToolTip(Title, Description));
                _toolTip.AutoClose = false;
                _toolTip.FocusOnOpen = false;
            }
            _toolTip.Show(this);
        }