Example #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Evaluare ev = new Evaluare();

            if (ev.EvaluareGenerare(gen1, rtEx3.Text, n, m, 0) == 1)
            {
                MessageBox.Show("Corect");
            }
            else
            {
                MessageBox.Show("Incorect");
            }
        }
Example #2
0
        private void button6_Click(object sender, EventArgs e)
        {
            Evaluare ev = new Evaluare();

            if (ev.EvaluareGenerare(gen4, rtIntrebare6.Text, nIntrebare6, nIntrebare6, 0) == 1)
            {
                t[6] = 1;
            }
            else
            {
                t[6] = 0;
            }
            tabControl1.SelectTab(6);
        }
Example #3
0
        private void button4_Click(object sender, EventArgs e)
        {
            Evaluare ev = new Evaluare();

            if (ev.EvaluareGenerare(gen2, rtIntrebare4.Text, nIntrebare40, nIntrebare41, 0) == 1)
            {
                t[4] = 1;
            }
            else
            {
                t[4] = 0;
            }
            tabControl1.SelectTab(4);
        }
Example #4
0
        private void button5_Click(object sender, EventArgs e)
        {
            Evaluare ev = new Evaluare();

            if (ev.EvaluareGenerare(gen3, rtIntrebare5.Text, nIntrebare50, nIntrebare51, nIntrebare50 * nIntrebare51) == 1)
            {
                t[5] = 1;
            }
            else
            {
                t[5] = 0;
            }
            tabControl1.SelectTab(5);
        }
Example #5
0
        private void button9_Click(object sender, EventArgs e)
        {
            Evaluare ev = new Evaluare();

            if (ev.EvaluareGenerare(gen5, rtIntrebarea8.Text, nIntrebare80, nIntrebare81, 0) == 1)
            {
                t[8] = 1;
            }
            else
            {
                t[8] = 0;
            }
            tabControl1.SelectTab(8);
        }