thanks for the reply!

couldnt find a ref to frmGrid or form2 anywhere. Interestingly enough there was a frmGrid tab open in the IDE even though the file was removed. I clicked that tab (which contained some sort of error message) and closed it. After exiting the project and restarting it the warning went away.