ComponentFactory.Krypton.Ribbon.GalleryButtonController.UpdateTargetState(System.Windows.Forms.Control)

Here are the examples of the csharp api class ComponentFactory.Krypton.Ribbon.GalleryButtonController.UpdateTargetState(System.Windows.Forms.Control) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: Krypton
Source File: GalleryButtonController.cs
public virtual void MouseEnter(Control c)
		{
            _mouseOver = true;
            UpdateTargetState(c);
		}

2. Example

Project: Krypton
Source File: GalleryButtonController.cs
public virtual void MouseLeave(Control c, ViewBase next)
		{
            // Only if mouse is leaving all the children monitored by controller.
            if (!_target.ContainsRecurse(next))
            {
                _pressed = false;
                _mouseOver = false;
                UpdateTargetState(c);
                if (_repeatTimer != null)
                    _repeatTimer.Stop();
            }
		}