private void timer1_Tick(object sender, EventArgs e) {
if(this.Opacity < 1) {
this.Opacity = this.Opacity + 0.05;
}
else {
this.timer1.Stop();
}
}
private void Form1_Load(object sender, EventArgs e) {
this.Opacity = 0;
this.timer1.Start();
}