예제 #1
0
        private void SetEnd(object sender, MouseEventArgs e)
        {
            Clear();
            var p = e.GetPosition(sender as Canvas);

            if (navigator.SetEnd(p.X, p.Y))
            {
                end.Drawing(p);
            }
            else
            {
                MessageBox.Show("point can't reach");
            }
        }
예제 #2
0
 public void Drawing(Point center)
 {
     f.Drawing(center);
     c.Drawing(center);
 }