你这是在BETA1下的程序。
如果你用的是BETA2话就用using System.Windows.Forms; using System;
using System.Windows.Forms;
using System.Drawing;
class hellq {
public static void Main()
{
Form myform=new Form();
myform.Text="button1";
//myform.StartPositon=FormStrtPositon.Manual; //BETA2属性错误
myform.Location=new Point(100,100);
myform.Size=new Size(300,300);
//myfrom.BorderStyle=Form.BorderStyle.Fixed3D; //BETA2属性错
Application.Run(myform);
}}
如果你用的是BETA2话就用using System.Windows.Forms; using System;
using System.Windows.Forms;
using System.Drawing;
class hellq {
public static void Main()
{
Form myform=new Form();
myform.Text="button1";
//myform.StartPositon=FormStrtPositon.Manual; //BETA2属性错误
myform.Location=new Point(100,100);
myform.Size=new Size(300,300);
//myfrom.BorderStyle=Form.BorderStyle.Fixed3D; //BETA2属性错
Application.Run(myform);
}}
myform.StartPositon=FormStrtPositon.Manual; //Start 少了a
.StartPosition