主题:System”中不存在“Windows”在类????
这是从微软MSDN中拷贝过来的,为什么放进我Microsoft Visual Studio .NET 2003中就会出现[color=FF00FF]D:\wwwroot\Hello\Test\LTG01.aspx.cs(55): 类型或命名空间名称“Windows”在类或命名空间“System”中不存在(是否缺少程序集引用?)[/color]
这等错误提示,求教。
代码:创建特定形状的窗体 (Visual C#)
protected override void OnPaint( System.Windows.Forms.PaintEventArgs e )
{
System.Drawing.Drawing2D.GraphicsPath shape = new System.Drawing.Drawing2D.GraphicsPath();
shape.AddEllipse(0, 0, this.Width, this.Height);
this.Region = new System.Drawing.Region(shape);
}
这等错误提示,求教。
代码:创建特定形状的窗体 (Visual C#)
protected override void OnPaint( System.Windows.Forms.PaintEventArgs e )
{
System.Drawing.Drawing2D.GraphicsPath shape = new System.Drawing.Drawing2D.GraphicsPath();
shape.AddEllipse(0, 0, this.Width, this.Height);
this.Region = new System.Drawing.Region(shape);
}