Example #1
0
        private void btnEnd_Click(object sender, EventArgs e)
        {
            /*nota = 0;
             * if (rdbP1_O4.Checked == true)
             *  nota++;
             *
             * if (rdbP2_O2.Checked == true)
             *  nota++;
             *
             * if (rdbP3_O4.Checked == true)
             *  nota++;
             *
             * if (rdbP4_O1.Checked == true)
             *  nota++;
             *
             * if (rdbP5_O2.Checked == true)
             *  nota++;
             *
             * nota *= 2;*/

            nota = OClass.Calificar(rdbP1_O4, rdbP2_O2, rdbP3_O4, rdbP4_O1, rdbP5_O2);

            MessageBox.Show("Tu nota obtenida es: " + nota
                            + "\nRESPUESTAS CORRECTAS\n"
                            + "1. 9\n" +
                            "2. 2\n" +
                            "3. 3\n" +
                            "4. N\n" +
                            "5. Sumar", "Resultados", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);

            this.Hide();
            frmEvaluacion obj = new frmEvaluacion();

            obj.Show();
        }
Example #2
0
        private void pictureBox5_Click(object sender, EventArgs e)
        {
            frmEvaluacion mir = new frmEvaluacion();

            mir.Show();
            this.Hide();
        }