4 references to GetTabRect
System.Windows.Forms.Tests (4)
System\Windows\Forms\TabPageTests.cs (4)
4976Assert.True(neighborsRectangles.Contains(GetTabRect(index - 1))); // check the left neighbor 4980Assert.False(neighborsRectangles.Contains(GetTabRect(i))); // check the rest lefts 4986Assert.True(neighborsRectangles.Contains(GetTabRect(index + 1))); // check the right neighbor 4990Assert.False(neighborsRectangles.Contains(GetTabRect(i))); // check the rest rights