复杂一些的例子
复杂一些的例子
public class Win:System.Windows.Forms.Form
public class Win:System.Windows.Forms.Form
{
{
public Win()
public Win()
{
{
this.Text="Hello World";
this.Text="Hello World";
System.Windows.Forms.TextBox a;
System.Windows.Forms.TextBox a;
a=new System.Windows.Forms.TextBox();
a=new System.Windows.Forms.TextBox();
a.Location=new System.Drawing.Point(30,30);
a.Location=new System.Drawing.Point(30,30);
this.Controls.Add(a);
this.Controls.Add(a);
}
}
static void Main()
static void Main()
{
{
System.Windows.Forms.Application.Run(new Win());
System.Windows.Forms.Application.Run(new Win());
}
}
}
}
评论1
最新资源