public override void Initialize() { currentFormWindowState = Form.WindowState; Width = 1024; Height = 768; FullScreenWidth = Screen.PrimaryScreen.Bounds.Width; FullScreenHeight = Screen.PrimaryScreen.Bounds.Height; NearPlane = 1.0f; FarPlane = 200f; //Ambient = Color.Gray.ToArgb(); Info = new InfoText(Device); Demo.Input.Control = (Form as XnaForm).GraphicsDeviceControl; }