Hi,

I have a picturebox with graphics drawn from different objects. In one object I used

Code:
Pen P1;
P1 = new Pen(Color.Blue, 3);

Graphics g = null;
g = Graphics.FromImage(image.Image);
g.DrawPath(P1, Wirepath[j-1]);
P1.Dispose();
g.Dispose();
In another object I used graphicspath and paint to the picturebox using onpaint

Code:
protected override void
...