using System; using System.Collections.Generic; using System.Windows.Forms; namespace gxz { static using System;using System.Collections.Generic;using System.Windows.Forms;namespace gxz{static class Program{/// /// 应用程序的主入口点./// [ST
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/06 12:04:57
![using System; using System.Collections.Generic; using System.Windows.Forms; namespace gxz { static using System;using System.Collections.Generic;using System.Windows.Forms;namespace gxz{static class Program{/// /// 应用程序的主入口点./// [ST](/uploads/image/z/11061807-15-7.jpg?t=using+System%3B+using+System.Collections.Generic%3B+using+System.Windows.Forms%3B+namespace+gxz+%7B+static+using+System%3Busing+System.Collections.Generic%3Busing+System.Windows.Forms%3Bnamespace+gxz%7Bstatic+class+Program%7B%2F%2F%2F+%2F%2F%2F+%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E7%9A%84%E4%B8%BB%E5%85%A5%E5%8F%A3%E7%82%B9.%2F%2F%2F+%5BST)
using System; using System.Collections.Generic; using System.Windows.Forms; namespace gxz { static using System;using System.Collections.Generic;using System.Windows.Forms;namespace gxz{static class Program{/// /// 应用程序的主入口点./// [ST
using System; using System.Collections.Generic; using System.Windows.Forms; namespace gxz { static
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace gxz
{
static class Program
{
///
/// 应用程序的主入口点.
///
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
最后一句说"Form1"没有采用0个参数的重载.
using System; using System.Collections.Generic; using System.Windows.Forms; namespace gxz { static using System;using System.Collections.Generic;using System.Windows.Forms;namespace gxz{static class Program{/// /// 应用程序的主入口点./// [ST
Form1窗体类没有0参数的公共构造函数.
大概如下:
public Form1()
{
InitializeComponent();
}