你的引用不全
添加对System.Windows.Forms.dll,System.dll的引用using System.Windows.Forms;
using System;
using System.ComponentModel;
using System.Drawing;public class frmHelloApp : Form
{
public static void Main( string[] args )
{
frmHelloApp frmHello = new frmHelloApp();
Application.Run(frmHello);
}
}
添加对System.Windows.Forms.dll,System.dll的引用using System.Windows.Forms;
using System;
using System.ComponentModel;
using System.Drawing;public class frmHelloApp : Form
{
public static void Main( string[] args )
{
frmHelloApp frmHello = new frmHelloApp();
Application.Run(frmHello);
}
}
解决方案 »
- 求好用的dataTable或者DataReader转List<T>程序
- 输入一个数,怎么输出1到这个数之间所有的素数???
- 【大家帮忙、菜鸟所有的分】控制datalist中的控件可见性的问题!!!
- 不用编辑器,回复你的答案~~
- 有没有简单的MSDN 帮忙,或类似 JDK 的 .net 类库帮助文件,谢谢!
- 入门问题:vs2005IDE环境怎么运行出结果?
- 如何用C#实现堆栈?
- 怎么判断一个string中包含另一个string
- OleDBParameter中的DbType和OleDbType两个成员方法各自有什么作用?两者的区别在哪里?
- 在vs.net中如何使用ole???
- datagrid的分页问题,100分在线等
- 提取一个已知文件夹下所有以"J55"打头的文件名?
using System;
using System.ComponentModel;
using System.Drawing;public class frmHelloApp : Form
{
public static void Main( string[] args )
{
frmHelloApp frmHello = new frmHelloApp();
Application.Run(frmHello);
}
}
“添加对System.Windows.Forms.dll,System.dll的引用”
这一步做了没????