2 writes to _targetResizeRules
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (2)
300_targetResizeRules = SelectionRules.None; 303_targetResizeRules = sgb.SelectionRules;
13 references to _targetResizeRules
System.Windows.Forms.Design (13)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (13)
307if (_targetResizeRules == SelectionRules.None) 556if ((((_targetResizeRules & SelectionRules.BottomSizeable) != 0) || ((_targetResizeRules & SelectionRules.TopSizeable) != 0)) && 561else if ((((_targetResizeRules & SelectionRules.RightSizeable) != 0) || ((_targetResizeRules & SelectionRules.LeftSizeable) != 0)) && 598_lastSnapOffset = _dragManager.OnMouseMove(targetControl, GenerateSnapLines(_targetResizeRules, mouseLoc), ref _didSnap, shouldSnapHorizontally); 666if (((_targetResizeRules & SelectionRules.BottomSizeable) != 0) && 683if (((_targetResizeRules & SelectionRules.TopSizeable) != 0) && 708if (((((_targetResizeRules & SelectionRules.RightSizeable) != 0) && ((resizeRules & SelectionRules.RightSizeable) != 0)) && (!fRTL)) || 709((((_targetResizeRules & SelectionRules.LeftSizeable) != 0) && ((resizeRules & SelectionRules.LeftSizeable) != 0)) && (fRTL))) 721if (((((_targetResizeRules & SelectionRules.RightSizeable) != 0) && ((resizeRules & SelectionRules.RightSizeable) != 0)) && (fRTL)) || 722((((_targetResizeRules & SelectionRules.LeftSizeable) != 0) && ((resizeRules & SelectionRules.LeftSizeable) != 0)) && (!fRTL))) 745bounds = AdjustToGrid(bounds, _targetResizeRules);