Exemple #1
0
 protected virtual void OnKeyPress(Alt.GUI.KeyPressEventArgs e)
 {
     if (Child != null)
     {
         Child.InjectKeyPress(e);
     }
 }
Exemple #2
0
        void RaiseKeyPress(Alt.GUI.KeyPressEventArgs e)
        {
            OnKeyPress(e);

            if (KeyPress != null)
            {
                KeyPress(this, e);
            }

            m_onKeyPress.Invoke(e);
        }