public updateLocation ( Point p, Size size ) : void | ||
p | Point | |
size | Size | |
return | void |
public void updateLocation(Point p, Size size)
{
this.Location = new Point((p.X + size.Width/2 - this.Width/2) , p.Y + size.Height - this.Height - 40);
}