Exemplo n.º 1
0
 /// <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));
 }
Exemplo n.º 2
0
 /// <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));
 }
Exemplo n.º 3
0
 /// <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)));
 }