XNA and WinForms
问题 I was wondering If there was a way to have an xna game within a windows forms or in vice versa. I have found several examples online, but I couldn't understand what they were doing. I was also wondering if there was a way to make a sprite act like a button on a winforms...is it possible to click on a sprite? 回答1: Yes, on all. Sprite act like a button on winforms: use the onclick event Xna Game within Windows Forms: You would need to add a reference to the Xna.framework.something ... sorry