Example #1
0
        private void button15_Click(object sender, EventArgs e)
        {
            panconv = panel2;
            panel1.Hide();
            panel2.Hide();
            if (!cours)
            {
                pictureBox1.Visible = true;
                choixMultiple choiprn = new choixMultiple(ComMethodes.Generate(6, 10), "Posses", panconv, 6, 10, "Francais");


                userconv         = choiprn;
                userconv.Visible = true;
                choiprn.Show();
                choiprn.BringToFront();
                this.Controls.Add(choiprn);
                choiprn.Dock = DockStyle.Fill;
                pictureBox1.BringToFront();
            }
            else
            {
                Cours cf = new Cours();
                cf.conjugaison = false;
                cf.debut       = 29;
                cf.fin         = 31;
                cf.Show();
            }
        }
Example #2
0
        private void button14_Click(object sender, EventArgs e)
        {
            panconv = panel1;
            panel1.Hide();
            panel2.Hide();
            if (!cours)
            {
                choixMultiple choiADj = new choixMultiple(ComMethodes.Generate(7, 10), "Adjectifs", panconv, 7, 10, "Francais");

                userconv         = choiADj;
                userconv.Visible = true;
                choiADj.Show();
                choiADj.BringToFront();
                this.Controls.Add(choiADj);
                choiADj.Dock = DockStyle.Fill;
                pictureBox1.BringToFront();
            }
            else
            {
                Cours cf = new Cours();
                cf.conjugaison = false;
                cf.debut       = 7;
                cf.fin         = 15;
                cf.Show();
            }
        }
Example #3
0
        private void PicmtCours4_Click(object sender, EventArgs e)
        {
            this.ShowInTaskbar = false;


            if (Variables.counter == 0)
            {
                //cours les calc ////done
                Cours cours = new Cours();
                cours.debut       = 36; cours.fin = 42;
                cours.conjugaison = false;
                cours.Show();
            }
            else if (Variables.counter == 1)
            {
                cours_de_fraction fractionCours = new cours_de_fraction();
                fractionCours.Show();
            }
            else if (Variables.counter == 2)
            {
                //complement a 10 cours --> Done
                cours_de_complement cours = new cours_de_complement();
                cours.Show();
            }
        }
Example #4
0
        private void PicmtCours5_Click(object sender, EventArgs e)
        {
            this.ShowInTaskbar = false;

            //cours priorite
            Cours cours = new Cours();

            cours.debut       = 33; cours.fin = 36;
            cours.conjugaison = false; cours.Show();
        }
Example #5
0
 private void button6_Click(object sender, EventArgs e)
 {
     panconv = panel1; if (!cours)
     {
         pictureBox1.Visible = true;
     }
     else
     {
         Cours cf = new Cours();
         cf.debut = 15; cf.fin = 17; cf.Show();
     }
 }
Example #6
0
 private void button11_Click(object sender, EventArgs e)
 {
     panconv = panel2; if (!cours)
     {
         pictureBox1.Visible = true;
     }
     else
     {
         Cours cf = new Cours(); cf.conjugaison = false;
         cf.debut = 5; cf.fin = 7; cf.Show();
     }
 }
Example #7
0
 private void button13_Click(object sender, EventArgs e)
 {
     panconv = panel1; if (!cours)
     {
         pictureBox1.Visible = true;
         panel1.Hide(); panel2.Hide();
         encadrerEntourer enen = new encadrerEntourer(); userconv = enen; userconv.Visible = true; enen.Dock = DockStyle.Fill; this.Controls.Add(enen);
     }
     else
     {
         Cours cf = new Cours(); cf.conjugaison = false;
         cf.debut = 20; cf.fin = 22; cf.Show();
     }
 }
Example #8
0
 private void button10_Click(object sender, EventArgs e)
 {
     panconv = panel2;
     if (!cours)
     {
         panel1.Hide(); panel2.Hide();
         pictureBox1.Visible = true;
         panel1.Hide(); panel2.Hide(); phraseoEx ep = new phraseoEx(); userconv = ep; userconv.Visible = true; this.Controls.Add(ep); ep.Dock = DockStyle.Fill;
         ep.Show(); pictureBox1.BringToFront();
     }
     else
     {
         Cours cf = new Cours(); cf.conjugaison = false;
         cf.debut = 1; cf.fin = 5; cf.Show();
     }
 }
Example #9
0
        private void PicfrCours3_Click(object sender, EventArgs e)
        {
            this.ShowInTaskbar = false;

            if (Variables.counter == 1)
            {
                //cours conj
                //Cours cours = new Cours();
                //cours.imageConv=cours.im
                Cours c = new Cours();
                c.conjugaison = true;
                c.Show();
            }
            else if (Variables.counter == 2)
            {
                //cours conj2
                cours_de_Conjugaison cours = new cours_de_Conjugaison();
                cours.Show();
            }
        }
Example #10
0
        private void PicmtCours2_Click(object sender, EventArgs e)
        {
            this.ShowInTaskbar = false;

            if (Variables.counter == 0)
            {
                Cours cours = new Cours();
                cours.debut       = 42; cours.fin = 45;
                cours.conjugaison = false;
                cours.Show();
            }
            else if (Variables.counter == 1)
            {
                cours_de_formes_geo formesCours = new cours_de_formes_geo();
                formesCours.Show();
            }
            else if (Variables.counter == 2)
            {
                cours_de_decroi_croi croidecroicours = new cours_de_decroi_croi();
                croidecroicours.Show();
            }
        }