I try to create an Application on Windows 8 with VS 11 with C#, And I need to a Button in my App that when people Click on this button , my App going to Close.
But I can’t find any Exit or Close function to add, to my Click Event.
how can I make this button? or what is your proposal to solving this Problem?
If you don’t care about certification – e.g. you want a close button in your own debug build to help you with testing – you can call Application.Current.Exit()