SharedGraphicsDeviceManager graphics = SharedGraphicsDeviceManager.Current;
spriteBatch = new SpriteBatch(graphics.GraphicsDevice);
Leave a comment: