日期:2014-05-18 浏览次数:21086 次
private void textBox2_TextChanged(object sender, EventArgs e)
{
textBox3.Text = textBox2.Text;
}
private void textBox3_TextChanged(object sender, EventArgs e)
{
textBox2.Text = textBox3.Text;
}
------解决方案--------------------
可以用TextChanged
private void textBox2_TextChanged(object sender, EventArgs e)
{
textBox3.Text = textBox2.Text;
}
private void textBox3_TextChanged(object sender, EventArgs e)
{
textBox2.Text = textBox3.Text;
}
------解决方案--------------------
DataSourceUpdateMode.OnPropertyChanged你只要设置这个属性了,应该不会啊!是不是你绑定的类型不对啊!