[CSHARP] private void button1_Click(object sender, EventArgs e) { this.Opacity = 1; for (int i = 0; i < 100; i++) { this.Opacity -= 0.01; Application.DoEvents(); } } [/CSHARP]