返回首页

一个问题:在错误提供商|

private void tbxWidthBackIamge_Validated(object sender, EventArgs e)

{

    this.errBackWidth.SetError(tbxWidthBackIamge, "Enter the Width");

    if (tbxBackImage.Text != "")

        this.errBackHeight.Dispose();

}

我使用ErrorProvider来验证一个文本框。它出现时发生错误。但它并没有消失后,纠正错误。在这段代码中的任何错误吗?

回答

评论会员: 时间:2
S