private void UpdateDistances() {
if (parent != null) {
if (bounds.Width >= 0)
dist_right = parent.ClientSize.Width - bounds.X - bounds.Width;
if (bounds.Height >= 0)
dist_bottom = parent.ClientSize.Height - bounds.Y - bounds.Height;
recalculate_distances = false;
}
}
#endregion // Private & Internal Methods