ComponentFactory.Krypton.Toolkit.SeparatorController.MouseLeave C# (CSharp) Méthode

MouseLeave() public méthode

Mouse has left the view.
public MouseLeave ( Control c, ViewBase next ) : void
c System.Windows.Forms.Control Reference to the source control instance.
next ViewBase Reference to view that is next to have the mouse.
Résultat void
        public override void MouseLeave(Control c, ViewBase next)
        {
            // If leaving when currently moving, then abort the movement
            if (_moving)
                AbortMoving();

            // Reset the cursor back to the default
            _source.SeparatorControl.Cursor = Cursors.Default;

            // Let base class do standard processing
            base.MouseLeave(c, next);
        }

Usage Example

Exemple #1
0
 internal void DesignMouseLeave()
 {
     // Pass message directly onto the separator controller
     _separatorController.MouseLeave(this, null);
 }