DevExpress.OutlookInspiredApp.Win.ViewModel.MainViewModel.BeforeReportShown C# (CSharp) Méthode

BeforeReportShown() private méthode

private BeforeReportShown ( ModuleType moduleType ) : void
moduleType ModuleType
Résultat void
        internal void BeforeReportShown(ModuleType moduleType) {
            if(ReportParameter != null)
                return;
            switch(moduleType) {
                case ModuleType.EmployeesExport:
                case ModuleType.EmployeesPrint:
                    ReportParameter = EmployeeReportType.Profile;
                    break;
                case ModuleType.CustomersExport:
                case ModuleType.CustomersPrint:
                    ReportParameter = CustomerReportType.Profile;
                    break;
                case ModuleType.ProductsExport:
                case ModuleType.ProductsPrint:
                    ReportParameter = ProductReportType.OrderDetail;
                    break;
                case ModuleType.OrdersExport:
                case ModuleType.OrdersPrint:
                    ReportParameter = SalesReportType.Invoice;
                    break;
            }
        }
        internal void AfterReportShown(ModuleType moduleType) {