示例#1
0
 private void LoginAnim_Tick(object sender, EventArgs e)
 {
     LoginButton.Left -= 5;
     if (LoginButton.Left == 305)
     {
         LoginAnim.Stop();
     }
 }
示例#2
0
 private void LogoAnim_Tick(object sender, EventArgs e)
 {
     UserLogo.Top += 5;
     if (UserLogo.Top == 50)
     {
         LogoAnim.Stop();
         LoginAnim.Start();
     }
 }