private void button1_Click(object sender, EventArgs e) { Image img = pictureBox1.Image; img.RotateFlip(RotateFlipType.Rotate90FlipNone); pictureBox1.Image = img; }