Register an Event
If an event is not registered, you can register it by the following ways.
The first way, you can register it in textBox1's Properties, just as shown below.
The second way, you can register it in "Form1_Load", just like the code as follows.
private void Form1_Load(object sender, EventArgs e)
{
textBox1.KeyPress += textBox1_KeyPress;
}
把圈子变小,把语言变干净,把成绩往上提,把故事往心里收,现在想要的以后你都会有。