You can press Shift+ F7(or only F7depending on the type of project) to open it.
In view mode, you can return to the code behind by pressing F7.
Edit
Take a close look designer.csand try to find any event that you created that is present in designer.cs, not in the code. If so, just remove this line from desginer.cswhich declares the event.
source
share