资 源 简 介
Various
This project includes various samples to demonstrate and test the possibilities of XNA. I have also included some empty WinForm projects which I use as the basis for quickly starting other test examples.
Download the latest versions from the Source section.
Contents:
1. Showing a WinForm menu in an XNA game class
1. Setting up Split Screens
1. Extended Collision Testing Sample
1. Showing a WinForm menu in an XNA game class
Sample XNA 4 application to show how to add a WinForm menu to an XNA Game class.
Adding the form to the game is not the recommended way to do it. The recommended way is to include the Game class as a control within a WinForm application. See the following Microsoft sample:
http://xbox.create.msdn.com/en-US/education/catalog/sample/winformsseries1
Although the functionality is restricted by adding the form in to the game, sometimes it may be handy to do it that way ro