Moving Forms into or between folders

Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version: 

I recently tried moving an existing form in Visual Studio (2022) into a folder and discovered that it tends to break things - file paths I suspect. Is there an easy way around this should I decide I’d like to reorganise my project?