c#窗体应用程序中,敲回车以后才引发textChanged事件
效果是:不要textBox稍微改变就触发textChanged事件
[解决办法]
在keypress里判断回车键
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == 13)
{
xxxx
}
else
{
xx
}
}