Exemplo n.º 1
0
        public void MouseMove(object sender, MouseEventArgs e)
        {
            Shape shape = GetShapeFromMouse(e);

            if (shape is IMouseHandler)
            {
                IMouseHandler mouseShape = (IMouseHandler)shape;
                mouseShape.MouseMove(shape, e);
            }
        }
Exemplo n.º 2
0
 public IMouseHandler MouseMove(MouseMoveNotification arg)
 {
     if (Left != null)
     {
         Left = Left.MouseMove(arg);
     }
     if (Right != null)
     {
         Right = Right.MouseMove(arg);
     }
     return(ThisIfLeftAndRightIsNotNull());
 }
Exemplo n.º 3
0
 private void PictureBox1_MouseMove(object sender, MouseEventArgs e)
 {
     _crntMH.MouseMove(e.Location);
 }