AlphaTab.Platform.CSharp.WinForms.AlphaTabControl.AddPartialResult C# (CSharp) Method

AddPartialResult() private method

private AddPartialResult ( RenderFinishedEventArgs result ) : void
result AlphaTab.Rendering.RenderFinishedEventArgs
return void
        private void AddPartialResult(RenderFinishedEventArgs result)
        {
            lock (this)
            {
                Width = (int)result.TotalWidth;
                Height = (int)result.TotalHeight;
                if (result.RenderResult != null)
                {
                    _images.Add((Image)result.RenderResult);
                    Invalidate();
                }
            }
        }