public override void OnMouseDown(MouseEventArgs mouseEvent) { base.OnMouseDown(mouseEvent); if (mouseEvent.Button == MouseButtons.Left) { m_quad.OnMouseDown(mouseEvent); if (MouseCaptured) { Invalidate(); } } }
public override void OnMouseDown(MouseEventArgs mouseEvent) { if (mouseEvent.Button == MouseButtons.Left) { quadPolygonControl.OnMouseDown(mouseEvent); if (MouseCaptured) { Invalidate(); } } base.OnMouseDown(mouseEvent); }