sudhanshu22
Member
- Joined
- Nov 8, 2006
- Messages
- 20
- Programming Experience
- Beginner
Hi all,
In a Vb.net form, we have cancel icon on right side top of the form. When we press it, we can close the form. when we click this icon, does the form get disposed ( meaning its memory is ready to be freed by garbage collector).
Or it still remains in memory and we have to specifically write like Me.dispose()
if we want to free its memory.
Another thing, if we want to associate cancel event with some works, how do we do it ? Specifically, there is a form1_closing event. Does this event do that task ?
In a Vb.net form, we have cancel icon on right side top of the form. When we press it, we can close the form. when we click this icon, does the form get disposed ( meaning its memory is ready to be freed by garbage collector).
Or it still remains in memory and we have to specifically write like Me.dispose()
if we want to free its memory.
Another thing, if we want to associate cancel event with some works, how do we do it ? Specifically, there is a form1_closing event. Does this event do that task ?