'Declaration Public Overloads Sub Run( _ ByVal syncDocument As Boolean _ )
public void Run( bool syncDocument )
Parameters
- syncDocument
- Set to True to synchronize a linked viewer control document with the report processing.
'Declaration Public Overloads Sub Run( _ ByVal syncDocument As Boolean _ )
public void Run( bool syncDocument )
private void Form1_Load(object sender, System.EventArgs e) { SectionReport1 rpt = new SectionReport1(); rpt.Run(True); viewer1.Document = rpt.Document; }
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim rpt As New rptMain() rpt.Run(True) Viewer1.Document = rpt.Document End Sub