void Fade(float delta) { if (image == null || !StaticContent) { CaptureLayer(); } BringToFront(); FadeColor = FadeToParent ? Parent.BackColor : BackColor; Layer.BringToFront(); Layer.Size = ClientSize; timer.Start(); }