Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.41K
~271 People Reached
Favorite Forums
Member Avatar for emilio

i am trying to draw a line between two points like this: [CODE=syntax]private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { Graphics MyGraphics = e.Graphics; Pen NewPen = new Pen(Color.Red,5); MyGraphics.DrawLine(NewPen,StartDraw,EndDraw); }[/CODE] it gives me an error: Object reference not set to an instance of an object. what have i done wrong …

Member Avatar for mahmudh
0
271