Exemplo n.º 1
0
        private void pictureBoxSchemat_MouseDown(object sender, MouseEventArgs e)
        {
            ReferencePoint p = BitmapOperator.Instance.GetClickedOnPoint(e.Location);

            if (p != null)
            {
                Point offset = ((Point)p).Substract(e.Location);
                mover = new PointMover(offset, p);
            }
        }
Exemplo n.º 2
0
 private void pictureBoxSchemat_MouseUp(object sender, MouseEventArgs e)
 {
     mover = null;
 }