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;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
int Loop = 0;
for (Loop = 500; Loop >= 5; Loop -= 10)
{
this.Opacity = Loop / 450.0;
this.Refresh();
System.Threading.Thread.Sleep(100);
}
}
}
}
No comments:
Post a Comment