5 references to GetPositionFromControl
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1050TableLayoutPanelCellPosition pos = Table.GetPositionFromControl(control);
System.Windows.Forms.Tests (4)
System\Windows\Forms\TableLayoutPanelTests.cs (4)
896Assert.Equal(new TableLayoutPanelCellPosition(1, 2), control.GetPositionFromControl(child)); 908Assert.Equal(new TableLayoutPanelCellPosition(1, 2), control.GetPositionFromControl(child)); 919Assert.Equal(new TableLayoutPanelCellPosition(-1, -1), control.GetPositionFromControl(child)); 926Assert.Equal(new TableLayoutPanelCellPosition(-1, -1), control.GetPositionFromControl(null));