I have two forms open; when the second form is open I disable the first one but still need it to be displayed as the code in the second form controls the display of the first one.

Code:
SecondForm.Visible = True
FirstForm.Enabled = False
It all works fine until I click the first forms icon in the task bar, then the second form disappears.

How can I stop this happening

Which event fires when a press the first forms icon in the task bar