Exemplo n.º 1
0
 private void Showntimer_Tick(object sender, EventArgs e)
 {
     if (ShowTime == 0)
     {
         Showntimer.Stop();
     }
     else
     {
         if (onType == 0)
         {
             TutorialText.Text = ShowText.Substring(0, ShowText.Length - ShowTime);
         }
         else if (onType == 1)
         {
             CharacterText.Text = ShowText.Substring(0, ShowText.Length - ShowTime);
         }
         ShowTime--;
     }
 }
Exemplo n.º 2
0
 private void TurtorialText_MouseClick(object sender, MouseEventArgs e)
 {
     TutorialText.Text = ShowText;
     Showntimer.Stop();
     ShowTime = 0;
 }