private void timer1_Tick(object sender, EventArgs e)
        {

//左右的
            //label1.Left -= 2;
            //if (label1.Right < 0)
            //    label1.Left = this.Width;
//上下的
            label1.Top -= 3;
            if (label1.Bottom < 0)
                label1.Top = this.Height;
        }

相关文章:

  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-06
  • 2021-12-04
  • 2021-10-30
  • 2022-12-23
  • 2022-03-10
  • 2022-01-07
相关资源
相似解决方案