public Game1() : base() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.PreparingDeviceSettings += graphics_PreparingDeviceSettings; graphics.DeviceCreated += graphics_DeviceCreated; }