private void center()
{
if (Owner == null)
return;
Point center = new Point();
center.X = Owner.Location.X + (Owner.Width / 2);
center.Y = Owner.Location.Y + (Owner.Height / 2);
Point newLocation = new Point();
newLocation.X = center.X - (Width / 2);
newLocation.Y = center.Y - (Height / 2);
Location = newLocation;
}