Move designer generated code to a separate file.