public ReportViewer(ReportDocument rd) { InitializeComponent(); LogOnInfoClass.setLogonInfo(rd); crystalReportViewer1.ReportSource = rd; }