1、添加完成后就可以直接在 Main方法直接写代码
static void Main(string[] args){
}
2、也可以using System.Windows.Forms;引入这个指向项目其他页面
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Test());
}