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