RedrawCustomChrome() public method

Causes the custom chrome to be repainted.
public RedrawCustomChrome ( bool layout ) : void
layout bool Is a layout required.
return void
コード例 #1
0
        private void OnRedrawTick(object sender, EventArgs e)
        {
            _invalidateTimer.Stop();

            if ((_captionArea?.KryptonForm != null) && _captionArea.UsingCustomChrome)
            {
                if (_captionArea.KryptonForm.PaintCount == _paintCount)
                {
                    _captionArea.RedrawCustomChrome(true);
                }
            }
        }