How to resize PictureBox and picture with ComboBox?
<p>Now i want do is select the size you want and the picture will change. i have did a example but it wont work.</p>

<p>here is my code</p>

<pre><code>Private Sub cboxpizzasize_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cboxpizzasize.SelectedIndexChanged

    Select Case cboxselectclass.SelectedItem
        Case Is = "Personal - 4 slide"
            PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
            PictureBox1.Size = New Size(134, 150)
        Case Is = "Regular - 6 slide"
            PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
            PictureBox1.Size = New Size(174.2, 196.95)
        Case Is = "Large - 8 slide"
            PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
            PictureBox1.Size = New Size(214.4, 242.4)
        Case Is = "Xtra Large - 12 slide"
            PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
            PictureBox1.Size = New Size(268, 303)
    End Select

End Sub
</code></pre>