Пример #1
0
 private void Timer_Tick(object sender, EventArgs e)
 {
     ValidationHelper.BlinkForm(txtEmail, _timerCounter);
     ValidationHelper.BlinkForm(txtPassword, _timerCounter);
     _timerCounter = _timerCounter <= 4 ? _timerCounter + 1 : 0;
     if (_timerCounter == 0)
     {
         _timer.Stop();
     }
 }