I have this code to rotate an image in an if loop in C# Windows Form application, but the Form does not show anything in the form output.
Can anyone help?
Try this:
PictureBox1.Images.RotateFlip(RotateFlipType.Rotate180FlipX); PictureBox1.Refresh();