Esempio n. 1
0
        private void btnLangage_Click(object sender, EventArgs e)
        {
            LANGAGE f2 = new LANGAGE();

            Hide();
            f2.Show();
        }
        public void btnStop_Click(object sender, EventArgs e)
        {
            timer1.Stop();
            watch.Stop();
            while (saveSession == false)
            {
                saveSessionLangage();
            }
            saveSession = false;
            string duration = txtTimer.Text;

            if (f4duration != null)
            {
                duration = f4duration;
            }
            DateTime end     = DateTime.Now;
            string   requete = requeteSQL(startingDay, startingTime, end, duration, null, source, probleme, lien, description, idLangage);

            sendRequeteSQL(requete);
            sessionLangage.ActiveForm.Close();
            probleme = lien = source = description = "test";
            LANGAGE f2 = new LANGAGE();

            f2.Show();
        }