Graphics g=this.panel1.CreateGraphics();
float MyAngle=0;//旋转的角度
while(MyAngle<360)
{
TextureBrush MyBrush=newTextureBrush(MyBitmap);
this.panel1.Refresh();
MyBrush.RotateTransform(MyAngle);
g.FillRectangle(MyBrush,0,0,this.ClientRectangle.Width,this.ClientRectangle.Height);
MyAngle+=0.5f;
System.Threading.Thread.Sleep(50);
}