3 writes to _pageInfo
System.Windows.Forms (3)
System\Windows\Forms\Printing\PrintPreviewControl.cs (3)
504
_pageInfo
= [];
519
_pageInfo
= previewController.GetPreviewPageInfo();
554
_pageInfo
= null;
15 references to _pageInfo
System.Windows.Forms (15)
System\Windows\Forms\Printing\PrintPreviewControl.cs (15)
209
if (
_pageInfo
is not null)
211
value = Math.Min(value,
_pageInfo
.Length - (_rows * _columns));
351
if (
_pageInfo
is null ||
_pageInfo
.Length == 0)
357
if (
_pageInfo
is not null || _exceptionPrinting)
373
DrawPages(pevent.Graphics, InsideRectangle,
_pageInfo
, backBrush);
469
Debug.Assert(
_pageInfo
is not null, "Must call ComputePreview first");
471
if (
_pageInfo
.Length == 0)
481
Size pageSize =
_pageInfo
[StartPage].PhysicalSize;
520
Debug.Assert(
_pageInfo
is not null, $"{nameof(PreviewPrintController)} did not give us preview info.");
570
if (
_pageInfo
is null)
975
else if (
_pageInfo
is not null && StartPage <
_pageInfo
.Length)
989
if (
_pageInfo
is not null && (keyData & Keys.Modifiers) == Keys.Control)
991
StartPage =
_pageInfo
.Length;