C# 窗体的位置
this.Location.X = CHelper.left;
this.Location.Y = CHelper.top;
为什么这两句代码会报错,‘无法修改“System.Windows.Forms.Form.Location”的返回值,因为它不是变量’
[解决办法]
- C# code
this.Location = new Point(10, 10);
发布时间: 2012-04-10 21:03:56 作者: rapoo
C# 窗体的位置
this.Location.X = CHelper.left;
this.Location.Y = CHelper.top;
为什么这两句代码会报错,‘无法修改“System.Windows.Forms.Form.Location”的返回值,因为它不是变量’
[解决办法]
this.Location = new Point(10, 10);