System.Windows.Forms.Control.UpdateDistances C# (CSharp) Method

UpdateDistances() private method

private UpdateDistances ( ) : void
return void
		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
Control