4 references to upperSize
System.Windows.Forms (4)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
27472
if ((specified & BoundsSpecified.Width) == BoundsSpecified.Width && width >
upperSize
) {
27473
throw new ArgumentOutOfRangeException("width", width, SR.GetString(SR.DataGridView_SizeTooLarge, (
upperSize
).ToString(CultureInfo.CurrentCulture)));
27475
if ((specified & BoundsSpecified.Height) == BoundsSpecified.Height && height >
upperSize
) {
27476
throw new ArgumentOutOfRangeException("height", height, SR.GetString(SR.DataGridView_SizeTooLarge, (
upperSize
).ToString(CultureInfo.CurrentCulture)));