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