public void MouseUp(object sender, MouseEventArgs e) { Shape shape = GetShapeFromMouse(e); if (shape is IMouseHandler) { IMouseHandler mouseShape = (IMouseHandler)shape; mouseShape.MouseUp(shape, e); } }
public IMouseHandler MouseUp(MouseUpNotification arg) { if (Left != null) { Left = Left.MouseUp(arg); } if (Right != null) { Right = Right.MouseUp(arg); } return(ThisIfLeftAndRightIsNotNull()); }
private void PictureBox1_MouseUp(object sender, MouseEventArgs e) { _crntMH.MouseUp(e.Location); }