I am attempting to execute some code when a second form is closed, and have been at this for some time with no luck as of yet except to know this is my obsticle after some testing.
I had thought it may be in the reference of the second form in the command for calling the event, but found I could not label it to the name of the second form.
I am using the following event to run when the second form, called "options", is closed or is closing...
Private Sub options_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
I know there are two similar events; FormClosing and FormClosed. I am unsure which would be more appropriate to use, but logically I am thinking FormClosing as the variable I wish to pass is still 'alive'?
OR, am I going about this with the wrong method? Does this event handle only the current form?
THANKS!
-Tom