4 writes to tabPageCount
System.Windows.Forms (4)
winforms\Managed\System\WinForms\TabControl.cs (4)
1285
tabPageCount
++;
1664
tabPageCount
= 0;
1694
tabPageCount
= 0;
1704
tabPageCount
--;
23 references to tabPageCount
System.Windows.Forms (23)
winforms\Managed\System\WinForms\TabControl.cs (23)
881
get { return
tabPageCount
;}
1066
int index = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TCM_INSERTITEM,
tabPageCount
+ 1, tcitem);
1184
for (int i = 0; i <
tabPageCount
; i++) {
1203
if (index < 0 || index >=
tabPageCount
) {
1215
TabPage[] result = new TabPage[
tabPageCount
];
1216
if (
tabPageCount
> 0) Array.Copy(tabPages, 0, result, 0,
tabPageCount
);
1226
object[] result = (object[]) Array.CreateInstance(baseType,
tabPageCount
);
1227
if (
tabPageCount
> 0) Array.Copy(tabPages, 0, result, 0,
tabPageCount
);
1240
if (index < 0 || (index >=
tabPageCount
&& !tabControlState[TABCONTROLSTATE_getTabRectfromItemSize])) {
1276
else if (tabPages.Length ==
tabPageCount
) {
1277
TabPage[] newTabPages = new TabPage[
tabPageCount
* 2];
1278
Array.Copy(tabPages, 0, newTabPages, 0,
tabPageCount
);
1281
if (index <
tabPageCount
) {
1282
Array.Copy(tabPages, index, tabPages, index + 1,
tabPageCount
- index);
1300
if (index < 0 || ((tabPages != null) && index >
tabPageCount
))
1702
if (index < 0 || index >=
tabPageCount
)
1705
if (index <
tabPageCount
) {
1706
Array.Copy(tabPages, index + 1, tabPages, index,
tabPageCount
- index);
1708
tabPages[
tabPageCount
] = null;
1748
if (index < 0 || index >=
tabPageCount
)
2307
return owner.
tabPageCount
;