代码
Bitmap myBit = (Bitmap)Bitmap.FromFile(filename); myBit.RotateFlip(RotateFlipType.Rotate90FlipX); pictureBox1.Image = myBit;