Example #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);
            }
        }
Example #2
0
 private void pictureBoxSchemat_MouseUp(object sender, MouseEventArgs e)
 {
     mover = null;
 }