Exemple #1
0
        private void tbn_next_word_Click(object sender, EventArgs e)
        {
            timer1.Stop();
            FQuestion ff = new FQuestion(() => { timer1.Start(); xmlDatam.reDoc(); });

            ff.path = wordsFileDir;
            ff.Show();
        }
Exemple #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     ticked++;
     if (ticked == min)
     {
         ticked = 0;
         timer1.Stop();
         FQuestion ff = new FQuestion(() => { timer1.Start(); xmlDatam.reDoc(); });
         ff.path = wordsFileDir;
         ff.Show();
     }
 }