예제 #1
0
 public void ToolMouseDown(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         line             = new Line(new Point(e.X, e.Y));
         line.finishPoint = new Point(e.X, e.Y);
         drawingCanvas.AddDrawingObject(line);
     }
 }