Canguro.Commands.Forms.ReportOptionsDialog.ReportOptionsDialog C# (CSharp) Méthode

ReportOptionsDialog() public méthode

public ReportOptionsDialog ( Canguro model ) : System
model Canguro
Résultat System
        public ReportOptionsDialog(Canguro.Model.Model model)
        {
            this.model = model;
            InitializeComponent();
            allReports = new Dictionary<string, ReportOptions>();

            allReports.Add(Culture.Get(typeof(JointWrapper).ToString().Replace(".", "")), ReportOptions.Joints);
            allReports.Add(Culture.Get(typeof(LineWrapper).ToString().Replace(".", "")), ReportOptions.Lines);
            allReports.Add(Culture.Get(typeof(LoadCaseWrapper).ToString().Replace(".", "")), ReportOptions.LoadCases);
            allReports.Add(Culture.Get(typeof(JointForcesWrapper).ToString().Replace(".", "")), ReportOptions.JointForces);
            allReports.Add(Culture.Get(typeof(GroundDisplacementWrapper).ToString().Replace(".", "")), ReportOptions.GroundDisplacements);
            allReports.Add(Culture.Get(typeof(LineConcentratedForcesWrapper).ToString().Replace(".", "")), ReportOptions.LineConcentratedForces);
            allReports.Add(Culture.Get(typeof(LineDistributedForcesWrapper).ToString().Replace(".", "")), ReportOptions.LineDistributedLoads);
            allReports.Add(Culture.Get(typeof(ConstraintWrapper).ToString().Replace(".", "")), ReportOptions.Constraints);
            allReports.Add(Culture.Get(typeof(MaterialWrapper).ToString().Replace(".", "")), ReportOptions.Materials);
            allReports.Add(Culture.Get(typeof(MaterialAmountWrapper).ToString().Replace(".", "")), ReportOptions.MaterialAmounts);
            allReports.Add(Culture.Get(typeof(SectionWrapper).ToString().Replace(".", "")), ReportOptions.Sections);
            allReports.Add(Culture.Get(typeof(JointDisplacementsWrapper).ToString().Replace(".", "")), ReportOptions.JointDisplacements);
            allReports.Add(Culture.Get(typeof(BaseReactionsWrapper).ToString().Replace(".", "")), ReportOptions.BaseReactions);
            allReports.Add(Culture.Get(typeof(ElementJointForcesWrapper).ToString().Replace(".", "")), ReportOptions.ElementJointForces);
            allReports.Add(Culture.Get(typeof(AssembledJointMassesWrapper).ToString().Replace(".", "")), ReportOptions.AssembledJointMasses);
            //Begin Modal Tables
            allReports.Add(Culture.Get(typeof(ModalLPRWrapper).ToString().Replace(".", "")), ReportOptions.ModalLoadParticipationRatios);
            allReports.Add(Culture.Get(typeof(ModalPMRWrapper).ToString().Replace(".", "")), ReportOptions.ModalParticipatingMassRatios);
            allReports.Add(Culture.Get(typeof(ModalPFWrapper).ToString().Replace(".", "")), ReportOptions.ModalParticipationFactors);
            allReports.Add(Culture.Get(typeof(ModalPeriodsWrapper).ToString().Replace(".", "")), ReportOptions.ModalPeriodsAndFrequencies);
            //End Modal Tables
            allReports.Add(Culture.Get(typeof(ResponseSpectrumMIWrapper).ToString().Replace(".", "")), ReportOptions.ResponseSpectrumInfo);
            allReports.Add(Culture.Get(typeof(JointReactionsWrapper).ToString().Replace(".", "")), ReportOptions.JointReactions);
            allReports.Add(Culture.Get(typeof(JointAccelerationsWrapper).ToString().Replace(".", "")), ReportOptions.JointAccelerations);
            allReports.Add(Culture.Get(typeof(JointVelocitiesWrapper).ToString().Replace(".", "")), ReportOptions.JointVelocities);
            //Begin Design Tables
            allReports.Add(Culture.Get(typeof(DesignOptionsWrapper).ToString().Replace(".", "")), ReportOptions.DesignOptions);
            allReports.Add(Culture.Get(typeof(SteelDesignWrapper).ToString().Replace(".", "")), ReportOptions.SteelDesign);
            allReports.Add(Culture.Get(typeof(SteelDesignPMMWrapper).ToString().Replace(".", "")), ReportOptions.SteelDesignPMM);
            allReports.Add(Culture.Get(typeof(SteelDesignShearWrapper).ToString().Replace(".", "")), ReportOptions.SteelDesignShear);
            allReports.Add(Culture.Get(typeof(ConcreteColumnDesignWrapper).ToString().Replace(".", "")), ReportOptions.ConcreteColumnDesign);
            allReports.Add(Culture.Get(typeof(ConcreteBeamDesignWrapper).ToString().Replace(".", "")), ReportOptions.ConcreteBeamDesign);
            //End Design Tables

            enableOptions();
        }