I am a new of VB WPF
Now I have a NavigetionWindow and set a page to be source,
in the page I place a button and I would like to close the whole application by pressing it,
how can I do it?
I am a new of VB WPF
Now I have a NavigetionWindow and set a page to be source,
in the page I place a button and I would like to close the whole application by pressing it,
how can I do it?
You can call Application.Shutdown() (this is C#), there are restrictions to this call so look at the MSDN link below for those restrictions. http://msdn.microsoft.com/en-us/library/system.windows.application.aspx