Exemplo n.º 1
0
        public void MouseDownHandler(object sender, MouseEventArgs e)
        {
            _yMin = e.Y;
            _xMin = e.X;

            if (e.Button != MouseButtons.Left)
            {
                return;
            }

            _xMax = e.X;
            _yMax = e.Y;

            _currentAction.MouseDownHandler(sender, e);
            if (e.Button == MouseButtons.Left)
            {
                mouseInput.MouseDown(e.X, e.Y);
            }
        }