Beispiel #1
0
        private void calculateBasicLaw_Click(object sender, EventArgs e)
        {
            AmdahlsLaw amdahlsLaw = new AmdahlsLaw();

            if (radioRNBase.Checked)
            {
                amdahlsLaw.R_N_Base(textABase.Text.ToString(),
                                    textNMinBase.Text.ToString(), textNMaxBase.Text.ToString(), textNStepBase.Text.ToString(), "R_N_Base");
            }
            else
            {
                amdahlsLaw.R_A_Base(textAMinBase.Text.ToString(),
                                    textAMaxBase.Text.ToString(), textNBase.Text.ToString(), textAStepBase.Text.ToString(), "R_A_Base");
            }

            amdahlsLaw.ResultText(richResultBase);
            amdahlsLaw.ResultGraph(chartGraph);
        }