Where do i fine that ?

Shutdown Mode is set to "When last form closes"