public override void Update(Eto.Drawing.Rectangle rect) { if (graphics == null) { return; } graphicsHandler.PerformDrawing(null, () => { Widget.OnPaint(new PaintEventArgs(graphics, rect)); }); }