📜  winforms 如何检查输入键 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:01.030000             🧑  作者: Mango

代码示例1
//add the handler to the textbox
this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(CheckEnterKeyPress);