protected override void OnMouseDown(MouseEventArgs e) { if (DesignMode) { return; } m.HandleMouseDown(e, Camera); }
/// <summary> /// Raises the <see cref="E:System.Windows.Forms.Control.MouseDown"/> event. /// </summary> /// <param name="e">A <see cref="T:System.Windows.Forms.MouseEventArgs"/> that contains the event data.</param> protected override void OnMouseDown(MouseEventArgs e) { if (DesignMode) { base.OnMouseDown(e); return; } if (TransBoxManager.HandleMouseDown(e, Camera)) { return; } base.OnMouseDown(e); }
protected override void OnMouseDown(MouseEventArgs e) { m.HandleMouseDown(e, Camera); }