예제 #1
0
        public override void OnMouseDown(MouseEventArgs mouseEvent)
        {
            base.OnMouseDown(mouseEvent);

            if (mouseEvent.Button == MouseButtons.Left)
            {
                m_quad.OnMouseDown(mouseEvent);
                if (MouseCaptured)
                {
                    Invalidate();
                }
            }
        }
예제 #2
0
        public override void OnMouseDown(MouseEventArgs mouseEvent)
        {
            if (mouseEvent.Button == MouseButtons.Left)
            {
                quadPolygonControl.OnMouseDown(mouseEvent);
                if (MouseCaptured)
                {
                    Invalidate();
                }
            }

            base.OnMouseDown(mouseEvent);
        }