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/12/23 02:18:32
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();
}