private void Button1_Click(System.Object sender, System.EventArgs e)
{
string s = TextBox1.Text;
switch (s) {
case "1":
PictureBox1.ImageLocation = "I:\\My Documents\\My Pictures\\4_394.jpg";
break;
case "2":
PictureBox1.ImageLocation = "I:\\My Documents\\My Pictures\\4_394_12.jpg";
break;
default:
PictureBox1.ImageLocation = "I:\\My Documents\\My Pictures\\4_394_13.jpg";
break;
}
}