TxtEdit ValueChanged事件

To accomplish this task, I suggest you handle the TextEdit.Leave event to obtain TextEdit's value. To determine whether or not the TextEdit's value was modified, use the TextEdit.IsModified property:

[C#]Open in popup window
private void textEdit1_Leave(object sender, EventArgs e)
{
    if (textEdit1.IsModified)
        memoEdit1.Text += textEdit1.EditValue.ToString();
}

Please let us know whether or not this solution meets your requirements. If it does not, feel free to reactivate this ticket.

Thank you,
Pavel.

原文地址:https://www.cnblogs.com/perock/p/3531871.html