public void LoadContent(ContentManager content) { pixel = content.Load <Texture2D>(@"gfx/pixel"); Sidebar sidebar = new Sidebar(); sidebar.Load(content); Add(sidebar); }