protected override void LoadContent() { spriteBatch = ui.Batch; testFont = Content.Load <SpriteFont>("testFont"); testString = ""; testCursor = 0; input = ui.Input; Component c = new Component(); c.BackgroundColor = Color.Black; c.Bounds = new Rectangle(0, 0, 32, 32); ui.Add(c); }