/// <summary> /// Renders the control using specified skin. /// </summary> /// <param name="skin">Skin to use.</param> protected override void Render(Skin.SkinBase skin) { float fade = 1; // if (_showdelay > 0) // { // fade = (float)_timer.ElapsedMilliseconds / (float)_showdelay; // if (fade > 1) // { // _timer.Stop(); // fade = 1; // } // } if (ShouldDrawBackground) { skin.DrawNotification(this, fade); } //InvalidateParent(); }