4 references to UpperSize
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
27456if ((specified & BoundsSpecified.Width) == BoundsSpecified.Width && width > UpperSize) 27458throw new ArgumentOutOfRangeException(nameof(width), width, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture))); 27461if ((specified & BoundsSpecified.Height) == BoundsSpecified.Height && height > UpperSize) 27463throw new ArgumentOutOfRangeException(nameof(height), height, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture)));