2

I gets the application.startuppath like below;

C:\Documents and Settings\aju\my documents\visual studio 2010\Projects\gManager\gManager\bin\Debug

And i have a image here to set for picturebox ..\Images\Image1.jpg

what should i do to set the image property of picturebox ?

pvaju896
  • 1,397
  • 6
  • 25
  • 46

2 Answers2

3
pictureBox1.Load(path_to_picture)
Kieran Quinn
  • 1,085
  • 2
  • 22
  • 49
Andrew Paglusch
  • 767
  • 1
  • 7
  • 17
1

If you want to set in design time just browse otherwise use PictureBox.Load.

Stephan
  • 4,187
  • 1
  • 21
  • 33
Joy George Kunjikkuru
  • 1,495
  • 13
  • 27