There are 10 controls, there is one errorprovider
. If there is no text in the control, a message appears
errorProvider1.SetError(extensionNumBox, "Поле «Добавочный номер» обязательно для заполнения");
Everything is fine, but the error icon remains, but I would like it to blink for about 5 seconds, then the alert disappeared. If i do like this
errorProvider1.SetError(extensionNumBox, "");
So I do not have time to display the error itself.
await Task.Delay()
. They pressed the button, filled theErrorProvider
, started the timer / waited, cleared theErrorProvider
for all controls. - andreycha