Here are the examples of the csharp api class ComponentFactory.Krypton.Ribbon.LeftUpButtonController.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
0
1. Example
Project: Krypton
Source File: LeftUpButtonController.cs
Source File: LeftUpButtonController.cs
public virtual void MouseEnter(Control c) { // Mouse is over the target _mouseOver = true; // Get the form we are inside KryptonForm ownerForm = _ribbon.FindKryptonForm(); _active = ((ownerForm != null) && ownerForm.WindowActive) || VisualPopupManager.Singleton.IsTracking || _ribbon.InDesignMode || (CommonHelper.ActiveFloatingWindow != null); // Update the visual state UpdateTargetState(c); }
0
2. Example
Project: Krypton
Source File: LeftUpButtonController.cs
Source File: LeftUpButtonController.cs
public virtual void MouseLeave(Control c, ViewBase next) { // Only if mouse is leaving all the children monitored by controller. if (!_target.ContainsRecurse(next)) { // Mouse is no longer over the target _mouseOver = false; // If leaving the view then cannot be capturing mouse input anymore _captured = false; // Update the visual state UpdateTargetState(c); } }