XNA - Embed DirectX control in a form?

若如初见. 提交于 2019-12-23 12:35:30

问题


I want to render DirectX (well, XNA) stuff to a system.windows.forms control rather than the whole window (so I can pair it with buttons and stuff).

Is this possible? Which control would I use? How would I do it? I've searched the documentation but I don't know which terms I'm meant to use!


回答1:


Yes, it's possible. There's a sample that does just this.



来源:https://stackoverflow.com/questions/577145/xna-embed-directx-control-in-a-form

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!