I got it!!!

The two lines...

Form1.WindowState = FormWindowState.Minimized
Form1.WindowState = FormWindowState.Normal

has to have fForm1 instead of just Form1

Thanks
Frank