问题
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