예제 #1
0
 public void DownEllipse(object sender, MouseEventArgs e)
 {
     IsDown = true;
     temp   = new Ellipse(thickness, tcolor);
     (temp as Ellipse).p1 = e.Location;
 }
예제 #2
0
 public void DownCurve(object sender, MouseEventArgs e)
 {
     IsDown = true;
     temp   = new Curve(thickness, tcolor);
     (temp as Curve).AddPoint(e.Location);
 }
예제 #3
0
 public void DownRect(object sender, MouseEventArgs e)
 {
     IsDown            = true;
     temp              = new Rect(thickness, tcolor);
     (temp as Rect).p1 = e.Location;
 }