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