Private Sub PictureBox1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click Dim w As Integer = Me.PictureBox2.Width Dim h As Integer = Me.PictureBox2.Height Me.PictureBox2.Image.RotateFlip(RotateFlipType.Rotate90FlipNone) Me.PictureBox2.Width = h Me.PictureBox2.Height = w Me.PictureBox2.Refresh() End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)