njsokalski
Well-known member
- Joined
- Mar 16, 2011
- Messages
- 102
- Programming Experience
- 5-10
I have an app for a simple game, and I want to have a New Game button that will basically restart the app, just as if the user were to close it and then open a new instance (in other words, there are no scores or settings or anything, just the user saying I want to play again). As I mentioned, this can obviously be achieved by having the user close and then re-open the app, but I want to have a button to do this (much more convenient for the user). My app is only one page (MainPage.xaml/MainPage.xaml.vb), so I was thinking about possibly having the button call the page's New() method. Will this give the same result as opening a new instance would? Thanks.