1 write to _tableLayoutPanel
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\TableLayoutPanelDesignerTests.cs (1)
21_tableLayoutPanel = new();
28 references to _tableLayoutPanel
System.Windows.Forms.Design.Tests (28)
System\Windows\Forms\Design\TableLayoutPanelDesignerTests.cs (28)
22_designer.Initialize(_tableLayoutPanel); 23_collection = new(_tableLayoutPanel); 29_tableLayoutPanel.Dispose(); 35_tableLayoutPanel.RowCount = 5; 39_tableLayoutPanel.RowCount.Should().Be(3); 48_tableLayoutPanel.ColumnCount = 5; 52_tableLayoutPanel.ColumnCount.Should().Be(3); 59_tableLayoutPanel.ColumnCount.Should().Be(0); 81_tableLayoutPanel.ColumnCount = 1; 82_tableLayoutPanel.RowCount = 1; 90_tableLayoutPanel.ColumnCount = 2; 91_tableLayoutPanel.RowCount = 2; 138designer.Initialize(_tableLayoutPanel); 144_tableLayoutPanel.ControlAdded += It.IsAny<ControlEventHandler>(); 145_tableLayoutPanel.ControlRemoved += It.IsAny<ControlEventHandler>(); 157foreach (Control control in _tableLayoutPanel.Controls) 171_tableLayoutPanel.RowCount.Should().Be(2); 172_tableLayoutPanel.ColumnCount.Should().Be(2); 173_tableLayoutPanel.RowStyles.Count.Should().Be(2); 174_tableLayoutPanel.ColumnStyles.Count.Should().Be(2); 189_tableLayoutPanel.Controls.Add(button); 196_collection.IsReadOnly.Should().Be(_tableLayoutPanel.Controls.IsReadOnly); 204_tableLayoutPanel.Controls.Contains(button).Should().BeTrue(); 217_tableLayoutPanel.Controls.Contains(button1).Should().BeTrue(); 218_tableLayoutPanel.Controls.Contains(button2).Should().BeTrue(); 239TableLayoutPanelDesigner.DesignerTableLayoutControlCollection collection1 = new(_tableLayoutPanel); 240TableLayoutPanelDesigner.DesignerTableLayoutControlCollection collection2 = new(_tableLayoutPanel); 289TableLayoutPanelCellPosition position = _tableLayoutPanel.GetPositionFromControl(button);