2 writes to _centerTextBox
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
839_centerTextBox = new ToolStripControlHost(tb) 917_centerTextBox = null;
24 references to _centerTextBox
System.Windows.Forms.Design (24)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (24)
305get => (_centerTextBox is not null) ? (TextBox)_centerTextBox.Control : null; 714string text = ((TextBox)(_centerTextBox.Control)).Text; 786string text = (_centerTextBox is not null) ? ((TextBox)(_centerTextBox.Control)).Text : string.Empty; 848_centerTextBox.Margin = new Padding(1, 2, 1, 3); 852_centerTextBox.Margin = new Padding(1); 855_centerTextBox.Size = _miniToolStrip.DisplayRectangle.Size - _centerTextBox.Margin.Size; 856_centerTextBox.Name = "centerTextBox"; 857_centerTextBox.MouseEnter += CenterTextBoxMouseEnter; 858_centerTextBox.MouseLeave += CenterTextBoxMouseLeave; 863_miniToolStrip.Items.Insert(index, _centerTextBox); 895if (_centerTextBox is not null && _inSituMode) 902int index = _miniToolStrip.Items.IndexOf(_centerTextBox); 909_miniToolStrip.Items.Remove(_centerTextBox); 910((TextBox)(_centerTextBox.Control)).KeyUp -= OnKeyUp; 911((TextBox)(_centerTextBox.Control)).KeyDown -= OnKeyDown; 914_centerTextBox.MouseEnter -= CenterTextBoxMouseEnter; 915_centerTextBox.MouseLeave -= CenterTextBoxMouseLeave; 916_centerTextBox.Dispose(); 1080Debug.Assert(_centerTextBox.Control is not null, "The TextBox is null"); 1081if (_centerTextBox.Control is not null) 1083string text = ((TextBox)(_centerTextBox.Control)).Text;