Here are the examples of the csharp api class System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: Unity-WinForms
Source File: Control.cs
View license
internal virtual void RaiseOnKeyPress(KeyPressEventArgs e)
            OnKeyPress(e); // TODO: KeyPressEventArgs?

            if (uwfKeyPress != null)
                uwfKeyPress(this, e.uwfKeyArgs);