using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Threading; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); this.Opacity = 0.0; this.Shown += new EventHandler(Form1_Shown); } void Form1_Shown(object sender, EventArgs e) { Thread.Sleep(300); this.Opacity = 1.0; } private void button1_Click(object sender, EventArgs e) { Form2 f2 = new Form2(); f2.Show(); } } public class Form2 : Form { public Form2() { this.Opacity = 0.0; this.Shown += new EventHandler(Form2_Shown); } void Form2_Shown(object sender, EventArgs e) { Thread.Sleep(300); this.Opacity = 1.0; } } }