3 writes to _displayRect
System.Windows.Forms (3)
System\Windows\Forms\Scrolling\ScrollableControl.cs (3)
555_displayRect = ClientRectangle; 560_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, HorizontalScroll.Maximum, _displayRect.Height); 565_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, _displayRect.Width, VerticalScroll.Maximum);
51 references to _displayRect
System.Windows.Forms (51)
System\Windows\Forms\Scrolling\ScrollableControl.cs (51)
195if (!_displayRect.IsEmpty) 197rect.X = _displayRect.X; 198rect.Y = _displayRect.Y; 201rect.Width = _displayRect.Width; 206rect.Height = _displayRect.Height; 553if (_displayRect.IsEmpty) 560_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, HorizontalScroll.Maximum, _displayRect.Height); 565_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, _displayRect.Width, VerticalScroll.Maximum); 568return _displayRect; 617int pos = -_displayRect.Y; 618int maxPos = -(client.Height - _displayRect.Height); 623SetDisplayRectLocation(_displayRect.X, -pos); 633int pos = -_displayRect.X; 634int maxPos = -(client.Width - _displayRect.Width); 639SetDisplayRectLocation(-pos, _displayRect.Y); 672PaintTransparentBackground(e, _displayRect); 680_displayRect, 681_displayRect, 682_displayRect.Location); 754Rectangle displayRectangle = _displayRect; 788_displayRect.X = x; 789_displayRect.Y = y; 855int xCalc = _displayRect.X; 856int yCalc = _displayRect.Y; 873xCalc = _displayRect.X + xMargin - bounds.X; 877xCalc = client.Width - (bounds.X + bounds.Width + xMargin - _displayRect.X); 879if (bounds.X + xCalc - _displayRect.X < xMargin) 881xCalc = _displayRect.X + xMargin - bounds.X; 887yCalc = _displayRect.Y + yMargin - bounds.Y; 891yCalc = client.Height - (bounds.Y + bounds.Height + yMargin - _displayRect.Y); 892if (bounds.Y + yCalc - _displayRect.Y < yMargin) 894yCalc = _displayRect.Y + yMargin - bounds.Y; 999int x = _displayRect.X; 1000int y = _displayRect.Y; 1049if (_displayRect.Width != width || _displayRect.Height != height) 1051_displayRect.Width = width; 1052_displayRect.Height = height; 1068int x = _displayRect.X; 1069int y = _displayRect.Y; 1145Rectangle displayRect = _displayRect; 1268int pos = -_displayRect.Y; 1271int maxPos = -(client.Height - _displayRect.Height); 1340SetDisplayRectLocation(_displayRect.X, -pos); 1362int pos = -_displayRect.X; 1364int maxPos = -(client.Width - _displayRect.Width); 1432SetDisplayRectLocation(-pos, _displayRect.Y);