示例#1
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();
            }
        }
示例#2
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();
            }
        }