/// <summary> /// Calls an ATF class event handler to handle KeyUp event in Windows class</summary> /// <param name="e">Event arguments</param> protected override void OnKeyUp(WfKeyEventArgs e) { OnKeyUp(KeyEventArgsInterop.ToAtf(e)); }
/// <summary> /// Calls a Window class event handler to handle KeyUp event in ATF class</summary> /// <param name="e">Event arguments</param> protected virtual void OnKeyUp(AtfKeyEventArgs e) { base.OnKeyUp(KeyEventArgsInterop.ToWf(e)); }
/// <summary> /// Converts a WfKeyEventArgs to AtfKeys value</summary> /// <param name="ke">WfKeyEventArgs</param> /// <returns>AtfKeys enum</returns> public static AtfKeys KeyArgToKeys(WfKeyEventArgs ke) { return(Input.KeysUtil.KeyArgToKeys(KeyEventArgsInterop.ToAtf(ke))); }