Hi,
I have picture box with some image int it. I want to draw a line on the image. But when code executes, line is there but image is gone.
Here is the code:
bitmap bmp=new bitmap(pb.width,pb.height);
graphics g=new graphics.fromImage(bmp);
pen p=new pen(color.black,5);
g.drawLine(p,0,0,10,10);
Line is there, but underlaying image is gone. What should I do?
Pete