Exemple #1
0
 //occurs when user moves mouse
 //will record most recent location of mouse, and call drawing function
 private void SignaturePanel_MouseMove(object sender, MouseEventArgs e)
 {
     if (isDown)
     {
         Point point = SignaturePanel.PointToClient(Cursor.Position);
         newX = point.X; newY = point.Y;
         DrawLine();
     }
 }