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