Inheritance: IDisposable
Exemplo n.º 1
0
        public void Hide()
        {
            if (_tipInfo != null)
            {
                var toolTip = GetToolTip();

                toolTip.Hide(_tipInfo.Owner);

                _tipInfo = null;
            }
        }
Exemplo n.º 2
0
        public void Show(TipInfo tipInfo)
        {
            if (_tipInfo != null)
            {
                Hide();
            }

            _tipInfo = tipInfo;

            var toolTip = GetToolTip();

            toolTip.Show("?", _tipInfo.Owner, new Point(0, _tipInfo.Owner.Height));
        }