Recreating a .designer file in Microsoft Visual Studio 2008

If, like me, you sometimes end up with a corrupted designer file in Visual Studio, the best way to recreate it is as follows:

And that’s it, the file should be recreated.