L
lukasz
When I attach an event handler (e.g. button.Click += new
EventHandler(Button_Clicked)) it's not necessary to remove the handler when
my class (or form) gets disposed or destroyed, is it? When my class gets out
of its scope and its time for GC-ing comes, it will be able to be destroyed
despite the "active" event handler?
EventHandler(Button_Clicked)) it's not necessary to remove the handler when
my class (or form) gets disposed or destroyed, is it? When my class gets out
of its scope and its time for GC-ing comes, it will be able to be destroyed
despite the "active" event handler?