int l = 0;
private void timer1_Tick(object sender, EventArgs e)
{
l-=1;
System.Drawing.Drawing2D.GraphicsPath g = new System.Drawing.Drawing2D.GraphicsPath();
for (int i = 0; i <= 360; i+=20)
{
g.AddLine((float)Math.Cos(Math.PI * (i+l) / 180) * this.Width / 2 + this.Width / 2
, (float)Math.Sin(Math.PI * (i+l) / 180) * this.Height / 2 + this.Height / 2,
(float)Math.Cos(Math.PI * (i +l) / 180) * this.Width / 4 + this.Width / 2,
(float)Math.Sin(Math.PI * (i+l) / 180) * this.Height / 4 + this.Height / 2);
}
this.Region = new Region(g);
}
private void Form1_Load(object sender, EventArgs e)
{
this.Width = 300;
this.Height = 300;
}