可能重复:
How to make the + operator work while adding two Points to each other?System.Drawing.Point操作错误
我的代码
position.Location = (e.Location + pic1.Location) - bild_posi.Location;
错误水木清华这样的:
the operator "+" isnt compatible with "System.Drawing.Point + System.Drawing.Point"
我该如何解决这个问题?
这是因为点的坐标。您必须总结(e.Location.X + pi1.Location.X)等等 – 2012-07-26 14:03:53