Dispose is clear the application memory & Components from your computer

So dispose is better then Application. Exit
2009/1/3 iDesmet <[email protected]>

>
> I replaced Application.Exit() with Dispose() and it worked!
>
> I'm wondering why I needed to use Dispose() instead of Application.Exit
> () ?...
>
> Is it because in frmMainMDI_Closing I ask if the user is really sure
> that he/she want's to exit or because in frmMainMDI_FormClosed I call
> Application.Exit()?




-- 
Regards
*******************
*C.Arun Kumar *
*******************

Reply via email to