new
using System.Windows.Forms;//添加表单类 Form myForm = new Form(); myForm.Text = "kafens"; myForm.ShowDialog();
跟着视频把所有的代码敲一遍