Visual BASIC .NET 2012
PICTURE BOX. LOAD
PICTURE BOX.IMAGE
Dr. GIRIJA NARASIMHAN 1
Watch this tutorial link in youtube:
https://www.youtube.com/watch?v=mETZkitvVz0
Dr. GIRIJA NARASIMHAN 2
This tutorial only for beginners , those
who don’t have any knowledge about
any programming language skill and
application design.
Dr.GIRIJA NARASIMHAN 3
DESIGN AND RUNTIME SCREEN
Dr.GIRIJA NARASIMHAN 4
CODING
Public Class Form1
Private Sub PictureBox1_Click(sender As Object, e As EventArgs) Handles
PictureBox1.Click
PictureBox1.SizeMode = PictureBoxSizeMode.Zoom
PictureBox1.Load("C:\Users\Public\Pictures\Sample Pictures\TULIPS.JPG")
End Sub
Private Sub PictureBox2_Click(sender As Object, e As EventArgs) Handles
PictureBox2.Click
PictureBox2.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox2.Image = My.Resources.Penguins
End Sub
End Class