You edit code and class modules, and forms in the common development environment. Code and class modules are edited in a Code window, while forms are edited in the Windows Form Designer.
You can open as many windows as you have items, allowing you to view the code in different forms or modules, and copy and paste between them.
To edit an item in your project
If you want to edit the code of a form or control on a form, while in the Windows Form Designer, double-click the form or control to display the Code window for the form.