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