简体   繁体   中英

windows phone 7 equivalent of a new form

In a windows application, you can create a new form and you can call that form by instantiating it inside the current form.

in windows phone app using XNA how can I do this? I want to create a menu page. then when a button from the menu page is clicked . it goes to another form .

I would recommend you that you should use an SLXNA project for your game and then you can handle the navigation between pages easily and you can use SL components and controls too.

SLXNA sample and tutorial

If you are looking to solve this only by XNA then i suggest you to look at the MSDN samples. They have MenuScreen integration and i think you are looking for this.

MSDN Code Samples and Tutorials

Catapult Wars Tutorial Game

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM