title: Lag when using graphics.drawline in winforms/C#
body: <p>Beginner coder here getting into C#.. I'm making a program that involves drawing. Basically whenever I'm moving my mouse to draw, the actual line on the image appears delayed - and it's more.. straight, than it's supposed to be. It used to work fine, but at some point I guess something went wrong - can't remember what I did at the time so it's hard to retrace.. I tried to replicate just the drawing part of the program in a new solution, and it seems to work fine.. </p>
  
  <p>I'd post the .exe file so you can see what I mean but I'm not sure if we're allowed to post executables around here. </p>
  
  <p>Edit: I've confirmed that the code works fine, look at the answer by sa_ddam213 for an example of the code. It seems as though it works fine in other peoples computers, so I'm completely confused. </p>