public OrderReport(SparePartsOrderViewModel order) { // // Required for telerik Reporting designer support // InitializeComponent(); this.DataSource = order; }
public SparePartReport(SparePartsOrderViewModel context) { // // Required for telerik Reporting designer support // InitializeComponent(); this.dataSource1.DataSource = context; this.dataSource2.DataSource = context; // // TODO: Add any constructor code after InitializeComponent call // }