2

My Windows Form application has two forms. Form1 and Form2. How to close entire application after the Form2 is closed?

When I close Form2 it only closes that form.

4

1 回答 1

2

Try to call Application::Exit();

See the reference.

于 2013-03-29T22:35:31.940 回答