Exemplo n.º 1
0
        private void btPreviewIEnumerable_Click(object sender, RoutedEventArgs e)
        {
            StiReport report = new StiReport();

            report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
            report.Load("..\\BusinessObjects_IEnumerable.mrt");
            report.ShowWithWpf();
        }
Exemplo n.º 2
0
        private void btDesignIEnumerable_Click(object sender, System.EventArgs e)
        {
            StiReport report = new StiReport();

            report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
            report.Load("..\\BusinessObjects_IEnumerable.mrt");
            report.Design();
        }