/*任意角度旋转,但图片本生并不旋转,显示时候是旋转*/
int Angle=30;//Angle为旋转的角度
Graphics g = picturebox1.CreateGraphics();
TextureBrush mybrush = new TextureBrush(SrcBmp);//SrcBmp为原图
mybrush.RotateTransform(Angle);//旋转
g.FillRectangle(mybrush, 0, 0,Picturebox1.Width, picturebox1.Height);
/*旋转90,180,主图片本生旋转,但只能旋转90的倍数*/
Bitmap bmp=new Bitmap(filepath);
bmp.RotateFlip(RotateFlipType.Rotate90FlipNone);