protected override void RenderScreen(RenderContext context) { context.Dispatcher.Invoke(() => { Paint.FillRect(10, 10, 80, 40, Color.Green); Paint.FillRect(10, 60, 80, 40, Color.Yellow); Paint.FillRect(10, 120, 80, 40, Color.Red); Paint.FillRect(10, 180, 80, 40, Color.Blue); }); }