Drowing a line
hi... im just starting to use C# and its all a little new to me :) I wanna have function that takes 2 paramiters (2 points) and draw a line between them... I know that i need PEN for drawing, and points, but problem accures with "Graphics g = e.Graphics" How can i pass this "e" to my function ?? or maybe i understand all this wrong ?? :)
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Greenway21 reputationPosted Apr 28, 2004, 9:17 PM EDT
asic104 reputationPosted Apr 28, 2004, 10:46 PM EDT
soso5 reputationPosted May 1, 2004, 4:29 AM EDT
asic104 reputationPosted May 1, 2004, 10:16 AM EDT