你这是在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);
}}
解决方案 »
- 怎么用结构数组!
- C#页面怎么自动生成页码
- 判断一串数字中是否含有连续的5个数,0可以代替任何数。如1,3,4,5,0,7,1,5返回true,因为3,4,5,0,7是连续的 ,0,0,0,0,0返回true
- form中如何调用外部程序,试了几种方法,都没作用
- 不在ItemDataBound事件中怎么得到DataGrid的Footer
- 创建Merge Module
- 大家谁告诉我 WebRequest.Timeout 的默认值是多少?
- 焦点冲突问题,高手们帮忙啊,多谢!!!
- 如何使用循环语句
- 有熟悉C#与Sharepoint Portal Server 2003进行二次开发的吗?来讨论一下,来者有分
- 如何处理特殊字符?
- 如何将C#编写的windows应用程序运行再非.net平台上?
myform.StartPositon=FormStrtPositon.Manual; //Start 少了a
.StartPosition