Hi comunity, i've been started a image viewer project, the application must show a spesific photo linked to a part number and show information about the Part number.
DB: MS Access 2007
Source Code: VB.NET 2005
The picture is set in a PictureBox, the picture Box is set into a Split Panel (Panel2), Zoom Button, Reset Button, Search Button,etc works.
Me.PictureBox1.Width += 200%
Me.PictureBox1.Height += 150%
with this code i cant move up and down througth the image
Private Sub SplitContainer1_MouseWheel(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles SplitContainer1.MouseWheel
Dim myView As Point = Me.SplitContainer1.Panel2.AutoScrollPosition
myView.X = (myView.X + 50)
myView.Y = (myView.Y + 50)
Me.SplitContainer1.Panel2.AutoScrollPosition = myView
But now i want move througt image with left click, like when the mouse looks like Pan handhttp://www.kareprints.com/wp-content/uploads/2010/10/pan-detail.png