You can set which workspace the IDE switches to when opening a form object, executing an application, or debugging an application.

Choose Tools | Options from the main window. In the Options window, select the node for Form Objects, Execution Settings, or Debugger Settings, and set the Workspace property.