private void OnRedrawTick(object sender, EventArgs e) { _invalidateTimer.Stop(); if ((_captionArea?.KryptonForm != null) && _captionArea.UsingCustomChrome) { if (_captionArea.KryptonForm.PaintCount == _paintCount) { _captionArea.RedrawCustomChrome(true); } } }