public override void Draw(GraphicContext gc) { var m = Image.FromBytes(TestImage.GetImage()); m = m.ResizeImage(gc.Size); gc.DrawImage(new Point(0, 0), m); var y = BootLogo.Draw(gc.GetBuffer(), 10); var p = new Progressbar { Size = new Size(280, 25), Location = new Point(195, y + 100), Maximum = 100 }; p.OnLoad(); p.OnFinish += (e) => { ScreenManager.ChangeScreen(ScreenIds.Login); }; p.Value = 20; p.OnDraw(gc); Utils.Pause(20); p.Value = 99; p.OnDraw(gc); Utils.Pause(20); p.Value = 100; p.OnDraw(gc); }