HandleMouseLeave() public method

public HandleMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void
Esempio n. 1
0
 protected override void OnMouseLeave(System.EventArgs e)
 {
     base.OnMouseLeave(e);
     this.Cursor = Cursors.Default;
     if (lastMouseInMargin != null)
     {
         lastMouseInMargin.HandleMouseLeave(EventArgs.Empty);
         lastMouseInMargin = null;
     }
 }
        protected override void OnMouseLeave(EventArgs e)
        {
            base.OnMouseLeave(e);
            Cursor = Cursors.Default;

            if (lastMouseInMargin != null)
            {
                lastMouseInMargin.HandleMouseLeave(EventArgs.Empty);
                lastMouseInMargin = null;
            }

            CloseToolTip();
        }