0

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?

4

1 回答 1

0

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

于 2013-10-10T18:27:34.997 回答