2 writes to _outerRect
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (2)
522_outerRect = rcOuterNew; 537_innerRect = _outerRect = rcNew;
61 references to _outerRect
System.Windows.Forms.Design (61)
System\Windows\Forms\Design\SelectionUIService.ContainerSelectionUIItem.cs (8)
34if ((GetRules() & SelectionRules.Visible) != SelectionRules.None && !_outerRect.IsEmpty) 36Rectangle rect = new(_outerRect.X, _outerRect.Y, CONTAINER_WIDTH, CONTAINER_HEIGHT); 59Rectangle glyphBounds = new(_outerRect.X, _outerRect.Y, CONTAINER_WIDTH, CONTAINER_HEIGHT); 70if ((GetRules() & SelectionRules.Visible) != SelectionRules.None && !_outerRect.IsEmpty) 72Rectangle rect = new(_outerRect.X, _outerRect.Y, CONTAINER_WIDTH, CONTAINER_HEIGHT);
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (53)
134Rectangle rect = new(_outerRect.X, _outerRect.Y, GRABHANDLE_WIDTH, GRABHANDLE_HEIGHT); 136Rectangle outer = _outerRect; 247if (pt.X >= _outerRect.X && pt.X <= _innerRect.X) 250if (pt.Y >= _outerRect.Y && pt.Y <= _innerRect.Y) 255if (pt.Y >= _innerRect.Y + _innerRect.Height && pt.Y <= _outerRect.Y + _outerRect.Height) 260if (pt.Y >= _outerRect.Y + (_outerRect.Height - GRABHANDLE_HEIGHT) / 2 261&& pt.Y <= _outerRect.Y + (_outerRect.Height + GRABHANDLE_HEIGHT) / 2) 269if (pt.Y >= _outerRect.Y && pt.Y <= _innerRect.Y) 272Debug.Assert(!(pt.X >= _outerRect.X && pt.X <= _innerRect.X), "Should be handled by left top check"); 273if (pt.X >= _innerRect.X + _innerRect.Width && pt.X <= _outerRect.X + _outerRect.Width) 278if (pt.X >= _outerRect.X + (_outerRect.Width - GRABHANDLE_WIDTH) / 2 279&& pt.X <= _outerRect.X + (_outerRect.Width + GRABHANDLE_WIDTH) / 2) 287if (pt.X >= _innerRect.X + _innerRect.Width && pt.X <= _outerRect.X + _outerRect.Width) 290Debug.Assert(!(pt.Y >= _outerRect.Y && pt.Y <= _innerRect.Y), "Should be handled by top right check"); 291if (pt.Y >= _innerRect.Y + _innerRect.Height && pt.Y <= _outerRect.Y + _outerRect.Height) 296if (pt.Y >= _outerRect.Y + (_outerRect.Height - GRABHANDLE_HEIGHT) / 2 297&& pt.Y <= _outerRect.Y + (_outerRect.Height + GRABHANDLE_HEIGHT) / 2) 305if (pt.Y >= _innerRect.Y + _innerRect.Height && pt.Y <= _outerRect.Y + _outerRect.Height) 308Debug.Assert(!(pt.X >= _outerRect.X && pt.X <= _innerRect.X), "Should be handled by left bottom check"); 310Debug.Assert(!(pt.X >= _innerRect.X + _innerRect.Width && pt.X <= _outerRect.X + _outerRect.Width), "Should be handled by right bottom check"); 312if (pt.X >= _outerRect.X + (_outerRect.Width - GRABHANDLE_WIDTH) / 2 && pt.X <= _outerRect.X + (_outerRect.Width + GRABHANDLE_WIDTH) / 2) 331if ((GetRules() & SelectionRules.Visible) != SelectionRules.None && !_outerRect.IsEmpty) 333_region = new(_outerRect); 373if (!_outerRect.IsEmpty && !_selUIsvc.Disposing) 375_selUIsvc.Invalidate(_outerRect); 385if ((GetRules() & SelectionRules.Visible) == SelectionRules.None || _outerRect.IsEmpty || _innerRect.IsEmpty) 390if (pt.X < _outerRect.X || pt.X > _outerRect.X + _outerRect.Width) 395if (pt.Y < _outerRect.Y || pt.Y > _outerRect.Y + _outerRect.Height) 515if (_outerRect.IsEmpty || !_outerRect.Equals(rcOuterNew)) 517if (!_outerRect.IsEmpty) 536sizeChanged = _outerRect.IsEmpty || !_outerRect.Equals(rcNew);