C
CSharp-Jay
Having an issue with a picturebox image. The code is supposed to find
the picture in the .\resources\ directory. I wanted to do it this way
so that the images were not all compiled as part of the executable and
to maintain the program's directory file structure. But I keep
getting "Parameter is not valid.".
this.picItem1.Image = new Bitmap(".\\resources\\iconFish.png");
Simplest thing but I cannot figure it out, anybody?
the picture in the .\resources\ directory. I wanted to do it this way
so that the images were not all compiled as part of the executable and
to maintain the program's directory file structure. But I keep
getting "Parameter is not valid.".
this.picItem1.Image = new Bitmap(".\\resources\\iconFish.png");
Simplest thing but I cannot figure it out, anybody?