1 write to _primaryControl
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
321
_primaryControl
= selSvc.PrimarySelection as Control;
11 references to _primaryControl
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (11)
165
if (
_primaryControl
is not null)
167
lines.Add(new SnapLine(SnapLineType.Horizontal, loc.Y +
_primaryControl
.Margin.Bottom, SnapLine.MarginBottom, SnapLinePriority.Always));
173
if (
_primaryControl
is not null)
175
lines.Add(new SnapLine(SnapLineType.Horizontal, loc.Y -
_primaryControl
.Margin.Top, SnapLine.MarginTop, SnapLinePriority.Always));
182
if (
_primaryControl
is not null)
184
lines.Add(new SnapLine(SnapLineType.Vertical, loc.X +
_primaryControl
.Margin.Right, SnapLine.MarginRight, SnapLinePriority.Always));
190
if (
_primaryControl
is not null)
192
lines.Add(new SnapLine(SnapLineType.Vertical, loc.X -
_primaryControl
.Margin.Left, SnapLine.MarginLeft, SnapLinePriority.Always));
824
if (control ==
_primaryControl
&& _statusCommandUI is not null)
950
if (_resizeComponents[i].resizeControl ==
_primaryControl
&& _statusCommandUI is not null)
952
_statusCommandUI.SetStatusInformation(
_primaryControl
);