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?
您可以调用 Application.Shutdown()(这是 C#),此调用存在限制,因此请查看下面的 MSDN 链接了解这些限制。 http://msdn.microsoft.com/en-us/library/system.windows.application.aspx