@tlhintoq
It is still the same. I tried both before I posted this. Have you tried At Form2:
create new timer (System.Timer) and performed counting and output with Console.Writeline, then close Form2 (Open Form2 from Form 1 either with Form2.ShowDialog or Show()), the Timer event is still working even Form2 is disposed! (I thought object after disposed should be collected by GC and vanishded since it already out of scope?)
Now if replace System.Timer with Timer (from toolbox) , ha ha, there is a difference! The Console.Writeline stop running (well is Form2 actually disposed???)
What If I have event that will fired and Form2 subscribe from the Form1 Event?
(I tested it, Form 2 with console writeline at the method that subscribed to Form1 is still running even Form2 is Closed or Disposed !!!)
Is this what described as :"Memory Leaked"?
How can make sure Form2 is really disposed and no more working "in the background" ....
PS: VB6 have a method call unloading.
Thanks