Rotate Flip Image isn't working
-
I'm just trying to flip an image with the built in rotate flip function. I've put it in a case switch which gets called then I push a radio buttion. The function is getting called but nothing is happening! :( I push the nintey degrees flip radio button to set a class variable case to 0.
private void NinetyDegrees_CheckedChanged(object sender, System.EventArgs e) { this.m_iCase = 0; }
Then a push a button called transform image to call this switch.private void TransformImage_Click(object sender, System.EventArgs e) { switch (this.m_iCase) { case 0 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate90FlipNone); break; case 1 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate180FlipNone); break; case 2 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate270FlipNone); break; //....you get it. } }
Nothing happens... :(( -
I'm just trying to flip an image with the built in rotate flip function. I've put it in a case switch which gets called then I push a radio buttion. The function is getting called but nothing is happening! :( I push the nintey degrees flip radio button to set a class variable case to 0.
private void NinetyDegrees_CheckedChanged(object sender, System.EventArgs e) { this.m_iCase = 0; }
Then a push a button called transform image to call this switch.private void TransformImage_Click(object sender, System.EventArgs e) { switch (this.m_iCase) { case 0 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate90FlipNone); break; case 1 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate180FlipNone); break; case 2 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate270FlipNone); break; //....you get it. } }
Nothing happens... :((MainPictureViewer.Refresh()
Charlie if(!curlies){ return; } -
MainPictureViewer.Refresh()
Charlie if(!curlies){ return; }