Wire functionality:
- connect two objects
- Select wire and manipulate it or delete it
Problem is, that i can't find a way how to draw the wire. DrawLine function would not work for me, because after drawing the line I simply can't manipulate it. So at this point I'm open for suggestions.
(If there are some mistakes, sorry, I'm not native English speaker)
Gomathi PalaniswamyPosted Oct 5, 2010, 4:21 AM
Hi friend,
Dont draw line or image on form.just draw on picture box it wont affect,
draw like
Pen mypen = new Pen(Color.Red);
Graphics g = pictureBox1.CreateGraphics();
PointF[] points =
{
//10
new PointF(215, 182),
new PointF(215, 242),
new PointF(215, 242),
new PointF(253,242)
};
g.DrawLines(mypen, points);