示例#1
0
 private void pictureBoxMain_MouseMove(object sender, MouseEventArgs e)
 {
     if (radioButtonTransformPosision.Checked == true)
     {
         if (TPositionNode != null)
         {
             TPositionNode.SetPosision(new Point(e.X, e.Y));
             DrawNodes();
         }
     }
     if (radioButtonLink.Checked == true)
     {
         if (TPositionNode != null)
         {
             DrawNodes();
             g.DrawLine(MainPan, TPositionNode.GetPos(), new Point(e.X, e.Y));
         }
     }
 }