private void btnChoiLai_Click(object sender, EventArgs e)
 {
     txtTyping.Text    = "";
     txtTyping.Enabled = true;
     txtTyping.Focus();
     TimerStart.Start();
 }
Exemple #2
0
 private void btnStart_Click(object sender, EventArgs e)
 {
     btnStart.Visible   = false;
     btnChoiLai.Visible = true;
     txtTyping.Enabled  = true;
     txtTyping.Focus();
     TimerStart.Start();
 }
 private void btnStart_Click(object sender, EventArgs e)
 {
     txtTypingTest.Enabled = true;
     frmTypingTest_Load_KePreviewTrue(sender, e);
     txtTypingTest.Focus();
     btnStart.Visible   = false;
     btnChoiLai.Visible = true;
     TimerStart.Start();
 }
Exemple #4
0
 private void btnChoiLai_Click(object sender, EventArgs e)
 {
     second            = 60;
     length            = 0;
     dem               = 0;
     lblMinute.Text    = "01";
     lblSecond.Text    = "00";
     txtTyping.Text    = "";
     txtTyping.Enabled = true;
     txtTyping.Focus();
     TimerStart.Start();
 }
Exemple #5
0
        private void dCredits_Load(object sender, EventArgs e)
        {
            while (Ligne != null)
            {
                Ligne  = sr.ReadLine();
                Texte += Ligne + "\n";
            }

            TabAffiche = Texte.Split('\n');

            TimerStart.Start();
            TimerDeplacementTexte.Start();
        }
Exemple #6
0
 private void FadeIn()
 {
     TimerStart.Start();
 }