To create a Windows Forms Application run the following command:
dotnet new winforms
An Application is generated with a Form that is implemented through the Form1.cs and Form1.Designer.cs files with the typical initial structures that can be seen, for example, in the commercial versions of Visual Studio (2017 or 2019)
All good, but certain doubts arise:
1 ° What dotnet Command should be used to add a New Windows Form to the current Project?
2 ° Although it is true it is relatively easy to create and associate Event Handlers, using code, is there a simplified way (such as when you double-click on a Control - this of course only in versions like Visual Studio 2017 or 2019-) to implement said Event Controllers and associate them with the Controls that you have to manage your Events?
I'm using Visual Studio Code 1.47 with .NET Core 3.1