Location 是一个Point 类型你可以先顶一个Point 类型,在将他赋给Location Point a = new Point(); a.X = 200; a.Y = 200; this.label1.Location = a;
label1.Location = new System.Drawing.Point(a, b);