Esempio n. 1
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();
     }
 }
Esempio n. 2
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();
            }
        }
Esempio n. 3
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();
            }
        }