日期:2014-05-17 浏览次数:20780 次
代码贴下:
private void Form1_Load(object sender, EventArgs e)
{
ClassLibrary1.MoveForm mf = new ClassLibrary1.MoveForm(this);
mf.lab_move(lab_logo);
mf.lab_move(lab_ID);
mf.lab_move(lab_PWD);
gradually();
}
public void gradually()
{
this.Location = new Point(this.Left, this.Top - 50);
this.Opacity = 0;
for (int i = 0; i < 50; i++)
{
this.Opacity += 0.02;
this.Location = new Point(this.Left, this.Top + 1);
}
}