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