this.Location = new System.Drawing.Point(Screen.PrimaryScreen.Bounds.Width - this.Width, Screen.PrimaryScreen.Bounds.Height - 100);
for (int i = 0; i < Screen.PrimaryScreen.Bounds.Height; i++)
{
    
this.Show();
    
for (int j = 0; j < 1000000; j++) ;
    
this.Location = new System.Drawing.Point(this.Location.X, Screen.PrimaryScreen.Bounds.Height - i);
    
this.Show();
    
if (i == this.Height + 30)
    {
        
for (int k = 0; k < this.Height; k++)
        {
            
for (int j = 0; j < 10000000; j++) ;
            
this.Location = new System.Drawing.Point(this.Location.X, this.Location.Y + k);
        }
        
this.Close();
        
break;
    }
}
直接放在Form_Load里

相关文章:

  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2022-02-24
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-24
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2021-10-02
  • 2021-11-14
相关资源
相似解决方案