private void createLine() { origin = new Point(source.Bounds.Right, ( source.Bounds.Top + source.Bounds.Height / 2 )); destination = new Point(target.Bounds.Left, ( target.Bounds.Top + target.Height / 2 )); }