| Ilya Tumanov [MS] 2006-01-31, 10:02 pm |
| PictureBox1.Image = new Bitmap("\\Full\\path\\to\\file.name");
Don't forget to dispose of this Bitmap after you done.
--
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group...framework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
"Park2" <Stevewarby@btinternet.com> wrote in message
news:u48OC8pJGHA.3224@TK2MSFTNGP09.phx.gbl...
> C# visual studio 2005 smartphone / pocket pc
>
> Where can I find a resource for simple examples of syntax.
>
> eg I am trying to load an image into a picturebox at runtime
>
> I have found:
> PictureBox1.Image = Image.FromFile
>
> Set Picturebox
>
> pictureBox.Image = System.Drawing.Image
>
> But no example of how to achieve the above.
>
> I need to say (In Delphi Language) Picturebox1.Image := ("\\Storage\\My
> Documents\\My Photos\\Image_00007.jpg");
>
>
|