4 writes to tabPages
System.Windows.Forms (4)
winforms\Managed\System\WinForms\TabControl.cs (4)
1274
tabPages
= new TabPage[4];
1279
tabPages
= newTabPages;
1663
this.
tabPages
= null;
1693
tabPages
= null;
18 references to tabPages
System.Windows.Forms (18)
winforms\Managed\System\WinForms\TabControl.cs (18)
806
Debug.Assert(0 <= index && index <
tabPages
.Length, "SelectedIndex returned an invalid index");
807
return
tabPages
[index];
1183
if (
tabPages
!= null) {
1185
if (
tabPages
[i].Equals(tabPage)) {
1206
return
tabPages
[index];
1216
if (tabPageCount > 0) Array.Copy(
tabPages
, 0, result, 0, tabPageCount);
1227
if (tabPageCount > 0) Array.Copy(
tabPages
, 0, result, 0, tabPageCount);
1273
if (
tabPages
== null) {
1276
else if (
tabPages
.Length == tabPageCount) {
1278
Array.Copy(
tabPages
, 0, newTabPages, 0, tabPageCount);
1282
Array.Copy(
tabPages
, index,
tabPages
, index + 1, tabPageCount - index);
1284
tabPages
[index] = tabPage;
1300
if (index < 0 || ((
tabPages
!= null) && index > tabPageCount))
1706
Array.Copy(
tabPages
, index + 1,
tabPages
, index, tabPageCount - index);
1708
tabPages
[tabPageCount] = null;
1756
tabPages
[index] = tabPage;