Dim NewS As New Form Dim NewT as new Timer NewT.Interval = 5000 NewT.enabled = True NewS.Controls.Add(NewT) NewS.show
|
On each winform, I have a Timer.
I have used AddHandler to get Timer.Tick when the interval
expires...after which I need to close the calling Form (the form on
which the timer resides).
I have been able to access the Timer when it expires..however I need to get a Handle to the form which contains this Timer.
thanks.