17 references to TabCount
DesignSurface (2)
MainForm.cs (2)
39
for (int i = 0; i < tabControl1.
TabCount
; i++)
48
for (int i = 0; i < tabControl1.
TabCount
; i++)
System.Windows.Forms (12)
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
37
_owner.Insert(_owner.
TabCount
, tabPage);
System\Windows\Forms\Controls\TabControl\TabControl.cs (8)
930
int index = SendMessage(PInvoke.TCM_INSERTITEMW,
TabCount
+ 1, tabPage);
1059
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
TabCount
);
1082
int tabPageCount =
TabCount
;
1109
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
TabCount
);
1164
ArgumentOutOfRangeException.ThrowIfGreaterThan(index,
TabCount
);
1586
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
TabCount
);
1639
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
TabCount
);
1721
int count =
TabCount
;
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (1)
71
public int Count => _owner.
TabCount
;
System\Windows\Forms\Controls\TabControl\TabPage.cs (2)
180
if (currentIndex < tabControl.
TabCount
- 1)
196
for (int i = 0; i < tabControl.
TabCount
; i++)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TabControlDesigner.cs (1)
296
tc.SelectedIndex = tc.
TabCount
- 1;
System.Windows.Forms.Tests (2)
System\Windows\Forms\TabControlTests.cs (1)
102
Assert.Equal(0, control.
TabCount
);
System\Windows\Forms\ToolTipTests.cs (1)
893
Assert.Equal(tabControl.
TabCount
, (int)PInvokeCore.SendMessage(toolTip, PInvoke.TTM_GETTOOLCOUNT));