| 发表于:2007-03-07 14:05:151楼 得分:0 |
/// <summary> /// 应用程序的主入口点。 /// </summary> [stathread] static void main() { application.run(new form1()); } 是上面这个语句起的作用是吧?如果改为“application.run(new form2());”,就会启动窗体form2,启动调试先运行的是main()程序,是这样理解的吗? 那[stathread]又是起什么作用的? | | |
|