1 write to previewControl
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
78
this.
previewControl
= new PrintPreviewControl();
35 references to previewControl
System.Windows.Forms (35)
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (35)
1209
return
previewControl
.Document;
1212
previewControl
.Document = value;
1238
get { return
previewControl
;}
1504
previewControl
.Size = new Size(792, 610);
1505
previewControl
.Location = new Point(0, 43);
1506
previewControl
.Dock = DockStyle.Fill;
1507
previewControl
.StartPageChanged += new EventHandler(previewControl_StartPageChanged);
1538
previewControl
.TabIndex = 0;
1566
this.Controls.Add(
previewControl
);
1591
previewControl
.InvalidatePreview();
1633
if (this.ActiveControl == this.
previewControl
)
1664
pageCounter.Value =
previewControl
.StartPage + 1;
1678
previewControl
.AutoZoom = true;
1684
previewControl
.Zoom = 5.00;
1690
previewControl
.Zoom = 2.50;
1696
previewControl
.Zoom = 1.50;
1702
previewControl
.Zoom = 1.00;
1708
previewControl
.Zoom = .75;
1714
previewControl
.Zoom = .50;
1720
previewControl
.Zoom = .25;
1726
previewControl
.Zoom = .10;
1744
if (
previewControl
.Document != null)
1746
previewControl
.Document.Print();
1756
previewControl
.Rows = 1;
1757
previewControl
.Columns = 1;
1761
previewControl
.Rows = 1;
1762
previewControl
.Columns = 2;
1766
previewControl
.Rows = 1;
1767
previewControl
.Columns = 3;
1771
previewControl
.Rows = 2;
1772
previewControl
.Columns = 2;
1776
previewControl
.Rows = 2;
1777
previewControl
.Columns = 3;
1786
previewControl
.StartPage = pageNum;
1792
pageCounter.Value =
previewControl
.StartPage + 1;