B
babylon
Suppose I have a Form "MyForm", it has a function called void CallMeBack();
I show the Form using "Form.ShowDialog()"
when the form shows, it register the CallMeBack function to a timer event
which expires in 10 mins
then I Close/Dispose the Form before the timer expires...
when the timer expires, will it be able to call the "CallMeBack"?
since MyForm no longer exist....
========
what if MyForm.CallMeBack() is located inside a DLL and it is loaded
dynamically, display MyForm, register CallMeBack(), Close/Dispose MyForm,
Unload the DLL, timer expires....?
thank you
Regards,
Baron
I show the Form using "Form.ShowDialog()"
when the form shows, it register the CallMeBack function to a timer event
which expires in 10 mins
then I Close/Dispose the Form before the timer expires...
when the timer expires, will it be able to call the "CallMeBack"?
since MyForm no longer exist....
========
what if MyForm.CallMeBack() is located inside a DLL and it is loaded
dynamically, display MyForm, register CallMeBack(), Close/Dispose MyForm,
Unload the DLL, timer expires....?
thank you
Regards,
Baron