GraphicsDeviceManager graphics; SpriteBatch spriteBatch; Texture2D logo;
spriteBatch = new SpriteBatch(GraphicsDevice); logo = Content.Load<Texture2D>("xna_logo"); microsoft xna framework 3.1
protected override void Draw(GameTime gameTime) spriteBatch = new SpriteBatch(GraphicsDevice)
protected override void LoadContent()
GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Begin(); spriteBatch.Draw(logo, new Vector2(100, 100), Color.White); spriteBatch.End(); base.Draw(gameTime); logo = Content.Load<