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

Here are the examples of the csharp api class ComponentFactory.Krypton.Ribbon.GroupRadioButtonController.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: GroupRadioButtonController.cs
public virtual void MouseEnter(Control c)
		{
            // Mouse is over the target
            _mouseOver = true;

            // Update the visual state
            if (!_fixedPressed)
                UpdateTargetState(c);
		}

2. Example

Project: Krypton
Source File: GroupRadioButtonController.cs
public virtual void MouseLeave(Control c, ViewBase next)
		{
            // Mouse is no longer over the target
            _mouseOver = false;

            // Update the visual state
            if (!_fixedPressed)
            {
                // If leaving the view then cannot be capturing mouse input anymore
                _captured = false;

                UpdateTargetState(c);
            }
		}