public CorWpfPlatform(WindowsFormsHost winformsHost)
        {
            var program = new WpfProgram();
            var api = new Xna4Api();

            api.InitialiseDependencies(program);
            program.InitialiseDependencies(api);

            Api = api;
            Program = program;

            winformsHost.Child = program.glControl;
        }
 internal void InitialiseDependencies(Xna4Api api)
 {
     Api = api;
 }