2 writes to _centerLabel
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
707
_centerLabel
= null;
1366
_centerLabel
= new ToolStripLabel
25 references to _centerLabel
System.Windows.Forms.Design (25)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (25)
700
if (
_centerLabel
is not null)
702
_centerLabel
.MouseUp -= CenterLabelClick;
703
_centerLabel
.MouseEnter -= CenterLabelMouseEnter;
704
_centerLabel
.MouseMove -= CenterLabelMouseMove;
705
_centerLabel
.MouseLeave -= CenterLabelMouseLeave;
706
_centerLabel
.Dispose();
878
Text =
_centerLabel
.Text,
901
int index = _miniToolStrip.Items.IndexOf(
_centerLabel
);
906
_miniToolStrip.Items.Remove(
_centerLabel
);
948
_centerLabel
.Text = SR.ToolStripDesignerTemplateNodeEnterText;
950
_miniToolStrip.Items.Insert(index,
_centerLabel
);
981
_centerLabel
.Text = currentItem.Text;
1379
_centerLabel
.Margin = new Padding(1, 2, 1, 3);
1382
_centerLabel
.Padding = new Padding(0, 1, 0, 0);
1383
_centerLabel
.Name = CenterLabelName;
1384
_centerLabel
.Size = _miniToolStrip.DisplayRectangle.Size -
_centerLabel
.Margin.Size;
1385
_centerLabel
.ToolTipText = SR.ToolStripDesignerTemplateNodeLabelToolTip;
1386
_centerLabel
.MouseUp += CenterLabelClick;
1387
_centerLabel
.MouseEnter += CenterLabelMouseEnter;
1388
_centerLabel
.MouseMove += CenterLabelMouseMove;
1389
_centerLabel
.MouseLeave += CenterLabelMouseLeave;
1391
_miniToolStrip.Items.AddRange((ToolStripItem[])[
_centerLabel
]);
1522
_miniToolStrip.Width =
_centerLabel
.Width + 2;
1526
_centerLabel
.Text = text;