1 write to _pageSites
System.Windows.Forms (1)
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
343
_pageSites
= new ComponentEditorPageSite[_pageTypes.Length];
29 references to _pageSites
System.Windows.Forms (29)
System\Windows\Forms\Design\ComponentEditorForm.cs (29)
90
for (int n = 0; n <
_pageSites
.Length; n++)
92
if (
_pageSites
[n].Dirty)
94
_pageSites
[n].GetPageControl().ApplyChanges();
95
_pageSites
[n].Dirty = false;
107
for (int n = 0; n <
_pageSites
.Length; n++)
109
_pageSites
[n].GetPageControl().OnApplyComplete();
199
if (
_pageSites
is not null &&
_pageSites
.Length != 0)
204
for (int n = 0; n <
_pageSites
.Length; n++)
206
ComponentEditorPage page =
_pageSites
[n].GetPageControl();
241
if (
_pageSites
is not null)
244
for (int n = 0; n <
_pageSites
.Length; n++)
246
ComponentEditorPage page =
_pageSites
[n].GetPageControl();
321
_pageSites
[_initialActivePage].Active = true;
324
_helpButton.Enabled =
_pageSites
[_activePage].GetPageControl().SupportsHelp();
338
[MemberNotNull(nameof(
_pageSites
))]
348
_pageSites
[n] = new ComponentEditorPageSite(_pageHost, _pageTypes[n], _component, this);
349
ComponentEditorPage page =
_pageSites
[n].GetPageControl();
364
for (int n = 0; n <
_pageSites
.Length; n++)
366
_pageSites
[n].GetPageControl().Size = _maxSize;
383
Debug.Assert((newPage >= 0) && (newPage <
_pageSites
.Length),
393
if (
_pageSites
[_activePage].AutoCommit)
398
_pageSites
[_activePage].Active = false;
402
_pageSites
[_activePage].Active = true;
403
_helpButton.Enabled =
_pageSites
[_activePage].GetPageControl().SupportsHelp();
412
if (
_pageSites
is not null &&
_pageSites
[_activePage].GetPageControl().IsPageMessage(ref msg))
472
if (
_pageSites
[_activePage].GetPageControl().SupportsHelp())
474
_pageSites
[_activePage].GetPageControl().ShowHelp();