vb.net - how to close vb application when shutdown event occurs -


i have created application starts when windows starts (on startup) want unload form or close vb application securely without losing data

the formclosing event should place handle expected or unexpected closing of forms.

this event receives formclosingeventargs contains reason shutdown of form.

there more generic application.applicationexit lacks details given formclosingeventarg parameter passed formclosing event.

how handle data need saved discriminant factor in choosing between 2 methods.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -