2 writes to _centerTextBox
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
848_centerTextBox = new ToolStripControlHost(tb) 926_centerTextBox = null;
24 references to _centerTextBox
System.Windows.Forms.Design (24)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (24)
308get => (_centerTextBox is not null) ? (TextBox)_centerTextBox.Control : null; 723string text = ((TextBox)(_centerTextBox.Control)).Text; 795string text = (_centerTextBox is not null) ? ((TextBox)(_centerTextBox.Control)).Text : string.Empty; 857_centerTextBox.Margin = new Padding(1, 2, 1, 3); 861_centerTextBox.Margin = new Padding(1); 864_centerTextBox.Size = _miniToolStrip.DisplayRectangle.Size - _centerTextBox.Margin.Size; 865_centerTextBox.Name = "centerTextBox"; 866_centerTextBox.MouseEnter += CenterTextBoxMouseEnter; 867_centerTextBox.MouseLeave += CenterTextBoxMouseLeave; 872_miniToolStrip.Items.Insert(index, _centerTextBox); 904if (_centerTextBox is not null && _inSituMode) 911int index = _miniToolStrip.Items.IndexOf(_centerTextBox); 918_miniToolStrip.Items.Remove(_centerTextBox); 919((TextBox)(_centerTextBox.Control)).KeyUp -= OnKeyUp; 920((TextBox)(_centerTextBox.Control)).KeyDown -= OnKeyDown; 923_centerTextBox.MouseEnter -= CenterTextBoxMouseEnter; 924_centerTextBox.MouseLeave -= CenterTextBoxMouseLeave; 925_centerTextBox.Dispose(); 1089Debug.Assert(_centerTextBox.Control is not null, "The TextBox is null"); 1090if (_centerTextBox.Control is not null) 1092string text = ((TextBox)(_centerTextBox.Control)).Text;