While it is recommended to use the modern WPF technology to create PowerShell user interfaces, you might still want to occasionally use the older WinForms technique, especially if you need to target machines without .NET framework 3.51 or better. WinForms user interfaces require a lot of code, and it’s not particular intuitive.
So here is a URL to a free graphical PowerShell online editor that creates the code for you on the fly: http://www.poshgui.com/