private void Form1_Load(object sender, EventArgs e)
        {
            CryptageEtHachage.CombineUsersElements(CryptageEtHachage.HashPasswordsAndScores(Variables.UserNom), CryptageEtHachage.HashPasswordsAndScores(Variables.UserPass), Application.StartupPath + "\\users.xml");
            // Audio manzu3 hek wahdu
            prof.Load(Application.StartupPath + "\\Prof.xml");
            if (Variables.ExisteMessage(Variables.UserNom))
            {
                pictureBox2.Image = Properties.Resources.newMsg;
            }
            for (lecons lcs = lecons.Conjugaison1; lcs < lecons.Clock; lcs++)
            {
                prof.Load(Application.StartupPath + "\\Prof.xml");

                if ((int)lcs < 5)
                {
                    if (Variables.exSup[i] != prof.SelectSingleNode("Prof/Francais/" + lcs + " / Questions").InnerText.Split(',').Length.ToString())
                    {
                        Suppex.Image = Properties.Resources.newASsignment; break;
                    }
                    ; i++;
                }
                else if ((int)lcs < 16)
                {
                    if (Variables.exSup[i] != prof.SelectSingleNode("Prof/Maths/" + lcs + "/Questions").InnerText.Split(',').Length.ToString())
                    {
                        Suppex.Image = Properties.Resources.newASsignment; break;
                    }
                    ; i++;
                }
                else
                {
                    if (Variables.exSup[i] != prof.SelectSingleNode("Prof/Sciences/" + lcs + "/Questions").InnerText.Split(',').Length.ToString())
                    {
                        Suppex.Image = Properties.Resources.newASsignment; break;
                    }
                    ; i++;
                }
            }
            dr = Variables.XmlReader(Application.StartupPath + "\\users.xml");
            Variables.exSup = dr[0]["exSupp"].ToString().Split(',');

            if ((string)dr[0]["Type"] == "Prof")

            {
                Suppex.Visible  = false;
                addFile.Visible = true;
            }
            else
            {
                addFile.Visible = false;
                Suppex.Visible  = true;
            }

            mediaplayer.CreateControl();
            mediaplayer.URL = Application.StartupPath + "\\Sounds\\Intro0.m4a";
            mediaplayer.Ctlcontrols.play();
        }