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