Exemple #1
0
 public FormPreviewReport(ReportViewModel model)
 {
     InitializeComponent();
     this.Bind(model);
     Text = model.Titulo;
     reportViewer.ProcessingMode = ProcessingMode.Local;
     model.SetReport(reportViewer.LocalReport);
 }