2 writes to _centerTextBox
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
845_centerTextBox = new ToolStripControlHost(tb) 923_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; 720string text = ((TextBox)(_centerTextBox.Control)).Text; 792string text = (_centerTextBox is not null) ? ((TextBox)(_centerTextBox.Control)).Text : string.Empty; 854_centerTextBox.Margin = new Padding(1, 2, 1, 3); 858_centerTextBox.Margin = new Padding(1); 861_centerTextBox.Size = _miniToolStrip.DisplayRectangle.Size - _centerTextBox.Margin.Size; 862_centerTextBox.Name = "centerTextBox"; 863_centerTextBox.MouseEnter += CenterTextBoxMouseEnter; 864_centerTextBox.MouseLeave += CenterTextBoxMouseLeave; 869_miniToolStrip.Items.Insert(index, _centerTextBox); 901if (_centerTextBox is not null && _inSituMode) 908int index = _miniToolStrip.Items.IndexOf(_centerTextBox); 915_miniToolStrip.Items.Remove(_centerTextBox); 916((TextBox)(_centerTextBox.Control)).KeyUp -= OnKeyUp; 917((TextBox)(_centerTextBox.Control)).KeyDown -= OnKeyDown; 920_centerTextBox.MouseEnter -= CenterTextBoxMouseEnter; 921_centerTextBox.MouseLeave -= CenterTextBoxMouseLeave; 922_centerTextBox.Dispose(); 1086Debug.Assert(_centerTextBox.Control is not null, "The TextBox is null"); 1087if (_centerTextBox.Control is not null) 1089string text = ((TextBox)(_centerTextBox.Control)).Text;